/* SCORVIA static pages (services, work, about, faq, contact, guides).
   Generated HTML, no JavaScript: every page must read completely for a visitor
   and for a crawler that never runs a script. Written standalone and unhashed so
   the generator never depends on the app bundle's file name.

   2026-10-05 (lane PG): re-aligned with the deep-space home. The custom-property
   block below is COPIED from src/styles/tokens.css (same names, same values) -
   this sheet is served from /public and cannot import the hashed app CSS. When a
   token changes there, change it here. Component recipes are ported from
   hero-horizon.css (nav pill, buttons), apple.css (eyebrow, section title, glass
   card) and contact-apple.css (footer). The sky is static CSS: black, two of the
   home's own nebula plates at low strength, and a fine star field. */

/* Outfit, self-hosted variable font (same files as the app; SIL OFL, /fonts/OFL.txt). */
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Segoe UI'), local('Arial');
  font-weight: 200 349;
  size-adjust: 98.38%;
}
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Segoe UI'), local('Arial');
  font-weight: 350 600;
  size-adjust: 98.7%;
}

/* ---- tokens: copy of src/styles/tokens.css ---- */
:root {
  --bg: #060608;
  --bg2: #0e0e12;
  --bg3: #161519;
  --fg: #f3efef;
  --muted-solid: #9a949b;
  --muted: #b8b2b9;
  --primary: #b81f35;
  --primary2: #d2304a;
  --silver: #c9cdd6;
  --star: #9fb4d8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --serif: 'Outfit', 'Outfit Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Outfit', 'Outfit Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-label: 0.6875rem;
  --t-micro: 0.75rem;
  --lh-body: 1.65;
  --track-label: 0.28em;
  --track-wordmark: 0.42em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  /* Role -> token map, copy of tokens.css (lane S2-fix 2026-10-13). */
  --sp-eyebrow: var(--s-4);
  --sp-heading-lead: var(--s-4);
  --sp-block: var(--s-6);
  --sp-cta: var(--s-6);
  --sp-card-gap: var(--s-4);

  --hit: 44px;
  --nav-h: 60px;
  --nav-offset: min(var(--gutter-min), 20px);
  --nav-inset: 20px;
  --nav-icon-w: 24px;
  --nav-icon-stroke: 2px;
  --nav-icon-gap: 6px;
  --nav-pad-end: calc(var(--nav-inset) - (var(--hit) - var(--nav-icon-w)) / 2);

  --card-pad: var(--s-6);
  --card-pad-sm: var(--s-5);
  --card-gap: var(--s-3);

  --glass-tint: rgba(10, 10, 14, 0.72);
  --glass-tint-solid: rgba(12, 12, 16, 0.88);
  --glass-filter: blur(24px) saturate(120%);
  --glass-edge: inset 0 0 0 1px rgba(243, 239, 239, 0.08);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --glass-radius: 24px;

  --gutter-min: clamp(20px, 5vw, 72px);
  --container-max: 1360px;
  --gutter: var(--gutter-min);
  --section: clamp(96px, 12vh, 160px);

  --measure: 62ch;
  --measure-tight: 46ch;

  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-rise: cubic-bezier(0.16, 1, 0.3, 1);
  --d-fast: 220ms;
  --d-base: 420ms;
  color-scheme: dark;
}
@media (max-width: 700px) {
  :root { --section: 64px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

/* The page black lives on html so the fixed sky layers on body can sit under the content. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }

/* body is its own stacking context (position + z-index 0) so the z-index:-1 sky
   layers paint above body's own black and below every piece of content. */
body {
  position: relative; z-index: 0;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- the sky: static, CSS only ----
   ::before = two of the home's Hubble plates (Veil Nebula, credited in the footer),
   the 47-72 KB mobile cuts, held well under the copy so text contrast stays the
   page-black contrast. ::after = a fine star field from tiling radial dots; the
   tile sizes are co-prime so the pattern never lines up into a visible grid. */
body::before,
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
body::before {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(6, 6, 8, 0) 0%, rgba(6, 6, 8, 0.55) 70%, rgba(6, 6, 8, 0.85) 100%),
    url('/sky/neb_crimson_m.webp') no-repeat left -18vw top -12vh / min(900px, 95vw) auto,
    url('/sky/neb_blue_m.webp') no-repeat right -16vw bottom -10vh / min(820px, 90vw) auto;
  opacity: 0.34;
  /* The plates are rectangles; the mask feathers each one into the black so no
     edge of an image is ever visible. */
  -webkit-mask-image:
    radial-gradient(60% 55% at 12% 14%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%),
    radial-gradient(60% 55% at 88% 88%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
  mask-image:
    radial-gradient(60% 55% at 12% 14%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%),
    radial-gradient(60% 55% at 88% 88%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
}
/* Portrait phones: a 95vw-wide 16:9 plate is only ~25vh tall, so its bottom
   edge fell inside the mask's opaque core and read as a hard line under the
   nav (390x844, 2026-10-05). Size the plates by height so every image edge
   sits past the point where the (tighter) mask is already transparent. */
@media (max-aspect-ratio: 4/5) {
  body::before {
    background-size: auto, auto 45vh, auto 45vh;
    -webkit-mask-image:
      radial-gradient(90% 30% at 10% 6%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%),
      radial-gradient(90% 30% at 90% 94%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
    mask-image:
      radial-gradient(90% 30% at 10% 6%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%),
      radial-gradient(90% 30% at 90% 94%, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 80%);
  }
}
body::after {
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, #fff, transparent),
    radial-gradient(1px 1px at 151px 97px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 89px 173px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 211px 19px, #fff, transparent),
    radial-gradient(1px 1px at 47px 133px, rgba(159, 180, 216, 0.9), transparent),
    radial-gradient(1px 1px at 61px 71px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 127px 111px, rgba(159, 180, 216, 0.85), transparent),
    radial-gradient(1px 1px at 17px 163px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 101px 37px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 143px 7px, rgba(201, 205, 214, 0.8), transparent),
    radial-gradient(2px 2px at 271px 189px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.6px 1.6px at 171px 289px, rgba(210, 48, 74, 0.75), transparent);
  background-size:
    113px 127px, 167px 151px, 131px 179px, 239px 223px, 149px 157px, 97px 89px,
    193px 181px, 83px 197px, 137px 109px, 211px 199px, 389px 373px, 557px 521px;
  opacity: 0.7;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; border-radius: 6px; }

.sp-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg);
  text-decoration: none; font-weight: 500;
}
.sp-skip:focus { top: 12px; }

/* One container, one left edge: the home's --container-max band inside --gutter. */
.sp-wrap { width: min(var(--container-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---- nav: the home's floating glass pill (hero-horizon.css header.nav) ---- */
.sp-nav {
  position: sticky; top: var(--nav-offset); z-index: 50;
  width: min(var(--container-max), calc(100% - 2 * var(--gutter)));
  height: var(--nav-h); margin: var(--nav-offset) auto 0;
  padding: 0 var(--nav-pad-end) 0 var(--nav-inset); border-radius: 999px;
  background: linear-gradient(180deg, rgba(22, 21, 25, 0.78), rgba(14, 14, 18, 0.66));
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 20px 60px -24px rgba(0, 0, 0, 0.7);
}
.sp-nav .sp-wrap { width: auto; height: 100%; }
.sp-nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.sp-brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; min-height: var(--hit); }
.sp-mark { display: block; flex: none; overflow: visible; }
.sp-brand .sp-mark { width: 34px; height: 34px; }
.sp-brand span { font-weight: 500; font-size: 14px; letter-spacing: var(--track-wordmark); text-transform: uppercase; }
.sp-links { display: flex; align-items: center; gap: var(--s-6); margin: 0; padding: 0; list-style: none; }
.sp-links a {
  position: relative; display: inline-flex; align-items: center; min-height: var(--hit);
  font-size: var(--t-label); font-weight: 400; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--fg); opacity: 0.72; text-decoration: none;
  transition: opacity var(--d-fast) var(--e-out);
}
.sp-links a:hover, .sp-links a:focus-visible, .sp-links a[aria-current='page'] { opacity: 1; }
/* The hairline under the current page: the home's .nav__ink, drawn statically. */
.sp-links a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: var(--track-label); bottom: 10px; height: 1px; background: var(--primary2);
}
/* Secondary pill: the hero owns the one crimson primary; crimson is the hover wipe. */
.sp-links .sp-links__cta a {
  height: 40px; min-height: 40px; padding: 0 18px; border-radius: 999px; opacity: 1; overflow: hidden; isolation: isolate;
  font-size: 0.625rem; letter-spacing: 0.26em; font-weight: 400; white-space: nowrap;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.sp-links .sp-links__cta a::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--e-out);
}
.sp-links .sp-links__cta a:hover::after, .sp-links .sp-links__cta a:focus-visible::after { transform: scaleX(1); }

/* Phone: the <details> menu. The summary draws the home's two "lids" (the eye glyph,
   nav-mobile.css); its word stays in the DOM as the accessible name, at font-size 0. */
.sp-menu { display: none; }
.sp-menu summary {
  list-style: none; cursor: pointer; width: var(--hit); height: var(--hit); border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--nav-icon-gap);
  font-size: 0;
}
.sp-menu summary::before,
.sp-menu summary::after {
  content: ''; display: block; height: var(--nav-icon-stroke); width: var(--nav-icon-w);
  border-radius: var(--nav-icon-stroke); background: var(--silver);
  transition: transform var(--d-base) var(--e-out), width var(--d-base) var(--e-out);
}
.sp-menu summary::after { width: calc(var(--nav-icon-w) * 2 / 3); }
.sp-menu[open] summary::before { transform: translateY(calc((var(--nav-icon-gap) + var(--nav-icon-stroke)) / 2)) rotate(45deg); }
.sp-menu[open] summary::after { width: var(--nav-icon-w); transform: translateY(calc((var(--nav-icon-gap) + var(--nav-icon-stroke)) / -2)) rotate(-45deg); }
.sp-menu summary::-webkit-details-marker { display: none; }
.sp-menu ul {
  position: absolute; left: 0; right: 0; top: calc(100% + var(--s-2));
  margin: 0; padding: var(--s-2); list-style: none; border-radius: var(--glass-radius);
  background: rgba(14, 14, 18, 0.96); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px #000;
}
.sp-menu li a {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--s-4); border-radius: 14px; text-decoration: none;
  font-size: var(--t-micro); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg);
}
.sp-menu li a:hover { background: rgba(255, 255, 255, 0.06); }
.sp-menu li a[aria-current='page'] { color: var(--fg); box-shadow: inset 2px 0 0 var(--primary2); }
/* The lids brighten on hover and take a round focus ring, as on the home (nav-mobile.css). */
.sp-menu summary:hover::before, .sp-menu summary:hover::after,
.sp-menu summary:focus-visible::before, .sp-menu summary:focus-visible::after { background: var(--fg); }
.sp-menu summary:focus-visible { outline: 2px solid var(--primary2); outline-offset: 3px; }
/* The curtain's CTA: the home's ghost pill (glass fill, hairline edge, crimson only
   as the hover wipe), never a solid crimson block. One CTA style in every chrome. */
