/* ==========================================================================
   NtfsFlow — support site styles
   Layered on top of Tailwind (CDN). Colour tokens flip with the theme;
   Tailwind utility classes reference them through the inline config.
   ========================================================================== */

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  color-scheme: light;

  --bg: #f4f6f9;
  --bg-alt: #eaeef4;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0b1522;
  --ink-2: #35435a;
  --muted: #5c6b7e;
  --faint: #586779;
  --line: #dfe6ef;
  --line-strong: #c7d2e0;

  --brand: #0a6cff;
  --brand-strong: #0053d6;
  --brand-soft: #e7f0ff;
  --link: #0053d6;

  --mint: #1a7f4b;
  --mint-soft: #e4f3ea;
  --amber: #a35500;
  --amber-soft: #faf0e1;
  --red: #c8102e;
  --red-soft: #fbe9eb;

  --shadow-sm: 0 1px 2px rgba(10, 22, 38, 0.06), 0 1px 1px rgba(10, 22, 38, 0.04);
  --shadow-md: 0 18px 40px -18px rgba(10, 22, 38, 0.22), 0 2px 6px rgba(10, 22, 38, 0.05);
  --shadow-lg: 0 50px 90px -40px rgba(7, 17, 29, 0.45), 0 18px 40px -28px rgba(7, 17, 29, 0.3);
  --shadow-window: 0 0 0 1px rgba(10, 22, 38, 0.07), 0 30px 70px -30px rgba(7, 17, 29, 0.35),
    0 8px 20px -12px rgba(7, 17, 29, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
}

html.dark {
  color-scheme: dark;

  --bg: #080f18;
  --bg-alt: #0b1420;
  --surface: #0f1a27;
  --surface-2: #132030;
  --ink: #edf3fa;
  --ink-2: #c3cfdd;
  --muted: #93a3b7;
  --faint: #8b9bad;
  --line: #1e2c3d;
  --line-strong: #2b3d52;

  --brand: #5aa4ff;
  --brand-strong: #85bbff;
  --brand-soft: #10253c;
  --link: #8dc0ff;

  --mint: #4ec48f;
  --mint-soft: #0d2a21;
  --amber: #e3a75f;
  --amber-soft: #2a2013;
  --red: #ff7b8a;
  --red-soft: #2e151a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 18px 40px -28px rgba(0, 0, 0, 0.6);
  --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 70px -30px rgba(0, 0, 0, 0.8),
    0 8px 20px -12px rgba(0, 0, 0, 0.6);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01" 1, "cv11" 1;
  overflow-x: hidden;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
}

.section-tight {
  padding-block: clamp(44px, 6vw, 72px);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}

.eyebrow-plain::before {
  display: none;
}

.display {
  font-family: "Geist", -apple-system, sans-serif;
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.mono {
  font-family: ui-monospace, "SF Mono", "Geist Mono", Menlo, monospace;
  font-feature-settings: "zero" 0;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 24px -12px rgba(10, 108, 255, 0.9);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

html.dark .btn-primary {
  color: #04101f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 26px -14px rgba(90, 164, 255, 0.7);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-quiet {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  background: transparent;
}

.btn-quiet:hover {
  background: var(--surface-2);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
  color: var(--link);
  font-size: 15px;
}

.link-arrow svg {
  transition: transform 0.18s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px 0 17px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-md);
  transition: transform 0.16s var(--ease), opacity 0.16s var(--ease);
}

.appstore:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.appstore svg {
  width: 21px;
  height: 26px;
  flex: none;
}

.appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.appstore small {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 3px;
}

.appstore strong {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

html.dark .appstore {
  background: #f2f6fb;
  color: #08111c;
}

.appstore-sm {
  height: 46px;
  border-radius: 11px;
  padding: 0 16px 0 14px;
  gap: 10px;
  box-shadow: none;
}

.appstore-sm svg {
  width: 17px;
  height: 21px;
}

.appstore-sm small {
  font-size: 9px;
}

.appstore-sm strong {
  font-size: 14px;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.site-nav[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 6px 14px -8px rgba(11, 108, 255, 0.85);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.15s var(--ease);
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--line);
}

.nav-download {
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 550;
  transition: opacity 0.15s var(--ease);
}

.nav-download:hover {
  opacity: 0.88;
}

html.dark .nav-download {
  background: #f2f6fb;
  color: #08111c;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1;
  color: var(--muted);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

@media (max-width: 420px) {
  .lang-switch a {
    padding: 4px 6px;
    font-size: 11px;
  }
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-panel[data-open="true"] {
  display: block;
}

.mobile-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}

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

.hero {
  position: relative;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 70% 10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 500px);
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 4.9vw, 4.05rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.hero-sub {
  margin-top: 22px;
  max-width: 33em;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.spec-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 26px;
}

.spec-rail span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding-inline: 14px;
  border-left: 1px solid var(--line);
}

.spec-rail span:first-child {
  padding-left: 0;
  border-left: 0;
}

.spec-rail svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex: none;
}

/* ---------- macOS window mock ---------- */

.window {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  font-size: 12px;
  color: var(--ink);
  isolation: isolate;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.01em;
  margin-right: 44px;
}

.window-body {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  min-height: 358px;
}

.win-sidebar {
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.win-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 8px 4px;
}

.win-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.win-nav svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
}

