/* NowGo — company site. System fonts only; every asset is local.
   Two token layers:
   --shell-*  the NowGo corporate shell: the deep-ink canvas, its blue light,
              header, footer, the product stage's frame and selector rail,
              corporate actions, focus. Defined once here; product theming
              never changes it.
   --p-*      one product's ENVIRONMENT (see the role list in
              scripts/build.py). Generated from src/products.json onto that
              product's own [data-product] elements only — the stage panel,
              its selector chip, its hero node and its detail page. NowGo
              owns the frame; the app owns what is inside it.
   A few context properties (--ink, --body, --muted, --link, --focus, --line)
   are re-pointed per surface: the dark canvas, the light reading paper, a
   product environment. */

:root {
  --shell-abyss: #04061F;     /* footer ground */
  --shell-canvas: #060A30;    /* page canvas */
  --shell-navy: #07074E;      /* the mark's navy */
  --shell-frame: #081038;     /* product stage frame */
  --shell-rail: #0A1240;      /* selector rail      (build.py SHELL_FRAME) */
  --shell-chip: #151D4C;      /* raised chip */
  --shell-chip-lit: #283062;  /* raised chip, lit top (build.py SHELL_FRAME) */
  --shell-panel: #0A1342;     /* lit corporate panel (contact) */
  --shell-corporate: #004C83;
  --shell-bright: #006FBA;
  --shell-sky: #8EC5FF;
  --shell-on-dark: #FFFFFF;
  --shell-mist: #C9D4E8;      /* body text on the canvas: 12.9:1 */
  --shell-haze: #A9B8D4;      /* secondary text on the canvas: 9.6:1 */
  --shell-hairline: rgba(142, 197, 255, 0.16);
  --shell-paper: #F8FAFD;     /* reading surfaces inside the navy shell */
  --shell-paper-ink: #0E1A33;
  --shell-paper-muted: #4A5872;
  --shell-paper-line: #DCE3EE;
  --shell-paper-tint: #E8F0FA;
  --shell-control-line: #74839C; /* form control boundary: 3.8:1 on white, 3.7:1 on paper */
  --shell-link: #00579A;
  --shell-error: #A3312A;
  --shell-error-surface: #FBEAE7;

  --ink: var(--shell-on-dark);
  --body: var(--shell-mist);
  --muted: var(--shell-haze);
  --link: var(--shell-sky);
  --link-hover: var(--shell-on-dark);
  --focus: var(--shell-sky);
  --line: var(--shell-hairline);

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-xl: 24px;
  --shadow-paper: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -48px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-env: cubic-bezier(0.3, 0.6, 0.2, 1);
  --t-chip: 420ms;

  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, 'Segoe UI Variable Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --measure: 66ch;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background-color: var(--shell-canvas);
  color: var(--body);
  color-scheme: dark;
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

/* The canvas light: one static, page-wide atmosphere the header, hero and
   stage share — blue from the mark at the top right, its navy at the left. */
body {
  margin: 0;
  font-size: 1.0625rem;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-wrap: break-word;
  background-image:
    radial-gradient(1100px 760px at 88% -140px, rgba(0, 111, 186, 0.28), rgba(0, 111, 186, 0) 72%),
    radial-gradient(900px 640px at -6% 4%, rgba(38, 36, 150, 0.34), rgba(7, 7, 78, 0) 72%),
    radial-gradient(1400px 900px at 50% 1100px, rgba(0, 76, 131, 0.14), rgba(0, 76, 131, 0) 70%);
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.024em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.4rem); letter-spacing: -0.012em; }

p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.3em; }
li { margin-bottom: 0.45em; }
strong { color: var(--ink); }

a {
  color: var(--link);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  background: var(--shell-bright);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  transition: top 0.15s ease;
}
.skip:focus { top: 0; color: #fff; }

.wrap {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}
@media (min-width: 640px) {
  .wrap { width: min(100% - 3rem, 76rem); }
}

/* Header: a floating, finely lit bar on the canvas. Opaque enough to stay
   legible over the light reading paper even where blur is unsupported. */

.site-header {
  --focus: var(--shell-sky);
  position: relative;
  z-index: 20;
  width: min(100% - 1.25rem, 78rem);
  margin: 10px auto 0;
  border: 1px solid var(--shell-hairline);
  border-radius: 22px;
  background-color: rgba(8, 13, 52, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -26px rgba(0, 0, 0, 0.8);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: rgba(8, 13, 52, 0.8);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
  }
}
@media (min-width: 768px) and (min-height: 560px) {
  .site-header { position: sticky; top: 10px; }
  html { scroll-padding-top: 6.5rem; }
}
.site-header .wrap { width: auto; padding: 0 8px 0 10px; }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
  padding: 6px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-right: auto;
  color: var(--shell-on-dark);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { color: var(--shell-on-dark); }
.brand img { display: block; }

/* the supplied blue mark keeps its navy legible on a small light tile */
.brand-tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #FFFFFF;
  box-shadow: inset 0 -1px 0 rgba(7, 7, 78, 0.12), 0 0 0 1px rgba(142, 197, 255, 0.35), 0 6px 16px -8px rgba(0, 111, 186, 0.9);
}

