/* ============================================================================
   Alto Guard — public landing (welcome.html).
   DIRECTION: "AI-Native Editorial" — obsidian field · single gold signal ·
   asymmetric bento hero · one visual anchor per screen.

   Dark OLED minimal + AI-Native UI, taken from the project lookbook and fused
   with DESIGN.md (obsidian surfaces #0b0f14, one signal gold #d9a441, verdict
   colors as semantics only, Islamic 8-point star lattice as the heritage layer
   at ~4% opacity). Display type is the system stack with editorial tracking:
   no webfont request, so the portal CSP keeps style-src/font-src 'self'.

   Scale: 1.333 display (fluid, capped) over a 15px body. Hairlines only — one
   elevated shadow for floating surfaces. Every motion honours reduced-motion.
   Loaded ONLY by welcome.html (legal pages are self-contained).
============================================================================ */

:root {
  /* obsidian field */
  --base: #0b0f14;
  --surface-sunken: #090d12;
  --surface: #11171f;
  --surface-raised: #16202b;
  --hairline: #1e2a38;
  --hairline-strong: #2a3a4d;
  /* ink */
  --ink: #e8edf2;
  --ink-muted: #93a1b0;
  --ink-faint: #64748b;
  /* the single accent + verdict triad */
  --gold: #d9a441;
  --gold-text: #e4b45c;
  --gold-a10: rgb(217 164 65 / 0.1);
  --gold-a18: rgb(217 164 65 / 0.18);
  --allowed: #34d399;
  --review: #e4b45c;
  --removed: #f87171;
  /* type — 1.333 display scale, 1.25 UI steps */
  --fs-micro: 0.6875rem;
  --fs-cap: 0.75rem;
  --fs-body: 1rem;
  --fs-h3: 1.333rem;
  --fs-h2: 1.7769rem;
  --fs-display: clamp(2.2rem, 1.3rem + 3.2vw, 3.55rem);
  --font-sans: system-ui, -apple-system, 'Segoe UI', Tahoma, 'Noto Naskh Arabic',
    sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, 'Cascadia Mono', monospace;
  /* spacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 40px;
  --s-xxl: 72px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  /* motion */
  --dur-micro: 150ms;
  --dur-std: 250ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* depth: one elevated shadow for the whole page */
  --shadow-float: 0 18px 48px -18px rgb(0 0 0 / 0.7);
  --wrap: 1160px;
  /* the Alto heritage layer: 8-point star lattice (khatam), gold, hairline */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23D9A441' stroke-width='1'%3E%3Crect x='15' y='15' width='26' height='26'/%3E%3Crect x='15' y='15' width='26' height='26' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 84px; /* sticky bar clearance for #anchors */
  background: var(--base);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--base);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  min-height: 100vh;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  /* one soft obsidian vignette — atmosphere, not a gradient slop */
  background-image: radial-gradient(
    120% 70% at 78% -10%,
    rgb(217 164 65 / 0.06),
    transparent 60%
  );
  background-repeat: no-repeat;
}

html[dir='rtl'] body {
  line-height: 1.85; /* Arabic leading */
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

::selection {
  background: var(--gold);
  color: var(--base);
}

a {
  color: var(--ink);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* skip link — visible on focus only */
.skip {
  position: absolute;
  inset-inline-start: var(--s-md);
  inset-block-start: -60px;
  z-index: 60;
  background: var(--gold);
  color: var(--base);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-weight: 700;
  transition: inset-block-start var(--dur-micro) var(--ease-out);
}
.skip:focus {
  inset-block-start: var(--s-md);
}

/* =============================== header bar ============================== */
.bar {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: 14px clamp(16px, 4vw, 40px);
  border-block-end: 1px solid var(--hairline);
  background: rgb(11 15 20 / 0.82);
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.mark-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  color: var(--gold-text);
  flex: 0 0 auto;
}

.mark.small {
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
}

.wordmark {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: var(--s-lg);
  margin-inline-start: var(--s-lg);
}

.nav a {
  color: #a9b7c6;
  font-size: 0.875rem;
  font-weight: 500;
  padding-block: 4px;
  border-block-end: 1px solid transparent;
  transition: color var(--dur-micro) var(--ease-out),
    border-color var(--dur-micro) var(--ease-out);
}

.nav a:hover {
  color: var(--ink);
  border-block-end-color: var(--gold);
}

.bar-sp {
  flex: 1 1 auto;
}

.lang {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: border-color var(--dur-micro) var(--ease-out),
    color var(--dur-micro) var(--ease-out);
}

.lang:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}

/* ================================ buttons =============================== */
.cta {
  display: inline-block;
  background: var(--gold);
  color: var(--base);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-md);
  padding: 10px 18px;
  font-size: 0.875rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color var(--dur-micro) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

.cta:hover {
  background: var(--gold-text);
}

.cta:active {
  transform: translateY(1px);
}

.cta.big {
  padding: 15px 28px;
  font-size: 1rem;
}

.ghost {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--dur-micro) var(--ease-out),
    color var(--dur-micro) var(--ease-out);
}

