/* =============================================================
   ALDERFRAME — STRATA
   A complete design system. Editorial × Engineered.
   Replaces Aurora. Built on modern CSS only:
     · oklch colours · container queries · view transitions
     · scroll-driven animation · :has() · subgrid · logical props
   Class hooks are preserved from the existing HTML & main.js so
   nothing structural breaks. Every surface is rebuilt visually.
   ============================================================= */

/* -------------------------------------------------------------
   01 · TOKENS
   ------------------------------------------------------------- */

:root {
  /* Colour — oklch for perceptual consistency */
  --canvas:        oklch(12% 0.008 264);        /* deep near-black with warmth */
  --canvas-soft:   oklch(15% 0.010 264);
  --paper:         oklch(98% 0.005 84);          /* warm near-white */
  --ink:           oklch(98% 0.008 84);
  --ink-2:         oklch(78% 0.008 84);
  --ink-3:         oklch(60% 0.008 84);
  --ink-4:         oklch(46% 0.008 84);

  --rule:          oklch(100% 0 0 / 0.07);
  --rule-2:        oklch(100% 0 0 / 0.13);
  --rule-3:        oklch(100% 0 0 / 0.20);

  /* Surfaces — translucent */
  --surface-1:     oklch(100% 0 0 / 0.03);
  --surface-2:     oklch(100% 0 0 / 0.05);
  --surface-3:     oklch(100% 0 0 / 0.08);

  /* Brand accents */
  --accent:        oklch(86% 0.10 78);           /* warm champagne */
  --accent-strong: oklch(92% 0.11 78);
  --accent-deep:   oklch(72% 0.10 78);
  --accent-soft:   oklch(86% 0.10 78 / 0.14);
  --accent-glow:   oklch(86% 0.10 78 / 0.32);

  --signal:        oklch(80% 0.14 165);          /* mint teal — live status */
  --signal-soft:   oklch(80% 0.14 165 / 0.18);

  --danger:        oklch(72% 0.18 28);
  --warn:          oklch(82% 0.14 75);

  /* Typography */
  --type-display:  "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-text:     "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-mono:     "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", "Menlo", monospace;

  /* Type scale — editorial, fluid */
  --t-2xs:  clamp(0.685rem, 0.668rem + 0.08vw, 0.74rem);
  --t-xs:   clamp(0.76rem,  0.736rem + 0.12vw, 0.84rem);
  --t-sm:   clamp(0.86rem,  0.83rem  + 0.15vw, 0.95rem);
  --t-base: clamp(0.98rem,  0.95rem  + 0.16vw, 1.07rem);
  --t-md:   clamp(1.10rem,  1.05rem  + 0.20vw, 1.22rem);
  --t-lg:   clamp(1.24rem,  1.18rem  + 0.30vw, 1.45rem);
  --t-xl:   clamp(1.55rem,  1.42rem  + 0.55vw, 1.95rem);
  --t-2xl:  clamp(1.92rem,  1.74rem  + 0.85vw, 2.50rem);
  --t-3xl:  clamp(2.4rem,   2.06rem  + 1.6vw,  3.45rem);
  --t-4xl:  clamp(3.1rem,   2.5rem   + 2.8vw,  5.05rem);
  --t-5xl:  clamp(3.8rem,   2.8rem   + 4.4vw,  6.85rem);
  --t-6xl:  clamp(4.5rem,   3.0rem   + 6.5vw,  8.40rem);

  /* Space scale — 4-base harmonic */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  22px;
  --s-6:  28px;
  --s-7:  36px;
  --s-8:  48px;
  --s-9:  64px;
  --s-10: 84px;
  --s-11: 108px;
  --s-12: 140px;
  --s-13: 180px;

  /* Rhythm — between major sections */
  --rhythm:       clamp(5.6rem, 9vw, 8.4rem);
  --rhythm-tight: clamp(3.8rem, 6vw, 5.6rem);

  /* Layout */
  --content-max:    1240px;
  --content-narrow: 760px;
  --content-prose:  640px;
  --gutter:         clamp(20px, 4vw, 40px);

  /* Measures — line lengths */
  --measure:        62ch;
  --measure-narrow: 42ch;
  --measure-display:24ch;

  /* Radii — squarer, more editorial */
  --r-1:    4px;
  --r-2:    8px;
  --r-3:    14px;
  --r-4:    20px;
  --r-pill: 999px;

  /* Shadows — restrained, layered */
  --shadow-1:
    0 1px 1px oklch(0% 0 0 / 0.28),
    0 4px 12px -4px oklch(0% 0 0 / 0.32);
  --shadow-2:
    0 1px 1px oklch(0% 0 0 / 0.30),
    0 12px 28px -10px oklch(0% 0 0 / 0.45);
  --shadow-cinema:
    0 1px 1px oklch(0% 0 0 / 0.30),
    0 30px 60px -20px oklch(0% 0 0 / 0.55),
    0 80px 120px -50px oklch(0% 0 0 / 0.40);
  --inner-highlight: inset 0 1px 0 oklch(100% 0 0 / 0.06);

  /* Motion */
  --ease:       cubic-bezier(.20, .70, .20, 1);
  --ease-out:   cubic-bezier(.16, .84, .24, 1);
  --ease-in:    cubic-bezier(.55, 0, .85, .35);
  --ease-spring:cubic-bezier(.34, 1.45, .55, 1);
  --dur-fast:   180ms;
  --dur-base:   320ms;
  --dur-slow:   560ms;
  --dur-cinema: 820ms;

  color-scheme: dark;
}

/* -------------------------------------------------------------
   02 · RESET
   ------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(80px, 10vh, 110px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--type-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "kern";
  font-kerning: normal;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
}

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

::selection {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--rule-2);
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--rule-3); background-clip: padding-box; }
* { scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  transform: translateY(-200%);
  padding: var(--s-2) var(--s-4);
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--type-mono);
  font-size: var(--t-xs);
  border-radius: var(--r-2);
  z-index: 1000;
  transition: transform var(--dur-base) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* -------------------------------------------------------------
   03 · PAGE ATMOSPHERE — film grain + warm vignette
   ------------------------------------------------------------- */

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(45% 35% at 18% 10%, oklch(86% 0.10 78 / 0.05), transparent 60%),
    radial-gradient(40% 32% at 90% 80%, oklch(80% 0.14 165 / 0.04), transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -2;
  animation: strata-drift 36s ease-in-out infinite alternate;
}
@keyframes strata-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.03); }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* -------------------------------------------------------------
   04 · TYPOGRAPHY
   ------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--type-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 0 0 var(--s-3);
  color: var(--ink);
  text-wrap: balance;
  font-feature-settings: "ss01", "cv11", "kern";
}
h1 { font-size: var(--t-5xl); letter-spacing: -0.045em; line-height: 0.96; font-weight: 500; }
h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-size: var(--t-xl);  letter-spacing: -0.018em; line-height: 1.18; }
h4 { font-size: var(--t-md);  letter-spacing: -0.010em; line-height: 1.25; font-weight: 600; }
h5 { font-size: var(--t-sm);  letter-spacing:  0.04em;  line-height: 1.30; font-family: var(--type-mono); text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
h6 { font-size: var(--t-2xs); letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--type-mono); color: var(--ink-3); }