.site-header ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  max-width: none;
}
.site-header li { margin: 0; }

.site-header ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 14px;
  border-radius: 14px;
  color: var(--shell-mist);
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.site-header ul a:hover { background: rgba(255, 255, 255, 0.07); color: var(--shell-on-dark); }
/* current page: weight and a lit bar, not colour alone */
.site-header ul a[aria-current] { color: var(--shell-on-dark); font-weight: 700; }
.site-header ul a[aria-current]::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell-sky);
}
@media (max-width: 420px) {
  .site-header ul a { padding: 4px 10px; }
  .site-header ul a[aria-current]::after { left: 10px; right: 10px; }
}

/* Shared blocks ----------------------------------------------------------- */

main { flex: 1; }

.section { padding: clamp(52px, 7.5vw, 104px) 0; }
.hero + .wrap > .showcase-section { padding-top: clamp(44px, 5.5vw, 76px); }
.page-head + .showcase-section { padding-top: clamp(28px, 4vw, 44px); }

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--shell-sky);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lede {
  font-size: clamp(1.12rem, 2.1vw, 1.32rem);
  line-height: 1.55;
  color: var(--body);
  max-width: 50ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--shell-bright);
  border-radius: 999px;
  background-color: var(--shell-bright);
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 28px -14px rgba(0, 111, 186, 0.95);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    box-shadow 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.button:hover { background-color: #005A9E; border-color: #005A9E; color: #fff; }
.button.ghost {
  background-color: transparent;
  border-color: rgba(142, 197, 255, 0.5);
  color: var(--shell-on-dark);
  box-shadow: none;
}
.button.ghost:hover { background-color: rgba(255, 255, 255, 0.08); border-color: var(--shell-sky); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: none; }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 28px 0 0;
}

/* Status: always a text label; the mark is a shape, never the only cue.
   One line wherever it fits; with large text on a narrow screen it wraps
   inside its own box (a word breaks only if it is wider than the box)
   instead of being pushed out of, or clipped by, its container. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 3px 11px 3px 9px;
  border: 1px solid rgba(142, 197, 255, 0.4);
  border-radius: 999px;
  color: var(--shell-on-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.status-mark {
  flex: none;
  width: 10px;
  height: 10px;
  border: 2px solid var(--p-accent, var(--shell-sky));
  border-radius: 50%;
  background: linear-gradient(90deg, var(--p-accent, var(--shell-sky)) 50%, transparent 50%);
}
.status-sm {
  padding: 1px 8px 1px 7px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.status-sm .status-mark { width: 8px; height: 8px; border-width: 1.5px; }

/* Home hero: the NowGo statement on the open canvas ------------------------
   No bounded box: depth planes and a constellation of the products'
   identities around the NowGo core lead down into the stage. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 9vw, 128px) 0 clamp(52px, 6.5vw, 96px);
}
.hero::after {
  /* the horizon the stage rises from */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0), rgba(142, 197, 255, 0.5) 30%, rgba(142, 197, 255, 0.22) 70%, rgba(142, 197, 255, 0));
}
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-plane {
  position: absolute;
  border-radius: 48px;
}
.hero-plane-a {
  top: -18%;
  right: -16%;
  width: min(70vw, 980px);
  height: 132%;
  transform: rotate(-13deg);
  border: 1px solid rgba(142, 197, 255, 0.12);
  background: linear-gradient(165deg, rgba(0, 111, 186, 0.2), rgba(0, 111, 186, 0.03) 55%, rgba(0, 111, 186, 0) 80%);
}
.hero-plane-b {
  top: 12%;
  right: -4%;
  width: min(46vw, 640px);
  height: 86%;
  transform: rotate(7deg);
  border-top: 1px solid rgba(142, 197, 255, 0.34);
  background: linear-gradient(180deg, rgba(142, 197, 255, 0.07), rgba(142, 197, 255, 0) 60%);
}
.hero-plane-c {
  left: 34%;
  bottom: -62%;
  width: 1200px;
  height: 1200px;
  border-radius: 50%;
  border-top: 1px solid rgba(142, 197, 255, 0.22);
  transform: rotate(-12deg);
}
.hero-grid {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  font-weight: 750;
  line-height: 0.96;
  letter-spacing: -0.048em;
  margin-bottom: 30px;
}
.hero h1 em { display: block; font-style: normal; color: var(--shell-sky); }
.hero .lede { color: var(--shell-mist); }