.win-nav[data-active="true"] {
  background: var(--brand-soft);
  color: var(--brand);
}

.win-nav[data-active="true"] svg {
  color: var(--brand);
}

.disk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink-2);
}

.disk-row[data-selected="true"] {
  background: var(--brand-soft);
}

.disk-row svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex: none;
}

.disk-row[data-selected="true"] svg {
  color: var(--brand);
}

.disk-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.disk-meta b {
  font-size: 11px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.disk-row[data-selected="true"] .disk-meta b {
  color: var(--brand);
}

.disk-meta small {
  font-size: 9.5px;
  color: var(--faint);
  white-space: nowrap;
}

.pill {
  margin-left: auto;
  flex: none;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 2px 4px;
  border-radius: 99px;
  border: 1px solid transparent;
}

.disk-state {
  margin-left: auto;
  flex: none;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.disk-state[data-state="writable"] { color: var(--mint); }
.disk-state[data-state="readonly"] { color: var(--faint); }
.disk-state[data-state="unmounted"] { color: var(--amber); }

.pill-mint { color: var(--mint); background: var(--mint-soft); }
.pill-amber { color: var(--amber); background: var(--amber-soft); }
.pill-muted { color: var(--faint); background: color-mix(in srgb, var(--faint) 12%, transparent); }
.pill-brand { color: var(--brand); background: var(--brand-soft); }

.win-main {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
}

.win-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.drive-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  flex: none;
}

.drive-icon svg {
  width: 16px;
  height: 16px;
}

.win-head .win-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.win-head p {
  font-size: 10px;
  color: var(--faint);
  margin-top: 3px;
}

.win-panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px;
  background: var(--surface);
  display: flex;
  gap: 12px;
  align-items: center;
}

.donut {
  --p: 32;
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
  position: relative;
  transition: --p 1.1s var(--ease);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--surface);
}

.donut-label {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.1;
}

.donut-label b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: block;
}

.donut-label small {
  font-size: 8px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-list {
  flex: 1;
  display: grid;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  color: var(--muted);
}

.stat-row b {
  font-size: 11px;
  color: var(--ink);
  font-weight: 550;
}

.bar {
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w, 32%);
  border-radius: inherit;
  background: var(--brand);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 9px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface-2);
}

.chip svg {
  width: 9px;
  height: 9px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 3px;
}

.win-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
}

.win-btn {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 550;
  padding: 6px 11px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.win-btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  margin-left: auto;
}

html.dark .win-btn-primary {
  color: #06111d;
}

.win-feed {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 7px;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}

.feed-row time {
  margin-left: auto;
  color: var(--faint);
  font-size: 9px;
}

.feed-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

.float-card {
  position: absolute;
  left: 18px;
  bottom: -64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  font-size: 11px;
  z-index: 2;
}

.float-card .tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint);
  display: grid;
  place-items: center;
  flex: none;
}

.float-card b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.float-card span {
  color: var(--faint);
  font-size: 9.5px;
}

.window-wrap {
  position: relative;
}

@media (max-width: 639px) {
  .window-body { grid-template-columns: 1fr; }
  .win-sidebar { display: none; }
  .float-card { left: 8px; right: auto; bottom: -52px; }
}