p { margin: 0 0 1em; text-wrap: pretty; }

strong { color: var(--ink); font-weight: 600; }
em     { font-style: italic; }
small  { font-size: 0.86em; }
code, kbd, samp {
  font-family: var(--type-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  padding: 0.12em 0.4em;
  border-radius: var(--r-1);
  border: 1px solid var(--rule);
  color: var(--accent-strong);
}

/* Editorial eyebrow — monospace label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.muted { color: var(--ink-3); }

/* Body link micro-underline */
main p a:not(.btn):not([class*="card"]):not([class*="link-arrow"]),
.legal-doc a {
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 95%;
  padding-bottom: 1px;
  transition: color var(--dur-base) var(--ease), background-size var(--dur-base) var(--ease);
}
main p a:not(.btn):not([class*="card"]):not([class*="link-arrow"]):hover,
.legal-doc a:hover {
  color: var(--accent-strong);
  background-size: 100% 1.5px;
}

/* -------------------------------------------------------------
   05 · CONTAINERS & SECTIONS
   ------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow {
  max-width: var(--content-narrow);
  text-align: center;
}
.container.narrow > * { margin-inline: auto; }

.section {
  padding-block: var(--rhythm);
  position: relative;
}
.section.section-tight { padding-block: var(--rhythm-tight); }

/* Hairline rule with film-strip dot between sections */
.section-divider { position: relative; }
.section-divider::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    transparent,
    var(--rule-2) 22%,
    var(--rule-3) 50%,
    var(--rule-2) 78%,
    transparent);
  pointer-events: none;
}
.section-divider::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--rule-3);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Section head — centred, editorial */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto var(--s-9);
}
.section-head .eyebrow {
  justify-content: center;
}
.section-head h2 {
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}
.section-head p,
.section-head .section-lede {
  margin: var(--s-4) auto 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: var(--t-md);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Page lede & section lede */
.page-lede {
  text-align: center;
  color: var(--ink-2);
  font-size: var(--t-md);
  line-height: 1.55;
  max-width: 58ch;
  margin: var(--s-5) auto 0;
  text-wrap: pretty;
}
.section-lede {
  color: var(--ink-2);
  font-size: var(--t-md);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Split layout (homepage SaySpace launch row) */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* -------------------------------------------------------------
   06 · SITE HEADER — minimal editorial
   ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(12% 0.008 264 / 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.site-header.is-scrolled {
  background: oklch(12% 0.008 264 / 0.80);
  border-bottom-color: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--type-display);
  font-weight: 600;
  letter-spacing: -0.012em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { font-size: var(--t-base); }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav a {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
  position: relative;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: var(--surface-1);
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: oklch(12% 0.008 264 / 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-6) var(--gutter) var(--s-7);
  }
  .primary-nav a { font-size: var(--t-sm); padding-block: var(--s-2); }
}

/* -------------------------------------------------------------
   07 · BUTTONS — squared pills, mono undertext
   ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9em 1.4em;
  border-radius: var(--r-pill);
  font-family: var(--type-display);
  font-weight: 600;
  font-size: var(--t-sm);
  line-height: 1;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition:
    transform var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease),
    color var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  will-change: transform;
}
.btn-lg { font-size: var(--t-base); padding: 1.05em 1.65em; }
.btn-sm { font-size: var(--t-xs);  padding: 0.7em 1.1em; }

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
  box-shadow:
    0 1px 0 var(--rule-2) inset,
    0 8px 18px -10px oklch(100% 0 0 / 0.30);
}
.btn-primary:hover {
  transform: translateY(-1.5px);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow:
    0 1px 0 var(--rule-3) inset,
    0 14px 24px -10px oklch(86% 0.10 78 / 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface-1);
  color: var(--ink);
  border-color: var(--rule-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--rule-3);
  transform: translateY(-1px);
}

.btn-magnetic { /* hook for main.js magnet effect */ }

/* WhatsApp variant — green brand colour, white text */
.btn-whatsapp {
  background: #25D366;
  color: #062b1a;
  border-color: #1ebe5d;
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 0.18) inset,
    0 8px 22px -8px oklch(75% 0.18 150 / 0.50);
}
.btn-whatsapp:hover {
  transform: translateY(-1.5px);
  background: #1ebe5d;
  border-color: #19a851;
  color: #042113;
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 0.22) inset,
    0 14px 30px -8px oklch(75% 0.18 150 / 0.65);
}
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp .wa-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn-appstore svg {
  width: 1.05em;
  height: 1.05em;
}

.btn .arrow,
a.btn .arrow,
.btn span.arrow,
.btn-magnetic .arrow {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  transition: transform var(--dur-base) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Hero actions cluster */
.hero-actions,
.cta-actions,
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* App-store badges */
.appstore-badge,
.ph-badge {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease), filter var(--dur-base) var(--ease);
}
.appstore-badge:hover, .ph-badge:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 8px 16px var(--accent-glow));
}
.product-badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Link arrow — inline editorial CTA */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-strong);
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size var(--dur-base) var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }

/* -------------------------------------------------------------
   08 · STATUS PILLS — monospace dot-prefix
   ------------------------------------------------------------- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.55em 1em;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  border: 1px solid var(--rule-2);
  font-family: var(--type-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s-5);
}
.status-pill-lg { font-size: var(--t-sm); padding: 0.65em 1.1em; }
.status-pill .status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
}
.status-pill-live {
  background: var(--signal-soft);
  border-color: oklch(80% 0.14 165 / 0.34);
  color: var(--signal);
}
.status-pill-live .status-dot {
  background: var(--signal);
  box-shadow: 0 0 0 0 oklch(80% 0.14 165 / 0.65);
  animation: strata-pulse 2s ease-out infinite;
}
@keyframes strata-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(80% 0.14 165 / 0.65); }
  60%      { box-shadow: 0 0 0 8px oklch(80% 0.14 165 / 0); }
}
@media (prefers-reduced-motion: reduce) {
  .status-pill-live .status-dot { animation: none; }
}

/* -------------------------------------------------------------
   09 · HOMEPAGE HERO
   ------------------------------------------------------------- */

