/*
 * ShareRing Solutions apex stylesheet, cinema surface.
 * Tokens come from the ShareRing house style (sharering.network's own theme).
 * Three fixed layers sit behind every page (ground, glow, ledger grid), all
 * stacked up from z-index 0 inside an isolated .srk-page, never at -1, so the
 * page survives being wrapped in a host document or an iframe.
 */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-var-latin.woff2") format("woff2-variations"),
       url("/assets/fonts/inter-tight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --srh-ground: #050A20; --srh-navy-deep: #010229; --srh-navy: #0A1F44; --srh-navy-mid: #0a2472;
  --srh-ink: #EAF0FF; --srh-pale: #EDF3FF;
  --srh-ink-soft: rgba(234, 240, 255, 0.72);
  --srh-ink-read: rgba(234, 240, 255, 0.84);
  --srh-ink-faint: rgba(234, 240, 255, 0.6);
  --srh-surface: rgba(234, 240, 255, 0.05);
  --srh-hairline: rgba(234, 240, 255, 0.20);
  --srh-hairline-soft: rgba(234, 240, 255, 0.12);
  --srh-lapis: #3458E0; --srh-blue: #4d8aff;

  --sr-cinema-indigo: #4653D6; --sr-cinema-blue: #2E6FD8; --sr-cinema-green: #2FA173; --sr-cinema-violet: #7A5CD6;

  /* the live accent a scene writes to; everything else reads from it */
  --srk-accent-live: var(--sr-cinema-indigo);
  --srk-on-accent: #FFFFFF;
  --srk-ground-live: var(--srh-ground);
  --grid-base: #0A1238;
  /* accent lifted toward the ink so accent text clears AA on the ground */
  --srk-accent-text: color-mix(in srgb, var(--srk-accent-live) 70%, #EAF0FF);

  /* product brand, used only inside device screens and the product clip */
  --sr-brand: #010ED0; --sr-brand-deep: #1B1464; --sr-brand-lift: #4E7CFF;

  --font-ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --srk-display-xl: clamp(56px, 9vw, 132px);
  --srk-display-l: clamp(42px, 6.5vw, 96px);
  --srk-display-m: clamp(32px, 4.6vw, 62px);
  --srk-display-s: clamp(26px, 3.2vw, 40px);
  --srk-body-l: clamp(18px, 1.7vw, 23px);
  --srk-body: clamp(16px, 1.1vw, 18px);
  --srk-eyebrow: clamp(12px, 0.9vw, 14px);
  --type-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --type-h5: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --type-caption: 0.875rem;
  --srk-measure: 62ch;

  --srk-scene-pad: clamp(20px, 4vw, 64px);
  --srk-scene-gap: clamp(64px, 11vh, 160px);
  --srk-header-h: 72px;
  --header-h: 72px;
  --vph: 100dvh;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-card: 18px; --radius-xl: 24px; --radius-pill: 999px;

  --srk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --srk-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --srk-phone-width: min(clamp(260px, 24vw, 340px), calc((100svh - 120px) / 2.295));
}
:root[data-hue="blue"] { --srk-accent-live: var(--sr-cinema-blue); }
:root[data-hue="green"] { --srk-accent-live: var(--sr-cinema-green); --srk-on-accent: #01040F; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--srk-ground-live); }
body { color: var(--srh-ink); font-family: var(--font-ui); font-size: var(--srk-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { color: var(--srh-pale); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--srk-display-l); }
h2 { font-size: var(--srk-display-m); }
h3 { font-size: var(--type-h3); font-weight: 600; line-height: 1.2; }
p { max-width: var(--srk-measure); color: var(--srh-ink-soft); text-wrap: pretty; }
a { color: var(--srk-accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--srh-pale); }
img, video, svg { display: block; max-width: 100%; }
strong { color: var(--srh-pale); font-weight: 600; }
:focus-visible { outline: 2px solid var(--srk-accent-text); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
/* Scene stops land flush under the header at every size, with or without an id. The arrow reads this value. */
[data-nav-stop] { scroll-margin-top: var(--header-h); }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200; padding: 0.75rem 1rem; background: var(--srh-pale); color: var(--srh-ground); font-weight: 600; border-radius: var(--radius-sm); transform: translateY(-200%); text-decoration: none; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The page and its three layers ---------- */
.srk-page {
  position: relative; isolation: isolate; min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--srk-ground-live); overflow-x: clip;
}
.srh-ground, .srh-glow, .ledger-grid { position: fixed; z-index: 0; pointer-events: none; }
.srh-ground { inset: 0; background: var(--srk-ground-live); }
.srh-glow {
  inset: 0;
  background:
    radial-gradient(60% 50% at 26% 22%, rgba(52, 88, 224, 0.10), transparent 70%),
    radial-gradient(55% 45% at 74% 74%, color-mix(in srgb, var(--srk-accent-live) 13%, transparent), transparent 70%);
  animation: srh-drift-a 67s ease-in-out infinite alternate;
}
.srh-glow::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 40% at 58% 8%, rgba(10, 36, 114, 0.22), transparent 70%);
  animation: srh-drift-b 89s ease-in-out infinite alternate;
}
@keyframes srh-drift-a { to { transform: translate(6vw, -4vw) scale(1.12); } }
@keyframes srh-drift-b { to { transform: translate(-5vw, 6vw) scale(1.08); } }

/* The ledger grid: a wall of identity documents, tinted from the live accent. */
.ledger-grid {
  left: 0; right: 0; top: 0;
  display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr);
  grid-auto-rows: var(--row-h, 220px);
  will-change: transform;
  transform: translate3d(0, calc(var(--grid-y, 0px) * -1), 0);
}
.ledger-cell {
  position: relative;
  background-color: color-mix(in srgb, var(--srk-accent-live) 10%, var(--grid-base));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--srk-accent-live) 16%, transparent);
}
.ledger-cell:nth-child(7n+3), .ledger-cell:nth-child(11n+5) { background-color: color-mix(in srgb, var(--srk-accent-live) 14%, var(--grid-base)); }
.ledger-cell:nth-child(13n+8) { background-color: color-mix(in srgb, var(--srk-accent-live) 19%, var(--grid-base)); }
.ledger-cell .tl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: var(--dim, 1); transition: opacity 500ms var(--srk-ease); }
.tile-art { width: clamp(34px, 5vw, 74px); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke: color-mix(in srgb, var(--srk-accent-live) 34%, var(--grid-base)); }
.ledger-cell:nth-child(13n+8) .tile-art { stroke: color-mix(in srgb, var(--srk-accent-live) 55%, var(--grid-base)); }
.ledger-cell.near-copy { --dim: 0.22; }
/* On reading pages every cell steps back, so long text never fights the wall. */
.is-reading .ledger-cell { --dim: 0.3; }

