/* Ship Check pages (owned by seed-shipcheck). Builds on site.css; loaded after it.
   Direction: "Pre-flight". Navy ink on warm paper, one lime signal colour,
   severity colours only for severity, monospace only for evidence.
   Signature: the sticky pre-flight strip ticks each section off as you reach it
   (CSS scroll-driven animations; static links without support or with reduced motion).
   Hero: three real screenshot planes (app, side panel, finding card) drift at different rates. */

/* ---------- Tokens (scoped to Ship Check pages) ---------- */
.sc {
  --bg: #fafaf7;
  --bg-alt: #f2f3ee;
  --surface: #ffffff;
  --surface-2: #f3f4f0;
  --ink: #0f1b2d;
  --ink-2: #3b4a5e;
  --ink-3: #5b6878;
  --line: #e3e5e0;
  --line-strong: #c9cdc6;
  --accent: #c6f432;
  --accent-ink: #0f1b2d;
  --accent-edge: #9cc21a;
  --accent-soft: #f0fbcf;
  --link: #0f1b2d;
  --link-hover: #0f1b2d;
  --focus: #0f1b2d;
  --sc-navy: #0f1b2d;
  --sc-critical: #b42318;
  --sc-high: #c4320a;
  --sc-medium: #9a4a04;
  --sc-low: #175cd3;
  --sc-pass: #067647;
  --sc-sev-bg: #fef3f2;
  --shadow-2: 0 1px 2px rgb(15 27 45 / 0.06), 0 10px 28px -10px rgb(15 27 45 / 0.18);
  --sc-shadow-near: 0 2px 4px rgb(15 27 45 / 0.08), 0 28px 56px -18px rgb(15 27 45 / 0.38);
  --sc-shadow-mid: 0 1px 3px rgb(15 27 45 / 0.08), 0 20px 44px -16px rgb(15 27 45 / 0.28);
  timeline-scope: --pf-risks, --pf-how, --pf-fix, --pf-checks, --pf-safety, --pf-pricing, --pf-faq;
}
@media (prefers-color-scheme: dark) {
  .sc {
    --bg: #0b1220;
    --bg-alt: #0f1829;
    --surface: #131c2e;
    --surface-2: #18233a;
    --ink: #e9eef5;
    --ink-2: #b4c0cf;
    --ink-3: #8c99aa;
    --line: #24304a;
    --line-strong: #34425f;
    --accent-edge: #c6f432;
    --accent-soft: #1d2814;
    --link: #d6f86a;
    --link-hover: #e9eef5;
    --focus: #c6f432;
    --sc-critical: #f97066;
    --sc-high: #fb8a5e;
    --sc-medium: #fdb022;
    --sc-low: #84adff;
    --sc-pass: #47cd89;
    --sc-sev-bg: #2a1517;
    --shadow-2: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 34px -14px rgb(0 0 0 / 0.7);
    --sc-shadow-near: 0 2px 6px rgb(0 0 0 / 0.5), 0 32px 64px -20px rgb(0 0 0 / 0.85);
    --sc-shadow-mid: 0 1px 4px rgb(0 0 0 / 0.45), 0 22px 48px -18px rgb(0 0 0 / 0.75);
  }
}
.sc .btn--primary:hover { background: #d4fa5c; }
.sc-mono { font-family: var(--font-mono); font-size: 0.875em; }
.sc-tnum { font-variant-numeric: tabular-nums; }

/* ---------- Store status (stands in for the store button until it's live; static, not a control) ---------- */
.sc-status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--t-sm);
  cursor: default;
  user-select: none;
}
.sc-status__icon { flex: none; width: 18px; height: 18px; color: var(--ink-3); }
.sc-status--sm { min-height: 36px; padding: 0.375rem 0.75rem; font-size: var(--t-xs); }
.sc-status--sm .sc-status__icon { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.sc-hero { overflow: clip; padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.sc-hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.sc-hero__wrap {
  width: 100%;
  max-width: calc(72rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sc-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.sc-hero .hero__title { max-width: 16ch; font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.5rem); line-height: 1.03; }
.sc-hero .hero__lede { max-width: 34rem; }
.sc-hero__who { color: var(--ink); font-weight: 600; }
.sc-hero .hero__body > * + * { margin-top: var(--s-5); }

/* Tablet: text and one legible panel side by side */
@media (min-width: 48em) {
  .sc-hero__grid { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: var(--s-6); }
  .sc-hero .hero__title { font-size: clamp(2.125rem, 1.2rem + 2.4vw, 3.5rem); }
}
/* Desktop: the full layered stage, growing with the viewport */
@media (min-width: 72em) {
  .sc-hero__grid {
    --sc-bleed: max(0px, calc((100vw - 72rem - 2 * var(--gutter)) / 2 - var(--gutter)));
    grid-template-columns: minmax(0, 1fr) calc(clamp(560px, 44vw, 800px) - var(--sc-bleed));
    gap: var(--s-7);
  }
  .sc-hero .hero__title { font-size: clamp(2.5rem, 1.2rem + 2.3vw, 3.75rem); max-width: 15ch; }
}

/* The stage: real screenshots on separate planes */
.sc-stage { position: relative; margin: 0; min-width: 0; }
.sc-stage__set { position: relative; isolation: isolate; }
.sc-stage__grid {
  position: absolute;
  inset: 3% -6% 0 2%;
  z-index: 0;
  border-radius: 24px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 45% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at 45% 50%, #000 30%, transparent 72%);
  opacity: 0.8;
}
.sc-plane img { width: 100%; height: auto; }

.sc-window {
  position: absolute;
  left: 0;
  top: 7%;
  width: 74%;
  z-index: 1;
  container-type: inline-size;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.sc-window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.sc-window__dots { display: flex; gap: 5px; flex: none; }
.sc-window__dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.sc-window__url {
  min-width: 0;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: min(12px, calc((100cqi - 96px) / 28.5));
  white-space: nowrap;
}
.sc-window img { opacity: 0.94; }

.sc-panel {
  position: relative;
  z-index: 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sc-shadow-mid);
}
.sc-card-wrap { position: absolute; z-index: 3; }
.sc-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sc-shadow-near);
  outline: 1px solid var(--line);
}
.sc-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: var(--r-pill);
  background: var(--sc-navy);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 600;
  box-shadow: var(--sc-shadow-mid);
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .sc-chip { background: #e9eef5; color: #0f1b2d; }
}
.sc-chip__tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
}
.sc-chip__tick svg { width: 12px; height: 12px; }
.sc-stage figcaption {
  margin-top: var(--s-6);
  color: var(--ink-3);
  font-size: var(--t-xs);
  max-width: 34rem;
}

