/* ===========================================================================
   Magnet — themagnet.app
   The page is an audit report: night backdrop, metal marks, penalty tags.
   Tokens mirror the app's design system (src/global.css in the Expo repo).
   =========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* Surfaces — the night the app was drawn on */
  --ink: #0a0910;
  --ink-lift: #0e0c16;
  --card: #14121c;
  --card-lift: #1c1a24;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* Ink */
  --fg: #f7f6fa;
  --muted: rgba(247, 246, 250, 0.58);
  --subtle: rgba(247, 246, 250, 0.32);

  /* Brand — flame to violet, the app's signature run */
  --flame: #ff3d71;
  --violet: #7c5cff;
  --brand: linear-gradient(102deg, var(--flame), var(--violet));

  /* Medal tiers */
  --gold: #e8c547;
  --silver: #c5cdd6;
  --bronze: #c4843c;

  /* Feedback */
  --danger: #ff5454;
  --success: #34c77b;
  --warn: #ffb020;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --pad-section: clamp(4rem, 6.4vw, 6.5rem);
  --max: 1180px;
}

/* ------------------------------------------------------------------ base -- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient: violet haze bleeding from the top, exactly like the onboarding. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 1050px;
  background:
    radial-gradient(72rem 40rem at 66% -12%, rgba(124, 92, 255, 0.46), transparent 66%),
    radial-gradient(46rem 30rem at 6% -4%, rgba(255, 61, 113, 0.24), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* Film grain — keeps the flat dark from reading as a slab of paint. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
}

main, header, footer, section { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

::selection { background: rgba(255, 61, 113, 0.32); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--card-lift);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- typo ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.85rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.04; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-stretch: 112%; letter-spacing: -0.018em; }
h4 { font-size: 1rem; font-stretch: 108%; letter-spacing: 0.01em; }

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}
.eyebrow.no-rule::before { display: none; }

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.2rem);
  color: var(--muted);
  max-width: 40ch;
}

.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------- layout ---- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.section-head { max-width: 44rem; display: grid; gap: 1rem; }
.section-head.centered { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  position: relative;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 34px -14px rgba(255, 61, 113, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover::after { transform: translateX(110%); }

.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--fg);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover { background: var(--glass-strong); border-color: var(--line-strong); }

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }

.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.4rem 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--glass);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
}
.store-btn:hover { border-color: var(--line-strong); background: var(--glass-strong); transform: translateY(-1px); }
.store-btn svg { flex: none; }
.store-btn span { display: block; line-height: 1.15; }
.store-btn .store-kicker { font-size: 0.6875rem; color: var(--subtle); letter-spacing: 0.04em; }
.store-btn .store-name { font-size: 1.0625rem; font-weight: 600; font-family: var(--display); font-stretch: 106%; }

/* -------------------------------------------------------------- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10, 9, 16, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(10, 9, 16, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 116%;
  letter-spacing: -0.03em;
  font-size: 1.3rem;
}
.logo-mark { width: 32px; height: 32px; flex: none; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.18s;
}
.site-nav a:hover { color: var(--fg); }
.site-nav .btn { color: #fff; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--subtle);
}
.lang-switch a { color: var(--subtle); text-decoration: none; }
.lang-switch a:hover { color: var(--fg); }
.lang-switch .current { color: var(--fg); }
.lang-switch .sep { opacity: 0.4; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--glass);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--fg);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero ---- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 7rem); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--glass);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 0 4px rgba(255, 61, 113, 0.16);
}

.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 42ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-note {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--subtle);
  text-transform: uppercase;
}

/* ------------------------------------------- signature: the audit report -- */
.audit {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(28, 26, 36, 0.92), rgba(14, 12, 22, 0.96));
  box-shadow: 0 46px 90px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  padding: 1.05rem;
  display: grid;
  gap: 1.05rem;
  backdrop-filter: blur(20px);
}

.audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0.35rem 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.audit-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.audit-head .live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.audit-stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3.4;
}
.audit-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.92) contrast(1.02);
}
.audit-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 16, 0.1) 0%, rgba(10, 9, 16, 0.08) 45%, rgba(10, 9, 16, 0.86) 100%);
  pointer-events: none;
}

/* The sweeping beam, straight out of the app's ScanSweep. */
.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 42%;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(255, 61, 113, 0.42) 62%, rgba(255, 255, 255, 0.72) 78%, transparent);
  opacity: 0;
  pointer-events: none;
}
.audit.is-scanning .scan-beam { animation: sweep 1.5s cubic-bezier(0.5, 0, 0.5, 1) 2; }
@keyframes sweep {
  0% { transform: translateY(-105%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(240%); opacity: 0; }
}

/* Penalty tags pinned onto the photo, each with a leader line. */
.pin {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 84, 84, 0.4);
  background: rgba(36, 14, 18, 0.86);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  color: var(--fg);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100% - 1.5rem);
}
.pin .cost { color: var(--danger); font-weight: 600; }
.pin::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  bottom: -9px;
  width: 1px;
  height: 9px;
  background: rgba(255, 84, 84, 0.5);
}
.pin.is-on { opacity: 1; transform: translateY(0) scale(1); }

.pin-1 { top: 7%; left: 5%; }
.pin-2 { top: 25%; right: 5%; }
.pin-3 { top: 45%; left: 8%; }
.pin-4 { top: 63%; right: 6%; }

.audit-verdict {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.mark { display: flex; align-items: flex-end; gap: 0.25rem; line-height: 1; }
.mark-value {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(3.2rem, 6vw, 4.25rem);
  letter-spacing: -0.045em;
  background: linear-gradient(168deg, #5a3014 0%, #a86b32 18%, #f0c090 36%, #c4843c 48%, #7a4520 68%, #d9a066 100%);
  background-size: 100% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
  animation: metal 5.5s ease-in-out infinite;
  font-variant-numeric: tabular-nums;
}
@keyframes metal {
  0%, 100% { background-position: 50% 0%; }
  50% { background-position: 50% 100%; }
}
.mark-max {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(247, 246, 250, 0.5);
  padding-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--pill);
  border: 1px solid rgba(196, 132, 60, 0.45);
  background: rgba(196, 132, 60, 0.14);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.6rem;
}

.audit-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.audit-stat {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.15rem;
}
.audit-stat dt {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--subtle);
}
.audit-stat dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.audit-stat dd small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }

.audit-replay {
  position: absolute;
  right: 1.05rem;
  top: 1.05rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(10, 9, 16, 0.72);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s;
}
.audit-replay:hover { color: var(--fg); border-color: var(--line-strong); }

/* ------------------------------------------------------------ app strip -- */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  justify-content: center;
  padding-block: 1.6rem;
}
.strip-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.strip-apps { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); flex-wrap: wrap; justify-content: center; }
.strip-app {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 106%;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: rgba(247, 246, 250, 0.42);
  transition: color 0.25s;
}
.strip-app:hover { color: var(--fg); }

/* --------------------------------------------------------------- steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: var(--ink-lift);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  display: grid;
  gap: 0.7rem;
  align-content: start;
  transition: background 0.3s;
}
.step:hover { background: var(--card); }
.step-num {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--subtle);
}
.step h3 { margin-top: 0.35rem; }
.step p { color: var(--muted); font-size: 0.9688rem; }
.step-meta {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame);
}

/* ------------------------------------------------------------ features ---- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 5.2vw, 4.75rem);
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature.reverse .feature-copy { order: 2; }

.feature-copy { display: grid; gap: 1.15rem; align-content: start; justify-items: start; }
.feature-copy p { color: var(--muted); max-width: 44ch; }
.feature-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }

.feature-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9688rem;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.feature-list strong { color: var(--fg); font-weight: 600; }

.feature-visual { display: grid; justify-items: center; }

/* ---------------------------------------------------------- phone shell --- */
.phone {
  position: relative;
  width: min(310px, 82vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  background: var(--ink);
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 2.4rem 1rem 1rem;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(24rem 12rem at 70% -20%, rgba(124, 92, 255, 0.34), transparent 68%);
  pointer-events: none;
}
.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: var(--pill);
  background: #000;
  z-index: 5;
}
.screen-label {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  position: relative;
}