/* Content always sits above the layers. */
.sr-header, main, .sr-footer { position: relative; z-index: 1; }
main { flex: 1; }

/* ---------- Header ---------- */
.sr-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--srh-ground) 78%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--srh-hairline-soft);
}
.sr-header__inner { display: flex; align-items: center; gap: 1rem; max-width: 1440px; min-height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter); }
.sr-header__logo { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--srh-ink-soft); text-decoration: none; }
.sr-header__logo img { height: 1.375rem; width: auto; }
.sr-header__logo span { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em; padding-left: 0.75rem; border-left: 1px solid var(--srh-hairline); line-height: 1.2; }
.sr-nav { display: flex; align-self: stretch; margin-inline-start: 1.25rem; }
.sr-nav a { position: relative; display: flex; align-items: center; padding-inline: 0.75rem; color: var(--srh-ink-soft); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 200ms var(--ease); }
.sr-nav a::before { content: ""; position: absolute; inset-inline: 0.75rem; bottom: -1px; height: 2px; border-radius: 999px; background: var(--srk-accent-text); scale: 0 1; transform-origin: left center; transition: scale 240ms var(--ease); }
.sr-nav a:hover, .sr-nav a[aria-current] { color: var(--srh-pale); }
.sr-nav a:hover::before, .sr-nav a[aria-current]::before { scale: 1 1; }
.sr-header__cta { display: flex; align-items: center; gap: 0.5rem; margin-inline-start: auto; }
.sr-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--srh-hairline); border-radius: var(--radius-md); background: transparent; color: var(--srh-ink); margin-inline-start: auto; cursor: pointer; }
.sr-drawer { display: none; border-top: 1px solid var(--srh-hairline-soft); }
.sr-drawer.is-open { display: block; }
.sr-drawer__inner { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem var(--gutter) 1.25rem; }
.sr-drawer__inner a { display: flex; align-items: center; min-height: 44px; padding: 0 0.5rem; border-radius: var(--radius-md); color: var(--srh-ink); font-weight: 500; text-decoration: none; }
.sr-drawer__inner a:hover { background: var(--srh-surface); }
.sr-drawer__inner .pill { justify-content: center; margin-top: 0.5rem; }
@media (min-width: 961px) { .sr-drawer { display: none !important; } }

/* Pills: the header and drawer buttons. */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0.55rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--srh-ink); background: transparent; transition: background-color 240ms var(--srk-ease), color 240ms var(--srk-ease), transform 260ms var(--srk-spring); }
.pill:hover { color: var(--srh-pale); background: var(--srh-surface); }
.pill--primary, .sr-drawer__inner a.pill--primary { background: var(--srk-accent-live); color: var(--srk-on-accent); }
.pill--primary:hover, .sr-drawer__inner a.pill--primary:hover { background: var(--srk-accent-live); color: var(--srk-on-accent); transform: translateY(-1px); }
.pill--ghost { border-color: var(--srh-hairline); }

/* ---------- Footer ---------- */
.sr-footer { margin-top: var(--srk-scene-gap); background: color-mix(in srgb, var(--srh-navy-deep) 88%, transparent); border-top: 1px solid var(--srh-hairline-soft); }
.sr-footer__inner { max-width: 1180px; margin-inline: auto; padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--gutter) 2rem; }
.sr-footer__cols { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-bottom: 2.5rem; }
.sr-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.sr-footer__brand p { max-width: 34ch; font-size: var(--type-caption); color: var(--srh-ink-soft); }
.sr-footer a { color: var(--srh-ink-soft); text-decoration: none; }
.sr-footer a:hover { color: var(--srh-pale); text-decoration: underline; }
.sr-footer__heading { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--srh-ink-faint); line-height: 1.4; }
.sr-footer__list { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; font-size: var(--type-caption); }
.sr-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--srh-hairline-soft); font-size: var(--type-caption); color: var(--srh-ink-faint); }
.sr-footer__legal p { color: var(--srh-ink-faint); max-width: 70ch; }
.sr-footer__legal div { display: flex; gap: 1.5rem; }
.sr-footer__logo img { height: 1.375rem; width: auto; }