/* ---------- Trust strip ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.trust-item {
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 20px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

/* ---------- Comparison table ---------- */

.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare-scroll {
  overflow-x: auto;
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  padding-block: 14px;
}

.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 14px;
  background: transparent;
}

.compare td {
  color: var(--ink);
}

.compare .col-highlight {
  background: color-mix(in srgb, var(--brand-soft) 55%, transparent);
}

.compare thead .col-highlight {
  background: var(--brand-soft);
  color: var(--brand);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 639px) {
  .compare table {
    min-width: 0;
  }

  .compare thead th:nth-child(2),
  .compare tbody td:nth-child(2) {
    display: none;
  }

  .compare th,
  .compare td {
    padding: 13px 10px;
    font-size: 12.5px;
  }

  .compare tbody th {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .compare thead th {
    font-size: 9.5px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
}

.yes,
.no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.yes {
  background: var(--mint-soft);
  color: var(--mint);
}

.no {
  background: color-mix(in srgb, var(--faint) 12%, transparent);
  color: var(--faint);
}

.yes svg,
.no svg {
  width: 12px;
  height: 12px;
}

.cell-text {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.005em;
  color: var(--faint);
}

.cell-text[data-tone="warn"] {
  color: var(--amber);
}

.cell-text[data-tone="good"] {
  color: var(--mint);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-chips span {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .b-7 { grid-column: span 7; }
  .b-6 { grid-column: span 6; }
  .b-5 { grid-column: span 5; }
  .b-12 { grid-column: span 12; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 17px;
  height: 17px;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card p {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.card-visual {
  margin-top: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px;
}

.card-dark {
  background: var(--ink);
  border-color: transparent;
  color: var(--bg);
}

html.dark .card-dark {
  background: #f2f6fb;
  color: #08111c;
}

.card-dark p { color: color-mix(in srgb, var(--bg) 68%, transparent); }
html.dark .card-dark p { color: #4a5868; }

/* feature micro-visuals */
.file-rows {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  background: var(--surface);
  font-size: 11.5px;
}

.file-row svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
  flex: none;
}

.file-row span {
  margin-left: auto;
  color: var(--faint);
  font-size: 10px;
}

.file-row .saved {
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 550;
  font-size: 10px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.toggle-row:last-child { border-bottom: 0; }

.toggle {
  margin-left: auto;
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: var(--line-strong);
  position: relative;
  flex: none;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}

.toggle[data-on="true"] {
  background: var(--brand);
}

.toggle[data-on="true"]::after {
  transform: translateX(14px);
}

.meters {
  display: grid;
  gap: 11px;
}

.meter-row {
  display: grid;
  gap: 6px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--muted);
}

.meter-top b {
  color: var(--ink);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.meter {
  height: 5px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--brand);
  transition: width 1.1s var(--ease);
}

.is-in .meter i {
  width: calc(var(--v) * 1%);
}

.meter.mint i { background: var(--mint); }

.health-grid {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.ring {
  --p: 100;
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--mint) calc(var(--p) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
  position: relative;
  transition: --p 1.2s var(--ease);
}

.ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--surface);
}

.ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ring b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ring small {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.health-rows {
  flex: 1;
  min-width: 150px;
  display: grid;
  gap: 8px;
  font-size: 11px;
}

.health-rows div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}

.health-rows div:last-child { border-bottom: 0; padding-bottom: 0; }

.health-rows span { color: var(--muted); }
.health-rows b { font-weight: 550; font-variant-numeric: tabular-nums; }

.steps-mini {
  display: grid;
  gap: 0;
  font-size: 11.5px;
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.step-mini:last-child { border-bottom: 0; }

.step-mini i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--faint);
  flex: none;
}

.step-mini[data-state="done"] i {
  background: var(--mint-soft);
  border-color: transparent;
  color: var(--mint);
}

.step-mini[data-state="active"] {
  color: var(--ink);
  font-weight: 550;
}

.step-mini[data-state="active"] i {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

html.dark .step-mini[data-state="active"] i { color: #06111d; }

.format-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.format-pill {
  font-size: 11px;
  font-weight: 550;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
}

.format-pill[data-active="true"] {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.bento-note {
  font-size: 11px;
  color: var(--faint);
  margin-top: 12px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
}

.bento-note svg {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 2px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.step {
  background: var(--surface);
  padding: 28px 26px 30px;
  position: relative;
}

.step-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.step small {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--faint);
}

/* ---------- Dark zone ---------- */

.dark-zone {
  --bg: #071018;
  --bg-alt: #091420;
  --surface: #0b1723;
  --surface-2: #0d1b28;
  --ink: #eaf2fa;
  --ink-2: #bbc9d8;
  --muted: #8ea0b4;
  --faint: #67798d;
  --line: #182634;
  --line-strong: #24364a;
  --brand: #5aa4ff;
  --brand-strong: #86bcff;
  --brand-soft: #0f2437;
  --mint: #4ec48f;
  --mint-soft: #0c2a21;
  --amber: #e3a75f;
  --amber-soft: #2a2013;
  background: var(--bg);
  color: var(--ink);
}

.dark-zone .eyebrow::before { background: var(--brand); }

html.dark .dark-zone {
  --bg: #0c1826;
  --bg-alt: #0e1c2b;
  --surface: #101f30;
  --surface-2: #132335;
  --line: #1e3042;
  --line-strong: #2b4056;
  background: var(--bg);
}

html.dark .dark-zone .cta {
  border-color: var(--line-strong);
}

/* pipeline diagram */
.pipeline {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  padding: 22px;
}

.pipe-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (max-width: 639px) {
  .pipe-row { grid-template-columns: 1fr; gap: 8px; }
}

.pipe-row[data-hero="true"] {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: linear-gradient(90deg, var(--brand-soft), var(--surface));
}

.pipe-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.pipe-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-width: 0;
}

.pipe-value svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

.pipe-value span {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  margin-left: auto;
  text-align: right;
}

.connector {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
  margin-left: 30px;
  position: relative;
}

.connector::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -2.5px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

.principles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.principle {
  background: var(--surface);
  padding: 24px;
}

.principle h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.principle h3 svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

.principle p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- Pricing ---------- */

.hero-price {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-price b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-price span {
  color: var(--faint);
}

.price-card {
  display: grid;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
}

@media (min-width: 900px) {
  .price-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }
}

.price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.price-amount b {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-amount span {
  font-size: 15px;
  color: var(--muted);
}

.price-copy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 42ch;
}

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

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.price-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--mint);
}

.price-fine {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 40ch;
}

/* ---------- Requirements ---------- */

.req-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .req-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.req-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
}

.req-card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.req-card h3 svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.req-list {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.req-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.5;
}

.req-list svg {
  width: 14px;
  height: 14px;
  color: var(--mint);
  flex: none;
  margin-top: 2px;
}

.req-list li[data-muted="true"] svg { color: var(--faint); }

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-2);
}

.format-chip b {
  font-weight: 600;
}

.format-chip span {
  color: var(--faint);
  font-size: 11px;
}

/* ---------- FAQ ---------- */

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.15s var(--ease);
}

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

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary .plus {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  margin-top: 1px;
}