/* the constellation: the NowGo core on a lit plane, each app an identity
   node around it in its own environment's light; wide screens only — small
   screens reach the same apps in the stage directly below */
.hero-studio {
  position: relative;
  display: grid;
  padding: 30px 8px;
}
@media (max-width: 719px) {
  .hero-studio { display: none; }
}
.hero-studio::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -4% -10% -4% 0;
  border-radius: 36px;
  border: 1px solid rgba(142, 197, 255, 0.14);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotate(-3deg);
}
/* the orbit: a hairline ellipse through the four nodes' centres (column
   centres across, the middle row's half-height plus gap, node padding and
   glyph radius up and down) */
.hero-studio::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: calc(100% / 6 + 2px);
  right: calc(100% / 6 + 2px);
  top: 50%;
  height: calc(8rem + 94px);
  border-radius: 50%;
  border: 1px solid rgba(142, 197, 255, 0.22);
  transform: translateY(-50%);
  pointer-events: none;
}
/* the core and the nodes share one grid cell: the core sits in its empty
   centre */
.hero-core, .hero-index { grid-area: 1 / 1; }
.hero-core {
  position: relative;
  place-self: center;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: #FFFFFF;
  box-shadow: inset 0 -1px 0 rgba(7, 7, 78, 0.12), 0 0 0 1px rgba(142, 197, 255, 0.4),
    0 0 0 14px rgba(142, 197, 255, 0.06), 0 0 0 30px rgba(142, 197, 255, 0.035),
    0 26px 60px -18px rgba(0, 111, 186, 0.95);
}
.hero-core img { display: block; }
/* a wider, tilted orbit for depth */
.hero-core::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 460px;
  height: 196px;
  border-radius: 50%;
  border: 1px solid rgba(142, 197, 255, 0.12);
  transform: translate(-50%, -50%) rotate(-16deg);
  pointer-events: none;
}
/* four nodes around the core, clockwise from the top in catalogue order;
   equal outer rows keep the core in the middle row's centre, and the top
   node carries its name above its glyph so both glyphs sit on the orbit */
.hero-index {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr minmax(8rem, auto) 1fr;
  gap: 6px 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  max-width: none;
}
.hero-index li { margin: 0; }
.hero-index li:nth-child(1) { grid-area: 1 / 2; align-self: end; }
.hero-index li:nth-child(2) { grid-area: 2 / 3; }
.hero-index li:nth-child(3) { grid-area: 3 / 2; align-self: start; }
.hero-index li:nth-child(4) { grid-area: 2 / 1; }
.hero-index li:nth-child(1) .idx-name { order: -1; }
.hero-index a {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 6px;
  border-radius: 22px;
  color: var(--shell-mist);
  text-align: center;
  text-decoration: none;
}
.hero-index a:hover { color: var(--shell-on-dark); }
.hero-index .idx-glyph {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--p-line), 0 0 0 1px var(--p-edge), 0 18px 34px -16px rgba(0, 0, 0, 0.9);
}
.hero-index a:hover .idx-glyph {
  box-shadow: inset 0 0 0 1px var(--p-line), 0 0 0 3px var(--p-edge), 0 18px 34px -16px rgba(0, 0, 0, 0.9);
}
.hero-index .idx-glyph img { width: 38px; }
.hero-index .idx-glyph .mark { width: 32px; height: 32px; }
.idx-name {
  max-width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Section heads / company ----------------------------------------------- */

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.035em; margin-bottom: 0.3em; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
@media (min-width: 960px) {
  .showcase-section .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    column-gap: 48px;
    align-items: end;
  }
  .showcase-section .section-head > :not(:last-child) { grid-column: 1; }
  .showcase-section .section-head > p:last-child { grid-column: 2; grid-row: 1 / span 2; padding-bottom: 0.6em; }
}
.page-note { color: var(--muted); }

/* the company as an editorial band on the canvas, its contact a single
   lit corporate panel — not a pair of cards */
