@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito_900Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef1f9;
  --ink: #10131a;
  --muted: #5b6478;
  --brand: #2f447f;
  --brand-strong: #23335f;
  --on-brand: #ffffff;
  --mark: #ddff4f;
  --on-mark: #10131a;
  --rec: #ff514f;
  --line: rgba(47, 68, 127, 0.14);
  --shadow: 0 30px 60px -30px rgba(35, 51, 95, 0.45);
  --radius: 22px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151922;
    --surface: #1d2230;
    --surface-2: #232a3b;
    --ink: #f2f4fa;
    --muted: #9aa3b8;
    --brand: #c9d3f5;
    --brand-strong: #ffffff;
    --on-brand: #151922;
    --mark: #ddff4f;
    --on-mark: #10131a;
    --line: rgba(201, 211, 245, 0.14);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 12px;
  inset-inline-start: 16px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  z-index: 10;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 10px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand {
  font-size: 27px;
  letter-spacing: -0.005em;
}
.brand > span {
  position: relative;
  z-index: 0;
}
/* Highlight overflows "cue" by the same visual amount on both sides and stops just short of the "e". */
.brand .cue {
  position: relative;
  z-index: -1;
  display: inline-block;
  margin-left: 0.01em;
  padding: 0.02em 0.055em 0.06em 0.046em;
  border-radius: 0.18em;
  line-height: 0.95;
  background: var(--mark);
  color: var(--on-mark);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}
.nav .lang {
  border: 1px solid var(--line);
}
@media (max-width: 640px) {
  .nav .optional {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rec) 22%, transparent);
}
h1 {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 0 0 22px;
}
h1 mark,
.hl {
  display: inline-block;
  background: var(--mark);
  color: var(--on-mark);
  border-radius: 0.2em;
  padding: 0.04em 0.12em 0.08em;
  line-height: 0.98;
}
.lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 32px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
  border: 0;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  background: var(--brand-strong);
}
.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}

/* Phone mock */
.stage {
  position: relative;
  display: grid;
  place-items: center;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 8% -10% 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mark) 55%, transparent), transparent);
  filter: blur(30px);
  opacity: 0.55;
}
.phone {
  position: relative;
  width: min(330px, 82vw);
  aspect-ratio: 9 / 17.2;
  border-radius: 52px;
  padding: 12px;
  background: #0b0e15;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a3040;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: #cbb8a2;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.island {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 92px;
  height: 27px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}
.rec-pill {
  position: absolute;
  top: 46px;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(11, 16, 29, 0.62);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}
.rec-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rec);
  animation: blink 1.2s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.prompt {
  position: absolute;
  top: 78px;
  left: 12px;
  right: 12px;
  height: 34%;
  z-index: 2;
  border-radius: 26px;
  background: rgba(247, 248, 252, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
  color: #10131a;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.28;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.prompt-view {
  height: 100%;
  padding: 16px 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.prompt-track {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.26em;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.prompt-track span {
  position: relative;
  padding: 0 0.06em;
  border-radius: 0.2em;
  opacity: 0.38;
  transition: opacity 0.3s, background-color 0.36s;
}
.prompt-track span.read {
  opacity: 1;
}
.prompt-track span.now {
  opacity: 1;
  background: var(--mark);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(47, 68, 127, 0.1);
}
.progress b {
  display: block;
  height: 100%;
  width: 0;
  background: #2f447f;
  transition: width 0.4s;
}
.voice-pill {
  position: absolute;
  bottom: 104px;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 16, 29, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}
.voice-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}
.controls {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ctl {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 50px;
}
.ctl svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(11, 16, 29, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ctl em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.shutter {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.shutter::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--rec);
}

/* Sections */
section {
  padding: 72px 0;
}
.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}
h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 19px;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--mark);
  color: var(--on-mark);
  font-weight: 900;
  margin-bottom: 18px;
}
h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.steps p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--brand);
  margin-bottom: 18px;
}
.card .icon svg {
  width: 24px;
  height: 24px;
}
.card.wide {
  grid-column: span 2;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.langs li {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
}

.privacy-band {
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.privacy-band h2 {
  color: inherit;
}
.privacy-band p {
  margin: 0 0 20px;
  opacity: 0.86;
  font-size: 18px;
}
.privacy-band a {
  color: inherit;
  font-weight: 900;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}
.checks li::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--mark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310131a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

.cta {
  text-align: center;
}
.cta .lede {
  margin-inline: auto;
}
.cta .actions {
  justify-content: center;
}

/* Long-form pages */
.doc {
  padding: 56px 0 80px;
}
.doc .wrap {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(36px, 5vw, 52px);
}
.doc .meta {
  color: var(--muted);
  margin: 0 0 32px;
}
.doc h2 {
  font-size: 26px;
  margin: 44px 0 12px;
}
.doc p,
.doc li {
  color: var(--ink);
}
.doc ul {
  padding-left: 1.2em;
}
.doc li {
  margin: 6px 0;
}
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.doc .summary p {
  margin: 0;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 0 0 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 32px;
}
.contact p {
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero .wrap,
  .privacy-band {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .steps,
  .grid {
    grid-template-columns: 1fr;
  }
  .card.wide {
    grid-column: auto;
  }
  section {
    padding: 56px 0;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Language menu */
.langmenu {
  position: relative;
}
.langmenu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}
.langmenu summary::-webkit-details-marker {
  display: none;
}
.langmenu summary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.langmenu[open] summary,
.langmenu summary:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.langmenu ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.langmenu li a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.langmenu li a:hover,
.langmenu li a[aria-current] {
  background: var(--surface-2);
}

/* Use cases */
.uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.use {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.use svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--mark);
  color: var(--on-mark);
}
.use h3 {
  font-size: 17px;
  margin: 2px 0 4px;
}
.use p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
#faq .faq {
  max-width: 820px;
}
.footer-langs {
  flex-basis: 100%;
  font-size: 14px;
}
@media (max-width: 900px) {
  .uses {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .uses {
    grid-template-columns: 1fr;
  }
}

/* Right-to-left */
[dir="rtl"] .steps li::before,
[dir="rtl"] .card .icon {
  margin-inline-start: 0;
}
[dir="rtl"] .doc ul {
  padding-left: 0;
  padding-right: 1.2em;
}

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