.ghost:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}

.ghost.big {
  padding: 15px 28px;
  font-size: 1rem;
}

/* ================================== hero ================================= */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 72px);
  display: grid;
  /* asymmetric on purpose: the copy is the wider column */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-block-end: var(--s-md);
}

html[dir='rtl'] .eyebrow,
html[dir='rtl'] .badge {
  letter-spacing: 0;
  text-transform: none;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.028em;
  margin-block-end: var(--s-lg);
  text-wrap: balance;
}

.h1-a,
.h1-b {
  display: block;
}

.h1-b {
  /* a warm gold gradient wash, not a drop-shadow blur (reads intentional at
     300% zoom); degrades to the solid --gold-text color where unsupported */
  color: var(--gold-text);
  background: linear-gradient(96deg, #f0cf8e 0%, var(--gold) 55%, #b9822c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
  .h1-b {
    -webkit-text-fill-color: currentColor;
  }
}

html[dir='rtl'] .display {
  letter-spacing: 0;
  line-height: 1.25;
}

.lede {
  color: #c3d2df;
  font-size: 1.0625rem;
  max-width: 60ch;
  margin-block-end: var(--s-xl);
}

.btns {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  margin-block-end: var(--s-lg);
}

.trust {
  list-style: none;
  display: flex;
  gap: var(--s-lg);
  flex-wrap: wrap;
  font-size: var(--fs-cap);
  color: var(--ink-muted);
}

.trust li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

/* ------- the one visual anchor: a CSS-only live-verdict console --------- */
.verdict {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

/* heritage lattice — 4% opacity, behind the console content */
.verdict::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--lattice);
  opacity: 0.045;
  pointer-events: none;
}

.verdict > * {
  position: relative;
}

.verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding-block-end: var(--s-sm);
  border-block-end: 1px solid var(--hairline);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-cap);
  font-weight: 600;
  color: var(--ink-muted);
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

/* the product heartbeat — a gold ring that breathes */
.dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: breathe 2.6s var(--ease-out) infinite;
}

@keyframes breathe {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.verdict-time {
  font-size: var(--fs-micro);
  color: var(--ink-faint);
}

.verdict-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.v {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: 11px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface-raised);
  /* the verdict is carried by the inline-start rail, never by a fill */
  border-inline-start-width: 3px;
}

/* ---- the verdict console lives: rows arrive one by one, then a fresh ----
   message slides in and pushes the cycle. Pure CSS keyframes (paused under
   reduced-motion by the global rule at the end of this file); the JS in
   landing.js only drives the timer readout.                          ---- */
.js .verdict-list .v {
  opacity: 0;
  animation: v-arrive 5.4s var(--ease-out) infinite;
}
.js .verdict-list .v:nth-child(1) { animation-delay: 0s; }
.js .verdict-list .v:nth-child(2) { animation-delay: 1.8s; }
.js .verdict-list .v:nth-child(3) { animation-delay: 3.6s; }

@keyframes v-arrive {
  0% { opacity: 0; transform: translateY(10px) scale(0.985); }
  8%, 60% { opacity: 1; transform: none; }
  74%, 100% { opacity: 0; transform: translateY(-8px) scale(0.99); }
}

/* a single sweep line crossing the console — the classifier "reading" */
.js .verdict::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 120%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgb(217 164 65 / 0.05) 46%,
    rgb(217 164 65 / 0.16) 50%,
    rgb(217 164 65 / 0.05) 54%,
    transparent 100%
  );
  pointer-events: none;
  animation: v-sweep 5.4s var(--ease-out) infinite;
}