.company { position: relative; }
.company::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0), rgba(142, 197, 255, 0.45) 22%, rgba(142, 197, 255, 0.1) 78%, rgba(142, 197, 255, 0));
}
.company-grid {
  display: grid;
  gap: clamp(36px, 6vw, 88px);
}
@media (min-width: 900px) {
  .company-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
}
.company-story h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); letter-spacing: -0.035em; }
.company-statement {
  max-width: 30ch;
  color: var(--shell-on-dark);
  font-family: var(--display);
  font-size: clamp(1.32rem, 2.5vw, 1.82rem);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: -0.012em;
}
.company-story p:last-child { margin-bottom: 0; color: var(--shell-mist); max-width: 58ch; }
.company-contact {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background-color: var(--shell-panel);
  background-image: radial-gradient(ellipse 120% 90% at 100% 0%, rgba(0, 111, 186, 0.3), rgba(0, 111, 186, 0) 65%);
  box-shadow: inset 0 0 0 1px var(--shell-hairline), inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.company-contact h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.company-contact p { color: var(--shell-mist); }
.company-contact .actions { margin-top: 20px; }

/* Product stage (shared by home and /apps) --------------------------------
   NowGo owns the frame: a deep navy console, lit at its top edge, holding
   the selector rail and the stage. Each app owns its environment inside.
   No JS: the rail is a list of in-page links and every panel shows. With
   assets/stage.js: tabs, one environment at a time. */

.showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 8px;
  padding: 6px;
  border-radius: 30px;
  background-color: var(--shell-frame);
  background-image: linear-gradient(180deg, #0E1850 0, var(--shell-frame) 140px);
  box-shadow: 0 0 0 1px var(--shell-hairline), inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 70px 120px -70px rgba(0, 0, 0, 0.9), 0 0 140px -50px rgba(0, 111, 186, 0.45);
  scroll-margin-top: 16px;
}
.showcase::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0), rgba(142, 197, 255, 0.9), rgba(142, 197, 255, 0));
}
@media (min-width: 640px) {
  .showcase { padding: 10px; gap: 10px; border-radius: 34px; }
}
@media (min-width: 768px) and (min-height: 560px) {
  .showcase { scroll-margin-top: 92px; }
}

/* the rail: one recessed track; the selected chip is raised, lit, and
   carries its product's edge light */