.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero {
  padding-block: clamp(5rem, 13vh, 10rem) clamp(4rem, 8vh, 7rem);
}
.hero .container { text-align: center; }
.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 980px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-6);
}
.hero-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.hero-title,
.hero h1 {
  font-size: var(--t-6xl);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 auto var(--s-5);
  max-width: 17ch;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title .word { display: inline-block; }
.hero-sub {
  text-align: center;
  margin: 0 auto var(--s-7);
  max-width: 60ch;
  color: var(--ink-2);
  font-size: var(--t-md);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Hide the legacy hero illustration (we use a clean editorial hero) */
.hero-stage,
.hero-composition,
.hero-glow,
.hero-stars,
.hero-blade,
.hero-mark-glow,
.hero-draw {
  display: none !important;
}

/* "Kinetic" line-reveal headings (homepage SaySpace launch) */
.kinetic {
  font-size: var(--t-4xl);
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 500;
  text-wrap: balance;
}
.kinetic .line {
  display: block;
  overflow: hidden;
}
.kinetic .line > span {
  display: inline-block;
  transform: translateY(102%);
  animation: strata-rise 900ms var(--ease-out) forwards;
}
.kinetic .line:nth-child(2) > span { animation-delay: 80ms; }
.kinetic .line:nth-child(3) > span { animation-delay: 160ms; }
@keyframes strata-rise {
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic .line > span { transform: none; animation: none; }
}

/* -------------------------------------------------------------
   10 · PAGE HERO — product / legal pages
   ------------------------------------------------------------- */

.page-hero {
  text-align: center;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(3rem, 6vh, 5rem);
}
.page-hero .container { text-align: center; }
.page-hero h1 {
  font-size: var(--t-5xl);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: var(--s-4) auto var(--s-5);
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero .eyebrow { justify-content: center; }

/* Product hero layouts (Freshli / SaySpace / RouteSky / Studio) */
.freshli-hero-layout,
.ss-hero-grid,
.ss-hero-copy,
.rs-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-6);
}
.freshli-hero-art .product-logo,
.ss-hero-icon img,
.rs-hero-icon img,
.ss-hero-icon,
.rs-hero-icon {
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  border-radius: 28%;
  box-shadow:
    0 30px 80px -30px oklch(0% 0 0 / 0.7),
    0 0 0 1px var(--rule),
    inset 0 1px 0 oklch(100% 0 0 / 0.12);
  animation: strata-float 6s ease-in-out infinite;
}
.product-logo { animation: strata-float 6s ease-in-out infinite; }
@keyframes strata-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .product-logo, .ss-hero-icon, .ss-hero-icon img, .rs-hero-icon, .rs-hero-icon img,
  .freshli-hero-art .product-logo { animation: none; }
}

/* SaySpace name flourish */
.ss-name, .rs-name {
  background: linear-gradient(180deg, var(--ink), oklch(86% 0.10 78 / 0.95));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  display: inline-block;
}

/* -------------------------------------------------------------
   11 · CARDS — restrained editorial surfaces
   ------------------------------------------------------------- */

.glass,
.feature-card,
.fl-card,
.social-card,
.kv,
.legal-doc {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
  border-radius: var(--r-4);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--inner-highlight), var(--shadow-1);
  transition:
    transform var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}
.glass:hover,
.feature-card:hover,
.fl-card:hover,
.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-3);
  box-shadow: var(--inner-highlight), var(--shadow-2);
}

/* Feature cards (Freshli, RouteSky, SaySpace, Studio shared shape) */
.feature-card,
.ss-feature,
.rs-feature {
  padding: clamp(1.4rem, 2.3vw, 2rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.feature-card:hover,
.ss-feature:hover,
.rs-feature:hover {
  transform: translateY(-3px);
  border-color: var(--rule-3);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
}
.feature-card h3,
.ss-feature h3,
.rs-feature h3 {
  font-size: var(--t-lg);
  margin: 0;
  letter-spacing: -0.014em;
}
.feature-card p,
.ss-feature p,
.rs-feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.6;
  text-wrap: pretty;
}
.feature-icon,
.ss-feature-icon,
.rs-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, var(--accent-soft), transparent),
    var(--surface-2);
  border: 1px solid var(--rule-2);
  color: var(--accent-strong);
  margin-bottom: var(--s-2);
}
.feature-icon svg,
.ss-feature-icon svg,
.rs-feature-icon svg { width: 22px; height: 22px; }

/* Grids */
.freshli-features,
.ss-features,
.rs-features,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 1100px;
  margin-inline: auto;
}

/* KV grid — editorial impressum table */
.kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  max-width: 1100px;
  margin-inline: auto;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}
.kv {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  border-radius: 0;
  padding: var(--s-5) var(--s-5);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.kv:hover { transform: none; background: var(--surface-1); }
.kv-label {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-2);
}
.kv-value {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: var(--t-md);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}

/* Social cards */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0; margin: 0;
  max-width: 1100px;
  margin-inline: auto;
}
.social-grid li { margin: 0; }
.social-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-3);
}
.social-icon {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  color: var(--accent-strong);
}
.social-icon svg { width: 22px; height: 22px; }
.social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.social-platform {
  font-family: var(--type-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-size: var(--t-base);
}
.social-handle {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.social-lede {
  font-size: var(--t-xs);
  color: var(--ink-2);
}
.social-arrow {
  font-size: 1.3rem;
  color: var(--ink-3);
  transition: transform var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.social-card:hover .social-arrow {
  transform: translateX(4px);
  color: var(--accent-strong);
}

/* -------------------------------------------------------------
   12 · PRODUCT TRIO (HOMEPAGE) — cinematic
   ------------------------------------------------------------- */

.pcards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 1180px;
  margin-inline: auto;
}
@media (min-width: 880px)  { .pcards { grid-template-columns: repeat(3, 1fr); } }
.pcards-aside {
  max-width: 1180px;
  margin: var(--s-7) auto 0;
}

.pcard {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  color: var(--ink);
  isolation: isolate;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--rule-3);
  box-shadow: var(--shadow-2);
}
.pcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.pcard__idx {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pcard__tag {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
}
.pcard__icon-wrap {
  position: relative;
  margin-bottom: var(--s-5);
  display: grid;
  place-items: center;
  height: 120px;
}
.pcard__icon {
  width: 110px; height: 110px;
  border-radius: 26%;
  box-shadow: 0 20px 50px -16px oklch(0% 0 0 / 0.6);
  z-index: 2;
}
.pcard__icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
}
.pcard__icon-glow--freshli {
  background: radial-gradient(circle at 50% 50%, oklch(86% 0.13 130 / 0.4), transparent 60%);
}
.pcard__icon-glow--sayspace {
  background: radial-gradient(circle at 50% 50%, oklch(80% 0.14 270 / 0.4), transparent 60%);
}
.pcard__icon-glow--routesky {
  background: radial-gradient(circle at 50% 50%, oklch(80% 0.14 220 / 0.4), transparent 60%);
}
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__kind {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pcard__name {
  font-size: var(--t-xl);
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.pcard__foot {
  margin-top: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--accent-strong);
}
.pcard__cta .arrow {
  transition: transform var(--dur-base) var(--ease);
}
.pcard:hover .pcard__cta .arrow { transform: translateX(4px); }

/* Inline download row beneath product trio */
.dl-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-3);
  background: var(--surface-1);
  border: 1px solid var(--rule);
}
.dl-row__label {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Launch capsule (homepage SaySpace "launched" callout) */
.launch-capsule {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule-2);
  max-width: 900px;
  margin: 0 auto;
}
.launch-capsule__icon {
  width: 64px; height: 64px;
  border-radius: 24%;
  overflow: hidden;
  box-shadow: 0 14px 30px -14px oklch(0% 0 0 / 0.6);
}
.launch-capsule__icon img { width: 100%; height: 100%; object-fit: cover; }
.launch-capsule__body p {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.launch-capsule__body strong { color: var(--ink); }
.launch-capsule__pill {
  display: inline-block;
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 4px;
}
.launch-capsule__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--type-display);
  font-weight: 600;
  font-size: var(--t-xs);
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.launch-capsule__btn:hover {
  transform: translateY(-1px);
  background: var(--paper);
}
@media (max-width: 720px) {
  .launch-capsule { grid-template-columns: 56px 1fr; }
  .launch-capsule__btn { grid-column: 1 / -1; justify-self: stretch; }
}

