@font-face { font-family: 'Onest'; src: url('fonts/Onest-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* Static Zero-Tracker Design System */
:root {
  --bg-page: #f6f4f0;
  --bg-surface: #ffffff;
  --bg-subtle: #f1ede7;
  --bg-inverse: #17151b;
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --brand-soft: #eef0ff;
  --brand-gradient: linear-gradient(135deg, #5b8cff 0%, #4f46e5 50%, #8b5cf6 100%);
  --app-accent: #4f46e5;
  --app-accent-2: #8b5cf6;
  --app-soft: #eef0ff;
  --text-primary: #17151b;
  --text-secondary: #5c5763;
  --text-tertiary: #7e7886;
  --border-default: #e8e3dc;
  --border-strong: #d7d0c7;
  --positive: #0f7a55;
  --positive-soft: #e6f4ee;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --shadow-card: 0 1px 2px rgba(27, 20, 51, .04), 0 12px 30px -14px rgba(27, 20, 51, .11);
  --shadow-card-hover: 0 2px 4px rgba(27, 20, 51, .06), 0 22px 44px -18px rgba(27, 20, 51, .18);
  --shadow-phone: 0 34px 70px -30px rgba(23, 21, 27, .35), 0 10px 22px -12px rgba(23, 21, 27, .16);
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-page);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; color: var(--text-primary); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 800; }
h1 em, h2 em { font-family: var(--font-serif); font-style: normal; font-weight: 600; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.012em; }
p { margin: 0; }
code {
  font-family: var(--font-mono);
  font-size: .86em;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text-primary);
}
:focus-visible { outline: 3px solid #f0a032; outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bg-inverse);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { left: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 840px; }

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 240, .88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border-default);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.015em;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .55);
}
.brand__sub {
  font-weight: 600;
  font-size: .82rem;
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { background: var(--bg-subtle); color: var(--text-primary); }
.nav a[aria-current="page"] {
  background: var(--bg-surface);
  color: var(--brand);
  box-shadow: 0 1px 2px rgba(27, 20, 51, .06);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  color: var(--text-secondary);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--text-tertiary); }
.breadcrumbs a { text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text-primary); font-weight: 600; }

/* ---------- Overline & Pills ---------- */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--app-accent);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  text-decoration: none;
}
a.pill:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-surface); }
.pill--accent {
  background: var(--app-soft);
  color: var(--app-accent);
  border-color: transparent;
}
.pill--green {
  background: var(--positive-soft);
  color: var(--positive);
  border-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: .94rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--app-accent);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(23, 21, 27, .45);
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--bg-subtle); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .86rem; border-radius: 11px; }

/* ---------- Hub Hero ---------- */
.hub-hero { padding: 54px 0 38px; }
.hub-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: end;
}
.hub-hero h1 em {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 16px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: var(--text-secondary);
  max-width: 60ch;
}
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.kpi {
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.kpi strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.kpi span {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  color: var(--text-secondary);
}

/* ---------- Wave Sections & App Catalog Cards ---------- */
.wave-section { padding: 26px 0 18px; }
.wave-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-default);
}
.wave-head h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.wave-head p { font-size: .92rem; color: var(--text-secondary); }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.app-grid--flagship {
  grid-template-columns: 1fr;
}
.app-grid--flagship .app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  padding: 26px 28px;
}
.app-grid--flagship .app-card__top { margin-bottom: 0; }
.app-grid--flagship .app-card__metrics { margin-bottom: 10px; }
.app-grid--flagship .badge-row { margin-bottom: 0; }
.app-grid--flagship .app-card__foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 10px;
  white-space: nowrap;
}
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-2));
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.app-card__top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -12px rgba(23, 21, 27, .45);
  border: 1px solid rgba(23, 21, 27, .07);
}
.app-icon--lg { width: 84px; height: 84px; border-radius: 21px; }
.app-icon--sm { width: 48px; height: 48px; border-radius: 12px; }
.app-card__title { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.app-card__native {
  display: inline-block;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--app-accent);
}
.app-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.app-card__metrics b { color: var(--text-primary); }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.app-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  font-weight: 700;
  color: var(--app-accent);
}

/* ---------- Pillars & Shared Band ---------- */
.pillars-section { padding: 42px 0 28px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.pillar {
  padding: 22px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}
.pillar__num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand);
}
.pillar h3 { font-size: 1.04rem; margin-bottom: 8px; }
.pillar p { font-size: .91rem; color: var(--text-secondary); line-height: 1.55; }

