/* ArcListen website — shared styles for every page.
   Black on white, like the app (lib/core/theme/app_colors.dart), turned over
   for dark mode. Newsreader for display and reading text, the system sans for
   everything that is interface. */

:root {
  --ink: #0a0a0a;
  --ink-2: #5f5f64;
  --ink-3: #6e6e73;
  --paper: #ffffff;
  --surface: #f4f4f5;
  --surface-2: #ebebed;
  --hairline: rgba(0, 0, 0, 0.1);
  --hairline-strong: rgba(0, 0, 0, 0.16);
  --mark: rgba(0, 0, 0, 0.11);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px -12px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.05), 0 40px 80px -24px rgba(0, 0, 0, 0.28);
  --device: #0a0a0a;
  --on-ink: #ffffff;
  /* The one accent (Moss), the same as the app's AppPalette.accent. It marks
     what is sounding or under way, and a few words worth stressing. Buttons
     stay ink. --accent-on-ink is for accent drawn on an ink block. */
  --accent: #3d7350;
  --accent-soft: rgba(61, 115, 80, 0.15);
  --accent-on-ink: #8cc79a;
  --on-accent: #ffffff;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-lg: 32px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f5f5f5;
    --ink-2: #a6a6ab;
    --ink-3: #8e8e93;
    --paper: #0a0a0a;
    --surface: #161618;
    --surface-2: #202023;
    --hairline: rgba(255, 255, 255, 0.12);
    --hairline-strong: rgba(255, 255, 255, 0.2);
    --mark: rgba(255, 255, 255, 0.16);
    --glass: rgba(22, 22, 24, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
    --device: #2a2a2d;
    --on-ink: #0a0a0a;
    --accent: #8cc79a;
    --accent-soft: rgba(140, 199, 154, 0.24);
    --accent-on-ink: #3d7350;
    --on-accent: #0a0a0a;
  }
}
:root[data-theme="dark"] {
  --ink: #f5f5f5;
  --ink-2: #a6a6ab;
  --ink-3: #8e8e93;
  --paper: #0a0a0a;
  --surface: #161618;
  --surface-2: #202023;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.2);
  --mark: rgba(255, 255, 255, 0.16);
  --glass: rgba(22, 22, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
  --device: #2a2a2d;
  --on-ink: #0a0a0a;
  --accent: #8cc79a;
  --accent-soft: rgba(140, 199, 154, 0.24);
  --accent-on-ink: #3d7350;
  --on-accent: #0a0a0a;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

h1, h2, h3 { margin: 0; font-weight: 500; }
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.sub { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); margin: 0; }
.center { text-align: center; }

/* ---------- Buttons and store badges ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--hairline-strong); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none; transition: opacity .2s;
}
.store:hover { opacity: .85; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 10.5px; opacity: .75; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store[data-soon] { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
.store .soon { display: none; }
.store[data-soon] .soon { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 6px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.brand svg { width: 26px; height: 26px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 8px 0 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.lang { padding: 8px 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.lang:hover { color: var(--ink); }
/* Language menu on the home pages: a globe and the short code, opening a
   list of every locale. */
details.lang { position: relative; padding: 0; }
details.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 999px;
}
details.lang summary::-webkit-details-marker { display: none; }
details.lang summary svg { width: 17px; height: 17px; }
details.lang[open] summary { color: var(--ink); background: var(--surface); }
details.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none;
  min-width: 190px; max-height: min(70vh, 520px); overflow-y: auto;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--shadow-lg);
}
details.lang li a {
  display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
details.lang li a:hover { background: var(--surface); }
details.lang li a[aria-current] { color: var(--accent); font-weight: 600; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav.open { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 12px; }
  .nav.open .brand { height: 40px; }
  .nav.open .nav-links { display: flex; flex-direction: column; order: 10; width: 100%; margin: 6px 0 0; }
  .nav.open .nav-links a { padding: 12px 0; font-size: 17px; color: var(--ink); }
}
@media (max-width: 420px) { .nav .btn-get { display: none; } }

/* ---------- Hero ---------- */

/* Two columns on wide screens: the pitch on the left, the player on the
   right with a few cards floating round it. One centred column below 960px. */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, var(--accent-soft), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, color-mix(in srgb, var(--accent-soft) 60%, transparent), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-copy { text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--paper); border: 1px solid var(--hairline-strong); box-shadow: var(--shadow);
}
.eyebrow .eq { height: 12px; }
.hero .title { margin: 0 0 24px; font-size: clamp(52px, 7.4vw, 100px); }
.rot {
  display: block; width: fit-content; color: var(--accent); font-style: italic; white-space: nowrap;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.rot.out { opacity: 0; transform: translateY(.18em); filter: blur(4px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero .sub { max-width: 26em; margin: 0 0 34px; }
.hero .stores { justify-content: flex-start; }

.hero-stage { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hero-stage .phone { position: relative; z-index: 1; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings i {
  grid-area: 1 / 1; border-radius: 999px; border: 1px solid var(--hairline-strong);
  width: 420px; aspect-ratio: 1; animation: ring 6s ease-out infinite; opacity: 0;
}
.rings i:nth-child(2) { animation-delay: -2s; } .rings i:nth-child(3) { animation-delay: -4s; }
@keyframes ring { 0% { transform: scale(.7); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px; white-space: nowrap;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  animation: bob 7s ease-in-out infinite;
}
.float .m { line-height: 1.2; font-size: 14.5px; font-weight: 600; }
.float .m small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.float .ic, .float .av { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.float .ic { background: var(--accent); color: var(--on-accent); }
.float .ic svg { width: 18px; height: 18px; }
.float .av { border-radius: 999px; background: var(--surface-2); font-family: var(--serif); font-weight: 600; }
.float > svg { width: 22px; height: 22px; margin-left: 6px; flex: none; }
.float .eq { height: 14px; margin-left: 4px; }
.f-src { top: 9%; left: -2%; }
.f-voice { top: 46%; right: -4%; animation-delay: -2.3s; }
.f-off { bottom: 12%; left: 2%; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero .title, .hero .sub, .rot { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .hero::before { background: radial-gradient(70% 45% at 50% 75%, var(--accent-soft), transparent 70%); }
  .f-src { left: calc(50% - 280px); } .f-voice { right: calc(50% - 290px); } .f-off { left: calc(50% - 270px); }
}
@media (max-width: 640px) {
  .eyebrow { font-size: 13px; margin-bottom: 20px; }
  .rings i { width: 320px; }
  .float { padding: 8px 12px 8px 8px; gap: 9px; border-radius: 14px; }
  .float .m { font-size: 12.5px; } .float .m small { font-size: 11px; }
  .float .ic, .float .av { width: 28px; height: 28px; border-radius: 9px; }
  .float .av { border-radius: 999px; }
  .f-src { left: 0; top: 10%; } .f-voice { right: 0; top: 44%; } .f-off { display: none; }
}

/* ---------- Phone mockup ---------- */

.phone {
  position: relative; width: 320px; aspect-ratio: 320 / 680; flex: none;
  border-radius: 54px; padding: 11px; background: var(--device);
  box-shadow: var(--shadow-lg);
}
.screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: #ffffff; color: #0a0a0a; font-family: var(--sans); text-align: left;
  --s-ink-2: #6e6e73; --s-surface: #f4f4f5; --s-mark: rgba(61,115,80,.18); --s-accent: #3d7350;
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 98px; height: 28px; border-radius: 999px; background: #000; z-index: 5; }
.status { display: flex; justify-content: space-between; padding: 15px 28px 0 30px; font-size: 13px; font-weight: 600; height: 46px; }
.p-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 6px; }
.p-chip { width: 34px; height: 34px; border-radius: 999px; background: var(--s-surface); display: grid; place-items: center; }
.p-chip svg { width: 16px; height: 16px; }
.p-title { text-align: center; line-height: 1.2; }
.p-title b { display: block; font-size: 12.5px; font-weight: 600; }
.p-title small { font-size: 11px; color: var(--s-ink-2); }
.p-text {
  padding: 10px 22px 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.55;
  height: 412px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.p-text h4 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 6px 0 10px; }
.p-text p { margin: 0 0 12px; color: #9a9aa0; transition: color .4s; }
.p-text p.now { color: #0a0a0a; }
.w { border-radius: 4px; transition: background-color .18s, box-shadow .18s; }
.w.on { background: var(--s-mark); box-shadow: 0 0 0 2px var(--s-mark); }
.p-dock {
  position: absolute; left: 12px; right: 12px; bottom: 14px; border-radius: 30px; padding: 14px 18px 16px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,.07); box-shadow: 0 10px 30px -10px rgba(0,0,0,.25);
}
.p-bar { height: 4px; border-radius: 4px; background: rgba(0,0,0,.1); overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 34%; background: var(--s-accent); border-radius: 4px; transition: width 1s linear; }
.p-times { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--s-ink-2); margin-top: 5px; font-variant-numeric: tabular-nums; }
.p-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.p-ctrl .sm { font-size: 12px; font-weight: 600; width: 44px; text-align: center; }
.p-ctrl svg { width: 26px; height: 26px; }
.p-play { width: 54px; height: 54px; border-radius: 999px; background: #0a0a0a; color: #fff; display: grid; place-items: center; }
.p-play svg { width: 22px; height: 22px; }
.p-voice { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--s-ink-2); margin-top: 10px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.eq i { width: 2px; border-radius: 2px; background: var(--accent); height: 40%; animation: eq 1.1s ease-in-out infinite; }
.screen .eq i { background: var(--s-accent); }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@media (max-width: 380px) { .phone { width: 290px; } .p-text { height: 370px; font-size: 14.5px; } }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; }
.head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.head .heading { margin-bottom: 14px; }

/* What you can listen to */
.sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.sources span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; background: var(--surface); font-size: 16px; font-weight: 500;
}
.sources svg { width: 18px; height: 18px; color: var(--ink-2); }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border-radius: 28px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.tile .vis { height: 260px; display: grid; place-items: center; padding: 28px; }
.tile .cap { padding: 0 28px 28px; }
.tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tile p { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr; } .tile .vis { height: 230px; } }

.card {
  width: 100%; max-width: 280px; background: var(--paper); border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px -10px rgba(0,0,0,.18);
}
.read { font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.read p { margin: 0; color: var(--ink-3); }
.read p.now { color: var(--ink); }
.read .w.on { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-soft); }

.voices { display: grid; gap: 8px; }
.vrow { display: flex; align-items: center; gap: 12px; }
.vrow + .vrow { padding-top: 8px; border-top: 1px solid var(--hairline); }
.av { width: 34px; height: 34px; border-radius: 999px; flex: none; display: grid; place-items: center; background: var(--surface); font-family: var(--serif); font-weight: 600; }
.vrow .m { flex: 1; line-height: 1.2; font-size: 14.5px; font-weight: 600; }
.vrow .m small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.vrow .t { font-size: 12px; color: var(--ink-3); }

.offline { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
.offline + .offline { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.offline svg { width: 20px; height: 20px; flex: none; }
.offline span { flex: 1; white-space: nowrap; }
.toggle { width: 40px; height: 24px; border-radius: 99px; background: var(--accent); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 99px; background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 280px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.chips span.on { background: var(--ink); color: var(--paper); }
.chips svg { width: 16px; height: 16px; }

.post .src { font-size: 12.5px; color: var(--ink-3); }
.post h4 { margin: 6px 0 12px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; }
.post .row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.post .go { margin-left: auto; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.post .go svg { width: 13px; height: 13px; }

.word { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.word small { font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.word + p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* Privacy line */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 17px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 10px; }
.facts svg { width: 22px; height: 22px; color: var(--accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.plan { border-radius: 28px; padding: 32px; background: var(--paper); border: 1px solid var(--hairline); display: flex; flex-direction: column; }
.plan.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan h3 { font-size: 17px; font-weight: 600; }
.plan .price { font-family: var(--serif); font-size: 48px; letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); flex: none; }
.plan.dark li svg { color: var(--accent-on-ink); }
.plan .btn { margin-top: auto; }
.plan.dark .btn-ink { background: var(--paper); color: var(--ink); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* Final call to action */
.cta { text-align: center; }
.cta svg.mark { width: 64px; height: 64px; margin: 0 auto 28px; }
.cta .heading { margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0; font-size: 14px; color: var(--ink-3); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot .foot-langs { flex-basis: 100%; gap: 6px 18px; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 13.5px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal and support pages ---------- */

.doc { padding: 80px 0 100px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 14px; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-family: var(--serif); font-size: 30px; letter-spacing: -0.02em; margin: 52px 0 14px; }
.doc h3 { font-size: 18px; font-weight: 600; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { text-underline-offset: 3px; }
.summary { border-radius: var(--radius); background: var(--surface); padding: 26px 28px; }
.summary p:first-child { margin-top: 0; }
.summary ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--hairline); border-radius: 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.doc th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--surface); }
.doc tr:last-child td { border-bottom: 0; }
.doc td { color: var(--ink-2); }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-radius: var(--radius); background: var(--ink); color: var(--paper); padding: 28px 30px; margin: 30px 0; }
.contact-card p { color: color-mix(in srgb, var(--paper) 70%, transparent); margin: 4px 0 0; }
.contact-card b { font-size: 20px; }
.contact-card .btn { background: var(--paper); color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