/* Score screen */
.score-hero { display: grid; justify-items: center; gap: 0.35rem; padding-block: 0.4rem 0.6rem; position: relative; }
.score-hero .mark-value { font-size: 4.1rem; }
.score-hero .bloom {
  position: absolute;
  width: 240px;
  height: 190px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 197, 71, 0.3), transparent 70%);
  filter: blur(6px);
}
.score-gold .mark-value {
  background: linear-gradient(168deg, #6b4e0e 0%, #c9a227 18%, #fff3b0 36%, #e8c547 48%, #a67c00 68%, #f0d56a 100%);
  background-size: 100% 260%;
  -webkit-background-clip: text;
  background-clip: text;
}
.tier-pill.gold { border-color: rgba(232, 197, 71, 0.45); background: rgba(232, 197, 71, 0.14); color: var(--gold); margin: 0; }
.score-verdict { font-size: 0.8125rem; color: var(--muted); text-align: center; max-width: 26ch; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.plan-tile {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
  padding: 0.7rem 0.75rem;
  display: grid;
  gap: 0.3rem;
}
.plan-tile .emoji { font-size: 1rem; }
.plan-tile .title { font-size: 0.8125rem; font-weight: 600; }
.plan-tile .status {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}
.plan-tile .status.danger { color: var(--danger); }
.plan-tile .status.warn { color: var(--warn); }
.plan-tile .status.ok { color: var(--success); }

/* Photo lineup */
.lineup { display: grid; gap: 0.5rem; }
.lineup-lead {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: linear-gradient(150deg, #2a2340, #171525);
}
.lineup-lead img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-sm);
  overflow: hidden;
  background:
    radial-gradient(8rem 6rem at 30% 20%, rgba(124, 92, 255, 0.3), transparent 70%),
    linear-gradient(160deg, #241f33, #14121c);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.tile.empty { background: var(--glass); border-style: dashed; color: var(--subtle); font-size: 1.1rem; }
.tile-mark {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.tile-mark.gold { color: var(--gold); }
.tile-mark.silver { color: var(--silver); }
.tile-mark.bronze { color: var(--bronze); }
.tile-mark.white { color: #fff; }
.tile-pos {
  position: absolute;
  top: 4px;
  left: 5px;
  font-family: var(--mono);
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 1–5 axis bars */
.axes { display: grid; gap: 0.5rem; }
.axis { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) auto; gap: 0.55rem; align-items: center; }
.axis-name { font-size: 0.75rem; color: var(--muted); }
.axis-bar { display: flex; gap: 3px; }
.axis-seg { height: 6px; flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.axis-seg.on { background: var(--brand); }
.axis-seg.on.weak { background: linear-gradient(90deg, var(--danger), #ff8a5c); }
.axis-tag {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  min-width: 4.2rem;
  text-align: right;
}

/* -------------------------------------------------- before / after slider - */
.compare {
  position: relative;
  width: min(340px, 84vw);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 46px 90px -50px rgba(0, 0, 0, 0.95);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  background: #000;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare .after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 22px rgba(255, 61, 113, 0.7);
  z-index: 3;
}
.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 9, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.compare-tag {
  position: absolute;
  bottom: 0.85rem;
  z-index: 4;
  padding: 0.3rem 0.65rem;
  border-radius: var(--pill);
  background: rgba(10, 9, 16, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-tag.left { left: 0.85rem; }
.compare-tag.right { right: 0.85rem; color: var(--fg); border-color: rgba(52, 199, 123, 0.45); }
.compare-hint {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
}

/* ------------------------------------------------------- coach demo ------- */
.coach { display: grid; gap: 0.85rem; width: min(360px, 88vw); }
.coach-capture {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.coach-capture img { border-radius: var(--r-sm); aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 8%; width: 100%; }
.coach-capture .caption { font-size: 0.8125rem; color: var(--muted); }
.coach-capture .caption strong { color: var(--fg); display: block; font-size: 0.875rem; margin-bottom: 0.15rem; }

.bubble {
  position: relative;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px;
  padding: 1.05rem 1.15rem;
  background: linear-gradient(150deg, rgba(255, 61, 113, 0.2), rgba(124, 92, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.0625rem;
  line-height: 1.45;
  min-height: 5.6rem;
  display: grid;
  align-content: center;
  transition: opacity 0.25s;
}
.bubble.is-swapping { opacity: 0.25; }
.bubble-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
}
.copy-btn {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  border-radius: var(--pill);
  padding: 0.3rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.copy-btn:hover { color: var(--fg); border-color: var(--line-strong); }

.faders {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.95rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.fader { display: grid; gap: 0.45rem; justify-items: center; }
.fader-label {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
}
.fader-label.top { color: var(--muted); }
.fader input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  width: 22px;
  height: 96px;
  background: transparent;
  cursor: ns-resize;
}
.fader input[type="range"]::-webkit-slider-runnable-track {
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.fader input[type="range"]::-moz-range-track {
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.fader input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--tint, var(--flame));
  border: 2px solid rgba(10, 9, 16, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 16px -6px var(--tint, var(--flame));
}
.fader input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(10, 9, 16, 0.9);
  background: var(--tint, var(--flame));
}

/* ------------------------------------------------------------ bio cards --- */
.bio-cards { display: grid; gap: 0.55rem; width: min(360px, 88vw); }
.bio-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--fg);
  font-family: var(--body);
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.bio-card:hover { border-color: var(--line-strong); background: var(--card-lift); transform: translateY(-1px); }
.bio-card.is-picked { border-color: rgba(52, 199, 123, 0.5); background: rgba(52, 199, 123, 0.07); }
.bio-field {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--glass);
  padding: 0.9rem 1rem;
  min-height: 5.5rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.bio-field .head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
}
.bio-field .head .ok { color: var(--success); }
.bio-field .value { font-size: 0.9375rem; color: var(--muted); }
.bio-field .value.filled { color: var(--fg); }

/* ---------------------------------------------------- the 22 no-go band --- */
.nogo-band { padding-block: clamp(3rem, 5vw, 4.5rem); border-block: 1px solid var(--line); overflow: hidden; }
.nogo-band .container { display: grid; gap: 1.6rem; }
.nogo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.nogo-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.nogo-head p { color: var(--muted); font-size: 0.9375rem; max-width: 34ch; }

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  animation: slide 56s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + .marquee { margin-top: 0.55rem; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.nogo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--glass);
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}
.nogo-chip .cost {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--danger);
}

/* ------------------------------------------------------------- privacy ---- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 3rem;
}
.trust-item { background: var(--ink-lift); padding: clamp(1.5rem, 2.4vw, 2rem); display: grid; gap: 0.55rem; align-content: start; }
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { color: var(--muted); font-size: 0.9375rem; }
.trust-icon { width: 22px; height: 22px; color: var(--flame); margin-bottom: 0.25rem; }

/* ------------------------------------------------------------- pricing ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.plan.featured {
  border-color: rgba(255, 61, 113, 0.4);
  background: linear-gradient(168deg, rgba(255, 61, 113, 0.09), rgba(124, 92, 255, 0.07)), var(--card);
  box-shadow: 0 40px 80px -60px rgba(255, 61, 113, 0.9);
}
.plan h3 { font-size: 1.25rem; }
.plan .plan-kicker {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plan li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; font-size: 0.9375rem; color: var(--muted); }
.plan li::before { content: "→"; color: var(--flame); font-size: 0.8rem; line-height: 1.6; }
.plan .note { font-size: 0.8125rem; color: var(--subtle); }

/* ----------------------------------------------------------------- faq ---- */
.faq { display: grid; gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--subtle);
  transition: transform 0.25s, color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--flame); }
.faq p { color: var(--muted); font-size: 0.9688rem; margin-top: 0.8rem; max-width: 68ch; }

/* ------------------------------------------------------------- cta band --- */
.cta-band { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(28, 26, 36, 0.95), rgba(14, 12, 22, 0.98));
  padding: clamp(2.25rem, 5vw, 4rem);
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 340px;
  background: radial-gradient(closest-side, rgba(255, 61, 113, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { max-width: 16ch; }
.cta-card p { color: var(--muted); max-width: 44ch; }
.cta-stores { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* -------------------------------------------------------------- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4rem) 2.5rem;
  background: rgba(0, 0, 0, 0.28);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand { display: grid; gap: 0.75rem; align-content: start; }
.footer-tagline { color: var(--muted); font-size: 0.9375rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1rem;
  font-stretch: normal;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--subtle);
}
.footer-bottom a { color: var(--subtle); }
.footer-bottom a:hover { color: var(--muted); }

/* --------------------------------------------------------- legal pages ---- */
.legal-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 3vw, 3rem); }
.legal-hero .container { display: grid; gap: 1rem; max-width: 46rem; }
.legal-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.legal-hero p { color: var(--muted); max-width: 52ch; }

.legal-content {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 7vw, 6rem);
  position: relative;
  z-index: 2;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  font-stretch: 110%;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.0625rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.legal-content p { color: var(--muted); margin-bottom: 1rem; }
.legal-content ul { color: var(--muted); padding-left: 1.15rem; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.legal-content a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 61, 113, 0.6); }
.legal-callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--flame);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--glass);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
}
.legal-callout p:last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: 0.9375rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 500;
}
.legal-table td { color: var(--muted); }
.legal-table td:first-child { color: var(--fg); }
.legal-meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--subtle);
}