@keyframes v-sweep {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

.v.allowed {
  border-inline-start-color: var(--allowed);
}
.v.review {
  border-inline-start-color: var(--review);
}
.v.removed {
  border-inline-start-color: var(--removed);
}

.v-msg {
  font-size: 0.875rem;
  color: #d7e2ec;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

html[dir='rtl'] .v-msg {
  direction: rtl;
}

.v-chip {
  flex: 0 0 auto;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  white-space: nowrap;
}

html[dir='rtl'] .v-chip {
  letter-spacing: 0;
}

.v.allowed .v-chip {
  color: var(--allowed);
}
.v.review .v-chip {
  color: var(--review);
}
.v.removed .v-chip {
  color: var(--removed);
}

.verdict-stats {
  display: flex;
  gap: var(--s-xl);
  padding-block-start: var(--s-sm);
  border-block-start: 1px solid var(--hairline);
}

.verdict-stats dt {
  font-size: var(--fs-micro);
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[dir='rtl'] .verdict-stats dt {
  letter-spacing: 0;
  text-transform: none;
}

.verdict-stats dd {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-text);
}

.verdict-stats dd i {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-inline-start: 2px;
}

.verdict-foot {
  font-size: var(--fs-cap);
  color: var(--ink-muted);
}

/* ============================== sections ================================ */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 40px);
}

/* editorial section rules — the hairline is the only divider we use */
.sec-problem,
.sec-how,
.sec-pricing,
.sec-faq {
  border-block-start: 1px solid var(--hairline);
}

.hero-copy {
  min-width: 0;
}

.sec-head {
  max-width: 62ch;
  margin-block-end: var(--s-xl);
}

.sec-head h2 {
  font-size: var(--fs-h2);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

html[dir='rtl'] .sec-head h2 {
  letter-spacing: 0;
  line-height: 1.35;
}

/* ---- the problem ---- */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.pains {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.pains li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--s-md);
  padding-block: var(--s-lg);
  border-block-start: 1px solid var(--hairline);
}

.pains li:last-child {
  border-block-end: 1px solid var(--hairline);
}

.p-n {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-cap);
  color: var(--gold);
  padding-block-start: 4px;
}

.pains h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-block-end: 6px;
}

html[dir='rtl'] .pains h3 {
  letter-spacing: 0;
}

.pains p {
  color: var(--ink-muted);
  max-width: 58ch;
}

.pull {
  position: relative;
  padding: var(--s-lg);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  border-inline-start: 3px solid var(--gold);
}

.pull p {
  font-size: 1.333rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold-text);
  text-wrap: balance;
}

html[dir='rtl'] .pull p {
  letter-spacing: 0;
  line-height: 1.5;
}

.pull cite {
  display: block;
  margin-block-start: var(--s-md);
  font-style: normal;
  font-size: var(--fs-cap);
  color: var(--ink-muted);
}

/* ---- how it works ---- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-md);
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  transition: border-color var(--dur-micro) var(--ease-out);
}

.steps li:hover {
  border-color: var(--hairline-strong);
}

.steps li:first-child {
  border-color: var(--hairline-strong);
}

.s-n {
  font-size: var(--fs-cap);
  color: var(--gold);
  letter-spacing: 0.08em;
}

.steps h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.012em;
}

html[dir='rtl'] .steps h3 {
  letter-spacing: 0;
}

.steps p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* ---- pricing bento (asymmetric: 1 | 2 | 1 then 2 | 2) ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-md);
}

.tier {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  transition: border-color var(--dur-micro) var(--ease-out);
}

.tier:hover {
  border-color: var(--hairline-strong);
}

.tier h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.012em;
}

html[dir='rtl'] .tier h3 {
  letter-spacing: 0;
}

.tier-trial {
  grid-column: span 1;
}
.tier-pro {
  grid-column: span 1;
}

/* the hot cell is the ONE gold anchor of the section */
.tier-hot {
  grid-column: span 2;
  border-color: var(--gold-a18);
  background: linear-gradient(
    170deg,
    var(--gold-a10),
    var(--surface) 55%
  );
  box-shadow: var(--shadow-float);
  justify-content: space-between;
}