/* ---------- Scenes ---------- */
.srk-scene { position: relative; z-index: 1; padding: var(--srk-scene-pad); margin-block: var(--srk-scene-gap); }
.srk-scene-inner { max-width: 1180px; margin-inline: auto; width: 100%; }
.srk-flow .srk-scene.is-full { min-height: calc(var(--vph) - var(--srk-header-h)); display: flex; align-items: flex-start; margin-block: 0; }
.srk-flow .srk-scene.is-full > .srk-scene-inner { margin-block: auto; }
.srk-scene-split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .srk-scene-split { grid-template-columns: 1fr 1fr; align-items: center; }
  .srk-scene-split.is-wide-copy { grid-template-columns: 1.15fr 0.85fr; }
  .srk-scene-split.is-flipped > .srk-scene-copy { order: 2; }
}
.srk-scene.is-short { margin-block: calc(var(--srk-scene-gap) * 0.6); }

.srk-eyebrow { font-size: var(--srk-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--srk-accent-text); margin: 0 0 1.1em; max-width: none; line-height: 1.4; }
.srk-scene h2 { margin-bottom: 0.45em; }
.srk-lede { font-size: var(--srk-body-l); line-height: 1.55; color: var(--srh-ink-soft); }
.srk-scene-copy p + p { margin-top: 1em; }
.srk-mark { color: var(--srk-accent-text); }
.srk-note { margin-top: 1.5rem; font-size: var(--type-caption); color: var(--srh-ink-faint); display: flex; gap: 0.6rem; align-items: flex-start; max-width: 56ch; }
.srk-note svg { flex: none; width: 16px; height: 16px; margin-top: 0.2em; stroke: currentColor; fill: none; stroke-width: 1.6; }
.mono { font-family: var(--font-mono); font-size: 0.92em; font-weight: 500; color: var(--srh-pale); letter-spacing: -0.01em; }

/* Hero: type large and left, the ledger showing through on the right. */
.srk-hero h1 { max-width: 13ch; margin-bottom: 0.35em; }
.srk-hero .srk-lede { max-width: 52ch; }
.srk-hero .srk-scene-inner { position: relative; }
.srk-hero-addr { margin-top: 2.25rem; display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.9rem 0.55rem 0.7rem; border: 1px solid var(--srh-hairline); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--srh-ground) 70%, transparent); font-size: 0.875rem; color: var(--srh-ink-soft); max-width: 100%; }
.srk-hero-addr svg { width: 16px; height: 16px; flex: none; stroke: var(--srk-accent-text); fill: none; stroke-width: 1.6; }
.srk-hero-addr .mono { overflow-wrap: anywhere; }

/* ---------- Buttons ---------- */
.srk-actions { display: flex; gap: 12px; margin-top: 2em; flex-wrap: wrap; }
.srk-btn, .btn, .article .button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius-pill); font: 600 1rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer; background: var(--srk-accent-live); color: var(--srk-on-accent); transition: transform 260ms var(--srk-spring), background-color 260ms var(--srk-ease), color 260ms var(--srk-ease); }
.srk-btn:hover, .btn:hover, .article .button:hover { transform: translateY(-2px); color: var(--srk-on-accent); }
.srk-btn-secondary, .btn--ghost { background: transparent; color: var(--srh-pale); border-color: rgba(234, 240, 255, 0.32); }
.srk-btn-secondary:hover, .btn--ghost:hover { color: var(--srh-pale); background: var(--srh-surface); }
.btn--sm, .srk-btn.is-sm { min-height: 42px; padding: 9px 18px; font-size: 0.9375rem; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.srk-arrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--srh-pale); font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.srk-arrow::after { content: ""; width: 0.5em; height: 0.5em; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); transition: transform 240ms var(--srk-ease); }
.srk-arrow:hover { color: var(--srk-accent-text); }
.srk-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.arrow-link { color: var(--srk-accent-text); font-weight: 600; }
.link { color: var(--srk-accent-text); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--srh-pale); }

/* ---------- Cards and small parts (also rendered by site.js) ---------- */
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-card); background: rgba(10, 36, 114, 0.42); border: 1px solid rgba(77, 138, 255, 0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card h2 { font-size: var(--type-h3); }
.soft { color: var(--srh-ink-soft); }
.caption { font-size: var(--type-caption); line-height: 1.5; color: var(--srh-ink-soft); }
.help { font-size: var(--type-caption); color: var(--srh-ink-soft); }
.host { margin: 0; font-size: var(--type-caption); color: var(--srh-ink-soft); word-break: break-all; font-family: var(--font-mono); }
.tile { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--srh-surface); color: var(--srh-pale); }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--srh-hairline); color: var(--srh-ink-soft); white-space: nowrap; }

