/* ============================================================================
   Synafe — company site styles (synafe.com)
   Liquid-glass aesthetic, DEEP / LUMINOUS / cyan-violet-pink led. Hand-written
   CSS: no framework, no build step, no external fonts, no CDN.

   Palette provenance
     Every colour token in §01 is lifted from the live synafe.com stylesheet
     (https://synafe.com/styles.css) rather than invented, or derived by
     inverting the previous light skin. The live site's character is a
     near-black canvas lit by cyan / pink / violet blooms, glass that reads as
     LIT (low-alpha white film + a bright 1px edge) rather than frosted, and a
     primary button that is DARK INK on a bright gradient — not white on violet.

   Layout of this file
     01  Design tokens + @property registrations
     02  Reset / base / typography
     03  Atmosphere layers (aurora, spark field, grain, cursor glow)
     04  Motion system (reveal, stagger, reduced-motion master switch)
     05  Primitives (glass, pointer-light, conic border, buttons, pills)
     06  Header / nav / scroll progress
     07  Hero + prism stage + capability marquee
     08  Products (portfolio grid — built to hold more than one)
     09  Product deep-dive (features, windows/mockups, quote)
     10  Platform / approach
     11  CTA band
     12  Footer
     13  Contact page
     14  Responsive
   ========================================================================== */

/* ── 01 · Design tokens ─────────────────────────────────────────────────── */
@font-face {
  font-family: "Inter var";
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  src: local("Inter"), local("Inter var");
}