.showcase-tabs {
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 8px;
  max-width: none;
  border-radius: 26px;
  background-color: var(--shell-rail);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(142, 197, 255, 0.08);
}
@media (min-width: 560px) {
  .showcase-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .showcase-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
.showcase-tabs li { margin: 0; }

.showcase-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-height: 68px;
  padding: 12px 16px 14px 12px;
  border: 1px solid transparent;
  border-radius: 19px;
  color: var(--shell-mist);
  text-decoration: none;
  background-color: transparent;
  transition: background-color var(--t-chip) var(--ease), border-color var(--t-chip) var(--ease),
    color var(--t-chip) var(--ease), box-shadow var(--t-chip) var(--ease);
}
.showcase-tab::after {
  /* the product's edge light, waiting under the chip */
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 3px;
  border-radius: 3px;
  background: var(--p-edge);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity var(--t-chip) var(--ease), transform 560ms var(--ease);
}
.showcase-tab:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--shell-on-dark); }
.showcase-tab:hover::after { opacity: 0.45; transform: scaleX(0.5); }
.showcase-tab[aria-selected='true'] {
  color: var(--shell-on-dark);
  background-color: var(--shell-chip);
  background-image: linear-gradient(180deg, var(--shell-chip-lit), var(--shell-chip));
  /* the whole chip rimmed in the product's edge light (3:1 on the rail and
     the lit chip: build.py SHELL_FRAME), its bar lit beneath */
  border-color: var(--p-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 16px 28px -16px rgba(0, 0, 0, 0.9);
}
.showcase-tab[aria-selected='true']::after {
  opacity: 1;
  transform: none;
  box-shadow: 0 0 12px var(--p-edge);
}
.showcase-tab[aria-selected='true'] .tab-name { font-weight: 750; }
/* the status stays a quiet line under the name */
.showcase-tab .status {
  padding: 0;
  border: 0;
  color: var(--shell-haze);
  font-size: 0.76rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-transform: none;
}
.showcase-tab[aria-selected='true'] .status { color: var(--shell-mist); }
.showcase-tab .status-mark {
  border-color: var(--p-edge);
  background: linear-gradient(90deg, var(--p-edge) 50%, transparent 50%);
}

/* identity tile: a small window onto the product's environment */
.tab-glyph, .idx-glyph {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background-color: var(--p-surface);
  background-image: radial-gradient(ellipse 110% 110% at 100% 0%, var(--p-gradient-b), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, var(--p-gradient-a), var(--p-surface) 70%);
  box-shadow: inset 0 0 0 1px var(--p-line), 0 6px 14px -8px rgba(0, 0, 0, 0.7);
  transition: box-shadow var(--t-chip) var(--ease);
}
.showcase-tab[aria-selected='true'] .tab-glyph {
  box-shadow: inset 0 0 0 1px var(--p-line), 0 0 0 2px var(--p-edge), 0 8px 18px -8px rgba(0, 0, 0, 0.8);
}
.tab-glyph img, .idx-glyph img { display: block; width: 28px; height: auto; }
.mark { display: block; width: 24px; height: 24px; }
.mark-back { fill: var(--p-soft); stroke: var(--p-line); stroke-width: 1; }
.mark-front { fill: var(--p-paper); stroke: var(--p-muted); stroke-width: 1; }
.mark-ink { fill: var(--p-text); opacity: 0.6; }
.mark-accent { fill: var(--p-accent); }
.mark-glow { fill: var(--p-glow); }
.mark-muted { fill: var(--p-muted); }
.mark-edge { fill: var(--p-edge); }

.tab-text {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-width: 0;
  /* a long name never widens the column past the chip (large text, narrow
     screens), so the status below it stays inside the chip too */
  overflow-wrap: anywhere;
}
.tab-name { font-size: 1.04rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }

.showcase-panels {
  display: grid;
  gap: 10px;
  border-radius: 24px;
  /* during a switch only: the outgoing environment's base, behind the
     incoming one while it fades in (set and cleared by assets/stage.js) */
  background-color: var(--stage-from, transparent);
}

/* The environment ---------------------------------------------------------
   One rule set for every product, driven only by its --p-* roles:
   base + two ambient light pools + its dusk; a lit rim in its edge colour;
   a light behind the media only. Composition follows the media kind. */

.stage, .page-head.product-hero {
  --ink: var(--p-text);
  --body: var(--p-text);
  --muted: var(--p-muted);
  --link: var(--p-accent);
  --link-hover: var(--p-text);
  --focus: var(--p-focus);
  --line: var(--p-line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--p-text);
  background-color: var(--p-surface);
  background-image:
    radial-gradient(ellipse 62% 78% at 100% 0%, var(--p-gradient-b), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 58% 72% at 0% 100%, var(--p-gradient-a), rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, var(--p-surface) 40%, var(--p-deep));
  box-shadow: inset 0 0 0 1px var(--p-line);
}
.stage::before, .page-head.product-hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--p-edge), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.stage {
  --stage-pad: clamp(22px, 5vw, 64px);
  display: grid;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
  padding: var(--stage-pad);
  border-radius: 24px;
  scroll-margin-top: 16px;
}
@media (min-width: 860px) {
  .stage[data-media='phone'] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .stage[data-media='window'] { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .stage[data-media='art'] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* one environment at a time: a steady stage height keeps the page from
     jumping between products */
  .showcase.is-enhanced .stage { min-height: 680px; }
}
.stage-copy { position: relative; z-index: 1; min-width: 0; }
.stage-logo {
  display: block;
  width: clamp(60px, 7vw, 84px);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}
.stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
}
.stage .status, .page-head.product-hero .status {
  border-color: var(--p-line);
  background-color: var(--p-paper);
  color: var(--p-text);
}
.name-note {
  display: inline-flex;
  padding: 2px 10px;
  border: 1px dashed var(--p-accent);
  border-radius: 999px;
  background-color: var(--p-soft);
  color: var(--p-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}
.stage-name {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--p-text);
  /* enlarged text in a narrow column: break long names at syllables */
  -webkit-hyphens: auto;
  hyphens: auto;
}
.stage-text { color: var(--p-text); max-width: 46ch; }
.product-line {
  margin-bottom: 14px;
  color: var(--p-accent, var(--shell-sky));
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.4vw, 1.6rem);
  font-style: italic;
  line-height: 1.3;
}
.stage-facts { margin: 22px 0 0; }
.stage-facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--p-line);
}
.stage-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--p-muted);
}
.stage-facts dd { margin: 0; color: var(--p-text); }
.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}
.platform-list li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.platform-name { font-weight: 600; }
.stage .button {
  background-color: var(--p-strong);
  border-color: var(--p-strong);
  color: var(--p-on-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 26px -16px var(--p-strong);
}
.stage .button:hover { background-color: var(--p-text); border-color: var(--p-text); color: var(--p-on-strong); }
.stage .button.ghost {
  background-color: transparent;
  border-color: var(--p-accent);
  color: var(--p-accent);
  box-shadow: none;
}
.stage .button.ghost:hover { background-color: var(--p-soft); color: var(--p-text); }

/* media: real screenshots in a phone or an app window, or conceptual art */
.stage-media {
  position: relative;
  z-index: 0;
  display: grid;
  justify-items: center;
  margin: 0;
  min-width: 0;
}
/* the light behind the media — never behind text */
.stage-media::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 12%;
  left: 50%;
  width: min(100%, 600px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--p-glow), rgba(255, 255, 255, 0));
  opacity: 0.72;
  pointer-events: none;
}
.stage-media figcaption {
  position: relative;
  max-width: 40ch;
  margin-top: 20px;
  padding: 5px 13px;
  border-radius: 999px;
  background-color: var(--p-paper);
  box-shadow: inset 0 0 0 1px var(--p-line);
  color: var(--p-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}

/* phone: the real device screen on warm planes */
.stage-media[data-frame='phone']::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 7%;
  left: 50%;
  width: min(74%, 300px);
  aspect-ratio: 3 / 4;
  border-radius: 44px;
  background: linear-gradient(160deg, var(--p-paper), var(--p-soft));
  box-shadow: inset 0 0 0 1px var(--p-line);
  transform: translateX(-8%) rotate(9deg);
  opacity: 0.9;
  pointer-events: none;
}
.device {
  width: clamp(196px, 18vw, 248px);
  padding: 8px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2B2536, #110D19);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 50px 80px -38px rgba(20, 12, 32, 0.5),
    0 18px 30px -20px rgba(0, 0, 0, 0.45);
}
.device img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* window: the real design preview, its edge running to the stage edge,
   over offset backdrop planes from the product's own palette */