.badge {
  align-self: flex-start;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--base);
  background: var(--gold);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}

.price {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price i {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-inline-start: 4px;
}

.tier-line {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.tier-hot .cta {
  align-self: flex-start;
  margin-block-start: var(--s-sm);
}

.facts {
  grid-column: span 2;
  list-style: none;
  background: var(--surface-sunken);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-md);
}

.facts li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 0.875rem;
  color: #c3d2df;
}

.facts li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 6px;
  width: 9px;
  height: 5px;
  border-inline-start: 1.5px solid var(--gold);
  border-block-end: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.tier-note {
  grid-column: span 2;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  color: var(--ink-muted);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
}

/* ---- FAQ (native details accordion, exclusive via name="faq") ---- */
.faqs {
  display: flex;
  flex-direction: column;
  border-block-start: 1px solid var(--hairline);
}

.faq {
  border-block-end: 1px solid var(--hairline);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-lg) 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.012em;
  transition: color var(--dur-micro) var(--ease-out);
}

html[dir='rtl'] .faq summary {
  letter-spacing: 0;
}

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

.faq summary:hover {
  color: var(--gold-text);
}

.faq-mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.faq-mark::before,
.faq-mark::after {
  content: '';
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 0;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.faq-mark::after {
  transform: rotate(90deg);
  transition: transform var(--dur-micro) var(--ease-out);
}

.faq[open] .faq-mark::after {
  transform: rotate(0deg);
}

.faq p {
  color: var(--ink-muted);
  max-width: 68ch;
  padding-block-end: var(--s-lg);
}

.faq[open] summary {
  color: var(--gold-text);
}

/* ================================ footer ================================ */
.foot {
  position: relative;
  border-block-start: 1px solid var(--hairline);
  margin-block-start: var(--s-xxl);
  padding: var(--s-xl) clamp(16px, 4vw, 40px) var(--s-xxl);
  background: var(--surface-sunken);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  align-items: center;
  text-align: center;
}

.foot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--lattice);
  opacity: 0.035;
  pointer-events: none;
}

.foot > * {
  position: relative;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.foot-note {
  color: var(--ink-muted);
  font-size: var(--fs-cap);
}

.foot-links {
  display: flex;
  gap: var(--s-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.foot-links a {
  color: var(--ink-muted);
  font-size: 0.875rem;
  border-block-end: 1px solid transparent;
  transition: color var(--dur-micro) var(--ease-out);
}

.foot-links a:hover {
  color: var(--gold-text);
}

.foot-co {
  color: var(--ink-faint);
  font-size: var(--fs-micro);
}

/* ============================== responsive ============================== */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tier-trial,
  .tier-pro {
    grid-column: span 1;
  }
  .tier-hot,
  .facts,
  .tier-note {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav {
    margin-inline-start: 0;
    gap: var(--s-md);
  }
}

@media (max-width: 640px) {
  :root {
    --fs-h2: 1.5rem;
    --fs-h3: 1.1667rem;
  }
  .bar {
    padding: 12px 16px;
    row-gap: var(--s-sm);
  }
  .nav {
    order: 3;
    width: 100%;
    border-block-start: 1px solid var(--hairline);
    padding-block-start: var(--s-sm);
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tier-hot,
  .facts,
  .tier-note {
    grid-column: span 1;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .verdict-stats {
    gap: var(--s-lg);
  }
  .price {
    font-size: 2rem;
  }
}

/* ========================= progressive enhancement ====================== */
/* landing.js adds .js to <html>; without JS every section renders as-is. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-std) var(--ease-out),
    transform var(--dur-std) var(--ease-out);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.nav a.current {
  color: var(--ink);
  border-block-end-color: var(--gold);
}

/* ============================ reduced motion =========================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .dot::after {
    display: none; /* no breathing ring */
  }
  .js .reveal,
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* the verdict cycle freezes to its final, fully-readable state */
  .js .verdict-list .v {
    opacity: 1;
    animation: none;
  }
  .js .verdict::after {
    display: none; /* no sweep line */
  }
  .cta:active {
    transform: none;
  }
  .faq-mark::after,
  .skip {
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}