/* Fortify — shared styles for the marketing, privacy and support pages.
   Self-contained: no external fonts, scripts or CSS. Dark first, light aware. */

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

:root {
  color-scheme: dark light;
  --bg: #0b0c0f;
  --bg-tint: #121418;
  --surface: #16181d;
  --line: #262931;
  --ink: #f2f4ee;
  --ink-soft: #a6aab3;
  --ink-faint: #737882;
  --lime: #c6ff3d;
  --accent: #c6ff3d;
  --accent-ink: #0b0c0f;
  --accent-soft: rgba(198, 255, 61, 0.1);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, 0.12);
  --bad: #ff6b6b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7f3;
    --bg-tint: #eef0e8;
    --surface: #ffffff;
    --line: #e1e4da;
    --ink: #111317;
    --ink-soft: #545862;
    --ink-faint: #81858d;
    --accent: #4a6b00;
    --accent-soft: #eaf6c8;
    --warn: #a35f00;
    --warn-soft: #fdf0dc;
    --bad: #c23b3b;
    --shadow: 0 1px 2px rgba(17, 19, 23, 0.04), 0 12px 32px -12px rgba(17, 19, 23, 0.14);
  }
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
::selection { background: var(--lime); color: #0b0c0f; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.brand span { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: #0b0c0f;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid var(--lime);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-faint); transform: none; opacity: 1; }
.btn-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  background:
    radial-gradient(800px 420px at 50% -8%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  margin: 0 auto 1.75rem;
  display: block;
  box-shadow: 0 0 0 1px var(--line), 0 18px 50px -18px rgba(198, 255, 61, 0.35);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 0 auto 1.25rem;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 auto 2.25rem;
}
.store-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 1.1rem; }

/* ---------- statement band ---------- */

.band {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 4rem 1.5rem;
}
.band p {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.35;
  max-width: 30ch;
  margin: 0 auto;
  text-wrap: balance;
}
.band p span { color: var(--ink-faint); }

/* ---------- sections ---------- */

.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 36ch; margin: 0 auto 3.25rem; }
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-head h2, .showcase-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.section-head p { color: var(--ink-soft); margin-top: 0.85rem; font-size: 1rem; }

/* ---------- feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.card p { font-size: 0.925rem; color: var(--ink-soft); }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card ul { margin: 0.85rem 0 0 1.1rem; }
.card li { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 0.25rem; }

/* ---------- plan showcase ---------- */

.showcase { background: var(--bg-tint); }
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.showcase-copy h2 { margin-bottom: 1.1rem; }
.showcase-copy p { color: var(--ink-soft); margin-bottom: 0.9rem; }

.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.plan-card .plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.plan-card .plan-head strong { font-size: 1rem; color: var(--ink); font-weight: 700; }
.plan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.plan-row .name { font-weight: 650; font-size: 0.95rem; }
.plan-row .dose { font-size: 0.85rem; color: var(--ink-soft); text-align: right; }
.plan-row .why { grid-column: 1 / -1; font-size: 0.82rem; color: var(--ink-faint); }
.pill {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: 2px;
  background: var(--accent-soft);
  color: var(--accent);
}
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.plan-row.removed .name { text-decoration: line-through; color: var(--ink-faint); }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  text-align: center;
}
.stat .n {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1.1;
  display: block;
}
.stat .l { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35rem; display: block; }

/* ---------- privacy strip ---------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 2.25rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.strip-item { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--ink-soft); }
.strip-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

/* ---------- disclaimer ---------- */

.disclaimer {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
}
.disclaimer strong { color: var(--ink-soft); }

/* ---------- document pages (privacy / support) ---------- */

.page-head {
  padding: 3.75rem 1.5rem 3rem;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% -20%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { color: var(--ink-soft); margin-top: 0.75rem; font-size: 0.98rem; }
.page-head .updated { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.85rem; }

.doc { padding: 3.25rem 0 4.5rem; }
.doc h2 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 0.85rem;
  scroll-margin-top: 5rem;
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.doc p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.doc ul, .doc ol { margin: 0 0 1rem 1.35rem; }
.doc li { color: var(--ink-soft); margin-bottom: 0.45rem; }
.doc strong { color: var(--ink); font-weight: 700; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow);
}
.callout h2 { font-size: 1.05rem; margin: 0 0 0.6rem; font-weight: 750; }
.callout ul { margin-bottom: 0; }
.callout li { font-size: 0.93rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.75rem; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-faint); font-weight: 700; }
td { color: var(--ink-soft); }

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

.faq-group { margin-bottom: 2.75rem; }
.faq-group > h2 { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 1rem; scroll-margin-top: 5rem; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
details[open] { box-shadow: var(--shadow); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  top: 1.3rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
details[open] summary::after { transform: rotate(-135deg); top: 1.5rem; }
summary:hover { color: var(--accent); }
.answer { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.answer p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.7rem; }
.answer p:last-child, .answer ul:last-child, .answer ol:last-child { margin-bottom: 0; }
.answer ul, .answer ol { margin: 0 0 0.7rem 1.25rem; }
.answer li { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.answer strong { color: var(--ink); }
.path {
  font-size: 0.86em;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  padding: 0.1em 0.45em;
  border-radius: 5px;
  white-space: nowrap;
}

/* ---------- jump links ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.jump a {
  font-size: 0.83rem;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.jump a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- contact ---------- */

.contact {
  text-align: center;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.75rem 2rem;
  margin-top: 3rem;
}
.contact h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.contact p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 1.6rem; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 1.5rem;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 0.75rem 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .hero { padding: 3.5rem 1.25rem 3.25rem; }
  .section { padding: 3.5rem 0; }
  .card { padding: 1.4rem; }
  .btn { width: 100%; justify-content: center; }
}

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