.sp-menu li.sp-menu__cta { margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line); }
.sp-menu li.sp-menu__cta a {
  position: relative; overflow: hidden; isolation: isolate; justify-content: center; border-radius: 999px;
  font-size: 0.625rem; letter-spacing: 0.26em;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.sp-menu li.sp-menu__cta a::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--e-out);
}
.sp-menu li.sp-menu__cta a:hover::after, .sp-menu li.sp-menu__cta a:focus-visible::after { transform: scaleX(1); }
/* 404: the hero block centred in the viewport under the same pill. */
.sp-hero--404 { min-height: calc(100svh - var(--nav-h) - 2 * var(--nav-offset)); display: grid; align-content: center; }

@media (max-width: 900px) {
  .sp-links { display: none; }
  .sp-menu { display: block; }
}
@media (max-width: 430px) {
  .sp-brand span { font-size: 12px; letter-spacing: 0.3em; }
}

/* ---- breadcrumbs ---- */
.sp-crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.sp-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.sp-crumbs a { text-decoration: none; color: var(--muted); }
.sp-crumbs a:hover { color: var(--fg); }

/* ---- hero: the home's type on the open sky ---- */
.sp-hero { position: relative; padding: clamp(48px, 10vh, 112px) 0 clamp(48px, 8vh, 96px); }
/* Eyebrow: silver text, crimson is the dot (apple.css .shead__eyebrow). */
.sp-eyebrow {
  margin: var(--s-6) 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver); display: flex; align-items: center; gap: var(--s-3);
}
.sp-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--primary2); box-shadow: 0 0 10px rgba(210, 48, 74, 0.7);
}
.sp-h1 {
  margin: var(--s-4) 0 0; max-width: 18ch; font-weight: 500;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.035em;
}
.sp-lede { margin: var(--s-5) 0 0; max-width: var(--measure-tight); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.47; font-weight: 300; color: rgba(243, 239, 239, 0.7); }
.sp-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Buttons: hero-horizon.css .hz__btn. */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-6); border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; touch-action: manipulation;
  transition: background-color 0.25s, box-shadow 0.45s var(--ease-rise), scale 0.45s var(--ease-rise);
}
.sp-btn:active { scale: 0.97; }
.sp-btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 32px -12px rgba(184, 31, 53, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.sp-btn--primary:hover { background: var(--primary2); }
.sp-btn--quiet { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sp-btn--quiet:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
@media (max-width: 700px) {
  .sp-hero .sp-ctas .sp-btn { flex: 1 1 100%; }
}

/* ---- sections: one --section rhythm, no rules between them (the home has none) ---- */
/* Opens AND closes on --section, as every home section does (lane S2-fix): one
   join width on every page instead of top-only here and symmetric there. */
.sp-section { padding: var(--section) 0; }
.sp-h2 { margin: 0; max-width: 20ch; font-weight: 600; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.sp-h3 { margin: 0; font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.sp-prose { max-width: var(--measure); }
.sp-prose p { margin: var(--s-4) 0 0; color: rgba(243, 239, 239, 0.82); }
.sp-prose ul, .sp-prose ol { margin: var(--s-4) 0 0; padding-left: 1.2em; color: rgba(243, 239, 239, 0.82); }
.sp-prose li { margin-top: var(--s-2); }
.sp-prose a, .sp-link { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(210, 48, 74, 0.7); text-underline-offset: 4px; }
.sp-prose a:hover, .sp-link:hover { text-decoration-color: var(--primary2); }
.sp-prose strong { font-weight: 500; color: var(--fg); }

/* ---- the one glass recipe (apple.css .gcard + tokens ONE GLASS RECIPE) ----
   Solid tint by default; the backdrop blur only on a desktop with a fine pointer,
   as on the home. The hairline is a masked gradient ring so it can catch light. */
.sp-answer, .sp-card, .sp-steps li, .sp-table-wrap {
  --tint: var(--glass-tint-solid);
  position: relative; isolation: isolate; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)), var(--tint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px -28px rgba(0, 0, 0, 0.65);
}
.sp-answer::before, .sp-card::before, .sp-steps li::after, .sp-table-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.07) 36%, rgba(255, 255, 255, 0.04) 64%, rgba(255, 255, 255, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .sp-answer, .sp-card, .sp-steps li, .sp-table-wrap {
    --tint: var(--glass-tint);
    -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  }
}

/* The answer-first block: the one paragraph a person or an assistant can quote. */
.sp-answer {
  margin: var(--s-6) 0 0; max-width: var(--measure); padding: var(--card-pad-sm);
  font-size: 18px; line-height: 1.6; color: var(--fg);
}

.sp-grid { display: grid; gap: var(--card-gap); margin-top: var(--s-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
/* Link cards stretch so their "more" line sits on one baseline across the row. A plain
   card has nothing to pin at its foot, so stretching it only paints empty glass: the
   /check "After the audit" row measured 177px of it under the shortest card at 1440
   (lane S2b-fix). Plain cards take their content height. */
.sp-grid > div.sp-card { align-self: start; }
.sp-card {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--card-pad);
  text-decoration: none;
  transition: translate 0.6s var(--ease-rise), box-shadow 0.6s var(--ease-rise);
}
a.sp-card:hover { translate: 0 -2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 32px 64px -28px rgba(0, 0, 0, 0.75); }
.sp-card p { margin: 0; color: rgba(243, 239, 239, 0.74); font-size: 16px; }
.sp-card small { color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }
.sp-card__more {
  margin-top: auto; padding-top: var(--s-2); font-size: var(--t-label); font-weight: 500;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg);
}
.sp-card__more::after { content: ' \2192'; letter-spacing: 0; }
.sp-card img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--bg3); }
/* /play/ game cards: 4:3 poster with the loop laid over it, faded in once a frame plays
   (public/play/cards.js). Without JS, or with reduced motion, the poster is all there is. */