/* -------------------------------------------------------------
   13 · DEVICE MOCKUP (homepage + SaySpace landing)
   ------------------------------------------------------------- */

.device-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  perspective: 1200px;
}
.device {
  width: min(320px, 70vw);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(180deg, oklch(22% 0.01 264), oklch(8% 0.005 264));
  padding: 8px;
  position: relative;
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 0.12) inset,
    0 80px 120px -50px oklch(0% 0 0 / 0.75),
    0 30px 60px -20px oklch(0% 0 0 / 0.55);
  transform: rotateX(8deg) rotateY(-6deg);
}
.device.float { animation: strata-device 7s ease-in-out infinite; }
@keyframes strata-device {
  0%, 100% { transform: rotateX(8deg) rotateY(-6deg) translateY(0); }
  50%      { transform: rotateX(8deg) rotateY(-6deg) translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .device.float { animation: none; }
}
.device__island {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 4;
}
.device__glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, oklch(100% 0 0 / 0.06), transparent 30%);
  pointer-events: none;
  z-index: 3;
}
.device__screen {
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  overflow: hidden;
  background: oklch(13% 0.008 264);
}

/* SaySpace in-device app */
.ssapp {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ink);
  font-size: 11px;
  font-family: var(--type-text);
}
.ssapp__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px;
  font-family: var(--type-mono);
  font-size: 10px;
  color: var(--ink-2);
}
.ssapp__bar .sig { display: inline-flex; align-items: flex-end; gap: 1px; }
.ssapp__bar .sig i { display: block; width: 2px; background: currentColor; border-radius: 1px; }
.ssapp__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px 6px;
}
.ssapp__brand {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.015em;
}
.ssapp__av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.ssapp__tabs {
  display: flex;
  gap: 14px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ssapp__tabs::-webkit-scrollbar { display: none; }
.ssapp__tabs span {
  font-family: var(--type-mono);
  font-size: 9.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.ssapp__tabs .on { color: var(--ink); border-bottom-color: var(--accent); }
.ssapp__feed {
  flex: 1;
  overflow-y: auto;
  padding: 4px 12px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
}
.ssapp__feed::-webkit-scrollbar { display: none; }
.sspost {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sspost__top {
  display: flex; align-items: center; gap: 8px;
}
.sspost__av {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
}
.sspost__n { font-weight: 600; font-size: 10.5px; }
.sspost__h { font-family: var(--type-mono); font-size: 9px; color: var(--ink-3); }
.sspost__chip {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--type-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sspost__t {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.sspost__act {
  display: flex; gap: 14px; padding-top: 4px;
  color: var(--ink-3);
}
.sspost__act span {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--type-mono);
  font-size: 9.5px;
}
.sspost__act svg { width: 12px; height: 12px; }
.sspost--insight {
  background: oklch(80% 0.14 165 / 0.10);
  border-color: oklch(80% 0.14 165 / 0.30);
}
.sspost--insight .lbl {
  font-family: var(--type-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}
.ssreach {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
  margin-top: 4px;
}
.ssreach i {
  display: block;
  flex: 1;
  background: linear-gradient(180deg, var(--signal), oklch(80% 0.14 165 / 0.4));
  border-radius: 2px;
}
.ssapp__nav {
  position: absolute;
  bottom: 6px; left: 8px; right: 8px;
  display: flex; justify-content: space-around; align-items: center;
  background: oklch(13% 0.008 264 / 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 8px;
  color: var(--ink-3);
}
.ssapp__nav span {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
}
.ssapp__nav span.on { color: var(--accent-strong); }
.ssapp__nav span.cmp {
  background: var(--accent);
  color: var(--canvas);
}
.ssapp__nav svg { width: 14px; height: 14px; }

/* -------------------------------------------------------------
   14 · LANGUAGES GRID (SaySpace)
   ------------------------------------------------------------- */

.ss-languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
  max-width: 1100px;
  margin-inline: auto;
}
.ss-languages li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-4) var(--s-4);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  transition: background var(--dur-base) var(--ease);
}
.ss-languages li:hover { background: var(--surface-1); }
.lang-name {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lang-tag {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: var(--t-sm);
  color: var(--ink);
}

/* -------------------------------------------------------------
   15 · FRESHLI LIVE SHOWCASE
   ------------------------------------------------------------- */

.freshli-live { max-width: 920px; margin-inline: auto; }
.fl-card {
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule-2);
  position: relative;
  overflow: hidden;
}
.fl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.fl-card__brand {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  min-width: 0;
}
.fl-meta { min-width: 0; }
.fl-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 oklch(80% 0.14 165 / 0.6);
  animation: strata-pulse 2s ease-out infinite;
}
.fl-pulse--small { width: 6px; height: 6px; }
.fl-version-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}
.fl-disclaimer {
  margin-top: var(--s-4);
  font-size: var(--t-2xs);
  font-family: var(--type-mono);
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.04em;
  max-width: 60ch;
  margin-inline: auto;
}
.fl-skeleton .fl-sk {
  background: linear-gradient(90deg, var(--surface-1) 0%, var(--surface-3) 50%, var(--surface-1) 100%);
  background-size: 200% 100%;
  animation: strata-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
.fl-sk-art   { width: 84px; height: 84px; border-radius: 20px; }
.fl-sk-line  { height: 1em; }
.fl-sk-block { width: 100%; border-radius: 12px; }
@keyframes strata-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -------------------------------------------------------------
   16 · STATS (homepage counter row)
   ------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}
.stat {
  padding: var(--s-6) var(--s-3);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.stat__value {
  display: block;
  font-family: var(--type-display);
  font-weight: 500;
  font-size: var(--t-3xl);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-feature-settings: "tnum";
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* -------------------------------------------------------------
   17 · MARQUEE strip
   ------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: var(--s-4);
  margin-block: var(--rhythm-tight);
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  width: max-content;
  animation: strata-marquee 36s linear infinite;
}
.marquee__item {
  font-family: var(--type-mono);
  font-size: var(--t-sm);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee__dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes strata-marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* -------------------------------------------------------------
   18 · APPROACH / FAQ
   ------------------------------------------------------------- */

.approach-grid,
.approach-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-6);
  max-width: 1100px;
  margin-inline: auto;
}
.approach-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.approach-num {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.approach-item h3 {
  font-size: var(--t-lg);
  margin: 0 0 var(--s-2);
}
.approach-item p {
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------
   19 · CTA panels
   ------------------------------------------------------------- */

.cta-panel,
.ss-callout,
.rs-callout {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-4);
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface-1)),
    radial-gradient(50% 50% at 50% 0%, var(--accent-soft), transparent 60%);
  border: 1px solid var(--rule-2);
  box-shadow: var(--inner-highlight), var(--shadow-2);
}
.cta-sub {
  margin-top: var(--s-3);
  color: var(--ink-3);
  font-size: var(--t-sm);
}