.faq-item summary .plus svg {
  width: 11px;
  height: 11px;
  color: var(--muted);
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
}

.faq-item[open] summary .plus svg {
  color: #fff;
}

.faq-answer {
  padding: 0 44px 24px 4px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}

.faq-answer a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid var(--line);
}

.cta-glow {
  position: absolute;
  inset: auto -20% -60% 30%;
  height: 320px;
  background: radial-gradient(50% 60% at 50% 50%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%);
  pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 56px 40px;
}

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
}

.footer-col .footer-h {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}

.footer-col a:not(.brand):not(.appstore) {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.footer-col a:not(.brand):not(.appstore):hover {
  color: var(--ink);
}

.footer-col .brand {
  display: inline-flex;
  padding: 0;
  color: var(--ink);
}

.footer-col .appstore {
  display: inline-flex;
  padding: 0 16px 0 14px;
  color: var(--bg);
}

html.dark .footer-col .appstore {
  color: #08111c;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a:hover {
  color: var(--ink);
}

/* ---------- Support page ---------- */

.page-hero {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.support-layout {
  display: grid;
  gap: 40px;
  padding-block: 48px 80px;
}

@media (min-width: 980px) {
  .support-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 56px; }
}

.toc {
  font-size: 13.5px;
}

@media (min-width: 980px) {
  .toc { position: sticky; top: 96px; align-self: start; }
}

.toc h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 7px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.toc a:hover,
.toc a[aria-current="true"] {
  color: var(--link);
  border-left-color: var(--brand);
}

.support-body > section {
  scroll-margin-top: 96px;
  padding-bottom: 52px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.support-body > section:last-child {
  border-bottom: 0;
}

.support-body h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.support-body h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 26px;
  margin-bottom: 8px;
}

.support-body p,
.support-body li {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.support-body p + p {
  margin-top: 12px;
}

.support-body ul,
.support-body ol {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.support-body ul { list-style: disc; }
.support-body ol { list-style: decimal; }
.support-body li::marker { color: var(--faint); }

.support-body > section > p,
.support-body > section > ul,
.support-body > section > ol {
  max-width: 72ch;
}

.support-body a:not(.btn) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.callout svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--brand);
}

.callout[data-tone="warn"] {
  background: var(--amber-soft);
  border-color: color-mix(in srgb, var(--amber) 25%, transparent);
}

.callout[data-tone="warn"] svg { color: var(--amber); }

.callout b { color: var(--ink); font-weight: 600; }

.kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--link);
  margin-block: 14px 10px;
  letter-spacing: -0.01em;
}

