@font-face {
  font-family: Archivo;
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: JetBrains;
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #eeece4;
  --surface: #e3e3db;
  --ink: #10110f;
  --muted: #555b4d;
  --accent: #315c9e;
  --blue: #8fb8ff;
  --line: #c7c9bd;
  --night: #10110f;
  --paper: #eeece4;
  --lime: #d1fa67;
  --shadow-menu: #0002;
  --shadow-shot: #0006;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button, summary, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

button, a, summary { touch-action: manipulation; }

img { max-width: 100%; height: auto; }

picture { display: block; max-width: 100%; }

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

header.shell {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 29px;
  letter-spacing: -1.5px;
  min-height: 44px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
  border-radius: 8px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.languages {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 12px JetBrains, monospace;
}

.languages a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
}

.languages [aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.family { position: relative; font-size: 13px; }

.family summary {
  list-style: none;
  min-height: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}

.family summary::-webkit-details-marker { display: none; }

.family > div {
  position: absolute;
  top: 46px;
  right: 0;
  background: var(--night);
  color: var(--paper);
  border-radius: 14px;
  padding: 12px;
  min-width: 168px;
  z-index: 10;
  box-shadow: 0 12px 30px var(--shadow-menu);
}

.family a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  gap: 8px;
}

.family a:hover { color: var(--lime); }

.family a:focus-visible { outline-color: var(--blue); }

.family a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hq-pronto { font-weight: 500; }

.hero { padding-top: 54px; padding-bottom: 88px; }

.hero-copy { text-align: center; }

h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  margin: 0 auto 28px;
  max-width: 14ch;
  overflow-wrap: break-word;
}

p { line-height: 1.6; }

.intro {
  max-width: 38em;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.lang-note {
  margin: 0 auto 24px;
  font: 13px/1.5 JetBrains, monospace;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 54px;
  border: 0;
  border-radius: 100px;
  padding: 15px 30px;
  background: var(--blue);
  color: var(--night);
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  max-width: 100%;
}

.requirements,
.model-note,
.method {
  font: 13px/1.7 JetBrains, monospace;
  color: var(--muted);
  margin: 12px 0 0;
}

.shot { margin: 32px auto 0; }

.hero-shot { max-width: 720px; margin-top: 48px; }

.shot-narrow { max-width: 640px; }

.shot img {
  width: 100%;
  border-radius: 18px;
  display: block;
  background: var(--surface);
  box-shadow: 0 28px 60px -36px var(--shadow-shot);
  transition: opacity 0.35s ease;
}

.shot figcaption {
  font: 13px/1.55 JetBrains, monospace;
  color: var(--muted);
  margin: 12px auto 0;
  text-align: center;
  max-width: 62ch;
}

h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
  overflow-wrap: break-word;
}

.block { padding: 0 0 100px; }

.block h2 { margin-bottom: 8px; }

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 68ch;
  margin: 16px 0 0;
}

.numbers { padding: 0 0 100px; }

.stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.stats li {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 62ch;
}

.stats strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 650;
  margin-bottom: 6px;
}

.privacy { background: var(--surface); padding: 88px 0; }

.privacy h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  max-width: 16ch;
}

.privacy .lead {
  color: var(--ink);
  font-size: 17px;
  max-width: 42em;
  margin: 20px 0 0;
}

.privacy-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  max-width: 42em;
}

.privacy-list li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.privacy-list li:last-child { border-bottom: 1px solid var(--line); }

.get { padding: 88px 0 0; }

.get-inner {
  padding: 65px 30px;
  text-align: center;
  border-radius: 28px;
  background: var(--surface);
}

.get-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  border-radius: 14px;
  display: block;
}

.install-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40em;
  margin: 22px auto 0;
}

.faq {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
}

.faq h2 { font-size: 36px; max-width: 260px; }

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary span {
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex: none;
}

.faq details[open] summary span { transform: rotate(45deg); }

.faq details p {
  margin: 0 30px 22px 0;
  color: var(--muted);
  font-size: 15px;
}

footer.shell {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

footer [data-hq-menu] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.sisters { margin: 0; font-size: 13px; }

.sisters a { text-decoration: underline; text-underline-offset: 3px; }

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-200%);
  background: var(--bg);
  padding: 14px;
  z-index: 30;
}

.skip:focus { transform: none; }

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.release {
  font: 12px/1.2 JetBrains, monospace;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10110f;
    --surface: #1b1d19;
    --ink: #eeece4;
    --muted: #b6baae;
    --accent: #8fb8ff;
    --line: #3c4135;
  }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }

  header.shell {
    min-height: 82px;
    padding-block: 12px;
  }

  .brand { font-size: 25px; gap: 9px; }
  .brand-icon { width: 30px; height: 30px; }
  header nav { gap: 12px; }
  .family summary { font-size: 13px; gap: 5px; }
  .languages { gap: 0; }
  .languages a { min-width: 36px; }

  .hero { padding-top: 36px; padding-bottom: 64px; }
  .intro { font-size: 16px; max-width: none; }
  .hero-shot { margin-top: 32px; }
  .block, .numbers { padding-bottom: 64px; }
  .lede, .stats li { font-size: 16px; }
  .privacy { padding: 64px 0; }
  .get-inner { padding: 42px 20px; border-radius: 22px; }
  .faq {
    padding: 64px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq h2 { max-width: none; font-size: 32px; }
  .faq summary { font-size: 16px; }
}

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