@charset "UTF-8";

@font-face {
  font-family: "ACNet Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --ink: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #94a3b8;
  --wrap: 1200px;
  --gutter: 20px;
  --header: 64px;
  --font: "ACNet Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 { letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; line-height: 1.2; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(-150%);
  background: var(--bg);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  flex: 0 0 auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.primary-nav > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.primary-nav > a:hover { color: var(--text); background: var(--bg-secondary); }
.primary-nav > a[aria-current="page"] { color: var(--accent); background: transparent; }

.languages,
.menu-languages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.languages a,
.menu-languages a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.languages a[aria-current="page"],
.menu-languages a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--border);
  background: var(--bg);
}
.languages a:hover,
.menu-languages a:hover { color: var(--text); background: var(--bg-secondary); }
.menu-languages { display: none; }

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  padding: 0;
  color: var(--text);
}
.icon-button svg { width: 20px; height: 20px; }
#menu-toggle .icon-close { display: none; }
#menu-toggle[aria-expanded="true"] .icon-open { display: none; }
#menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle { display: none; }

.kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section { padding-block: clamp(96px, 9vw, 128px); background: var(--bg); }
.hero,
.band { background: var(--bg-secondary); }
.hero { border-bottom: 1px solid var(--border); }
.band { border-block: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2,
.stack h2,
.panel-copy h3,
.intro-copy h1 { margin-bottom: 16px; }
.lede,
.section-head > p,
.intro-copy .lede {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}
.hero h1 { max-width: 640px; }
.intro-copy { max-width: 640px; }
.tagline { margin-top: 16px; font-size: 16px; font-weight: 500; }
.status { margin-top: 8px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.section-head p + p,
.intro-copy p + p { margin-top: 16px; }
.stack > * + * { margin-top: 16px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.button:hover { background: var(--bg-secondary); }
.button-lg { min-height: 48px; padding: 0 24px; font-size: 16px; }
.button-primary,
a.button:not(.button-secondary) {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
a.button:not(.button-secondary):hover,
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-secondary {
  border-color: var(--border-strong);
  background: var(--bg);
  color: var(--text);
}
.button-secondary:hover { background: var(--bg-secondary); }

.limit {
  margin-top: 16px;
  padding: 16px 0 16px 16px;
  border-left: 2px solid var(--accent);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.tabs button {
  appearance: none;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}
.tabs button[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.tabs button:hover { border-color: var(--border-strong); color: var(--text); }

.intro-grid,
.panel,
.monitor-layout {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(280px, 1fr);
  gap: 64px;
  align-items: center;
}
.panel { align-items: start; margin-top: 0; }
.panel[hidden] { display: none; }
.panel-copy { max-width: 640px; }
.panel-copy p,
.stack p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

.tools {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tools li {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.tools h3 { margin-bottom: 8px; }
.tools p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.tools + p { margin-top: 24px; color: var(--text-secondary); }

.contacts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.contacts li {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.contacts h2,
.contacts h3 { margin-bottom: 8px; }
.contacts p { margin-bottom: 12px; color: var(--text-secondary); font-size: 15px; }
.contacts a { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }

.device-figure { margin: 0; justify-self: end; width: min(100%, 300px); }
.monitor-layout .device-figure { width: min(100%, 520px); }
.device-figure figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.apple-device { position: relative; margin: 0; background: transparent; }
.apple-device.phone { width: 100%; aspect-ratio: 1470 / 3000; }
.apple-device.ipad { width: 100%; aspect-ratio: 2300 / 3000; }
.device-screen { position: absolute; overflow: hidden; background: #000; }
.phone .device-screen {
  left: 5.10204082%;
  top: 2.2%;
  width: 89.79591837%;
  height: 95.6%;
  border-radius: 14.4% / 6.626%;
}
.ipad .device-screen {
  left: 5.13043478%;
  top: 4.13333333%;
  width: 89.73913043%;
  height: 91.73333333%;
  border-radius: 2.907% / 2.18%;
}
.device-screen img { width: 100%; height: 100%; max-width: none; object-fit: fill; }
.device-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 48px;
}
.footer-top p { max-width: 36rem; color: var(--text-secondary); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--text); }
.footer-nav a[aria-current="page"] { color: var(--accent); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.document { padding-block: 64px 96px; }
.document-head { max-width: 720px; margin-bottom: 48px; }
.document-head h1 { font-size: clamp(32px, 4vw, 40px); }
.document-head .lede { margin-top: 16px; }
.document-date { margin-top: 12px; color: var(--text-muted); font-size: 13px; }
.prose { max-width: 720px; }
.prose h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.prose > section:first-child h2,
.prose > h2:first-child { margin-top: 0; }
.prose p,
.prose li { color: var(--text-secondary); }
.prose p + p { margin-top: 16px; }
.prose ul { margin-top: 12px; padding-left: 1.25rem; }
.prose li { margin: 8px 0; font-size: 15px; line-height: 1.55; }
.prose a { font-weight: 600; overflow-wrap: anywhere; }
.prose .limit { color: var(--text); }
.guide-list { list-style: none; margin: 0 0 32px; }
.guide-list li { border-top: 1px solid var(--border); }
.guide-list a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.guide-list li:last-child { border-bottom: 1px solid var(--border); }
.diagram { margin: 24px 0; max-width: 720px; }
.diagram svg { width: 100%; height: auto; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.diagram figcaption { margin-top: 8px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.prose ol { margin: 12px 0 0; padding-left: 1.25rem; }
.prose ol li { margin: 8px 0; }

@media (max-width: 1199px) {
  .nav-toggle { display: grid; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a {
    min-height: 44px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
  }
  .primary-nav > a:hover { background: transparent; }
  .nav-toggle { margin-left: auto; }
  .languages { margin-left: 12px; }
}

@media (max-width: 1023px) {
  .intro-grid,
  .panel,
  .monitor-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .device-figure,
  .monitor-layout .device-figure {
    justify-self: center;
    width: min(100%, 320px);
  }
  .monitor-layout .device-figure { width: 100%; }
  .device-figure figcaption { text-align: center; }
}

@media (max-width: 767px) {
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 32px; }
  .languages { display: none; }
  .primary-nav.open .menu-languages {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .primary-nav.open .menu-languages a {
    width: 100%;
    min-height: 44px;
    height: 44px;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; }
  .tabs { gap: 8px; }
  .tabs button { min-height: 44px; }
  .tools li,
  .contacts li { padding: 24px 20px; }
  .tools,
  .contacts { grid-template-columns: 1fr; }
  .footer-top,
  .footer-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
}

.footer-nav .privacy-choices {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav .privacy-choices:hover { color: var(--text); }

.consent-banner {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px var(--gutter) 20px;
}
.consent-banner-inner { max-width: var(--wrap); margin: 0 auto; }
.consent-banner p { color: var(--text-secondary); font-size: 15px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.consent-actions .button { flex: 1 1 12rem; }

.consent-dialog {
  width: min(36rem, calc(100% - 32px));
  max-height: min(40rem, calc(100% - 32px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.consent-dialog::backdrop { background: rgba(15, 23, 42, 0.35); }
.consent-dialog h2 { font-size: 20px; margin-bottom: 12px; }
.consent-dialog p,
.consent-dialog dd { color: var(--text-secondary); font-size: 15px; }
.consent-dialog p + p { margin-top: 12px; }
.consent-dialog dl { margin-top: 16px; }
.consent-dialog dt { margin-top: 12px; font-size: 15px; font-weight: 700; }
.consent-dialog dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.consent-dialog .consent-actions { margin-top: 24px; }

@media (max-width: 767px) {
  .consent-dialog { padding: 24px 20px; }
  .consent-actions { flex-direction: column; }
  .consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}