/* -------------------------------------------------------------
   20 · LEGAL DOC (privacy / terms / etc.)
   ------------------------------------------------------------- */

.legal-doc {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-4);
  background: var(--surface-1);
  border: 1px solid var(--rule);
  text-align: left;
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-doc :is(h2, h3) {
  color: var(--ink);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h2 { font-size: var(--t-lg); }
.legal-doc h3 { font-size: var(--t-base); font-weight: 600; }
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc ul, .legal-doc ol { padding-left: 1.2em; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 0.4em; }
.legal-doc .legal-lede {
  padding: var(--s-4) var(--s-5);
  background: var(--surface-1);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-2);
  font-size: var(--t-sm);
  margin-bottom: var(--s-6);
}
.legal-doc .muted { color: var(--ink-3); font-size: var(--t-sm); }

/* -------------------------------------------------------------
   21 · FOOTER — masthead style
   ------------------------------------------------------------- */

.site-footer {
  margin-top: var(--rhythm);
  padding-block: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.4rem);
  border-top: 1px solid var(--rule-2);
  background: linear-gradient(180deg, var(--surface-1), transparent 70%);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}
.footer-mark {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.footer-wordmark {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--ink), oklch(86% 0.10 78 / 0.85));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  display: inline-block;
  line-height: 1;
}
.footer-tag {
  color: var(--ink-2);
  text-wrap: balance;
  max-width: 50ch;
  margin: var(--s-3) auto 0;
  font-size: var(--t-base);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
  padding-top: clamp(2rem, 3vw, 2.6rem);
  border-top: 1px solid var(--rule);
}
/* When a 5th col (Contact w/ WhatsApp) is present, tighten ratios */
.footer-grid:has(> .footer-col:nth-of-type(4)) {
  grid-template-columns: 1.2fr repeat(4, 0.95fr);
}
/* WhatsApp link in footer — subtle green accent */
.footer-col a[href*="api.whatsapp.com"] {
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.footer-col a[href*="api.whatsapp.com"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.55);
}
.footer-col a[href*="api.whatsapp.com"]:hover { color: #25D366; }
.footer-brand-block .brand-name { font-size: var(--t-base); }
.footer-meta {
  margin-top: var(--s-3);
  font-size: var(--t-xs);
  color: var(--ink-3);
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--type-mono);
  font-weight: 500;
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-4);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.footer-col a:hover { color: var(--ink); }
.footer-base {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer-base p { margin: 0; }
.made-in::before {
  content: "·";
  margin-right: 8px;
  color: var(--accent);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-base { justify-content: center; text-align: center; }
  .made-in::before { display: none; }
}

/* -------------------------------------------------------------
   22 · REVEAL — opt-in scroll animations + scroll-driven view()
   ------------------------------------------------------------- */

.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible,
.reveal-up.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-scale { opacity: 1; transform: none; transition: none; }
}

/* Scroll-driven progressive reveal (modern browsers) */
@supports (animation-timeline: view()) {
  .reveal:not(.is-visible),
  .reveal-up:not(.is-visible) {
    opacity: 1;
    transform: none;
    animation: strata-rise-in linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
  }
  @keyframes strata-rise-in {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* -------------------------------------------------------------
   23 · DELIGHT layer (progress bar, sticky CTA, to-top, mesh, cursor)
   ------------------------------------------------------------- */

.delight-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: var(--rule);
}
.delight-progress__fill {
  display: block;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--signal), var(--accent), var(--accent-strong));
  box-shadow: 0 0 10px var(--accent-glow);
  will-change: transform;
}

.delight-totop {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0));
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--rule-2);
  background: oklch(12% 0.008 264 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
  z-index: 60;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.delight-totop.is-visible {
  opacity: 1; transform: none; pointer-events: auto;
}
.delight-totop:hover {
  background: oklch(15% 0.010 264 / 0.92);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.04);
}
.delight-totop svg { width: 17px; height: 17px; }

.delight-stickycta {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0));
  transform: translateX(-50%) translateY(140%);
  width: min(640px, calc(100vw - 28px));
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease), transform 540ms var(--ease);
}
.delight-stickycta.is-visible {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
.delight-stickycta__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  background: oklch(12% 0.008 264 / 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--rule-2);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.delight-stickycta__inner:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.delight-stickycta__icon {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--canvas);
}
.delight-stickycta__icon svg { width: 16px; height: 16px; }
.delight-stickycta__body { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.delight-stickycta__label {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: var(--t-sm);
}
.delight-stickycta__sub {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.delight-stickycta__arrow {
  font-size: 1.2rem;
  color: var(--ink-3);
  transition: transform var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.delight-stickycta__inner:hover .delight-stickycta__arrow {
  transform: translateX(4px);
  color: var(--accent-strong);
}
@media (max-width: 520px) {
  .delight-stickycta__sub { display: none; }
}

/* Cursor (only on hover-capable, non-touch) */
.delight-cursor, .delight-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.delight-cursor {
  width: 6px; height: 6px;
  background: #fff;
  transform: translate3d(-100px,-100px,0);
}
.delight-cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid oklch(100% 0 0 / 0.55);
  transform: translate3d(-100px,-100px,0);
  transition: width 240ms var(--ease), height 240ms var(--ease), border-color 240ms var(--ease), border-width 240ms var(--ease);
}
.delight-cursor-ring.is-hovering {
  width: 52px; height: 52px;
  border-color: var(--accent);
}
@media (hover: none), (max-width: 720px) {
  .delight-cursor, .delight-cursor-ring { display: none !important; }
}

/* Mesh canvas (injected by main.js if present) */
.delight-mesh {
  filter: blur(60px) saturate(140%);
  opacity: 0.35;
  mix-blend-mode: screen;
}

/* Tilt shine for hoverable surfaces */
.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(220px circle at var(--tilt-sx, 50%) var(--tilt-sy, 50%),
      oklch(100% 0 0 / 0.18), oklch(100% 0 0 / 0.04) 30%, transparent 55%);
  mix-blend-mode: screen;
  transition: opacity var(--dur-base) var(--ease);
  z-index: 2;
}
.is-tilting .tilt-shine { opacity: 1; }

/* Scroll hint pip */
.scroll-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  animation: strata-bob 2.4s ease-in-out infinite;
}
.scroll-hint__line {
  width: 1.5px;
  height: 26px;
  background: linear-gradient(180deg, var(--ink-3), transparent);
  border-radius: 1px;
}
@keyframes strata-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* Dotnav (right-edge section indicator) — ONLY the widget itself.
   NOTE: [data-dotnav] is an ATTRIBUTE used on sections that the
   dotnav module observes — never style the attribute selector,
   or every observed section gets position:fixed and stacks. */
.dotnav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 45;
  padding: var(--s-3) 6px;
  border-radius: var(--r-pill);
  background: oklch(12% 0.008 264 / 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
}
.dotnav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule-3);
  transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.dotnav__dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 14px var(--accent-glow);
}
@media (max-width: 880px) {
  .dotnav { display: none; }
}

/* -------------------------------------------------------------
   24 · MISC / EDGE CASES
   ------------------------------------------------------------- */

.cmp { /* SaySpace device compose pill — already styled in ssapp__nav */ }
.on  { /* tab "active" state shared across mock UIs */ }