.stage[data-media='window'] .stage-media {
  justify-items: stretch;
  margin-inline: calc(-1 * var(--stage-pad));
}
.stage[data-media='window'] .stage-media figcaption {
  justify-self: center;
  margin-inline: var(--stage-pad);
}
.stage-media[data-frame='window']::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -7%;
  left: 7%;
  right: 12%;
  height: 62%;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--p-gradient-b), var(--p-gradient-a));
  box-shadow: inset 0 1px 0 var(--p-edge);
  opacity: 0.85;
  transform: rotate(-3deg);
  pointer-events: none;
}
.window {
  padding: 5px 0;
  background-color: var(--p-paper);
  box-shadow: inset 0 0 0 1px var(--p-line), 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}
.window img { display: block; width: 100%; height: auto; }
@media (min-width: 860px) {
  .stage[data-media='window'] .stage-media { margin-inline: 0 calc(-1 * var(--stage-pad)); }
  .stage[data-media='window'] .stage-media figcaption { margin-inline: 0 var(--stage-pad); }
  .window { padding: 6px 0 6px 6px; border-radius: 16px 0 0 16px; }
  .window img { border-radius: 11px 0 0 11px; }
}

/* conceptual art: drawn into the environment itself, no card around it */
.art-stage {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
}
@media (min-width: 860px) {
  .art-stage { aspect-ratio: 1; }
}
.art { display: block; width: 100%; height: 100%; }
.art-stop-glow { stop-color: var(--p-glow); }
.art-stop-wash { stop-color: var(--p-gradient-b); }
.art-soft { fill: var(--p-soft); }
.art-wash { fill: var(--p-gradient-b); }
.art-paper { fill: var(--p-paper); }
.art-line { stroke: var(--p-line); stroke-width: 1; }
.art-ink { fill: var(--p-text); opacity: 0.2; }
.art-ink-strong { fill: var(--p-text); }
.art-accent { fill: var(--p-accent); }
.art-accent-stroke { fill: none; stroke: var(--p-accent); }
.art-strong { fill: var(--p-strong); }
.art-strong-stroke { fill: none; stroke: var(--p-strong); }
.art-edge { fill: var(--p-edge); }
.art-edge-stroke { stroke: var(--p-edge); }
.art-glow { fill: var(--p-glow); }
.art-muted { fill: var(--p-muted); }
.art-shade { fill: #000000; }
.art-light { fill: #FFFFFF; }
.art-serif { font-family: var(--serif); font-style: italic; }

/* switching: the incoming environment fades in over the outgoing base, its
   light blooms, copy and media settle a few pixels — about 0.6 s, restarted
   on every selection (the old panel is hidden at once, so clicks and keys
   act immediately). Never on first paint; none under reduced motion. */
@keyframes stage-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes stage-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes stage-media-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes stage-light-in {
  from { opacity: 0; transform: translateX(-50%) scale(0.85); }
  to { opacity: 0.72; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase[data-switched] .stage:not([hidden]) { animation: stage-in 460ms var(--ease-env) both; }
  .showcase[data-switched] .stage:not([hidden]) .stage-copy { animation: stage-copy-in 520ms var(--ease) 40ms both; }
  .showcase[data-switched] .stage:not([hidden]) .stage-media { animation: stage-media-in 600ms var(--ease) 80ms both; }
  .showcase[data-switched] .stage:not([hidden]) .stage-media::before { animation: stage-light-in 680ms var(--ease-env) both; }
}

/* Product detail page: the product's environment inside the NowGo shell -- */

.page-head.product-hero {
  margin-top: clamp(28px, 5vw, 48px);
  padding: clamp(28px, 6vw, 72px);
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--p-line), 0 50px 100px -60px rgba(0, 0, 0, 0.9);
}
.page-head.product-hero::after {
  /* light and a soft plane at the far side, clear of the copy */
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -4%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--p-glow), rgba(255, 255, 255, 0));
  opacity: 0.55;
  transform: translateY(-50%);
  pointer-events: none;
}
@media (max-width: 899px) {
  .page-head.product-hero::after { display: none; }
}
.page-head.product-hero h1 { color: var(--p-text); max-width: 16ch; }
.product-hero-mark { display: block; width: clamp(64px, 10vw, 96px); height: auto; margin-bottom: 22px; }
.product-scope .eyebrow { color: var(--p-accent); }
.page-head.product-hero .lede { color: var(--p-muted); }
.page-head.product-hero .status { letter-spacing: 0.06em; }