/* ------------------------------------------------------------- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 1.5rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.contact-card h3 { font-size: 1.0625rem; }
.contact-card p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.contact-card a.mail {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 61, 113, 0.6);
  justify-self: start;
  padding-bottom: 2px;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin: 2rem 0 1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 0.9375rem;
  color: var(--fg);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-strong); outline-offset: 1px; }
.field select option { background: var(--card-lift); color: var(--fg); }

/* -------------------------------------------------------------- reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- toast ------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 1rem);
  z-index: 90;
  padding: 0.6rem 1.1rem;
  border-radius: var(--pill);
  background: rgba(28, 26, 36, 0.95);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- responsive ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { justify-items: start; }
  .audit { max-width: 30rem; margin-inline: auto; width: 100%; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .feature.reverse .feature-copy { order: 0; }
  .steps, .trust { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(10, 9, 16, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-left: 0;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; border-bottom: 0; justify-content: center; }
  .site-nav .lang-switch { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: grid; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .audit-foot { grid-template-columns: minmax(0, 1fr); }
  .faders { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; padding: 0.85rem 0.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pin { font-size: 0.5625rem; padding: 0.3rem 0.5rem; }
}

@media (max-width: 420px) {
  .audit { padding: 0.75rem; }
  .audit-verdict { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
}

/* --------------------------------------------------- motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pin { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  body::before, body::after, .site-header, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------- language suggestion --- */
.lang-suggest {
  position: relative;
  z-index: 70;
  background: linear-gradient(90deg, rgba(255, 61, 113, 0.16), rgba(124, 92, 255, 0.16));
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.lang-suggest .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.65rem;
}
.lang-suggest a { color: var(--fg); text-underline-offset: 3px; }
.lang-suggest button {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--subtle);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}
.lang-suggest button:hover { color: var(--fg); }