:root {
  color-scheme: dark;

  /* Background fields — live synafe.com values. --app-background is the page
     base (#080A1C, also the theme-color meta); the -deep/-mid/-warm stops are
     the live 135deg canvas ramp. */
  --app-background: #080A1C;
  --app-background-secondary: #090D24;
  --app-background-deep: #050713;
  --app-background-warm: #130C25;

  /* The three coloured blooms the live page paints over that canvas. */
  --bg-accent-1: rgba(120, 255, 241, 0.16); /* cyan   */
  --bg-accent-2: rgba(255, 93, 216, 0.17);  /* pink   */
  --bg-accent-3: rgba(122, 125, 255, 0.18); /* violet */

  /* Glass surfaces.
     On dark, glass is a LOW-ALPHA WHITE FILM over a dark plate — not an opaque
     panel. Raising these alphas greys the whole page out; what actually reads
     as a surface is --glass-border plus the inset top lip. This is the single
     biggest structural difference from the light skin, where the same
     components used 0.52–0.90 white fills. */
  --surface-subtle:  rgba(255, 255, 255, 0.045);
  --surface-default: rgba(255, 255, 255, 0.065);
  --surface-raised:  rgba(255, 255, 255, 0.085);
  --surface-overlay: rgba(10, 14, 36, 0.86);
  --surface-fallback: #0E1330;
  /* The dark plate beneath the white film on heavier cards (live: rgba(7,10,26,.5)). */
  --surface-plate: rgba(7, 10, 26, 0.5);

  /* Edges are BRIGHTER than their light-mode equivalents — on a near-black
     page a 1px rgba(255,255,255,.14) hairline is what sells "glass". */
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(120, 255, 241, 0.28);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-inner-highlight: rgba(255, 255, 255, 0.16);
  /* The inset hairline that makes dark glass look lit from above. */
  --inset-lip: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  /* Text — live values. --text-primary is the live --ink, --text-muted the
     live --muted. --text-secondary resolves the live body colour
     rgba(236,242,255,.78) to an opaque hex so it can be measured and does not
     drift with whatever glass happens to sit behind it. */
  --text-primary:   #F7FBFF;
  --text-secondary: #C6CFE8;
  --text-muted:     #AEB7D7;
  /* Ink used ON the bright primary gradient (live: #07101c). */
  --text-on-accent: #07101C;

  /* Accent palette — live values. */
  --accent-primary:   #78FFF1;
  --accent-secondary: #7A7DFF;
  --accent-purple: #9A63FF;
  --accent-violet: #9A63FF;
  --accent-blue:   #7A7DFF;
  --accent-pink:   #FF5DD8;
  --accent-cyan:   #78FFF1;
  --accent-green:  #5EEAB0;
  --accent-orange: #FFC46B;
  --accent-gold:   #FFE88A;
  /* Ink-safe accent. This token INVERTS its light-mode role: there it was the
     darkest violet in the family (#6D28D9) so small text could sit on pale
     glass; here the readable end of the ramp is the luminous end. 16.2:1 on
     the page base. */
  --accent-ink: #78FFF1;

  /* Shadows — on dark, depth comes from blackness, not from a grey smudge. */
  --shadow-subtle:  0 2px 8px rgba(0, 0, 0, 0.34);
  --shadow-default: 0 14px 40px rgba(0, 0, 0, 0.36), 0 2px 6px rgba(0, 0, 0, 0.30);
  --shadow-raised:  0 24px 70px rgba(0, 0, 0, 0.42), 0 4px 12px rgba(0, 0, 0, 0.32);
  --shadow-overlay: 0 30px 90px rgba(0, 0, 0, 0.52), 0 10px 26px rgba(0, 0, 0, 0.38);

  --focus-ring: rgba(120, 255, 241, 0.75);
  --divider: rgba(255, 255, 255, 0.10);

  /* Radii + blur */
  --radius-small: 8px;
  --radius-control: 11px;
  --radius-card: 16px;
  --radius-panel: 22px;
  --radius-xl: 30px;
  --blur-subtle: 8px;
  --blur-default: 16px;
  --blur-raised: 24px;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Gradients.
     --grad-brand      : full ramp — DECORATIVE ONLY (never under text).
     --grad-brand-btn  : the live primary-button ramp. Carries DARK ink
                         (--text-on-accent); its darkest stop measures 9.4:1
                         against that ink. On this canvas a violet fill with
                         white text recedes into the page, so the light skin's
                         button is inverted rather than re-tinted.
     --grad-brand-text : the live brand-word ramp — white -> pale cyan -> pale
                         pink. Every stop is light enough to clear 4.5:1 on the
                         canvas, which is the opposite constraint to the light
                         skin (where every stop had to be DARK enough). */
  --grad-brand: linear-gradient(120deg, #78FFF1 0%, #7A7DFF 38%, #9A63FF 62%, #FF5DD8 100%);
  --grad-brand-btn: linear-gradient(135deg, #76FFF2 0%, #F9FBFF 45%, #FF90E4 100%);
  --grad-brand-text: linear-gradient(100deg, #FFFFFF 0%, #C8FFF9 45%, #FCB4EC 100%);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Live values written by JS (pointer light, parallax). */
  --sy: 0px;
}

/* Animatable custom properties — these are what make the conic borders and the
   pointer light interpolate smoothly instead of snapping. */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --lit-alpha {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

/* ── 02 · Reset / base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  /* Painted so an over-scroll bounce never flashes white. */
  background: var(--app-background);
}

body {
  margin: 0;
  font-family: "Inter var", Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--app-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Painted background fields — the live canvas: three coloured blooms over a
   135deg near-black ramp. */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -6;
  background:
    radial-gradient(circle at 16% 10%, var(--bg-accent-1), transparent 28rem),
    radial-gradient(circle at 86% 12%, var(--bg-accent-2), transparent 30rem),
    radial-gradient(circle at 50% 86%, var(--bg-accent-3), transparent 34rem),
    linear-gradient(135deg,
      var(--app-background-deep) 0%,
      var(--app-background-secondary) 42%,
      var(--app-background-warm) 100%);
  pointer-events: none;
}

/* The faint 64px technical grid the live site rules over its canvas, faded out
   radially so it never competes with the copy. Purely additive light — it has
   no light-skin equivalent because ruled lines on a pale page read as a table. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 20%, #000, transparent 75%);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-secondary); }

::selection { background: rgba(120, 255, 241, 0.25); color: #FFFFFF; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-small);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--surface-overlay);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-raised);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(56px, 9vw, 104px); }
.section-head { max-width: 660px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.08rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 12px;
}

.gradient-text {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── 03 · Atmosphere layers ─────────────────────────────────────────────── */
/* Slow aurora fields drifting behind the glass. Pure transform animation on
   composited layers — no layout, no paint per frame. */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.45;
  will-change: transform;
}
.aurora-1 {
  width: 46vmax; height: 46vmax;
  top: -14vmax; left: -10vmax;
  background: radial-gradient(circle at 40% 40%, rgba(120, 255, 241, 0.34), rgba(120, 255, 241, 0) 68%);
  animation: drift-a 34s var(--ease-out) infinite alternate;
}
.aurora-2 {
  width: 40vmax; height: 40vmax;
  top: 6vmax; right: -12vmax;
  background: radial-gradient(circle at 55% 45%, rgba(255, 93, 216, 0.28), rgba(255, 93, 216, 0) 68%);
  animation: drift-b 44s var(--ease-out) infinite alternate;
}
.aurora-3 {
  width: 44vmax; height: 44vmax;
  bottom: -18vmax; left: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(154, 99, 255, 0.26), rgba(154, 99, 255, 0) 68%);
  animation: drift-c 52s var(--ease-out) infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(14vmax, 8vmax, 0) scale(1.18); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-12vmax, 12vmax, 0) scale(0.92); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to   { transform: translate3d(10vmax, -10vmax, 0) scale(1.15); }
}

/* Film grain — one inlined SVG turbulence tile, static, costs nothing.
   On dark it must SCREEN (add light); the light skin's `multiply` would be
   invisible against a near-black canvas and would only mud the accents. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* A soft light that trails the pointer across the whole page. Cyan/violet per
   the live site — the light skin's white glow just looks like a smudge here. */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  margin: -190px 0 0 -190px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(120, 255, 241, 0.16) 0%, rgba(154, 99, 255, 0.08) 42%, rgba(154, 99, 255, 0) 70%);
  transition: opacity 0.6s ease;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* ── 04 · Motion system ─────────────────────────────────────────────────── */