/* Forms on the dark ground */
.label { display: block; margin-bottom: 0.5rem; font-size: var(--type-caption); font-weight: 600; color: var(--srh-pale); }
input[type="email"], input[type="text"] { display: block; width: 100%; height: 48px; padding: 0 0.95rem; border: 1px solid rgba(234, 240, 255, 0.3); border-radius: var(--radius-md); background: rgba(234, 240, 255, 0.06); color: var(--srh-pale); font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
input::placeholder { color: rgba(234, 240, 255, 0.55); }
input:focus { outline: none; border-color: var(--srk-accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--srk-accent-live) 40%, transparent); }
.addr { display: flex; align-items: stretch; width: 100%; }
.addr input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.addr .suffix { display: flex; align-items: center; padding: 0 0.95rem; border: 1px solid rgba(234, 240, 255, 0.3); border-left: 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; background: rgba(234, 240, 255, 0.1); color: var(--srh-ink-soft); font-size: var(--type-caption); white-space: nowrap; }
.alert { margin: 0 0 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-md); border: 1px solid rgba(255, 138, 138, 0.45); background: rgba(255, 93, 93, 0.12); color: #FFD9D9; font-size: var(--type-caption); max-width: none; }
.dev-link { margin-top: 0.5rem; padding: 0.9rem; border: 1px dashed rgba(252, 211, 77, 0.55); border-radius: var(--radius-md); background: rgba(252, 211, 77, 0.08); color: #FDE7A6; font-size: 0.8125rem; font-weight: 600; }
.dev-link p { margin: 0 0 0.6rem; color: #FDE7A6; }

/* ---------- Scene 2: the 1 July stamp ---------- */
.srk-stamp { width: min(100%, 420px); margin-inline: auto; color: var(--srk-accent-text); }
.srk-stamp svg { width: 100%; height: auto; overflow: visible; }
.srk-stamp .ring { fill: none; stroke: currentColor; stroke-width: 1.4; }
.srk-stamp .ring-soft { fill: none; stroke: var(--srh-hairline); stroke-width: 1; }
.srk-stamp text { fill: var(--srh-pale); font-family: var(--font-ui); }
.srk-stamp .t-ring { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; fill: var(--srk-accent-text); }
.srk-stamp .t-day { font-size: 96px; font-weight: 700; letter-spacing: -0.04em; }
.srk-stamp .t-month { font-size: 22px; font-weight: 600; letter-spacing: 0.18em; }
.srk-stamp .t-small { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; fill: var(--srh-ink-soft); }
.js .srk-stamp .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1800ms var(--srk-ease) 200ms; }
.js .srk-stamp.is-in .draw { stroke-dashoffset: 0; }

/* ---------- Scene 3: the usual way, struck through ---------- */
.srk-struck { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.2em; }
.srk-struck li { position: relative; display: inline-block; width: fit-content; max-width: 100%; font-size: var(--srk-display-s); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--srh-ink-soft); }
.srk-struck li::after { content: ""; position: absolute; left: -0.1em; right: -0.1em; top: 55%; height: 2px; background: var(--srk-accent-text); transform-origin: left center; transform: scaleX(1); }
.js .srk-struck li::after { transform: scaleX(0); transition: transform 900ms var(--srk-ease); }
.js .srk-struck.is-in li::after { transform: scaleX(1); }
.js .srk-struck.is-in li:nth-child(2)::after { transition-delay: 350ms; }
.js .srk-struck.is-in li:nth-child(3)::after { transition-delay: 700ms; }

/* ---------- The chapter: a phone that advances as you read ---------- */
.srk-chapter-head { max-width: 1180px; margin-inline: auto; }
.srk-chapter { display: grid; gap: 0 clamp(32px, 5vw, 80px); max-width: 1180px; margin-inline: auto; }
@media (min-width: 900px) {
  .srk-chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .srk-chapter .srk-stage { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--header-h) + (100svh - var(--header-h) - var(--srk-phone-width) * 2.295) / 2); align-self: start; }
  .srk-step { grid-column: 1; min-height: 78svh; display: flex; align-items: center; }
  .srk-step:first-of-type { min-height: 60svh; }
}
.srk-step-card { max-width: 30rem; }
.srk-step-num { display: inline-flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1rem; font-size: var(--srk-eyebrow); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--srk-accent-text); }
.srk-step-num b { font-variant-numeric: tabular-nums; font-weight: 700; }
.srk-step h3 { font-size: var(--srk-display-s); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.6em; }
.srk-step p { font-size: var(--srk-body); }
.srk-step .srk-tag { display: inline-block; margin-top: 1rem; padding: 0.2rem 0.6rem; border: 1px solid var(--srh-hairline); border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--srh-ink-soft); }