.sp-card__media { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--bg3); }
.sp-card__media picture, .sp-card__media img { display: block; width: 100%; height: 100%; }
.sp-card__media img { aspect-ratio: auto; border-radius: 0; }
.sp-card__loop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease-rise); pointer-events: none;
}
.sp-card__media.is-live .sp-card__loop { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .sp-card__loop { display: none; }
}
@media (max-width: 700px) {
  .sp-card { padding: var(--card-pad-sm); }
}

.sp-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--silver); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sp-tag--client { color: #fff; background: rgba(184, 31, 53, 0.35); box-shadow: inset 0 0 0 1px rgba(210, 48, 74, 0.6); }

.sp-steps { counter-reset: step; margin: var(--s-6) 0 0; padding: 0; list-style: none; display: grid; gap: var(--card-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.sp-steps li { counter-increment: step; padding: var(--card-pad-sm); }
.sp-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--s-3); font-size: var(--t-micro); letter-spacing: 0.2em; color: var(--primary2); }
.sp-steps strong { display: block; font-weight: 600; margin-bottom: var(--s-1); }
.sp-steps span { color: rgba(243, 239, 239, 0.74); font-size: 15px; }

.sp-facts { display: grid; gap: 0; margin: var(--s-6) 0 0; max-width: var(--measure); }
.sp-facts div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.sp-facts dt { color: var(--muted); font-size: 15px; }
.sp-facts dd { margin: 0; }

.sp-faq { margin-top: var(--s-6); max-width: 820px; }
.sp-faq details { border-bottom: 1px solid var(--line); }
.sp-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; font-size: 18px; font-weight: 500;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: '+'; color: var(--primary2); font-weight: 300; font-size: 24px; line-height: 1; transition: rotate 0.3s var(--e-out); }
.sp-faq details[open] summary::after { rotate: 45deg; }
.sp-faq details p { margin: 0 0 var(--s-5); max-width: var(--measure); color: rgba(243, 239, 239, 0.82); }