/* Press product chips */
.press-product-head {
  display: flex; align-items: center; gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-2);
}
.press-product-chip {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
}
.press-product-chip-live {
  color: var(--signal);
  background: var(--signal-soft);
  border-color: oklch(80% 0.14 165 / 0.34);
}

/* Boilerplate grid (press) */
.boilerplate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  max-width: 1100px;
  margin-inline: auto;
}
.boilerplate {
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border-radius: var(--r-4);
  background: var(--surface-1);
  border: 1px solid var(--rule);
}
.boilerplate h3 {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-3);
}
.boilerplate p {
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.65;
  margin: 0;
}

/* Theme variants — kept as accent shifts only */
.sayspace-theme { --accent: oklch(80% 0.14 270); --accent-strong: oklch(88% 0.13 270); --accent-deep: oklch(64% 0.16 270); --accent-soft: oklch(80% 0.14 270 / 0.14); --accent-glow: oklch(80% 0.14 270 / 0.32); }
.routesky-theme { --accent: oklch(80% 0.14 220); --accent-strong: oklch(88% 0.12 220); --accent-deep: oklch(64% 0.16 220); --accent-soft: oklch(80% 0.14 220 / 0.14); --accent-glow: oklch(80% 0.14 220 / 0.32); }

/* 404 polish */
.page-404 .p404-glyph {
  max-width: 420px;
  margin: 0 auto var(--s-6);
  filter: drop-shadow(0 22px 60px var(--accent-glow));
}
.p404-quicklinks {
  list-style: none;
  padding: 0;
  margin: var(--s-7) auto 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
}
.p404-quicklinks li a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-family: var(--type-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.p404-quicklinks li a:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

/* SVG composition fade-in (legacy hook still present in DOM) */
.hero-composition { display: none; }

/* -------------------------------------------------------------
   25 · VIEW TRANSITIONS (page-to-page crossfade)
   ------------------------------------------------------------- */

@supports (view-transition-name: none) {
  :root { view-transition-name: root; }
  ::view-transition-old(root) {
    animation: 320ms var(--ease) both strata-fade-out;
  }
  ::view-transition-new(root) {
    animation: 380ms var(--ease) 80ms both strata-fade-in;
  }
  @keyframes strata-fade-out {
    to { opacity: 0; transform: translateY(-6px); }
  }
  @keyframes strata-fade-in {
    from { opacity: 0; transform: translateY(8px); }
  }
}

/* -------------------------------------------------------------
   26 · PRINT
   ------------------------------------------------------------- */

@media print {
  body::before, body::after,
  .scroll-hint, .dotnav, [data-dotnav], .nav-toggle,
  .delight-progress, .delight-stickycta, .delight-cursor,
  .delight-cursor-ring, .delight-totop, .delight-mesh,
  .marquee, .device-wrap, .ss-hero-icon, .hero-status {
    display: none !important;
  }
  body, html { background: white !important; color: #111 !important; }
  * { animation: none !important; transition: none !important; box-shadow: none !important; }
  a { color: #111 !important; text-decoration: underline; }
  .glass, .feature-card, .fl-card, .social-card, .kv, .legal-doc, .pcard {
    background: white !important;
    border-color: #ddd !important;
  }
}

/* -------------------------------------------------------------
   27 · SMALL UTILITIES (kept narrow)
   ------------------------------------------------------------- */

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.mx-auto      { margin-inline: auto; }

/* -------------------------------------------------------------
   28 · FIX-PACK — homepage cards, press kit, JS hooks
   Wires every class hook the initial cut missed so nothing
   renders as raw HTML.
   ------------------------------------------------------------- */

/* 28.1 — Generic grid wrappers */
.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 1180px;
  margin-inline: auto;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 880px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* 28.2 — "Three disciplines" cards (homepage) */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-3);
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  box-shadow: var(--inner-highlight), var(--shadow-1);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.card-icon {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-3);
  background: linear-gradient(180deg, var(--accent-soft), transparent), var(--surface-2);
  border: 1px solid var(--rule-2);
  color: var(--accent-strong);
}
.card-icon svg { width: 22px; height: 22px; }
.card-index {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card h3 {
  font-size: var(--t-lg);
  letter-spacing: -0.015em;
  margin: 0;
}
.card p {
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* 28.3 — pcard__tag is body copy (not a chip) — override v22 */
.pcard__tag,
p.pcard__tag {
  font-family: var(--type-text) !important;
  font-size: var(--t-sm) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-2) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
  text-wrap: pretty;
}

/* 28.4 — JS motion hooks — must not alter base layout */
.tilt        { will-change: transform; }
.tilt-lift   { transform: translateZ(0); }
.tilt-lift-sm{ transform: translateZ(0); }
.parallax    { /* main.js sets transform inline */ }
.reveal-group{ /* container hook only */ }
.scramble    { /* text hook only */ }

/* 28.5 — Press fact-grid (impressum table) */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  max-width: 1100px;
  margin-inline: auto;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-5) var(--s-5);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  margin: 0;
}
.fact dt {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fact dd {
  margin: 0;
  font-family: var(--type-display);
  font-weight: 500;
  font-size: var(--t-base);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.fact dd em {
  font-style: normal;
  color: var(--ink-2);
  font-weight: 400;
  font-size: 0.9em;
}

/* 28.6 — Press brand tiles */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-4);
  max-width: 1100px;
  margin-inline: auto;
}
.brand-tile {
  border-radius: var(--r-4);
  border: 1px solid var(--rule-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.brand-tile.dark  { background: oklch(10% 0.008 264); }
.brand-tile.light { background: var(--paper); color: var(--canvas); }
.brand-tile-stage {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  border-bottom: 1px solid var(--rule);
}
.brand-tile.light .brand-tile-stage { border-bottom-color: oklch(0% 0 0 / 0.08); }
.brand-tile-stage svg { width: 60%; max-width: 220px; height: auto; }
.brand-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: var(--s-3) var(--s-4);
  align-items: center;
}
.brand-dl a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.brand-dl a:hover { background: var(--surface-3); color: var(--ink); border-color: var(--accent); }
.brand-tile.light .brand-dl a {
  background: oklch(0% 0 0 / 0.05);
  border-color: oklch(0% 0 0 / 0.10);
  color: oklch(20% 0.008 264);
}
.brand-tile.light .brand-dl a:hover {
  background: oklch(0% 0 0 / 0.10);
  border-color: oklch(40% 0.010 264);
  color: var(--canvas);
}

/* 28.7 — Press palette swatches */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
  max-width: 1100px;
  margin-inline: auto;
}
.swatch {
  border-radius: var(--r-4);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface-1);
}
.swatch-chip {
  display: block;
  aspect-ratio: 3 / 2;
  width: 100%;
  background: var(--chip, var(--surface-2));
  border-bottom: 1px solid var(--rule);
}
.swatch-chip.light { border-bottom-color: oklch(0% 0 0 / 0.10); }
.swatch-body {
  padding: var(--s-4) var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.swatch-name {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: var(--t-base);
  color: var(--ink);
}
.swatch-value {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.swatch-note {
  margin-top: 4px;
  font-size: var(--t-xs);
  color: var(--ink-2);
}

/* 28.8 — Press typography spec */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  max-width: 1100px;
  margin-inline: auto;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}
.type-grid > * {
  padding: var(--s-5);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.type-label {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: var(--s-2);
}
.type-note {
  margin-top: var(--s-2);
  font-size: var(--t-xs);
  color: var(--ink-3);
}

/* 28.9 — Press products list (editorial rows) */
.press-products {
  list-style: none;
  padding: 0; margin: 0;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.press-products > li {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
}
.press-products > li:last-child { border-bottom: 1px solid var(--rule); }
.press-products p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.7;
}

/* 28.10 — about-preview split: left-aligned head, prose right */
#about-preview .container.split { align-items: start; }
#about-preview h2 {
  text-align: left;
  text-wrap: balance;
  max-width: 18ch;
}
.split > div > p { text-wrap: pretty; }
.split > div > p:not(:last-child) { margin-bottom: 0.9em; }

/* 28.11 — Approach section: two-column editorial layout */
@media (min-width: 880px) {
  #approach .approach-grid {
    grid-template-columns: 0.9fr 1.4fr;
    align-items: start;
    gap: var(--s-9);
  }
  #approach .approach-head h2 {
    text-align: left;
    text-wrap: balance;
    max-width: 14ch;
  }
  #approach .approach-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  #approach .approach-list .approach-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: start;
    gap: var(--s-5);
    padding: var(--s-5) 0;
    border-top: 1px solid var(--rule);
  }
  #approach .approach-list .approach-item:first-child {
    border-top: 0;
    padding-top: 0;
  }
  #approach .approach-num {
    color: var(--accent-strong);
    font-size: var(--t-md);
    letter-spacing: 0.06em;
  }
  #approach .approach-item h3 { margin: 0 0 6px; }
}