/* ---------- Product Page Hero ---------- */
.product-hero { padding: 34px 0 42px; }
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}
.product-id {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.product-hero__sub {
  margin-top: 8px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--app-accent);
}
.store-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--bg-inverse);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.platform-pill small {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  opacity: .75;
  line-height: 1.1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.hero-meta {
  margin-top: 16px;
  font-size: .84rem;
  color: var(--text-secondary);
}
.hero-shot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 0;
}
.hero-shot-glow {
  position: absolute;
  inset: 10% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--app-accent-2), transparent 72%);
  opacity: .24;
  filter: blur(28px);
}
.hero-shot {
  position: relative;
  width: min(310px, 85%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(23, 21, 27, .12);
}

/* ---------- Product Stats Bar ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 40px;
}
.stat-box {
  padding: 16px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  text-align: center;
}
.stat-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--app-accent);
  line-height: 1.2;
}
.stat-box span {
  display: block;
  margin-top: 4px;
  font-size: .8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ---------- 3-Screenshot Gallery ---------- */
.gallery-section { padding: 14px 0 44px; }
.section-head { margin-bottom: 24px; }
.section-head p { margin-top: 8px; color: var(--text-secondary); max-width: 62ch; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.shot-card {
  margin: 0;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.shot-card__frame {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid rgba(23, 21, 27, .08);
}
.shot-card__frame img { width: 100%; height: auto; }
.shot-card figcaption { margin-top: 14px; }
.shot-card figcaption strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.shot-card figcaption span { font-size: .88rem; color: var(--text-secondary); line-height: 1.48; }

/* ---------- Deep Dive Two-Column ---------- */
.deep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}
.panel {
  padding: 28px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.panel h2 { font-size: 1.35rem; margin-bottom: 12px; }
.panel p { color: var(--text-secondary); font-size: .96rem; }
.panel p + p { margin-top: 12px; }

/* CEFR distribution bars */
.cefr-bars { margin-top: 18px; display: grid; gap: 9px; }
.cefr-row {
  display: grid;
  grid-template-columns: 36px 1fr 54px;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}
.cefr-row b { font-weight: 800; color: var(--text-primary); }
.cefr-track {
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  overflow: hidden;
}
.cefr-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--app-accent), var(--app-accent-2));
}
.cefr-count { text-align: right; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.fine-note { margin-top: 14px; font-size: .82rem; color: var(--text-tertiary); line-height: 1.5; }

/* ---------- Subscription & Privacy Transparency Box ---------- */
.transparency {
  padding: 30px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--app-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}
.transparency__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
.transparency h2 { font-size: 1.35rem; margin-bottom: 10px; }
.transparency ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-secondary); font-size: .94rem; }
.transparency li { margin-bottom: 7px; }
.transparency li strong { color: var(--text-primary); }
.legal-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-default);
}
.legal-card h3 { font-size: 1rem; margin-bottom: 10px; }
.legal-card p { font-size: .88rem; color: var(--text-secondary); margin-bottom: 14px; }
.legal-links-col { display: grid; gap: 8px; }
.legal-links-col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.legal-links-col a:hover { border-color: var(--app-accent); color: var(--app-accent); }

/* ---------- App Switcher Strip ---------- */
.switcher { padding: 12px 0 48px; }
.switcher h2 { font-size: 1.15rem; margin-bottom: 14px; }
.switcher-list { display: flex; flex-wrap: wrap; gap: 9px; }
.switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-primary);
}
.switcher-pill img { width: 22px; height: 22px; border-radius: 6px; }
.switcher-pill:hover { border-color: var(--brand); color: var(--brand); }
.switcher-pill[aria-current="page"] {
  background: var(--app-soft);
  border-color: var(--app-accent);
  color: var(--app-accent);
}

/* ---------- Support Page ---------- */
.support-hero { padding: 40px 0 28px; }
.contact-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin: 24px 0 36px;
}
.contact-banner h2 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-banner p { color: var(--text-secondary); font-size: .95rem; max-width: 58ch; }
.support-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}
.support-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  scroll-margin-top: 92px;
}
.support-app-card:target {
  border-color: var(--app-accent);
  box-shadow: 0 0 0 3px var(--app-soft), var(--shadow-card);
}
.support-app-card__info { flex: 1; min-width: 0; }
.support-app-card__info h3 { font-size: 1rem; margin-bottom: 2px; }
.support-app-card__info p { font-size: .83rem; color: var(--text-secondary); }
.support-app-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }

/* ---------- Accordion FAQ (Zero-JS) ---------- */
.faq-section { padding: 8px 0 56px; }
.faq-list {
  margin-top: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 6px 26px;
  box-shadow: var(--shadow-card);
}
.faq-list details { border-bottom: 1px solid var(--border-default); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  position: relative;
  padding: 20px 42px 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform .18s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--text-secondary); font-size: .95rem; max-width: 72ch; }