/* Reveals only apply once JS has confirmed it is running (html.js), so the page
   is fully readable with JS disabled or still loading. */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* THE reduced-motion switch. Not "shorter" — off. Every decorative animation,
   transition and transform-in is removed, and the JS side (main.js) refuses to
   start the spark field, tilt, magnetics, parallax and cursor glow. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .aurora { animation: none !important; }
  .cursor-glow, .scroll-progress, .marquee { display: none !important; }
  .prism-stage, .hero-visual .float-card { transform: none !important; }
  .spark-field { display: none !important; }
}

/* ── 05 · Primitives ────────────────────────────────────────────────────── */
/* The canonical dark glass recipe, matching the live site's .glass-card: a
   top-lit white film + a cyan bloom in the top-left corner, over a dark plate,
   with a bright hairline border and an inset top lip. */
.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top left, rgba(120, 255, 241, 0.09), transparent 35%),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-default), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-default)) saturate(140%);
  backdrop-filter: blur(var(--blur-default)) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav, .window, .product-card, .cta-inner, .form-card, .pricing-card {
    background: var(--surface-fallback);
  }
}

/* Pointer-reactive glass: a sheen inside the surface and a light that runs
   along the 1px border, both driven by --mx/--my written from a rAF loop. */
.lit { position: relative; isolation: isolate; }
.lit::before,
.lit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
/* Inner sheen — z-index:-1 keeps it above the card's own background but under
   its text, so nothing is ever washed out or made harder to read. On dark this
   ADDS a small amount of light; at the light skin's alphas (0.9 white) it would
   blow the card out to grey. */
.lit::after {
  z-index: -1;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.10) 0%,
    rgba(120, 255, 241, 0.07) 38%,
    rgba(120, 255, 241, 0) 72%
  );
}
/* Border light — a 1px ring cut out of a radial gradient with a mask */
.lit::before {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 0%),
    rgba(120, 255, 241, 0.95) 0%,
    rgba(154, 99, 255, 0.55) 45%,
    rgba(154, 99, 255, 0) 72%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.lit:hover::before, .lit:hover::after,
.lit:focus-within::before, .lit:focus-within::after { opacity: 1; }

/* Rotating conic border — the "how did they do that" edge on the flagship
   product card and the CTA band. Animating a registered @property is
   GPU-friendly and never touches layout. Rendered on its own <span class="edge">
   so it can coexist with the pointer-light pseudo-elements above. */
.conic-edge { position: relative; }
.conic-edge > .edge {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--angle),
    rgba(120, 255, 241, 0.95),
    rgba(122, 125, 255, 0.80) 22%,
    rgba(154, 99, 255, 0.70) 42%,
    rgba(255, 93, 216, 0.85) 65%,
    rgba(120, 255, 241, 0.95) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spin-angle 9s linear infinite;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}
@keyframes spin-angle { to { --angle: 360deg; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.25s ease,
    background 0.25s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translate3d(0, 1px, 0) scale(0.99); }

/* DARK ink on a bright gradient — the live site's primary, and the single
   loudest character marker of that design. The light skin's white-on-violet
   would recede into this canvas instead of leading it. */
.btn-primary {
  color: var(--text-on-accent);
  background: var(--grad-brand-btn);
  background-size: 180% 180%;
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 48px rgba(120, 255, 241, 0.18),
    0 12px 42px rgba(255, 93, 216, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow:
    0 22px 60px rgba(120, 255, 241, 0.28),
    0 16px 52px rgba(255, 93, 216, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-subtle));
  backdrop-filter: blur(var(--blur-subtle));
}
.btn-ghost:hover {
  background: rgba(120, 255, 241, 0.09);
  border-color: rgba(120, 255, 241, 0.36);
  box-shadow: var(--shadow-default);
}

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: rgba(120, 255, 241, 0.075);
  border: 1px solid var(--glass-border-strong);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 30px rgba(120, 255, 241, 0.08);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-cyan);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 16px var(--accent-cyan), 0 0 0 0 rgba(120, 255, 241, 0.5); }
  55%      { box-shadow: 0 0 16px var(--accent-cyan), 0 0 0 7px rgba(120, 255, 241, 0); }
}

/* ── 06 · Header / nav ──────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-panel);
  background: rgba(8, 11, 31, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.25s ease;
}
.site-header.is-elevated .nav {
  background: rgba(8, 11, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.21);
  box-shadow: var(--shadow-raised);
}

/* Scroll progress — pure CSS scroll-driven animation where supported, hidden
   entirely where it is not (and under reduced motion). No JS, no scroll handler. */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block;
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 60;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: var(--grad-brand);
    animation: progress-grow linear;
    animation-timeline: scroll(root block);
  }
  @keyframes progress-grow { to { transform: scaleX(1); } }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.brand:hover { text-decoration: none; }