.sp-figure { margin: var(--s-6) 0 0; }
.sp-figure img { border-radius: var(--glass-radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg3); box-shadow: 0 40px 80px -40px #000; }
.sp-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Comparison tables. Wide tables scroll inside their own frame on a phone, never the page. */
.sp-table-wrap { margin-top: var(--s-6); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.sp-table caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 13px; color: var(--muted); }
.sp-table th, .sp-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sp-table thead th { font-weight: 500; font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); background: rgba(255, 255, 255, 0.03); }
.sp-table tbody th { font-weight: 500; color: var(--fg); }
.sp-table td { color: rgba(243, 239, 239, 0.8); }
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: 0; }
.sp-table a { color: var(--fg); text-decoration-color: rgba(210, 48, 74, 0.7); text-underline-offset: 3px; }
/* Phone: a three-column table hides its last column off-screen with no cue. Each row
   becomes a card instead; every cell carries its column name from data-label. */
@media (max-width: 640px) {
  .sp-table-wrap { overflow: visible; background: none; box-shadow: none; border-radius: 0; isolation: auto; }
  .sp-table-wrap::before { display: none; }
  .sp-table, .sp-table tbody, .sp-table tr, .sp-table th, .sp-table td { display: block; width: 100%; min-width: 0; }
  .sp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sp-table tr {
    margin-bottom: var(--s-3); border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)), var(--glass-tint-solid);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--glass-edge);
  }
  .sp-table tbody th { padding: 16px 18px 6px; border-bottom: 0; font-size: 16px; }
  .sp-table td { padding: 6px 18px; border-bottom: 0; }
  .sp-table td:last-child { padding-bottom: 16px; }
  .sp-table td::before { content: attr(data-label); display: block; font-size: var(--t-micro); letter-spacing: 0.04em; color: var(--silver); opacity: 0.85; }
  /* A caption left as table-caption inside a display:block table gets an
     anonymous shrink-to-fit wrapper and collapses to one word per line. Make it
     a plain block, and keep it under the cards with a column flex order. */
  .sp-table { display: flex; flex-direction: column; }
  .sp-table caption { display: block; width: 100%; order: 1; padding: 4px 0 0; }
  .sp-table td:empty { display: none; }
}