/* Under 64em: one panel crop at a readable scale, the chip on its bottom edge; no window or card plane */
@media (max-width: 71.99em) {
  .sc-stage { width: 100%; max-width: 24rem; justify-self: center; }
  .sc-window, .sc-card-wrap, .sc-stage__grid { display: none; }
  .sc-chip { right: -6px; bottom: -16px; }
}
/* 64em and up: the layered composition */
@media (min-width: 72em) {
  /* Only the stage bleeds into the right margin; the text stays on the site grid. */
  .sc-stage { margin-right: calc(-1 * var(--sc-bleed)); }
  .sc-stage__set { aspect-ratio: 680 / 730; }
  .sc-window { top: 0; }
  .sc-panel { position: absolute; right: 0; top: 7%; width: 56%; }
  .sc-card-wrap { left: 0; top: 26%; width: 44.5%; }
  .sc-chip { left: 50%; top: 92%; }
}

/* ---------- Pre-flight strip (signature) ---------- */
.pf {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.pf__inner { display: flex; align-items: center; gap: var(--s-4); min-height: 48px; }
.pf__title {
  flex: none;
  color: var(--ink-3);
  font-size: var(--t-xs);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf__list {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: var(--s-1);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.pf__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  min-width: 32px;
  padding: 0 6px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.pf__item:hover { color: var(--ink); background: var(--surface-2); }
.pf__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
}
.pf__tick svg { width: 12px; height: 12px; overflow: visible; }
.pf__tick path {
  fill: none;
  stroke: #0f1b2d;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}
.pf__short { display: none; }
@media (max-width: 63.99em) {
  .pf__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .pf__short { display: block; font-size: 0.6875rem; line-height: 1; }
  .pf__list { justify-content: space-between; gap: 0; }
  .pf__item { flex-direction: column; justify-content: center; gap: 4px; min-height: 48px; padding: 0 4px; }
}
@media (max-width: 47.99em) {
  .pf__title { display: none; }
}

/* ---------- Sections ---------- */
.sc-section { padding-block: var(--section); }
.sc-section + .sc-section { padding-top: 0; }
.sc-section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.sc-section--alt + .sc-section, .sc-section + .sc-section--alt { padding-top: var(--section); }
.sc-head { max-width: 42rem; margin-bottom: var(--s-7); }
.sc-head .section-lede { max-width: 38rem; }
.sc-section[id] { scroll-margin-top: calc(var(--header-h) + 60px); }

/* Severity pills: the only place severity colours appear */
.sc-sev {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--sc-sev-bg);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sc-sev--critical { color: var(--sc-critical); }
.sc-sev--high { color: var(--sc-high); }

/* Risks: what a stranger can see */
.sc-risks {
  display: grid;
  gap: var(--s-4);
  list-style: none;
  padding: 0;
}
@media (min-width: 48em) { .sc-risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-risk {
  position: relative;
  padding: var(--s-5);
  padding-left: calc(var(--s-5) + 4px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.sc-risk::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--sc-critical);
}
.sc-risk__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.sc-risk__title { font-size: var(--t-lg); }
.sc-risk__text { margin-top: var(--s-3); color: var(--ink-2); }
.sc-evidence {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--line-strong);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-1) var(--s-4);
  font-size: var(--t-xs);
}
.sc-evidence dt { color: var(--ink-3); font-weight: 600; }
.sc-evidence dd { margin: 0; font-family: var(--font-mono); color: var(--ink); overflow-wrap: anywhere; }
.sc-note { margin-top: var(--s-5); color: var(--ink-3); font-size: var(--t-sm); max-width: 44rem; }

/* How it works: four real screens, each cropped to the part that matters */
.sc-steps {
  display: grid;
  gap: var(--s-7) var(--s-6);
  list-style: none;
  padding: 0;
  counter-reset: sc-step;
}
@media (min-width: 48em) { .sc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-step { counter-increment: sc-step; display: flex; flex-direction: column; }
.sc-step__shot {
  margin-top: var(--s-4);
  max-width: 24rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: var(--surface);
}
.sc-step__shot img {
  aspect-ratio: 760 / 640;
  object-fit: cover;
  object-position: top;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.sc-step__shot--toolbar img { aspect-ratio: 760 / 540; }
.sc-toolbar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.sc-toolbar__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--t-xs);
}
.sc-toolbar__puzzle { flex: none; width: 20px; height: 20px; color: var(--ink-3); }
.sc-toolbar__icon {
  flex: none;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 9px;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent);
}
.sc-toolbar__icon img { width: 24px; height: 24px; border-radius: 6px; }
.sc-step__title { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-lg); }
.sc-step__title::before {
  content: counter(sc-step);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--sc-navy);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transform: translateY(-2px);
}
@media (prefers-color-scheme: dark) { .sc-step__title::before { background: var(--accent); color: #0f1b2d; } }
.sc-step__text { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--t-sm); max-width: 32rem; }

/* The fix (peak) */
.sc-fix { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 60em) { .sc-fix { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-7); } }
.sc-fix__card { margin: 0; max-width: 24rem; }
.sc-fix__card img { border-radius: 14px; box-shadow: var(--sc-shadow-near); outline: 1px solid var(--line); }
.sc-fix__card figcaption { margin-top: var(--s-3); color: var(--ink-3); font-size: var(--t-xs); }
.sc-clip {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--sc-navy);
  color: #e9eef5;
  box-shadow: var(--sc-shadow-near);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .sc-clip { background: #182339; outline: 1px solid var(--line-strong); } }
.sc-clip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--t-xs);
  font-weight: 600;
  color: #b4c0cf;
}
.sc-clip__state { display: inline-flex; align-items: center; gap: 8px; color: #c6f432; }
.sc-clip__state svg { width: 14px; height: 14px; }
.sc-clip__body { padding: var(--s-5); font-size: var(--t-base); line-height: 1.6; }
.sc-clip__body p + p { margin-top: var(--s-4); }
.sc-clip__body code { color: #c6f432; font-size: 0.86em; overflow-wrap: anywhere; }
.sc-fix__after { margin-top: var(--s-6); color: var(--ink-2); }
.sc-builders { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); list-style: none; padding: 0; }

/* What it checks: instrument list */
.sc-checks { display: grid; gap: var(--s-4); }
@media (min-width: 48em) { .sc-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-check {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.sc-check__title { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-lg); }
.sc-check__title::before {
  display: none;
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-edge);
}
.sc-rows { list-style: none; margin-top: var(--s-4); padding: 0; color: var(--ink-2); font-size: var(--t-sm); }
.sc-rows li { position: relative; padding: var(--s-2) 0 var(--s-2) 1.85rem; border-top: 1px dashed var(--line); }
.sc-rows li:first-child { border-top: 0; padding-top: 0; }
.sc-rows li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s-2) + 0.15em);
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #0f1b2d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.sc-rows li:first-child::before { top: 0.15em; }
@media (prefers-color-scheme: dark) {
  .sc-rows li::before { background-color: #c6f432; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f1b2d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

/* Safety and limits */
.sc-split { display: grid; gap: var(--s-5); }
@media (min-width: 56em) { .sc-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-panelbox {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.sc-panelbox__title { font-size: var(--t-xl); }
.sc-panelbox > p { margin-top: var(--s-3); color: var(--ink-2); }
.sc-ticks, .sc-gaps { list-style: none; padding: 0; margin-top: var(--s-5); }
.sc-ticks li, .sc-gaps li { position: relative; padding-left: 2rem; }
.sc-ticks li + li, .sc-gaps li + li { margin-top: var(--s-4); }
.sc-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f1b2d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.sc-gaps li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  border: 2px dashed var(--ink-3);
}
.sc-ticks strong, .sc-gaps strong { display: block; color: var(--ink); }
.sc-ticks span, .sc-gaps span { color: var(--ink-2); font-size: var(--t-sm); }

/* Pricing tweaks and sibling products */
.sc .plan__alt { margin-top: var(--s-1); color: var(--ink-2); font-size: var(--t-sm); }
.sc-siblings { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 48em) { .sc-siblings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-sibling {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.sc-sibling__title { font-size: var(--t-lg); }
.sc-sibling p { color: var(--ink-2); font-size: var(--t-sm); }
.sc-sibling__foot { margin-top: auto; padding-top: var(--s-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.sc-sibling__price { font-weight: 650; font-variant-numeric: tabular-nums; }

/* Close: the clean verdict */
.sc-close { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 60em) { .sc-close { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.sc-close__title { font-size: var(--t-3xl); letter-spacing: var(--track-tight); line-height: 1.05; max-width: 16ch; }
.sc-close__title em { font-style: normal; box-shadow: inset 0 -0.32em 0 var(--accent-soft); }
.sc-close__text { margin-top: var(--s-5); color: var(--ink-2); font-size: var(--t-lg); max-width: 34rem; }
.sc-close__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.sc-close__shot { margin: 0; max-width: 24rem; justify-self: center; }
.sc-close__shot img { border-radius: 16px; box-shadow: var(--sc-shadow-near); outline: 1px solid var(--line); }
.sc-close__shot figcaption { margin-top: var(--s-3); color: var(--ink-3); font-size: var(--t-xs); }

/* Welcome page */
.sc-welcome { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 60em) { .sc-welcome { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.sc-welcome .sc-steps { grid-template-columns: 1fr; gap: var(--s-5); }
.sc-welcome__shot { margin: 0; max-width: 22rem; justify-self: center; }
.sc-welcome__shot img { border-radius: 16px; box-shadow: var(--sc-shadow-near); outline: 1px solid var(--line); }
.sc-welcome__shot figcaption { margin-top: var(--s-3); color: var(--ink-3); font-size: var(--t-xs); }

/* ---------- Motion (CSS only; nothing moves with reduced motion) ---------- */
@keyframes sc-in-card { from { opacity: 0; transform: translate(28px, 10px) scale(0.97); } }
@keyframes sc-in-chip { from { opacity: 0; transform: translateY(8px); } }
@keyframes sc-far { to { translate: 0 var(--sc-far-y, -14px); scale: 0.985; } }
@keyframes sc-mid { to { translate: 0 var(--sc-mid-y, -46px); } }
@keyframes sc-near { to { translate: var(--sc-near-x, -10px) var(--sc-near-y, -104px); } }
@keyframes sc-grid { to { translate: 0 -6px; } }
@keyframes pf-fill { from { background: transparent; border-color: var(--line-strong); } to { background: var(--accent); border-color: var(--accent-edge); } }
@keyframes pf-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes pf-label { from { color: var(--ink-3); } to { color: var(--ink); } }
@keyframes sc-rise { from { translate: 0 28px; } }

@media (prefers-reduced-motion: no-preference) {
  .sc-card { animation: sc-in-card 620ms 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .sc-chip { animation: sc-in-chip 420ms 820ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  @supports (animation-timeline: scroll()) {
   @media (min-width: 72em) {
    .sc-window { animation: sc-far linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .sc-panel { animation: sc-mid linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .sc-card-wrap { animation: sc-near linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .sc-stage__grid { animation: sc-grid linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
   }
  }

  @supports (animation-timeline: view()) and (timeline-scope: --x) {
    #risks { view-timeline-name: --pf-risks; }
    #how-it-works { view-timeline-name: --pf-how; }
    #the-fix { view-timeline-name: --pf-fix; }
    #what-it-checks { view-timeline-name: --pf-checks; }
    #safety { view-timeline-name: --pf-safety; }
    #pricing { view-timeline-name: --pf-pricing; }
    #faq { view-timeline-name: --pf-faq; }

    .pf__tick, .pf__tick path, .pf__label, .pf__short { animation-timing-function: linear; animation-fill-mode: both; animation-range: cover 22% cover 30%; }
    .pf__tick { animation-name: pf-fill; }
    .pf__tick path { animation-name: pf-draw; }
    .pf__label, .pf__short { animation-name: pf-label; }
    .pf__item--risks :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-risks; }
    .pf__item--how :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-how; }
    .pf__item--fix :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-fix; }
    .pf__item--checks :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-checks; }
    .pf__item--safety :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-safety; }
    .pf__item--pricing :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-pricing; }
    .pf__item--faq :is(.pf__tick, path, .pf__label, .pf__short) { animation-timeline: --pf-faq; animation-range: cover 15% cover 22%; }
  }

  @supports (animation-timeline: view()) {
    .sc-clip { animation: sc-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .sc-step { animation: sc-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
}
/* Without scroll timelines (or with reduced motion) every tick shows as a quiet ring and the links still work. */

@media (max-width: 39.99em) {
  .sc-evidence { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sc-evidence dd + dt { margin-top: var(--s-2); }
}
.sc-welcome { margin-top: var(--s-7); }
.sc-welcome-page { padding-bottom: var(--section); }

/* Neutral info box (no severity colours) */
.sc-aside {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: var(--r);
  background: var(--surface);
}
.sc-aside__title { font-weight: 650; color: var(--ink); margin-bottom: var(--s-2); }
.sc-aside p:not(.sc-aside__title) { color: var(--ink-2); }

/* Support: one left-aligned column under the page title */
.sc-col { max-width: 48rem; }