/* ── The Synafe mark on a DARK page ─────────────────────────────────────────
   The canonical mark is already a dark rounded tile with its own internal
   bloom and fully transparent corners. On this canvas it belongs natively, so
   every piece of scaffolding the light skin needed is GONE: no white plinth,
   no violet drop-shadow trying to lift a dark chip off a pale page.

   Two rules carry over unchanged because they are about the ARTWORK, not the
   background: still no border-radius (the tile is already rounded — a radius
   would only clip its glow) and still no box-shadow (that traces the square
   element box and would print a hard rectangle around a rounded mark). What is
   left is one cyan bloom — the live site's own
   drop-shadow(0 10px 22px rgba(120,255,241,.22)) — so the mark reads as
   EMITTING light into the page. Height stays auto: the source is 446x450. */
.brand-mark {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(120, 255, 241, 0.22));
  transition: transform 0.5s var(--ease-spring), filter 0.4s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.07);
  filter:
    drop-shadow(0 10px 24px rgba(120, 255, 241, 0.34))
    drop-shadow(0 0 12px rgba(255, 93, 216, 0.24));
}
/* The live site sets its wordmark in the same white -> cyan -> pink ramp. */
.brand .brand-word {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .brand-sub { font-weight: 500; color: var(--text-muted); font-size: 0.98rem; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a.navlink {
  position: relative;
  color: rgba(247, 251, 255, 0.78);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a.navlink::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a.navlink:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
}
.nav-links a.navlink:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-small);
  padding: 9px 11px;
  cursor: pointer;
  color: var(--text-primary);
}

/* ── 07 · Hero ──────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(36px, 6vw, 68px); padding-bottom: clamp(28px, 5vw, 56px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 18px; text-wrap: balance; }
.hero-copy .lead { font-size: clamp(1.05rem, 2vw, 1.26rem); color: var(--text-secondary); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 0.92rem; color: var(--text-muted); }
.hero-note strong { color: var(--text-secondary); }

/* Signal row under the hero copy */
.signal-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 26px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.signal-row div { display: grid; gap: 2px; }
.signal-row strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.signal-row span { font-size: 0.84rem; color: var(--text-muted); }

/* ── Prism stage — the living hero object ───────────────────────────────── */
.hero-visual { position: relative; }
.prism-stage {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  /* Pointer tilt (--tx/--ty) + clamped scroll parallax, both transform-only. */
  transform:
    perspective(1100px)
    rotateX(var(--tx, 0deg))
    rotateY(var(--ty, 0deg))
    translate3d(0, max(-46px, calc(var(--sy) * -0.06)), 0);
  will-change: transform;
}
.spark-field {
  position: absolute;
  inset: -6%;
  width: 112%; height: 112%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.orbits {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  perspective: 900px;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.ring-1 {
  width: 72%; height: 72%;
  background: conic-gradient(from 0deg, rgba(120, 255, 241, 0) 0%, rgba(120, 255, 241, 0.95) 22%, rgba(122, 125, 255, 0.8) 38%, rgba(120, 255, 241, 0) 62%);
  animation: ring-a 18s linear infinite;
}
.ring-2 {
  width: 56%; height: 56%;
  background: conic-gradient(from 180deg, rgba(255, 93, 216, 0) 0%, rgba(255, 93, 216, 0.85) 26%, rgba(154, 99, 255, 0.75) 44%, rgba(255, 93, 216, 0) 66%);
  animation: ring-b 13s linear infinite reverse;
}
.ring-3 {
  width: 84%; height: 84%;
  background: conic-gradient(from 90deg, rgba(255, 232, 138, 0) 0%, rgba(255, 232, 138, 0.55) 18%, rgba(120, 255, 241, 0.6) 34%, rgba(255, 232, 138, 0) 55%);
  animation: ring-c 26s linear infinite;
}
@keyframes ring-a {
  from { transform: rotateX(66deg) rotateZ(0deg); }
  to   { transform: rotateX(66deg) rotateZ(360deg); }
}
@keyframes ring-b {
  from { transform: rotateY(70deg) rotateZ(0deg); }
  to   { transform: rotateY(70deg) rotateZ(360deg); }
}
@keyframes ring-c {
  from { transform: rotateX(24deg) rotateY(18deg) rotateZ(0deg); }
  to   { transform: rotateX(24deg) rotateY(18deg) rotateZ(360deg); }
}

.prism-core {
  position: relative;
  z-index: 2;
  width: 42%;
  display: grid;
  place-items: center;
  animation: float-core 7s ease-in-out infinite alternate;
}
/* Same reasoning at hero size: alpha-aware shadow, no radius, no box-shadow —
   and on dark, no white plinth at all. A violet bloom in the mark's own family
   is the whole treatment (live: drop-shadow(0 30px 70px rgba(122,125,255,.38))). */
.prism-core img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(122, 125, 255, 0.38));
}
/* ONE halo now, not two. The light skin needed a soft white plinth
   (.prism-core::after) to lift the dark chip off a pale page; on this canvas
   that same plinth reads as a spotlight switched on behind the logo, so it is
   deliberately removed. What remains is the slowly rotating conic bloom in the
   mark's own cyan / violet / pink, so the surrounding light looks like it is
   coming from the S. */