/* the product's reading surface: light, solid, inside the navy shell */
.product-body, .prose > .section {
  --ink: var(--shell-paper-ink);
  --body: var(--shell-paper-ink);
  --muted: var(--shell-paper-muted);
  --link: var(--shell-link);
  --link-hover: var(--shell-navy);
  --focus: var(--shell-bright);
  --line: var(--shell-paper-line);
  position: relative;
  color: var(--shell-paper-ink);
  color-scheme: light;
  background-color: var(--shell-paper);
  box-shadow: var(--shadow-paper);
}
.product-body {
  margin-top: clamp(16px, 2.5vw, 24px);
  padding: 0 clamp(22px, 5vw, 60px);
  border-radius: 28px;
}
.product-body > .section { padding: clamp(36px, 5vw, 60px) 0; }
.product-body > .section + .section { border-top: 1px solid var(--shell-paper-line); }

/* Feature list -------------------------------------------------------------- */

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px 28px;
  /* minmax(0, …): a long word in enlarged text wraps instead of widening the page */
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}
@media (min-width: 700px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}
.feature-list li {
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--shell-paper-line);
  border-left: 4px solid var(--p-accent, var(--shell-corporate));
  border-radius: var(--radius-m);
  background-color: #FFFFFF;
}
.feature-list li:nth-child(even) { border-left-color: var(--p-glow, var(--shell-bright)); }
.feature-list strong { display: block; font-weight: 650; }
.feature-list span { color: var(--shell-paper-muted); font-size: 0.95rem; }

/* Screenshot gallery -------------------------------------------------------- */

.gallery {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  margin: 28px 0 12px;
}
.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--shell-paper-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(14, 26, 51, 0.06), 0 18px 30px -22px rgba(14, 26, 51, 0.4);
}
.gallery figcaption {
  font-size: 0.86rem;
  color: var(--shell-paper-muted);
  margin-top: 10px;
}
.gallery-note {
  font-size: 0.92rem;
  color: var(--shell-paper-muted);
  border-left: 3px solid var(--p-glow, var(--shell-bright));
  padding-left: 16px;
}

/* Contact form ---------------------------------------------------------------- */

.contact-form {
  max-width: var(--measure);
  margin: 6px 0 36px;
}
.form-hint, .field-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 6px 0 0;
}
.contact-form .form-hint { margin: 0 0 24px; }
.field { margin: 0 0 24px; }
.field label, .field .field-label {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin: 0 0 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 34rem;
  padding: 11px 14px;
  border: 1px solid var(--shell-control-line);
  border-radius: var(--radius-m);
  background: #FFFFFF;
  color: var(--shell-paper-ink);
  font: inherit;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--shell-paper-muted); }
.field textarea { max-width: none; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--shell-corporate);
}
.field-invalid input, .field-invalid select, .field-invalid textarea {
  border-color: var(--shell-error);
  border-width: 2px;
}
.field-error {
  color: var(--shell-error);
  font-weight: 650;
  font-size: 0.95rem;
  margin: 6px 0 0;
}
.form-errors {
  max-width: var(--measure);
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid #F1C9C3;
  border-left: 4px solid var(--shell-error);
  border-radius: var(--radius-m);
  background: var(--shell-error-surface);
  color: var(--shell-paper-ink);
}
.form-errors-title { font-size: 1.1rem; margin: 0 0 0.5em; }
.form-errors ul { margin: 0; }
.form-errors a { color: var(--shell-error); }
.form-success {
  max-width: var(--measure);
  padding: 20px 24px;
  border: 1px solid var(--shell-paper-line);
  border-left: 4px solid var(--shell-bright);
  border-radius: var(--radius-m);
  background: var(--shell-paper-tint);
}
.form-success h2 { margin-top: 0; }
.captcha-field .cf-turnstile { min-height: 65px; }
/* Honeypot: off-screen and inert — never seen, focused or announced. */
.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form button[disabled] { opacity: 0.7; cursor: default; }
.prose .button, .product-body .button {
  background-color: var(--shell-corporate);
  border-color: var(--shell-corporate);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 22px -14px rgba(0, 76, 131, 0.8);
}
.prose .button:hover, .product-body .button:hover { background-color: var(--shell-navy); border-color: var(--shell-navy); }