.email-link svg {
  width: 18px;
  height: 18px;
}

.checklist {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.checklist div {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.checklist svg {
  width: 14px;
  height: 14px;
  color: var(--mint);
  flex: none;
  margin-top: 3px;
}

/* ---------- Legal / prose ---------- */

.prose-page {
  padding-block: clamp(48px, 6vw, 80px) 96px;
}

.prose {
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin-top: 42px;
  margin-bottom: 12px;
  color: var(--ink);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 8px;
  color: var(--ink);
}

.prose p + p { margin-top: 12px; }

.prose ul,
.prose ol {
  margin-top: 12px;
  padding-left: 22px;
  display: grid;
  gap: 7px;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li::marker { color: var(--faint); }

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.prose strong { color: var(--ink); font-weight: 600; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 14px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-layout {
  display: grid;
  gap: 48px;
  padding-block: clamp(40px, 5vw, 64px) 96px;
}

@media (min-width: 980px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 72px;
    align-items: start;
  }
}

.legal-aside {
  display: none;
}

@media (min-width: 980px) {
  .legal-aside {
    display: block;
    position: sticky;
    top: 96px;
    padding-top: 4px;
  }
}

.legal-aside h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.legal-aside a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.legal-aside a:hover,
.legal-aside a[aria-current="true"] {
  color: var(--link);
  border-left-color: var(--brand);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .meter i { width: calc(var(--v) * 1%); }
}

/* ---------- Utility ---------- */

.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-14 { margin-top: 56px; }

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.hide-sm { display: none; }

@media (min-width: 900px) {
  .hide-sm { display: inline-flex; }
}

@media (max-width: 899px) {
  .hide-sm-down { display: none; }
}

.fade-edges {
  position: relative;
}


/* ---------- Simplified Chinese typography ---------- */

html[lang="zh-Hans"] body {
  font-family: "Geist", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-Hans"] .display,
html[lang="zh-Hans"] .section-title,
html[lang="zh-Hans"] .hero h1 {
  letter-spacing: -0.025em;
  line-height: 1.18;
}

html[lang="zh-Hans"] .hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.2;
}

html[lang="zh-Hans"] .section-title {
  font-size: clamp(1.7rem, 3.1vw, 2.85rem);
  line-height: 1.28;
}

html[lang="zh-Hans"] .page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

html[lang="zh-Hans"] .cta .section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

html[lang="zh-Hans"] .hero h1 em,
html[lang="zh-Hans"] .serif {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html[lang="zh-Hans"] .eyebrow {
  letter-spacing: 0.05em;
}

html[lang="zh-Hans"] .appstore small {
  letter-spacing: 0.02em;
}

html[lang="zh-Hans"] .lede,
html[lang="zh-Hans"] .hero-sub {
  line-height: 1.75;
}

html[lang="zh-Hans"] .faq-answer,
html[lang="zh-Hans"] .support-body p,
html[lang="zh-Hans"] .support-body li,
html[lang="zh-Hans"] .prose {
  line-height: 1.85;
}