.prism-core::before {
  content: "";
  position: absolute;
  inset: -26%;
  border-radius: 50%;
  background: conic-gradient(from var(--angle), rgba(120, 255, 241, 0.34), rgba(154, 99, 255, 0.30), rgba(255, 93, 216, 0.28), rgba(120, 255, 241, 0.34));
  filter: blur(26px);
  animation: spin-angle 12s linear infinite;
  z-index: -1;
}
@keyframes float-core {
  from { transform: translate3d(0, -6px, 0); }
  to   { transform: translate3d(0, 8px, 0); }
}

/* Orbiting satellites */
.satellites { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sat {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
}
.sat i {
  position: absolute;
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 22px 3px currentColor;
  background: currentColor;
}
.sat-1 { color: #78FFF1; animation: orbit 15s linear infinite; }
.sat-1 i { transform: translate(150px, -150px); }
.sat-2 { color: #FF5DD8; animation: orbit 21s linear infinite reverse; }
.sat-2 i { transform: translate(-170px, 60px); width: 8px; height: 8px; }
.sat-3 { color: #FFE88A; animation: orbit 28s linear infinite; }
.sat-3 i { transform: translate(30px, 185px); width: 7px; height: 7px; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* Floating glass tiles around the stage */
.hero-visual .float-card {
  position: absolute;
  z-index: 4;
  padding: 11px 15px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(7, 10, 26, 0.62);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-default)) saturate(140%);
  backdrop-filter: blur(var(--blur-default)) saturate(140%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 62%;
}
.hero-visual .float-a { bottom: 6%; left: -2%; animation: bob 9s ease-in-out infinite alternate; }
.hero-visual .float-b { top: 4%; right: -2%; animation: bob 11s ease-in-out infinite alternate-reverse; }
.hero-visual .float-c { top: 46%; right: -4%; animation: bob 13s ease-in-out infinite alternate; }
@keyframes bob {
  from { transform: translate3d(0, -7px, 0); }
  to   { transform: translate3d(0, 9px, 0); }
}
.float-card .badge {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--text-on-accent);
  background: var(--grad-brand-btn);
  flex: none;
}

/* ── Capability marquee ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding-block: 14px;
  border-block: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
}
.marquee-track i {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  box-shadow: 0 0 18px rgba(120, 255, 241, 0.4);
  flex: none;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ── 08 · Products ──────────────────────────────────────────────────────── */
.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: stretch;
}
/* The flagship spans the full row on wide screens; additional products drop in
   as ordinary cards beside it without touching this CSS. */
.product-grid .is-flagship { grid-column: 1 / -1; }

.product-card {
  position: relative;
  display: flex;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top left, rgba(120, 255, 241, 0.09), transparent 35%),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-default), var(--inset-lip);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
  overflow: hidden;
}
.product-card:hover, .product-card:focus-within {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-overlay), var(--inset-lip);
}
.product-card.is-flagship { align-items: center; }

/* ── The warm-mark treatment on a DARK page ─────────────────────────────────
   My Activity Genie's mark is warm (gold -> coral -> pink, with a green header
   band) and this page is a cool near-black. This is the one logo that gets
   HARDER on dark rather than easier.

   On the light skin the mark sat on a near-white glass plinth. Here that exact
   plinth is the failure mode to avoid — it would be a bright rectangle punched
   into the dark, which is precisely what makes an embedded third-party logo
   look pasted on.

   The mark itself is still NEVER touched: not recoloured, not re-clipped, not
   extracted from its tile. Only the container changed. The tile is now the
   page's own dark glass, and the warmth is reintroduced as a halo CLIPPED
   INSIDE it, so the warm light reads as something the logo is emitting rather
   than as a second brand colour dropped onto the page. The border picks up a
   low-alpha warm tint so the container agrees with what it holds, while the
   card's own pointer light stays cool cyan/violet — the two never argue. */
.product-mark {
  position: relative;
  flex: none;
  width: clamp(96px, 13vw, 132px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 26, 0.55);
  border: 1px solid rgba(255, 196, 130, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 30px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}
.product-mark::before {
  /* Warm halo, clipped inside the tile. */
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 149, 110, 0.30) 0%, rgba(255, 200, 87, 0.16) 45%, rgba(255, 200, 87, 0) 72%);
  filter: blur(16px);
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
  opacity: 0.9;
}
.product-card:hover .product-mark::before { opacity: 1; transform: scale(1.08); }
/* A warm bloom that follows the ARTWORK's alpha and spills past the tile edge,
   so the boundary between warm mark and cold page is a gradient, not a cut.
   The light skin used border-radius here to round the raster's corners; the
   mark's own corners are transparent, so on dark it is left alone. */
.product-mark img {
  width: 100%;
  filter: drop-shadow(0 10px 26px rgba(255, 149, 110, 0.28));
}