.srk-phone { width: var(--srk-phone-width); margin-inline: auto; padding: 12px; border-radius: 38px; background: #050d2c; border: 1px solid rgba(234, 240, 255, 0.2); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62); }
.srk-phone-screen { position: relative; aspect-ratio: 760 / 1744; border-radius: 26px; overflow: hidden; background: #F7F8FB; color: #0A0D31; }
.srk-phone-caption { margin: 1rem auto 0; text-align: center; font-size: 0.8125rem; color: var(--srh-ink-faint); max-width: 30ch; }
.srk-progress { display: flex; justify-content: center; gap: 6px; margin-top: 0.9rem; }
.srk-progress span { width: 22px; height: 3px; border-radius: 3px; background: var(--srh-hairline); transition: background-color 300ms var(--srk-ease), width 300ms var(--srk-ease); }
.srk-progress span.is-on { background: var(--srk-accent-text); width: 34px; }

/* The app inside: live markup in the ShareRing Me product style. */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22% 8% 7%; font-size: clamp(10px, calc(var(--srk-phone-width) * 0.043), 14px); line-height: 1.4; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 420ms var(--srk-ease), transform 420ms var(--srk-ease), visibility 0s linear 420ms; }
.app.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms var(--srk-ease), transform 420ms var(--srk-ease), visibility 0s; }
.app-status { position: absolute; top: 3.2%; left: 9%; right: 9%; display: flex; justify-content: space-between; align-items: center; font-size: 0.8em; font-weight: 600; color: #0A0D31; }
.app-status i { width: 30%; height: 1.6em; border-radius: 999px; background: #0A0D31; }
.app-status s { width: 1.6em; height: 0.8em; border: 1px solid #0A0D31; border-radius: 3px; }
.app-brand { display: flex; align-items: center; gap: 0.45em; font-size: 0.82em; font-weight: 600; color: rgba(10, 13, 49, 0.7); margin-bottom: 1.6em; }
.app-brand svg { width: 1.25em; height: 1.25em; stroke: #010ED0; fill: none; stroke-width: 2; }
.app h4 { margin: 0 0 0.35em; font-size: 1.45em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #0A0D31; }
.app p { margin: 0; font-size: 0.92em; color: rgba(10, 13, 49, 0.68); max-width: none; }
.app-org { display: flex; align-items: center; gap: 0.7em; padding: 0.9em; border: 1px solid rgba(10, 13, 49, 0.1); border-radius: 0.9em; background: #fff; margin-bottom: 1.3em; }
.app-org b { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 0.6em; background: #010ED0; color: #fff; font-size: 0.85em; }
.app-org strong { display: block; color: #0A0D31; font-size: 0.95em; }
.app-org small { display: block; color: rgba(10, 13, 49, 0.6); font-size: 0.8em; }
.app-list { list-style: none; margin: 1.2em 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.app-list li { display: flex; align-items: center; gap: 0.7em; padding: 0.75em 0; border-bottom: 1px solid rgba(10, 13, 49, 0.08); font-size: 0.9em; color: #0A0D31; }
.app-list li small { margin-left: auto; font-size: 0.78em; color: rgba(10, 13, 49, 0.55); white-space: nowrap; }
.app-dot { position: relative; flex: none; width: 1.35em; height: 1.35em; border-radius: 50%; border: 1.5px solid rgba(10, 13, 49, 0.2); }
.app-dot::after { content: ""; position: absolute; left: 32%; top: 18%; width: 28%; height: 50%; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform 300ms var(--srk-spring); }
.app-list li.is-done .app-dot { background: #010ED0; border-color: #010ED0; transition: background-color 250ms, border-color 250ms; }
.app-list li.is-done .app-dot::after { transform: rotate(45deg) scale(1); }
.app-spacer { flex: 1; }
.app-btn { display: flex; align-items: center; justify-content: center; height: 3.2em; border-radius: 999px; background: #010ED0; color: #fff; font-weight: 600; font-size: 0.95em; }
.app-foot { margin-top: 0.9em; text-align: center; font-size: 0.75em; color: rgba(10, 13, 49, 0.55); }
.app-view { position: relative; margin: 1.3em 0 1.2em; aspect-ratio: 1 / 0.9; border-radius: 1em; background: #0B0E33; overflow: hidden; display: grid; place-items: center; }
.app-view svg { width: 78%; height: auto; fill: none; stroke: rgba(234, 240, 255, 0.78); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.app-view .corner { stroke: #4E7CFF; stroke-width: 2.4; }
.app-view .scanline { position: absolute; left: 10%; right: 10%; height: 2px; top: 20%; background: #4E7CFF; box-shadow: 0 0 12px 2px rgba(78, 124, 255, 0.6); animation: srk-scan 2.6s ease-in-out infinite alternate; }
@keyframes srk-scan { to { top: 78%; } }
.app-done { display: grid; place-items: center; width: 4.6em; height: 4.6em; margin: 2.2em auto 1.3em; border-radius: 50%; background: #010ED0; }
.app-done svg { width: 45%; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.app.center { text-align: center; }
.app-chip { display: inline-flex; margin: 1.2em auto 0; padding: 0.5em 0.9em; border-radius: 999px; background: rgba(1, 14, 208, 0.08); color: #010ED0; font-size: 0.8em; font-weight: 600; }

/* ---------- Video frame: the real product, recorded ---------- */
.srk-vframe { border-radius: 16px; background: #050d2c; overflow: hidden; border: 1px solid rgba(234, 240, 255, 0.2); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62); }
.srk-vframe-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.srk-vframe-bar::before { content: ""; height: 8px; width: 62px; border-radius: 999px; background: rgba(234, 240, 255, 0.18); flex: none; }
.srk-vframe-bar span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--srh-ink-faint); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.srk-vframe-screen { position: relative; aspect-ratio: 1280 / 606; background: #F7F8FB; }
.srk-vframe-screen video, .srk-vframe-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.srk-figcap { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--srh-ink-faint); max-width: 60ch; }
.srk-play { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; padding: 0 0.75rem; opacity: 0.85; border-radius: 999px; border: 0; background: rgba(5, 10, 32, 0.82); color: #fff; font: 600 0.8125rem/1 var(--font-ui); cursor: pointer; }

/* ---------- Where the record goes ---------- */
.srk-flowline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.srk-flowline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0 1.1rem; padding-bottom: 1.9rem; }
.srk-flowline li:last-child { padding-bottom: 0; }
.srk-flowline li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--srh-hairline) 0 5px, transparent 5px 10px); }
.srk-flowline li:last-child::before { display: none; }
.srk-flowline .node { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--srh-hairline); background: color-mix(in srgb, var(--srh-ground) 80%, transparent); }
.srk-flowline .node svg { width: 22px; height: 22px; fill: none; stroke: var(--srh-pale); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.srk-flowline li.is-held .node { border-color: var(--srk-accent-text); }
.srk-flowline li.is-held .node svg { stroke: var(--srk-accent-text); }
.srk-flowline li.is-gone .node { border-style: dashed; }
.srk-flowline li.is-gone .node svg { stroke: var(--srh-ink-faint); }
.srk-flowline h3 { font-size: var(--type-h5); margin: 0.55rem 0 0.25rem; }
.srk-flowline p { font-size: 0.9375rem; }
.srk-flowline .when { display: inline-block; margin-top: 0.45rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--srh-ink-soft); padding: 0.15rem 0.5rem; border: 1px solid var(--srh-hairline-soft); border-radius: 6px; }
.srk-flowline li.is-held .when { color: var(--srk-accent-text); border-color: color-mix(in srgb, var(--srk-accent-live) 50%, transparent); }

/* ---------- Industries: a register, not three cards ---------- */
.srk-register { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--srh-hairline); }
.srk-row { display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1.3fr) auto; gap: 1rem clamp(1rem, 3vw, 3rem); align-items: start; padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--srh-hairline); scroll-margin-top: calc(var(--header-h) + 1rem); }
.srk-row-num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--srh-ink-faint); padding-top: 0.55rem; }
.srk-row h3 { font-size: var(--srk-display-s); letter-spacing: -0.02em; line-height: 1.08; }
.srk-row .who { margin-top: 0.6rem; font-size: 0.9375rem; }
.srk-row .when { font-size: var(--srk-body); color: var(--srh-ink-read); }
.srk-row .price { margin-top: 0.75rem; font-size: 0.875rem; color: var(--srh-ink-soft); }
.srk-row .price b { color: var(--srh-pale); font-weight: 600; }
.srk-row-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; padding-top: 0.2rem; }
.srk-row:target { background: linear-gradient(90deg, color-mix(in srgb, var(--srk-accent-live) 12%, transparent), transparent 70%); }
.srk-later { margin-top: 1.5rem; font-size: var(--type-caption); color: var(--srh-ink-faint); }

/* ---------- Trust: what's ours, what's yours ---------- */
.srk-ledger2 { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--srh-hairline); border-radius: var(--radius-card); overflow: hidden; background: color-mix(in srgb, var(--srh-ground) 70%, transparent); }
@media (min-width: 800px) { .srk-ledger2 { grid-template-columns: 1fr 1fr; } .srk-ledger2 > div + div { border-left: 1px solid var(--srh-hairline); } }
.srk-ledger2 > div { padding: clamp(1.5rem, 3vw, 2.25rem); }
.srk-ledger2 > div + div { border-top: 1px solid var(--srh-hairline); }
@media (min-width: 800px) { .srk-ledger2 > div + div { border-top: 0; } }
.srk-ledger2 h3 { font-size: var(--type-h5); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; color: var(--srh-ink-soft); margin-bottom: 1rem; }
.srk-ledger2 ul { list-style: none; margin: 0; padding: 0; }
.srk-ledger2 li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; padding: 0.8rem 0; border-top: 1px solid var(--srh-hairline-soft); color: var(--srh-ink-read); font-size: 1rem; line-height: 1.5; }
.srk-ledger2 li:first-child { border-top: 0; padding-top: 0; }
.srk-ledger2 li svg { width: 18px; height: 18px; margin-top: 0.15em; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke: var(--srh-ink-soft); }
.srk-ledger2 .is-ours li svg { stroke: var(--srk-accent-text); }

/* ---------- Pricing and the sandbox ---------- */
.srk-prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--srh-hairline); }
.srk-prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--srh-hairline); }
.srk-prices span { color: var(--srh-ink-read); }
.srk-prices b { font-size: var(--srk-display-s); font-weight: 700; letter-spacing: -0.02em; color: var(--srh-pale); font-variant-numeric: tabular-nums; }
.srk-prices small { font-size: 0.8125rem; color: var(--srh-ink-faint); font-weight: 500; margin-left: 0.3rem; letter-spacing: 0; }
.srk-bonus { margin-top: 1rem; font-size: 0.9375rem; color: var(--srh-ink-soft); }

/* ---------- Portal address panel ---------- */
.srk-portal { display: grid; gap: 2rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border: 1px solid var(--srh-hairline); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--srh-navy-deep) 82%, transparent); }
@media (min-width: 900px) { .srk-portal { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.srk-portal h2 { font-size: var(--srk-display-s); }
.srk-portal form { display: flex; flex-direction: column; gap: 0.85rem; }
.srk-portal .help { margin-top: 0.75rem; }

/* ---------- Secondary pages ---------- */
.srk-simple { padding: var(--srk-scene-pad); padding-top: clamp(3rem, 2rem + 6vw, 7rem); }
.srk-simple .srk-scene-inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .srk-simple .srk-scene-inner.has-panel { grid-template-columns: minmax(0, 1fr) 440px; } }
.srk-simple h1 { font-size: var(--srk-display-m); max-width: 16ch; margin-bottom: 0.5em; }
.srk-simple .srk-lede { max-width: 52ch; }
.srk-simple .caption { margin-top: 1.5rem; }
.srk-ticks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; color: var(--srh-ink-soft); }
.srk-ticks li { display: flex; align-items: flex-start; gap: 0.75rem; max-width: 52ch; }
.srk-ticks svg { flex: none; width: 20px; height: 20px; margin-top: 0.15em; fill: none; stroke: var(--srk-accent-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#panel { gap: 1.25rem; }
#panel form { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; }
#list { display: flex; flex-direction: column; gap: 1rem; width: 100%; margin-top: 2rem; }
#list .card { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
#list .card h2 { font-size: var(--type-h3); }
.srk-404 { font-family: var(--font-mono); font-size: clamp(5rem, 16vw, 12rem); line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.4px var(--srk-accent-text); margin-bottom: 1.5rem; }

/* Guides index: three doors */
.srk-doors { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--srh-hairline); }
.srk-door { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto; gap: 1rem 2.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--srh-hairline); }
.srk-door .badge { margin-bottom: 0.8rem; }
.srk-door h2 { font-size: var(--srk-display-s); }
.srk-door p { color: var(--srh-ink-read); }

/* ---------- Long-form guides ---------- */
.article { flex: 1; }
.article__hero { position: relative; }
.article__hero .wrap { max-width: 1180px; margin-inline: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: clamp(3rem, 2rem + 6vw, 7rem) var(--gutter) clamp(2.5rem, 4vw, 4rem); }
.article__hero .wrap > * { max-width: 62ch; }
.article__hero h1 { font-size: var(--srk-display-m); max-width: 18ch; }
.article__hero .eyebrow { font-size: var(--srk-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--srk-accent-text); }
.article__hero .lede { font-size: var(--srk-body-l); line-height: 1.55; color: var(--srh-ink-soft); }
.article__hero .caption { color: var(--srh-ink-faint); }
/* The reading sheet: a document lifted off the ledger, flat and quiet. */
.article__body {
  max-width: 50rem; margin-inline: auto; width: calc(100% - 2 * var(--gutter));
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 4.5vw, 3.75rem) clamp(2.5rem, 5vw, 4rem);
  background: #070D27; border: 1px solid var(--srh-hairline-soft); border-radius: var(--radius-xl);
  font-size: 1.0625rem; line-height: 1.7;
}
.article__body > p, .article__body > ul, .article__body > ol { max-width: 66ch; }
.article p { margin: 0 0 1.1rem; color: var(--srh-ink-read); max-width: 66ch; }
.article li { color: var(--srh-ink-read); }
.article h2 { margin: 3rem 0 1rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; }
.article h2 a { color: var(--srh-pale); text-decoration-color: var(--srk-accent-text); }
.article h3 { margin: 2.2rem 0 0.7rem; font-size: 1.1875rem; font-weight: 600; }
.article__body > h2:first-child, .article__body > .card:first-child h2 { margin-top: 0; }
.article ul, .article ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.article li + li { margin-top: 0.5rem; }
.article li::marker { color: var(--srk-accent-text); }
.article a:not(.btn):not(.pill):not(.button) { color: var(--srk-accent-text); font-weight: 600; }
.article a:not(.btn):not(.pill):not(.button):hover { color: var(--srh-pale); }
.article .card { display: block; margin: 0 0 2rem; background: color-mix(in srgb, var(--srk-accent-live) 10%, #070D27); border: 1px solid color-mix(in srgb, var(--srk-accent-live) 35%, transparent); backdrop-filter: none; }
.article .card h2, .article .card h3 { margin-top: 0; font-size: 1.25rem; }
.article .card p:last-child { margin-bottom: 0; }
.article nav[aria-label="On this page"] { margin: 0 0 2rem; padding: 1rem 1.25rem; border-left: 2px solid var(--srk-accent-text); background: rgba(234, 240, 255, 0.03); }
.article nav[aria-label="On this page"] ul { margin: 0; list-style: none; padding: 0; }
.pair { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 40rem) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .card { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; border: 1px solid var(--srh-hairline); border-radius: var(--radius-lg); background: rgba(234, 240, 255, 0.02); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--srh-hairline-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: rgba(77, 138, 255, 0.1); color: var(--srh-pale); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
td { color: var(--srh-ink-read); }
td:first-child { color: var(--srh-pale); }
.article caption { caption-side: top; text-align: left; font-weight: 600; color: var(--srh-pale); padding: 0.9rem 1rem; font-size: 0.9375rem; border-bottom: 1px solid var(--srh-hairline-soft); }
.clocks { display: grid; gap: 1.1rem; margin: 1.25rem 0 1.75rem; }
.clock-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; margin-bottom: 0.45rem; font-size: 0.9375rem; }
.clock-meta strong { color: var(--srh-pale); min-width: 8rem; }
.clock-meta span { color: var(--srh-ink-read); }
.clock-track { height: 6px; background: rgba(234, 240, 255, 0.08); border-radius: var(--radius-pill); overflow: hidden; }
.clock-fill { display: block; height: 100%; background: var(--srk-accent-text); border-radius: inherit; }
.note { margin: 1.75rem 0; padding: 1.1rem 1.3rem; border-left: 2px solid var(--srk-accent-text); background: rgba(234, 240, 255, 0.04); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.note p { margin: 0; }
.note p + p { margin-top: 0.7rem; }
.sources { font-size: 0.9375rem; }
.article .caption { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--srh-ink-soft); }
.article .btn, .article .button { margin-top: 0.5rem; }

/* ---------- Reveal: visible by default, scripting adds the hidden start ---------- */
.srk-reveal, .reveal { opacity: 1; transform: none; }
.js .srk-reveal, .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--srk-ease), transform 700ms var(--srk-ease); }
.js .srk-reveal.is-in, .js .reveal.is-visible, .js .reveal.is-in { opacity: 1; transform: none; }
.js .srk-reveal.d1 { transition-delay: 90ms; } .js .srk-reveal.d2 { transition-delay: 180ms; } .js .srk-reveal.d3 { transition-delay: 270ms; }