/* 28.12 — Section dotnav data-hook (positions main.js outputs) */
[data-dotnav-label] { /* anchor only */ }

/* 28.13 — Page-hero status pills should sit centred */
.page-hero .status-pill {
  margin-inline: auto;
  margin-bottom: var(--s-5);
}

/* 28.14 — Featured + studio-teaser features grid centring */
#studio-teaser .rs-features,
#featured .pcards-aside {
  margin-inline: auto;
}

/* 28.15 — homepage launch capsule: keep above section padding */
.launch-capsule { margin-top: var(--s-5); margin-bottom: 0; }

/* 28.16 — Footer-meta tagline alignment on narrow viewports */
@media (max-width: 720px) {
  .footer-meta, .footer-tag { text-align: center; margin-inline: auto; }
  .footer-brand-block { text-align: center; }
  .footer-col h4 { text-align: center; }
  .footer-col ul { align-items: center; }
}

/* -------------------------------------------------------------
   29 · LIVE-AUDIT FIXES (v3) — neutralise legacy hero canvases
   Issue: main.js (legacy v8) injects .shader-aurora and
   .hero-particles canvases that size to document height and
   sit in normal flow, pushing the hero to 5217px tall and
   shoving the headline 2500px below the fold.
   Fix: absolutely position them, cap to viewport, and ensure
   they don't affect document flow.
   ------------------------------------------------------------- */

/* 29.1 — Force every legacy hero canvas to be a true background layer */
.hero > canvas,
.hero canvas.shader-aurora,
.hero canvas.hero-particles,
.hero .delight-mesh,
.shader-aurora,
.hero-particles {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0.55 !important;
  mix-blend-mode: screen;
}

/* 29.2 — Belt-and-braces: the hero shouldn't ever exceed its content */
.hero {
  min-height: clamp(540px, 84vh, 880px);
  max-height: none;
  height: auto;
}

/* Keep hero content above the canvas layers */
.hero > .container,
.hero > .hero-content,
.hero > .hero-layout,
.hero .container,
.hero .hero-content,
.hero .hero-layout {
  position: relative;
  z-index: 2;
}
.hero .scroll-hint { z-index: 3; }

/* 29.3 — read-percent indicator (from main.js v5) — make it a tiny mono badge,
   not a giant block in the nav header */
.read-percent {
  font-family: var(--type-mono) !important;
  font-size: var(--t-2xs) !important;
  letter-spacing: 0.08em !important;
  color: var(--ink-3) !important;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  border: 1px solid var(--rule);
  margin-left: var(--s-4);
  display: inline-flex;
  align-items: center;
  height: 26px;
  min-width: 42px;
  justify-content: center;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.read-percent:hover { background: var(--surface-2); color: var(--ink); }
/* Hide it on small screens (the delight-progress bar is enough) */
@media (max-width: 880px) {
  .read-percent { display: none !important; }
}

/* 29.4 — Hero spotlight and scroll-hint should not contribute to height */
.hero-spotlight {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* 29.5 — Make sure word-reveal spans don't break hero h1 layout */
.hero .hero-title.word-reveal,
.hero .hero-title {
  position: relative;
  z-index: 2;
}
.hero .hero-title .word {
  display: inline-block;
  white-space: normal;
}

/* 29.6 — SaySpace hero: 2-column grid on desktop (copy left, device right) */
.ss-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
  text-align: left;
}
.ss-hero-copy {
  text-align: center;
}
@media (min-width: 880px) {
  .ss-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--s-8);
    text-align: left;
  }
  .ss-hero-copy {
    text-align: left;
    align-items: flex-start !important;
  }
  .ss-hero-copy .hero-actions { justify-content: flex-start; }
  .ss-hero-copy h1 { margin-inline: 0; text-align: left; }
  .ss-hero-copy .page-lede { margin-inline: 0; text-align: left; }
  .ss-hero-copy .status-pill { margin-inline: 0; }
  .ss-hero-grid .device-wrap { justify-self: center; }
}

/* 29.7 — read-percent inner spans (main.js v5 inserts .dot + .num) */
.read-percent .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}
.read-percent .num {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.06em;
  color: var(--ink-3);
  vertical-align: middle;
  font-feature-settings: "tnum";
}

/* 29.8 — Hide read-percent on the desktop nav too — the top progress bar is enough */
.read-percent { display: none !important; }

/* 29.9 — Word-reveal hook (legacy v4 — should not zero-out the H1) */
.hero-title.word-reveal {
  visibility: visible !important;
  opacity: 1 !important;
}

/* -------------------------------------------------------------
   30 · STUDIO CATALOG (Build With Alderframe priced services)
   ------------------------------------------------------------- */

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 1.8vw, 22px);
  max-width: 1180px;
  margin-inline: auto;
}
@media (min-width: 760px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
/* The featured MVP card spans 2 columns on wide screens */
@media (min-width: 1100px) {
  .catalog-card-feature { grid-column: span 2; }
}
/* And the custom enquiry card always spans the full row */
@media (min-width: 760px) {
  .catalog-card-custom { grid-column: 1 / -1; }
}

.catalog-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
  position: relative;
  transition:
    transform var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease),
    background var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-3);
  box-shadow: var(--inner-highlight), var(--shadow-2);
}