/* Long-form pages (policies, support, about, contact): the title on the
   canvas, the text on a solid light reading surface */

.page-head { padding: clamp(48px, 8vw, 104px) 0 0; }
.page-head h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); letter-spacing: -0.04em; }
.page-head .lede { margin-bottom: 0; color: var(--shell-mist); }
.page-head .page-note { margin: 18px 0 0; }
.policy-meta { color: var(--muted); font-size: 0.95rem; }

.wrap.prose { width: min(100% - 2rem, 56rem); }
@media (min-width: 640px) {
  .wrap.prose { width: min(100% - 3rem, 56rem); }
}
.prose > .section {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 5.5vw, 60px);
  border-radius: 28px;
}
.prose > .section::before {
  /* a fine lit edge where the paper meets the canvas */
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0), rgba(142, 197, 255, 0.95), rgba(142, 197, 255, 0));
}
.prose > .section > :first-child { margin-top: 0; }
.prose > .section > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2em; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.prose h3 { margin-top: 1.6em; }

.note {
  max-width: var(--measure);
  padding: 16px 20px;
  border: 1px solid var(--shell-paper-line);
  border-left: 4px solid var(--shell-bright);
  border-radius: var(--radius-m);
  background: var(--shell-paper-tint);
}

dl.contact-lines { max-width: var(--measure); margin: 0 0 1em; }
dl.contact-lines dt { color: var(--ink); font-weight: 650; margin-top: 1em; }
dl.contact-lines dd { margin: 0.15em 0 0; }

/* Footer: the deepest ink, a lit horizon, the company's signature ------------ */

.site-footer {
  --focus: var(--shell-sky);
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(52px, 7vw, 88px) 0 36px;
  color: var(--shell-mist);
  background-color: var(--shell-abyss);
  background-image:
    radial-gradient(ellipse 55% 110% at 12% 0%, rgba(0, 76, 131, 0.3), rgba(0, 76, 131, 0) 70%),
    linear-gradient(180deg, #070C34, var(--shell-abyss) 70%);
  font-size: 0.95rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 197, 255, 0), rgba(142, 197, 255, 0.55) 25%, rgba(142, 197, 255, 0.2) 75%, rgba(142, 197, 255, 0));
}
.site-footer .cols {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) {
  .site-footer .cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
}
.site-footer .brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.site-footer .brand-tile { width: 40px; height: 40px; border-radius: var(--radius-m); }
.footer-tagline {
  margin: 0 0 10px;
  color: var(--shell-on-dark);
  font-family: var(--display);
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.045em;
}
.footer-descriptor { margin: 0; color: var(--shell-haze); }
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
  gap: 0 24px;
  max-width: none;
}
.site-footer nav li { margin: 0; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.site-footer nav a:hover { color: var(--shell-sky); }
.site-footer .legal {
  max-width: none;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--shell-hairline);
  color: var(--shell-haze);
}

/* 404 -------------------------------------------------------------------------- */

.notfound { padding-top: clamp(48px, 10vw, 112px); }
.notfound h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); letter-spacing: -0.04em; }

/* Preferences, fallbacks, print --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background-color: var(--shell-rail); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-atmos, .hero-studio::before, .hero-studio::after, .hero-core::after { display: none; }
}
@media (forced-colors: active) {
  .site-header { background: Canvas; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* system colours replace the palette: drop the painted light too */
  body, .showcase, .showcase-tab, .stage, .page-head.product-hero, .hero-index a, .company-contact,
  .tab-glyph, .idx-glyph, .site-footer { background-image: none; }
  .hero-atmos, .hero-studio::before, .hero-studio::after, .hero-core::after, .showcase-tab::after,
  .site-header ul a[aria-current]::after { display: none; }
  .site-header ul a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
  .showcase, .showcase-tabs, .showcase-tab, .stage, .hero-index a, .company-contact, .status,
  .product-hero, .product-body, .prose > .section { border: 1px solid CanvasText; }
  /* selection is a heavier border (padding keeps the content in place), so
     the outline stays free for :focus-visible and focus is always visible */
  .showcase-tab[aria-selected='true'] { border: 3px solid Highlight; padding: 10px 14px 12px 10px; }
  /* in-between colours are not system colours (they render as LinkText), so
     switch tabs instantly and let CanvasText/Highlight apply at once */
  .showcase-tab { transition: none; }
  .status-mark { forced-color-adjust: none; }
}
@media print {
  html, body { background: #fff; color: #000; }
  .site-header, .site-footer, .skip, .showcase-nav, .hero-studio, .hero-atmos { display: none; }
  .showcase.is-enhanced .stage[hidden] { display: grid !important; }
  .hero h1, .page-head h1, h2, h3 { color: #000; }
}