/* ---------- Scene navigation ---------- */
.srk-chrome { position: fixed; left: 50%; z-index: 40; border: 0; background: none; color: rgba(234, 240, 255, 0.72); cursor: pointer; transform: translateX(-50%); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)); transition: opacity 300ms var(--srk-ease); }
.srk-chrome:hover { color: rgba(234, 240, 255, 0.98); }
.srk-nav--down { bottom: 4px; height: 44px; width: 48px; display: grid; place-items: center; animation: srk-chev 1.8s ease-in-out infinite; }
@keyframes srk-chev { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; } 50% { transform: translateX(-50%) translateY(6px); opacity: 1; } }
.srk-chrome.is-hidden { opacity: 0; pointer-events: none; animation: none; }
.srk-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--srh-hairline); background: color-mix(in srgb, var(--srh-ground) 80%, transparent); color: var(--srh-pale); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: opacity 300ms var(--srk-ease); }
.srk-top.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sr-nav, .sr-header__cta { display: none; }
  .sr-burger { display: flex; }
  .sr-header__logo span { display: none; }
  .sr-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sr-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .srk-row { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .srk-row > .when-col, .srk-row > .srk-row-actions { grid-column: 2; }
  .srk-row-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
  .srk-door { grid-template-columns: 1fr; gap: 0.75rem; }
  /* The chapter on phones: the device sticks near the top and the steps pass over it. */
  .srk-chapter { --srk-phone-width: min(46vw, 190px, calc((100svh - var(--header-h) - 250px) / 2.295)); }
  .srk-chapter .srk-stage { position: sticky; top: calc(var(--header-h) + 12px); z-index: 0; padding-bottom: 1rem; }
  .srk-step { position: relative; z-index: 1; min-height: 88svh; display: flex; align-items: flex-end; padding-bottom: 6svh; }
  .srk-step-card { padding: 1.25rem 1.25rem 1.4rem; border-radius: var(--radius-card); background: color-mix(in srgb, var(--srh-ground) 94%, transparent); border: 1px solid var(--srh-hairline-soft); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
  .srk-step h3 { font-size: 1.5rem; }
  .srk-phone { padding: 8px; border-radius: 28px; }
  .srk-phone-screen { border-radius: 21px; }
  .srk-phone-caption { display: none; }
  .srk-progress { margin-top: 0.6rem; }
  .addr { flex-direction: column; }
  .addr input { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .addr .suffix { border-left: 1px solid rgba(234, 240, 255, 0.3); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 0.6rem 0.95rem; }
}
@media (max-width: 700px) {
  .srk-stamp { width: min(78%, 320px); }
}
@media (max-width: 768px) and (pointer: coarse) {
  html { scroll-snap-type: y proximity; }
  [data-nav-stop] { scroll-snap-align: start; }
}

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .srh-glow, .srh-glow::after, .srk-nav--down, .app-view .scanline { animation: none; }
  .js .srk-reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .srk-stamp .draw { stroke-dashoffset: 0; transition: none; }
  .js .srk-struck li::after { transform: scaleX(1); transition: none; }
  .ledger-grid { transform: none; }
  .srk-btn:hover, .btn:hover, .pill:hover, .article .button:hover { transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
@media (min-width: 900px) { .srk-scene-split.is-wide-stage { grid-template-columns: 0.8fr 1.2fr; } }

.srk-scene-split > *, .srk-chapter > * { min-width: 0; }
.app.center .app-done { margin-top: auto; }
@media (max-width: 700px) { .srk-nav--down { display: none; } .srk-play { font-size: 0.75rem; min-height: 28px; } }
@media (max-width: 600px) {
  .article__body { width: 100%; border-radius: 0; border-inline: 0; padding-inline: var(--gutter); }
  .article .card { padding: 1.1rem 1.1rem; }
}
[hidden] { display: none !important; }