.product-body { min-width: 0; }
.product-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.product-head h3 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -0.025em; }
.product-status {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
}
/* Status pills invert: the light skin used dark ink (#047857 / #6D28D9) on a
   pale tint; here it is a luminous tint on a dark wash. */
.product-status.live { color: #5EEAB0; background: rgba(94, 234, 176, 0.12); border-color: rgba(94, 234, 176, 0.42); }
.product-status.soon { color: #78FFF1; background: rgba(120, 255, 241, 0.10); border-color: rgba(120, 255, 241, 0.34); }

.product-tagline { font-size: 1.02rem; margin-bottom: 12px; max-width: 62ch; }
.product-tags { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--divider);
  padding: 5px 11px;
  border-radius: 999px;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-ink);
}
.product-link:hover { text-decoration: none; }
.product-link .arrow { transition: transform 0.35s var(--ease-spring); }
.product-card:hover .product-link .arrow { transform: translate3d(4px, 0, 0); }
/* Whole card is clickable, one focusable link (stretched-link pattern). */
.product-link::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.product-card:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.product-link:focus-visible { outline: none; }

/* Placeholder band for what comes next — keeps the section honestly a portfolio.
   When a second real product ships it becomes an ordinary .product-card and this
   band moves to the end of the list (or goes away). */
.product-card.is-next {
  grid-column: 1 / -1;
  align-items: center;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: rgba(120, 255, 241, 0.24);
  box-shadow: none;
}
.product-card.is-next:hover { transform: none; box-shadow: var(--shadow-default); }
.product-card.is-next .product-head { margin-bottom: 2px; }
.product-card.is-next .product-tagline { margin-bottom: 8px; }
.product-card.is-next .product-mark {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  width: clamp(64px, 7vw, 78px);
  border-radius: 22px;
}
.product-card.is-next .product-mark::before { display: none; }
.product-card.is-next .glyph {
  font-size: 2rem;
  line-height: 1;
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── 09 · Product deep-dive ─────────────────────────────────────────────── */
.subhead {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}
/* The small inline instance of the warm mark. Same principle as the big tile,
   minus the container: at 30px a tile would be all frame, so the bloom does the
   whole job of tying it to the page. */
.subhead img {
  width: 30px; height: 30px;
  filter: drop-shadow(0 4px 12px rgba(255, 149, 110, 0.34));
}
.subhead span { font-weight: 700; font-size: 0.95rem; color: var(--text-secondary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}
.feature {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-default), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-default)) saturate(140%);
  backdrop-filter: blur(var(--blur-default)) saturate(140%);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  border-color: rgba(120, 255, 241, 0.28);
}
.feature .ficon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #07101C;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.5s var(--ease-spring);
}
.feature:hover .ficon { transform: rotate(-6deg) scale(1.07); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 0.95rem; }
/* Icon tiles make the same inversion as the primary button: a LUMINOUS chip
   with a dark glyph. The light skin's deep-violet tiles with white glyphs read
   as holes cut in this canvas. */