.faq-body p + p { margin-top: 10px; }
.faq-body ul, .faq-body ol { margin: 8px 0 0; padding-left: 20px; }
.faq-body li { margin-bottom: 6px; }
.faq-body a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Legal Document Pages (Privacy / Terms) ---------- */
.doc { padding: 38px 0 72px; }
.doc-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-default);
  margin-bottom: 26px;
}
.doc-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.doc-meta {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.doc-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.doc-lead {
  padding: 24px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
}
.doc-lead h2 { margin: 0 0 12px; font-size: 1.15rem; }
.doc-lead ul { margin: 0; padding-left: 20px; }
.doc-lead li { margin-bottom: 8px; color: var(--text-secondary); font-size: .96rem; }
.doc-lead li strong { color: var(--text-primary); }
.doc-toc {
  padding: 22px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.doc-toc__title {
  margin-bottom: 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.doc-toc ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  columns: 2;
  column-gap: 36px;
}
.doc-toc li {
  margin-bottom: 7px;
  break-inside: avoid;
  font-size: .92rem;
  color: var(--text-secondary);
}
.doc-toc a { text-decoration: none; color: var(--text-primary); font-weight: 500; }
.doc-toc a:hover { color: var(--brand); text-decoration: underline; }

.doc-body {
  padding: 34px 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.doc-body h2 {
  font-size: 1.32rem;
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-default);
}
.doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body h3 { font-size: 1.04rem; margin: 22px 0 8px; }
.doc-body p { color: #36323d; font-size: .98rem; line-height: 1.72; margin: 0 0 13px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 22px; color: #36323d; font-size: .96rem; line-height: 1.68; }
.doc-body li { margin-bottom: 7px; }
.doc-body li strong, .doc-body p strong { color: var(--text-primary); }
.doc-body a { color: var(--brand); text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: .91rem; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--border-default); }
.doc-body tr:last-child td { border-bottom: 0; }
.doc-body th { background: var(--bg-page); font-weight: 700; color: var(--text-primary); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 32px;
  padding: 48px 0 36px;
  border-top: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: .88rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr .8fr;
  gap: 32px 44px;
  padding-bottom: 30px;
}
.footer__about p { margin-top: 12px; max-width: 38ch; line-height: 1.55; }
.footer__trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  background: var(--positive-soft);
  color: var(--positive);
  font-size: .8rem;
  font-weight: 700;
}
.footer__head {
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.footer__apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
}
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brand); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border-default);
  font-size: .83rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-card, .btn { transition: none; }
}

@media (max-width: 1020px) {
  .hub-hero__grid, .product-hero__grid, .transparency__grid { grid-template-columns: 1fr; }
  .hub-hero__actions { justify-content: flex-start !important; }
  .kpi-strip, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid--flagship .app-card { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .topbar__inner { flex-wrap: wrap; }
  .brand__sub { display: none; }
  .app-grid, .gallery-grid, .deep-grid, .support-apps, .footer__grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-toc ol { columns: 1; }
  .doc-body { padding: 22px 18px; }
}

@media print {
  .topbar, .breadcrumbs, .doc-nav-pills, .footer { display: none; }
  body { background: #fff; }
  .doc-body, .doc-lead { box-shadow: none; border: 0; padding: 0; }
}

/* ---------- Standalone Single-Domain Overrides ---------- */
:root {
  --brand: #c85012;
  --brand-hover: #eb7526;
  --brand-soft: #f9ece5;
  --brand-gradient: linear-gradient(135deg, #c85012 0%, #eb7526 100%);
  --app-accent: #c85012;
  --app-accent-2: #eb7526;
  --app-soft: #f9ece5;
}
.brand__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  display: block;
  flex-shrink: 0;
}
.brand__mark {
  box-shadow: 0 6px 16px -6px rgba(17, 15, 21, .28);
}
.btn--primary {
  box-shadow: 0 8px 20px -10px rgba(17, 15, 21, .35);
}
.footer__meta {
  display: grid;
  gap: 7px;
  font-size: .86rem;
  color: var(--text-secondary);
}
.footer__meta code {
  font-size: .8rem;
  color: var(--text-primary);
}
.support-single-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.support-single-card__id {
  display: flex;
  align-items: center;
  gap: 16px;
}
.support-single-card__id h2 {
  font-size: 1.15rem;
  margin-bottom: 3px;
}
.support-single-card__id p {
  font-size: .88rem;
  color: var(--text-secondary);
}

/* ---------- Coming Soon Teaser ---------- */
.teaser-hero {
  padding: 46px 0 36px;
}
.teaser-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px;
  align-items: center;
}
.teaser-card {
  position: relative;
  padding: 30px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--brand-gradient);
}
.teaser-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.teaser-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.teaser-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.62;
  margin-bottom: 14px;
}
.teaser-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 9px;
  font-size: .92rem;
  color: var(--text-primary);
}
.teaser-checklist li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.teaser-checklist .chk {
  color: var(--brand);
  font-weight: 800;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .teaser-hero__grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