.sp-cta { text-align: center; padding: var(--section) 0; }
.sp-cta .sp-h2 { margin-inline: auto; }
.sp-cta p { margin: var(--s-4) auto 0; max-width: var(--measure-tight); color: rgba(243, 239, 239, 0.7); }
.sp-cta .sp-ctas { justify-content: center; }

.sp-meta { margin-top: var(--s-4); font-size: 13px; color: var(--muted); }

/* ---- request form (/check/): the home's .cform glass panel, no JS ----
   Posts to /api/contact; the 303 lands on #sent or #failed and :target shows it. */
.sp-form {
  margin-top: var(--s-6); max-width: 860px; padding: var(--card-pad);
  display: grid; gap: var(--s-4) var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)), var(--glass-tint-solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--glass-edge), 0 24px 56px -28px rgba(0, 0, 0, 0.65);
}
.sp-field { display: grid; gap: var(--s-2); min-width: 0; }
.sp-field--wide { grid-column: 1 / -1; }
.sp-field label { font-size: 14px; color: var(--silver); letter-spacing: 0.01em; }
.sp-field label span { color: var(--muted); }
.sp-field input, .sp-field textarea {
  width: 100%; min-height: var(--hit); padding: 12px 14px; border: 0; border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--fg); background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.25s var(--ease-rise), background-color 0.25s;
}
.sp-field textarea { resize: vertical; min-height: 96px; }
.sp-field input::placeholder { color: rgba(184, 178, 185, 0.6); }
.sp-field input:focus-visible, .sp-field textarea:focus-visible { outline: none; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--star); }
.sp-form__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.sp-form__end .sp-btn { border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.sp-form__note { margin: 0; flex: 1 1 260px; font-size: 13px; color: var(--muted); }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-formmsg { display: none; margin-top: var(--s-6); max-width: 860px; padding: var(--card-pad-sm); border-radius: 18px; font-size: 16px; line-height: 1.55; }
.sp-formmsg:target { display: block; }
.sp-formmsg--ok { background: rgba(159, 180, 216, 0.1); box-shadow: inset 0 0 0 1px rgba(159, 180, 216, 0.45); }
.sp-formmsg--fail { background: rgba(184, 31, 53, 0.14); box-shadow: inset 0 0 0 1px rgba(210, 48, 74, 0.6); }
.sp-formmsg a { color: var(--fg); text-decoration-color: rgba(210, 48, 74, 0.7); text-underline-offset: 3px; }
#sent:target ~ .sp-form { display: none; }
@media (max-width: 700px) {
  .sp-form { padding: var(--card-pad-sm); }
  .sp-form__end .sp-btn { flex: 1 1 100%; }
}

/* ---- footer: contact-apple.css footer.footer, with the static pages' index ---- */
.sp-foot {
  width: min(var(--container-max), calc(100% - 2 * var(--gutter))); margin: 0 auto;
  /* Same footer step as the home (contact-apple.css footer.footer): --s-5 both sides. */
  padding: var(--s-5) 0 calc(var(--s-5) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.04em; color: var(--muted);
}
.sp-foot .sp-wrap { width: auto; }
.sp-foot__in { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.sp-foot h2 { margin: 0 0 var(--s-2); font-size: var(--t-micro); font-weight: 400; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--silver); }
.sp-foot ul { margin: 0; padding: 0; list-style: none; }
.sp-foot li a {
  position: relative; display: inline-flex; min-height: 36px; align-items: center; text-decoration: none;
  color: var(--muted); transition: color 0.25s var(--ease-rise);
}
/* The underline that draws in from the left, as on the home footer. */
.sp-foot li a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform 0.35s var(--ease-rise);
}
.sp-foot li a:hover, .sp-foot li a:focus-visible { color: var(--fg); }
.sp-foot li a:hover::after, .sp-foot li a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
/* 32 + 32 = one --s-8 step from the link columns to the legal line (was 48 + 24 = 72, off the scale). */
.sp-foot__base { display: grid; gap: var(--s-3); margin-top: var(--sp-block); padding-top: var(--sp-block); border-top: 1px solid var(--line); }
.sp-foot__legal {
  margin: 0; display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.sp-foot__legal .sp-mark { width: 30px; height: 30px; }
.sp-foot__credit { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; color: var(--muted); overflow-wrap: anywhere; }
.sp-foot__credit a {
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: color 0.25s var(--ease-rise);
}
.sp-foot__credit a:hover, .sp-foot__credit a:focus-visible { color: var(--fg); }

@media (hover: none) and (pointer: coarse) {
  .sp-nav { -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .sp-nav { background: rgba(22, 21, 25, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sp-answer, .sp-card, .sp-steps li, .sp-table-wrap { -webkit-backdrop-filter: none; backdrop-filter: none; --tint: var(--glass-tint-solid); }
}