.ic-v { background: linear-gradient(135deg, #9A63FF, #D8B6FF); }
.ic-b { background: linear-gradient(135deg, #7A7DFF, #9EF6FF); }
.ic-p { background: linear-gradient(135deg, #FF5DD8, #FFB0EE); }
.ic-c { background: linear-gradient(135deg, #45E4E0, #B6FFF7); }
.ic-g { background: linear-gradient(135deg, #34D399, #A7F3D0); }
.ic-o { background: linear-gradient(135deg, #F5A524, #FFE88A); }

/* Browser-frame mockup (reusable) */
.window {
  border-radius: var(--radius-panel);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 26, 0.66);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-overlay), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-raised)) saturate(140%);
  backdrop-filter: blur(var(--blur-raised)) saturate(140%);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--divider);
}
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.window-bar .dots i:nth-child(1) { background: #FF5DD8; }
.window-bar .dots i:nth-child(2) { background: #FFE88A; }
.window-bar .dots i:nth-child(3) { background: #78FFF1; }
.window-bar .url {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 5px 12px;
  text-align: center;
  border: 1px solid var(--divider);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-body { padding: 16px; }

/* Mini calendar mockup */
.mini-cal { display: grid; gap: 8px; }
.mini-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-cal-head .title { font-weight: 700; font-size: 0.95rem; }
.mini-cal-head .sub { font-size: 0.75rem; color: var(--text-muted); text-align: right; }
/* minmax(0,1fr), not 1fr: auto min-size on the day cells made this 7-column grid
   overflow its window on narrow screens. */
.mini-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mini-dow span { font-size: 0.62rem; font-weight: 700; color: var(--text-muted); text-align: center; text-transform: uppercase; overflow: hidden; }
.mini-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mini-day {
  aspect-ratio: 1 / 0.92;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--divider);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mini-day .n { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); }
.chip { height: 6px; border-radius: 4px; opacity: 0.95; transform-origin: 0 50%; }
.chip.v { background: var(--accent-violet); }
.chip.b { background: var(--accent-blue); }
.chip.p { background: var(--accent-pink); }
.chip.c { background: var(--accent-cyan); }
.chip.g { background: var(--accent-green); }
.chip.o { background: var(--accent-gold); }
/* Chips draw themselves in when the mockup scrolls into view. */
.js .window.is-visible .chip { animation: chip-in 0.5s var(--ease-out) backwards; }
.js .window .chip { animation-delay: calc(var(--ci, 0) * 26ms); }
@keyframes chip-in { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 0.95; } }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.gallery figure { margin: 0; }
.gallery figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.gallery figcaption strong { color: var(--text-secondary); display: block; font-size: 1rem; }

/* Dashboard mockup bits */
/* 96px rail, not 130px: inside a ~369px gallery column a 130px rail left the
   three stat cards 46px wide, and their 44px labels (EVENTS/BOOKED/BUDGET)
   overran the card edge. Pre-existing, but invisible while the card border was
   pale-on-pale — the bright dark-mode hairline made it obvious. */
.dash { display: grid; grid-template-columns: 96px 1fr; gap: 12px; min-height: 220px; }
.dash-rail { display: flex; flex-direction: column; gap: 9px; }
.dash-rail .r { height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--divider); }
.dash-rail .r.active { background: rgba(120, 255, 241, 0.14); border-color: var(--glass-border-strong); }
.dash-main { display: grid; gap: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-row { gap: 8px; }
.stat { padding: 10px 7px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--divider); min-width: 0; }
/* 0.56rem + no letter-spacing: sized so the longest label (BOOKED) fits the
   card's inner width at gallery column widths. Widening either would put it
   back over the edge. */
.stat .k { font-size: 0.56rem; color: var(--text-muted); font-weight: 700; white-space: nowrap; }
.stat .val { font-size: 1.3rem; font-weight: 800; }
/* Stat figures lighten: #6D28D9 / #1D4ED8 / #BE185D were tuned to sit on white. */
.stat .val.v { color: #C4B5FD; }
.stat .val.b { color: #9EF6FF; }
.stat .val.p { color: #FFB0EE; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--divider); }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--grad-brand); display: block; transform-origin: 50% 100%; }
.js .window.is-visible .bars i { animation: bar-in 0.7s var(--ease-out) backwards; }
.js .window .bars i:nth-child(1) { animation-delay: 0.05s; }
.js .window .bars i:nth-child(2) { animation-delay: 0.11s; }
.js .window .bars i:nth-child(3) { animation-delay: 0.17s; }
.js .window .bars i:nth-child(4) { animation-delay: 0.23s; }
.js .window .bars i:nth-child(5) { animation-delay: 0.29s; }
.js .window .bars i:nth-child(6) { animation-delay: 0.35s; }
.js .window .bars i:nth-child(7) { animation-delay: 0.41s; }
@keyframes bar-in { from { transform: scaleY(0.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* AI assistant mockup bits */
.chat { display: flex; flex-direction: column; gap: 11px; min-height: 220px; }
.bubble { max-width: 82%; padding: 11px 14px; border-radius: 15px; font-size: 0.85rem; line-height: 1.45; }
.bubble.user { align-self: flex-end; color: var(--text-on-accent); background: var(--grad-brand-btn); border-bottom-right-radius: 5px; font-weight: 600; }
.bubble.ai { align-self: flex-start; background: rgba(255, 255, 255, 0.055); border: 1px solid var(--divider); border-bottom-left-radius: 5px; color: var(--text-primary); }
.bubble.ai .who { font-size: 0.66rem; font-weight: 800; color: var(--accent-ink); display: flex; align-items: center; gap: 6px; margin-bottom: 5px; letter-spacing: 0.06em; }
.chat-input {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--divider);
  font-size: 0.82rem; color: var(--text-muted);
}
.chat-input .send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-brand-btn); display: grid; place-items: center; color: var(--text-on-accent); flex: none; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; background: var(--accent-cyan); vertical-align: -0.15em; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Trust band */
.trust { text-align: center; }
.trust .logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 34px; margin-top: 26px;
}
.trust .logos .plogo {
  font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 9px;
}
.trust .logos .plogo svg { color: var(--accent-ink); }
.quote {
  max-width: 720px; margin: 40px auto 0;
  padding: 30px 34px;
  border-radius: var(--radius-panel);
  font-size: 1.18rem; font-weight: 500; line-height: 1.5;
  color: var(--text-primary);
}
.quote cite { display: block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; font-style: normal; color: var(--text-muted); }

/* Pricing teaser */
.pricing-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top left, rgba(120, 255, 241, 0.09), transparent 35%),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-raised)) saturate(140%);
  backdrop-filter: blur(var(--blur-raised)) saturate(140%);
}
.pricing-card h2 { margin-bottom: 12px; }
.tier-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 28px; }
.tier {
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--divider);
  font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);
}
.tier strong { color: var(--accent-ink); }

#platform .features-grid { grid-template-columns: repeat(auto-fit, minmax(226px, 1fr)); }

/* ── 10 · Platform / approach ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-default), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-default)) saturate(140%);
  backdrop-filter: blur(var(--blur-default)) saturate(140%);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  border-color: rgba(120, 255, 241, 0.28);
}
.step .num {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900;
  color: var(--text-on-accent);
  background: var(--grad-brand-btn);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(120, 255, 241, 0.16);
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.94rem; }

/* ── 11 · CTA band ──────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(120, 255, 241, 0.18), transparent 42%),
    radial-gradient(60% 120% at 20% 90%, rgba(255, 93, 216, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--surface-plate);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-default)) saturate(140%);
  backdrop-filter: blur(var(--blur-default)) saturate(140%);
}
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ── 12 · Footer ────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.028);
  -webkit-backdrop-filter: blur(var(--blur-subtle));
  backdrop-filter: blur(var(--blur-subtle));
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  padding-block: 44px 20px;
}
.footer-brand { max-width: 310px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-secondary); font-size: 0.94rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding-block: 18px 30px;
  border-top: 1px solid var(--divider);
  font-size: 0.86rem; color: var(--text-muted);
}

/* ── 13 · Contact page ──────────────────────────────────────────────────── */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top left, rgba(120, 255, 241, 0.09), transparent 35%),
    var(--surface-plate);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-raised), var(--inset-lip);
  -webkit-backdrop-filter: blur(var(--blur-raised)) saturate(140%);
  backdrop-filter: blur(var(--blur-raised)) saturate(140%);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--text-primary); }