/* Featured card gets a subtle accent ring */
.catalog-card-feature {
  background:
    linear-gradient(180deg, var(--surface-3), var(--surface-2)),
    radial-gradient(60% 80% at 50% 0%, var(--accent-soft), transparent 70%);
  border-color: oklch(86% 0.10 78 / 0.30);
}
.catalog-card-feature .catalog-tag {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: oklch(86% 0.10 78 / 0.35);
}

/* Custom enquiry card */
.catalog-card-custom {
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface-1)),
    radial-gradient(50% 80% at 50% 100%, oklch(80% 0.14 165 / 0.10), transparent 70%);
  border-color: oklch(80% 0.14 165 / 0.25);
}
.catalog-card-custom .catalog-tag {
  background: var(--signal-soft);
  color: var(--signal);
  border-color: oklch(80% 0.14 165 / 0.34);
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.catalog-idx {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.catalog-tag {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  white-space: nowrap;
}
.catalog-name {
  font-size: var(--t-xl);
  letter-spacing: -0.018em;
  margin: 0 0 6px;
  color: var(--ink);
}
.catalog-tagline {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 var(--s-5);
  text-wrap: pretty;
  max-width: 50ch;
}
.catalog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}
.catalog-list li {
  position: relative;
  padding-left: 20px;
  text-wrap: pretty;
  max-width: none;
}
.catalog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
}
.catalog-not {
  margin: 0 0 var(--s-5);
  font-size: var(--t-xs);
  color: var(--ink-3);
  font-style: italic;
  text-wrap: pretty;
  border-top: 1px dashed var(--rule);
  padding-top: var(--s-4);
}
.catalog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.catalog-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.price-amt {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
}
.price-unit {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.catalog-why {
  margin: var(--s-5) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.6;
  text-wrap: pretty;
}
.catalog-why strong { color: var(--ink-2); }

@media (max-width: 540px) {
  .catalog-foot { flex-direction: column; align-items: stretch; }
  .catalog-foot .btn { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------
   31 · PAYMENT METHODS section
   ------------------------------------------------------------- */

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.8vw, 20px);
  max-width: 1120px;
  margin-inline: auto;
}
@media (min-width: 880px) { .payment-grid { grid-template-columns: repeat(3, 1fr); } }
.payment-method {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--rule);
}
.payment-method__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--s-3);
}
.payment-method__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid oklch(86% 0.10 78 / 0.35);
}
.payment-method__badge--low {
  background: var(--signal-soft);
  color: var(--signal);
  border-color: oklch(80% 0.14 165 / 0.34);
}
.payment-method__name {
  font-size: var(--t-lg);
  margin: 0;
  letter-spacing: -0.015em;
}
.payment-method__lede {
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.55;
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
}
.payment-method__methods {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--type-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.payment-method__methods li { padding-left: 14px; position: relative; }
.payment-method__methods li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.payment-method__fee {
  margin: auto 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.55;
  text-wrap: pretty;
}
.payment-method__fee strong { color: var(--ink-2); }
.payment-note {
  max-width: 76ch;
  margin-inline: auto;
  text-align: center;
  font-size: var(--t-xs);
  color: var(--ink-3);
  line-height: 1.6;
  text-wrap: pretty;
}

/* -------------------------------------------------------------
   32 · PROMO STRIP + PROMO CARDS (Build With Alderframe codes)
   ------------------------------------------------------------- */

.promo-strip {
  background:
    linear-gradient(180deg, oklch(86% 0.10 78 / 0.15), oklch(86% 0.10 78 / 0.05)),
    var(--canvas);
  border-bottom: 1px solid oklch(86% 0.10 78 / 0.28);
  color: var(--ink);
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 49;
}
.promo-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.promo-strip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
  animation: strata-pulse 2s ease-out infinite;
}
.promo-strip__msg { color: var(--ink-2); }
.promo-strip__msg strong {
  color: var(--accent-strong);
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 1px 5px;
  border-radius: 4px;
  background: oklch(86% 0.10 78 / 0.16);
  border: 1px solid oklch(86% 0.10 78 / 0.32);
  margin-right: 2px;
}
.promo-strip__more {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  margin-left: 8px;
  font-weight: 500;
}
.promo-strip__more:hover { color: var(--accent-strong); }
@media (max-width: 640px) {
  .promo-strip__inner { font-size: 10px; padding-block: 6px; }
}

/* Promo cards */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 1.8vw, 22px);
  max-width: 1120px;
  margin-inline: auto;
}
@media (min-width: 880px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}

.promo-card {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border-radius: var(--r-4);
  background:
    radial-gradient(120% 100% at 0% 0%, oklch(86% 0.10 78 / 0.12), transparent 60%),
    linear-gradient(180deg, var(--surface-3), var(--surface-1));
  border: 1px solid oklch(86% 0.10 78 / 0.30);
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.promo-card:hover {
  transform: translateY(-3px);
  border-color: oklch(86% 0.10 78 / 0.50);
  box-shadow: var(--inner-highlight), var(--shadow-2), 0 24px 60px -28px var(--accent-glow);
}
.promo-card--whatsapp {
  background:
    radial-gradient(120% 100% at 0% 0%, oklch(80% 0.14 165 / 0.14), transparent 60%),
    linear-gradient(180deg, var(--surface-3), var(--surface-1));
  border-color: oklch(80% 0.14 165 / 0.30);
}
.promo-card--whatsapp:hover {
  border-color: oklch(80% 0.14 165 / 0.50);
  box-shadow: var(--inner-highlight), var(--shadow-2), 0 24px 60px -28px oklch(80% 0.14 165 / 0.45);
}

.promo-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}
.promo-card__pct {
  font-family: var(--type-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--accent-strong);
  line-height: 1;
}
.promo-card--whatsapp .promo-card__pct { color: var(--signal); }
.promo-card__chip {
  font-family: var(--type-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
  white-space: nowrap;
}
.promo-card__name {
  font-family: var(--type-mono);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  word-break: break-all;
}
.promo-card__lede {
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.55;
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
}

/* Click-to-copy code block */
.promo-card__code {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-2);
  background: oklch(0% 0 0 / 0.40);
  border: 1px dashed var(--rule-2);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  text-align: left;
  font-family: var(--type-mono);
}
.promo-card__code:hover {
  background: oklch(0% 0 0 / 0.55);
  border-color: var(--accent);
}
.promo-card--whatsapp .promo-card__code:hover { border-color: var(--signal); }
.promo-card__code.is-copied {
  background: oklch(80% 0.14 165 / 0.18);
  border-color: var(--signal);
}
.promo-card__code-label {
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.promo-card__code-value {
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-right: auto;
}
.promo-card__code-copy {
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--rule);
}
.promo-card--whatsapp .promo-card__code-copy { color: var(--signal); }
.promo-card__code.is-copied .promo-card__code-copy {
  background: var(--signal);
  color: var(--canvas);
  border-color: var(--signal);
}

.promo-card__facts {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--ink-2);
  line-height: 1.55;
}
.promo-card__facts li {
  position: relative;
  padding-left: 16px;
}
.promo-card__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1.5px;
  background: var(--accent);
}
.promo-card--whatsapp .promo-card__facts li::before { background: var(--signal); }
.promo-card__facts strong { color: var(--ink); font-weight: 600; }

.promo-card__cta {
  margin-top: var(--s-5);
}

/* End of Strata */