.field .req { color: #FF8FB0; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-control);
  /* Inputs go DARKER than their card here, where the light skin went lighter.
     A well that is brighter than its surround reads as already-filled on dark;
     the visible edge does the affordance work instead. */
  background: rgba(4, 6, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(120, 255, 241, 0.42); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(120, 255, 241, 0.32);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(174, 183, 215, 0.72); }
/* The native select popup is painted by the OS, so its options are pinned
   explicitly — color-scheme alone leaves them white-on-white on some platforms. */
.field select option { background: #0E1330; color: var(--text-primary); }

.form-status {
  margin-top: 6px;
  padding: 13px 16px;
  border-radius: var(--radius-control);
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(94, 234, 176, 0.12); border: 1px solid rgba(94, 234, 176, 0.42); color: #8FF3C8; }
.form-status.error { background: rgba(255, 107, 129, 0.12); border: 1px solid rgba(255, 107, 129, 0.42); color: #FFA8B6; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.contact-side { font-size: 0.94rem; color: var(--text-muted); margin-top: 26px; text-align: center; }
.contact-side a { font-weight: 600; }

.page-hero { text-align: center; padding-top: clamp(48px, 8vw, 88px); padding-bottom: 12px; }
.page-hero p { max-width: 54ch; margin-inline: auto; }

/* ── 14 · Responsive ────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .product-card.is-flagship { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Copy leads on narrow screens — a 400px decorative stage must not push the
     h1 below the fold. */
  .hero-visual { margin-top: 8px; }
  .hero-copy .lead { max-width: none; }
  .prism-stage { width: min(100%, 360px); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: var(--gutter); right: var(--gutter);
    top: 74px;
    margin-left: 0;
    padding: 14px;
    gap: 4px;
    border-radius: var(--radius-card);
    /* Nearly opaque on purpose: this panel is a DESCENDANT of .nav, which is
       itself a backdrop root, so its own backdrop-filter cannot blur the page
       behind it — at a glassy alpha the headline read straight through it. */
    background: rgba(8, 11, 31, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-overlay);
  }
  .nav-links.open .nav-cta { flex-direction: column; align-items: stretch; margin-top: 6px; }
  .nav-links.open .nav-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-header .container { position: relative; }
  .product-card, .product-card.is-next { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero-visual .float-card { font-size: 0.76rem; padding: 9px 12px; max-width: 70%; }
  .hero-visual .float-a { left: -1%; bottom: 2%; }
  .hero-visual .float-b { right: -1%; }
  .hero-visual .float-c { display: none; }
  .sat-1 i { transform: translate(110px, -110px); }
  .sat-2 i { transform: translate(-124px, 44px); }
  .sat-3 i { transform: translate(22px, 134px); }
  .signal-row { gap: 10px 22px; }
}

@media (max-width: 420px) {
  .brand .brand-sub { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 84px 1fr; }
  .quote { padding: 22px 20px; font-size: 1.05rem; }
  .product-mark { width: clamp(84px, 24vw, 110px); }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
/* The site is a dark canvas; paper is not. Print flips to ink-on-white instead
   of asking a printer for 90% coverage of near-black. */
@media print {
  .atmos, .grain, .cursor-glow, .scroll-progress, .spark-field, .orbits, .satellites, .marquee { display: none !important; }
  body { background: #fff; color: #10142B; }
  body::before, body::after { display: none !important; }
  h1, h2, h3, h4, p, .gradient-text, .signal-row strong, .brand .brand-word {
    color: #10142B !important;
    background: none !important;
    -webkit-text-fill-color: #10142B !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
