/* =====================================================================
   WAVEKO — Live event intelligence for the venue floor
   Design system: "floor instrument panel"
   Warm paper base · hairline grid · scarlet = the live/over-budget signal
   Type: Archivo (display) · Hanken Grotesk (body) · Space Mono (readouts)
   All visual effects are pure CSS — every page is full static HTML.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper:        #fcfbf9;   /* warm near-white base            */
  --paper-deep:   #f4f0e9;   /* warm sand, alternating bands    */
  --paper-deeper: #ece6db;   /* footer / deepest light surface  */
  --surface:      #ffffff;   /* cards                            */
  --ink:          #18140f;   /* warm near-black text             */
  --ink-soft:     #5c554c;   /* secondary text                   */
  --ink-faint:    #8c8377;   /* tertiary / captions              */
  --line:         #e7e2d9;   /* hairlines                        */
  --line-strong:  #d8d1c4;
  --signal:       #e1261c;   /* THE red — live / over budget     */
  --signal-deep:  #af1a11;   /* hover / gradient depth           */
  --signal-bright:#ff4a3d;   /* gradient highlight               */
  --signal-tint:  #fcebe9;   /* faint red wash                   */
  --go:           #1f9d6b;   /* "synced / on budget" green       */

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: clamp(1.15rem, 4vw, 2rem);

  --ff-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(24,20,15,.05), 0 2px 8px rgba(24,20,15,.04);
  --shadow-md: 0 4px 14px rgba(24,20,15,.07), 0 18px 48px rgba(24,20,15,.06);
  --shadow-lg: 0 10px 30px rgba(24,20,15,.10), 0 40px 80px rgba(24,20,15,.10);
  --shadow-signal: 0 14px 40px rgba(225,38,28,.30);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band-sand { background: var(--paper-deep); }
.divider { height: 1px; background: var(--line); border: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 8px; z-index: 200; transition: top .2s;
  font-family: var(--ff-mono); font-size: .8rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--signal);
  display: inline-block;
  transform: rotate(45deg);
  flex: none;
}
.eyebrow--plain::before { display: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.h-display {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 900;
}
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.028em; }
.h3 { font-size: 1.3rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.signal-text { color: var(--signal); }
.section-head { max-width: 60ch; }
.section-head .h2 { margin-top: 1rem; }
.section-head .lead { margin-top: 1.1rem; }
.text-center { text-align: center; }
.center-block { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --b-pad-y: .92rem; --b-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-mono);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: var(--b-pad-y) var(--b-pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --b-pad-y: .62rem; --b-pad-x: 1.05rem; font-size: .74rem; }
.btn-lg { --b-pad-y: 1.05rem; --b-pad-x: 1.9rem; font-size: .86rem; }

.btn-signal {
  background: linear-gradient(120deg, var(--signal-bright), var(--signal) 55%, var(--signal-deep));
  color: #fff;
  box-shadow: var(--shadow-signal);
}
.btn-signal:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(225,38,28,.40); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); }

.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-display); font-weight: 900; font-size: 1.32rem; letter-spacing: -.04em; }
.brand .wavemark { width: 30px; height: 30px; flex: none; }
.brand-word { display: inline-block; }
.brand-word b { color: var(--signal); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface); }
.nav-burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }

.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.6vw, 1.6rem); margin-left: auto; }
.site-nav > a:not(.btn) {
  font-family: var(--ff-mono);
  font-size: .82rem; letter-spacing: .02em;
  color: var(--ink-soft);
  padding: .35rem 0; position: relative;
  transition: color .2s;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--signal); transition: right .25s ease;
}
.site-nav > a:not(.btn):hover { color: var(--ink); }
.site-nav > a:not(.btn):hover::after { right: 0; }
.site-nav .nav-signin { color: var(--ink); font-weight: 700; }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); }

@media (max-width: 920px) {
  .nav-burger { display: flex; }
  .site-nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: .5rem var(--gutter) 1.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-nav > a:not(.btn) { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav > a:not(.btn)::after { display: none; }
  .nav-sep { display: none; }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .5;
  animation: float 16s ease-in-out infinite;
}
.hero-blob.b1 { width: 520px; height: 520px; top: -180px; right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,74,61,.42), transparent 68%); }
.hero-blob.b2 { width: 440px; height: 440px; bottom: -200px; left: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(225,38,28,.20), transparent 70%); animation-delay: -6s; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 78%);
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { margin-top: 1.5rem; max-width: 33rem; }
.hero .btn-row { margin-top: 2.1rem; }
.hero-assure { margin-top: 1.6rem; font-family: var(--ff-mono); font-size: .76rem; color: var(--ink-faint); letter-spacing: .02em; display: flex; align-items: center; gap: .55rem; }
.hero-assure .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(31,157,107,.16); }

/* staggered entrance */
.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .8s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal.d1 { animation-delay: .05s; }
.reveal.d2 { animation-delay: .15s; }
.reveal.d3 { animation-delay: .25s; }
.reveal.d4 { animation-delay: .35s; }
.reveal.d5 { animation-delay: .45s; }

/* ---------- Signal instrument (hero signature) ---------- */
.instrument {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.15rem;
  overflow: hidden;
}
.instrument::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(252,235,233,.55), transparent 40%);
  pointer-events: none;
}
.inst-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; position: relative; }
.inst-title { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5rem; }
.inst-title .live { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: pulse 1.8s ease-in-out infinite; }

.status-chip { position: relative; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .08em; padding: .34rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-grid; }
.status-chip span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.status-chip .s-offline { color: var(--signal); animation: flipA 7s ease-in-out infinite; }
.status-chip .s-synced  { color: var(--go);     animation: flipB 7s ease-in-out infinite; }
.status-chip .pip { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* waveform window */
.wave-window { position: relative; height: 96px; border-radius: 10px; background: linear-gradient(180deg, #fff, #fbf8f4); border: 1px solid var(--line); overflow: hidden; }
.wave-window .baseline { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.wave-track { position: absolute; top: 0; left: 0; height: 100%; width: 200%; animation: wavescroll 7s linear infinite; }
.wave-track svg { height: 100%; width: 50%; float: left; }
.wave-track path { fill: none; stroke: var(--signal); stroke-width: 2.4; opacity: .9; }
.wave-scan { position: absolute; top: 0; bottom: 0; width: 2px; left: 64%; background: linear-gradient(180deg, transparent, rgba(225,38,28,.5), transparent); }

/* variance readout */
.inst-rows { margin-top: .9rem; display: grid; gap: .5rem; }
.inst-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--ff-mono); font-size: .82rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); }
.inst-row:last-child { border-bottom: 0; padding-bottom: 0; }
.inst-row .k { color: var(--ink-soft); letter-spacing: .04em; }
.inst-row .v { color: var(--ink); font-weight: 700; }
.inst-row .v.over { color: var(--signal); }
.var-flare { display: inline-flex; align-items: center; gap: .35rem; }
.var-flare::before { content: "▲"; font-size: .62rem; animation: pulse 1.6s ease-in-out infinite; }
.inst-foot { margin-top: .85rem; display: flex; align-items: center; justify-content: space-between; font-family: var(--ff-mono); font-size: .68rem; color: var(--ink-faint); }
.queue-bar { position: relative; height: 5px; border-radius: 999px; background: var(--line); flex: 1; margin-left: 1rem; overflow: hidden; }
.queue-bar::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--signal-bright), var(--signal)); animation: sweep 3.4s ease-in-out infinite; }

/* =====================================================================
   STAT STRIP
   ===================================================================== */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stat { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--ff-display); font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.03em; }
.stat .num b { color: var(--signal); }
.stat .lbl { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }

/* =====================================================================
   FEATURE / MODULE CARDS
   ===================================================================== */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .tag { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: .26rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.card .tag.live { color: var(--go); border-color: color-mix(in srgb, var(--go) 40%, var(--line)); }
.card .tag.free { color: var(--signal); border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); }
.card .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--signal-tint); color: var(--signal); margin-bottom: 1.1rem; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }

/* feature with left rule list */
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.feature-list .idx { font-family: var(--ff-mono); font-size: .8rem; color: var(--signal); padding-top: .15rem; }
.feature-list h3 { margin-bottom: .35rem; }
.feature-list p { color: var(--ink-soft); }

/* =====================================================================
   STEPS  (real sequence — numbering is meaningful here)
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 2rem 1.7rem; border-right: 1px solid var(--line); background: var(--surface); }
.step:last-child { border-right: 0; }
.step .step-no { font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .12em; color: var(--signal); }
.step h3 { margin: .8rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* =====================================================================
   SPLIT / FEATURE MEDIA ROWS
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split--rev .split-media { order: -1; }
.media-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.2rem;
}
.spec-line { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--ff-mono); font-size: .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.spec-line:last-child { border-bottom: 0; }
.spec-line .k { color: var(--ink-soft); }
.spec-line .v { color: var(--ink); font-weight: 700; }

/* =====================================================================
   CTA BAND  (the one bold color moment)
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--signal-bright), var(--signal) 50%, var(--signal-deep)); color: #fff; border-radius: 22px; padding: clamp(2.5rem, 5vw, 4rem); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%); pointer-events: none; }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 46ch; margin-top: 1rem; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band .btn-paper { background: #fff; color: var(--signal-deep); }
.cta-band .btn-paper:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.cta-band .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-line:hover { border-color: #fff; background: rgba(255,255,255,.10); }
.cta-inner { position: relative; z-index: 1; }

/* =====================================================================
   PRICING
   ===================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; display: flex; flex-direction: column;
}
.price.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), var(--shadow-md); }
.price .p-name { font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.price.featured .p-name { color: var(--signal); }
.price .p-amt { font-family: var(--ff-display); font-weight: 900; font-size: 2.8rem; letter-spacing: -.03em; margin: .7rem 0 .1rem; line-height: 1; }
.price .p-amt .per { font-family: var(--ff-mono); font-size: .9rem; font-weight: 400; color: var(--ink-faint); letter-spacing: 0; }
.price .p-desc { color: var(--ink-soft); font-size: .95rem; min-height: 2.6em; }
.price ul.p-feats { margin: 1.3rem 0; display: grid; gap: .7rem; }
.price .p-feats li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; font-size: .95rem; color: var(--ink-soft); }
.price .p-feats .ck { color: var(--signal); font-weight: 700; }
.price .btn { margin-top: auto; }
.price-badge { align-self: flex-start; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; background: var(--signal); color: #fff; padding: .22rem .55rem; border-radius: 999px; margin-bottom: .8rem; }

/* =====================================================================
   TEAM
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .2s, box-shadow .25s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member .avatar { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--signal-bright), var(--signal-deep)); letter-spacing: -.02em; }
.member.lead .avatar { background: linear-gradient(135deg, #2b2620, var(--ink)); box-shadow: inset 0 0 0 2px rgba(225,38,28,.5); }
.member h3 { margin-top: 1rem; font-size: 1.18rem; }
.member .role { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-top: .25rem; }
.member p { color: var(--ink-soft); font-size: .93rem; margin-top: .7rem; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-head { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--line); }
.page-head .hero-grid { opacity: .5; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.03em; margin-top: 1rem; max-width: 18ch; }
.page-head .lead { margin-top: 1.1rem; max-width: 52ch; }
.crumbs { font-family: var(--ff-mono); font-size: .74rem; color: var(--ink-faint); letter-spacing: .04em; }
.crumbs a:hover { color: var(--signal); }

/* =====================================================================
   LEGAL / LONG-FORM
   ===================================================================== */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.legal-toc { position: sticky; top: 90px; border-left: 2px solid var(--line); padding-left: 1.1rem; }
.legal-toc .eyebrow { margin-bottom: .9rem; }
.legal-toc a { display: block; font-family: var(--ff-mono); font-size: .78rem; color: var(--ink-soft); padding: .35rem 0; transition: color .2s; }
.legal-toc a:hover { color: var(--signal); }
.legal-body h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { list-style: none; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.legal-body ul li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; }
.legal-body ul li::before { content: "▪"; color: var(--signal); }
.legal-meta { font-family: var(--ff-mono); font-size: .78rem; color: var(--ink-faint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 2rem; background: var(--surface); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card + .contact-card { margin-top: 1.1rem; }
.contact-card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--signal-tint); color: var(--signal); display: grid; place-items: center; margin-bottom: .9rem; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card a.link { color: var(--signal); font-family: var(--ff-mono); font-size: .9rem; word-break: break-word; }
.contact-card a.link:hover { text-decoration: underline; }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.field .req { color: var(--signal); }
.input, .textarea, .select {
  width: 100%; background: var(--paper); border: 1.5px solid var(--line-strong);
  border-radius: 10px; padding: .85rem .95rem; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-tint); background: #fff; }
.textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--signal); }
.check a { color: var(--signal); }
.check a:hover { text-decoration: underline; }
.form-note { font-family: var(--ff-mono); font-size: .74rem; color: var(--ink-faint); margin-top: 1rem; text-align: center; }
.form-alt { margin-top: 1.4rem; text-align: center; font-size: .95rem; color: var(--ink-soft); }
.form-alt a { color: var(--signal); font-weight: 600; }
.form-alt a:hover { text-decoration: underline; }

.sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.3rem; }
.sso-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 10px; padding: .8rem; font-family: var(--ff-mono); font-size: .8rem; cursor: pointer; transition: border-color .2s, transform .15s, background .2s; }
.sso-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.sso-btn svg { width: 18px; height: 18px; }
.or-rule { display: flex; align-items: center; gap: 1rem; color: var(--ink-faint); font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; margin-bottom: 1.3rem; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* auth split layout */
.auth { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .a-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000, transparent 80%); mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000, transparent 80%); }
.auth-aside .a-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(70px); background: radial-gradient(circle, rgba(255,74,61,.55), transparent 65%); top: -120px; right: -120px; animation: float 18s ease-in-out infinite; }
.auth-aside-inner { position: relative; z-index: 1; }
.auth-aside .brand { color: #fff; }
.auth-aside .brand .brand-word b { color: var(--signal-bright); }
.auth-aside h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-top: 2.4rem; max-width: 16ch; }
.auth-aside p { color: rgba(255,255,255,.72); margin-top: 1.1rem; max-width: 38ch; }
.auth-aside .a-points { position: relative; z-index: 1; margin-top: 2rem; display: grid; gap: .8rem; }
.auth-aside .a-points li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; font-family: var(--ff-mono); font-size: .82rem; color: rgba(255,255,255,.85); }
.auth-aside .a-points .ck { color: var(--signal-bright); }
.auth-aside .a-stat { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem; font-family: var(--ff-mono); font-size: .76rem; color: rgba(255,255,255,.6); }
.auth-aside .a-mini-instr { position: relative; z-index: 1; margin-top: 1.6rem; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 1rem; background: rgba(255,255,255,.04); }
.auth-aside .a-mini-instr .row { display: flex; justify-content: space-between; font-family: var(--ff-mono); font-size: .76rem; color: rgba(255,255,255,.8); padding: .3rem 0; }
.auth-aside .a-mini-instr .row .over { color: var(--signal-bright); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); background: var(--paper); }
.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.auth-form .sub { color: var(--ink-soft); margin: .6rem 0 1.8rem; }
.input-wrap { position: relative; }
.input-wrap .strength { height: 4px; border-radius: 999px; background: var(--line); margin-top: .55rem; overflow: hidden; }
.input-wrap .strength::after { content: ""; display: block; height: 100%; width: 66%; background: linear-gradient(90deg, var(--signal), var(--go)); border-radius: 999px; }

@media (max-width: 880px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-aside { display: none; }
  .auth-main { padding-block: clamp(2.5rem, 8vw, 4rem); }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--paper-deeper); border-top: 1px solid var(--line-strong); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-brand .brand { font-size: 1.4rem; }
.footer-brand p { color: var(--ink-soft); font-size: .94rem; margin-top: 1rem; max-width: 32ch; }
.foot-status { margin-top: 1.3rem; font-family: var(--ff-mono); font-size: .72rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: .4rem .75rem; }
.foot-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(31,157,107,.16); }
.foot-col h4 { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 1rem; }
.foot-col a { display: block; color: var(--ink-soft); font-size: .92rem; padding: .32rem 0; transition: color .2s, padding-left .2s; }
.foot-col a:hover { color: var(--signal); padding-left: 4px; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-family: var(--ff-mono); font-size: .74rem; color: var(--ink-faint); }
.footer-bottom .socials { display: flex; gap: .6rem; }
.footer-bottom .socials a { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 9px; display: grid; place-items: center; color: var(--ink-soft); transition: border-color .2s, color .2s, transform .2s; }
.footer-bottom .socials a:hover { color: var(--signal); border-color: var(--signal); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .price-grid, .team-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .statstrip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .grid-4, .statstrip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .sso-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   ANIMATIONS
   ===================================================================== */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(14px); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
@keyframes wavescroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sweep { 0% { transform: translateX(-120%); } 60%,100% { transform: translateX(330%); } }
@keyframes flipA { 0%,42% { opacity: 1; } 50%,92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes flipB { 0%,42% { opacity: 0; } 50%,92% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  /* "Reduce", not "remove": we keep small, in-place loops alive (waveform,
     equalizer, pulsing dots, variance glow) and only drop large parallax,
     drifting shapes, sweeps and positional entrances. */
  html { scroll-behavior: auto !important; }

  /* Snap one-shot / positional entrances straight to their final state */
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .cbar { animation: none !important; transform: scaleY(1) !important; }
  .cbar.over { animation: barpulse 2.6s ease-in-out infinite !important; }
  .mbar .fill { animation: none !important; width: var(--w, 70%) !important; }
  .mlist .ck { animation: none !important; transform: none !important; }
  .status-chip .s-offline { opacity: 0; }
  .status-chip .s-synced { opacity: 1; }

  /* Remove large / parallax / sweeping movement only */
  .float-shapes, .fshape, .hero-blob, .auth-aside .a-blob,
  .wave-scan, .queue-bar::after,
  .btn-signal::after, .btn-ink::after, .cta-band .btn-paper::after { animation: none !important; }
}

/* =====================================================================
   RICH HOMEPAGE MODULE  (animated shapes, console, illustrated sections)
   Added for: bigger animated hero graphic + reference-inspired sections
   ===================================================================== */

/* ---- Drifting background shapes (decorative, reduced-motion safe) ---- */
.float-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fshape { position: absolute; opacity: .55; }
.fshape.ring { border: 1.5px solid var(--line-strong); border-radius: 50%; }
.fshape.diam { border: 1.5px solid var(--line-strong); border-radius: 6px; transform: rotate(45deg); }
.fshape.dot  { background: var(--signal); border-radius: 50%; opacity: .5; box-shadow: 0 0 0 6px var(--signal-tint); }
.fshape.plus { color: var(--line-strong); }
.fshape.s1 { width: 120px; height: 120px; top: 12%; left: 6%;  animation: drift1 19s ease-in-out infinite; }
.fshape.s2 { width: 70px;  height: 70px;  top: 64%; left: 12%; animation: drift2 23s ease-in-out infinite; }
.fshape.s3 { width: 26px;  height: 26px;  top: 26%; right: 14%; animation: drift1 16s ease-in-out infinite; }
.fshape.s4 { width: 14px;  height: 14px;  top: 72%; right: 22%; animation: drift2 14s ease-in-out infinite; }
.fshape.s5 { width: 90px;  height: 90px;  bottom: 8%; right: 8%; animation: drift1 25s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(22px,-26px) rotate(8deg); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) rotate(45deg); } 50% { transform: translate(-20px,18px) rotate(54deg); } }

/* ---- BIG HERO CONSOLE (primary animated graphic) ---- */
.console { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-md); overflow: hidden; }
.console::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--signal), var(--signal-bright), var(--go)); opacity: .9; }
.console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.console-title { font-family: var(--ff-mono); font-size: .82rem; letter-spacing: .03em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .55rem; }
.console-title .live { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: pulse 2s ease-in-out infinite; }
.cbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; align-items: end; height: 130px; padding-top: 1.4rem; border-bottom: 1px solid var(--line); }
.cbar { position: relative; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--paper-deeper), var(--line-strong)); transform-origin: bottom; animation: growbar 1.1s cubic-bezier(.2,.8,.3,1) both; }
.cbar .cap { position: absolute; top: calc(100% + .3rem); left: 0; right: 0; text-align: center; font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .04em; color: var(--ink-faint); }
.cbar.go   { background: linear-gradient(180deg, color-mix(in srgb, var(--go) 45%, #fff), var(--go)); }
.cbar.over { background: linear-gradient(180deg, var(--signal-bright), var(--signal-deep)); animation: growbar 1.1s cubic-bezier(.2,.8,.3,1) both, barpulse 2.6s 1.2s ease-in-out infinite; }
.cbar .flag { position: absolute; top: -1.45rem; left: 50%; transform: translateX(-50%); font-family: var(--ff-mono); font-size: .56rem; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--signal); padding: .12rem .4rem; border-radius: 5px; white-space: nowrap; box-shadow: 0 4px 12px rgba(225,38,28,.35); }
@keyframes growbar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes barpulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.2); } }
.console-readout { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 2rem; }
.console-readout .vlabel { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .1em; color: var(--ink-faint); }
.bigvar { font-family: var(--ff-display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.03em; color: var(--signal); line-height: 1; margin-top: .2rem; animation: flare2 3.2s ease-in-out infinite; }
@keyframes flare2 { 0%,100% { text-shadow: 0 0 0 rgba(225,38,28,0); } 50% { text-shadow: 0 0 24px rgba(225,38,28,.4); } }
.console-mini { font-family: var(--ff-mono); font-size: .74rem; color: var(--ink-soft); text-align: right; line-height: 1.7; }
.console-sync { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; font-family: var(--ff-mono); font-size: .72rem; color: var(--ink-soft); }
.console-sync .ok { color: var(--go); }

/* ---- Shared mini-mockup primitives (used by benefit + flow sections) ---- */
.viz-panel { position: relative; border-radius: 16px; padding: 1.3rem; overflow: hidden; }
.viz-panel.t-signal { background: linear-gradient(150deg, var(--signal-tint), #fff 60%, var(--signal-tint)); }
.viz-panel.t-sand   { background: linear-gradient(150deg, var(--paper-deep), var(--paper-deeper)); }
.viz-panel.t-ink    { background: linear-gradient(150deg, #241f19, var(--ink)); }
.viz-panel.t-go     { background: linear-gradient(150deg, color-mix(in srgb, var(--go) 16%, #fff), color-mix(in srgb, var(--go) 7%, #fff)); }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; box-shadow: 0 10px 26px rgba(24,20,15,.10); }
.mcard-h { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .9rem; }
.mcard-h .mtag { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .08em; color: var(--go); display: inline-flex; align-items: center; gap: .35rem; }
.mcard-h .mtag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--go); }
.mrow { font-family: var(--ff-mono); font-size: .72rem; color: var(--ink-soft); margin: .55rem 0 .3rem; display: flex; justify-content: space-between; }
.mbar { height: 7px; border-radius: 999px; background: rgba(24,20,15,.08); overflow: hidden; }
.mbar .fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--signal-deep), var(--signal-bright)); animation: fillbar 1.5s cubic-bezier(.2,.8,.3,1) forwards; }
.mbar .fill.go { background: linear-gradient(90deg, var(--go), #2bd39a); }
@keyframes fillbar { to { width: var(--w, 70%); } }
.mlist { display: grid; gap: .65rem; margin: 0; }
.mlist li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: center; font-size: .88rem; color: var(--ink-soft); }
.mlist li::before { display: none; }
.mlist .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--go); color: #fff; display: grid; place-items: center; font-size: .68rem; font-weight: 700; animation: popck .5s both; }
.mlist li:nth-child(1) .ck { animation-delay: .15s; } .mlist li:nth-child(2) .ck { animation-delay: .35s; }
.mlist li:nth-child(3) .ck { animation-delay: .55s; } .mlist li:nth-child(4) .ck { animation-delay: .75s; }
@keyframes popck { from { transform: scale(0); } 70% { transform: scale(1.18); } to { transform: scale(1); } }
.mform { display: grid; gap: .7rem; }
.mfield { display: grid; gap: .3rem; }
.mfield .lab { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.mfield .box { border: 1px solid var(--line-strong); border-radius: 8px; padding: .55rem .7rem; font-family: var(--ff-mono); font-size: .78rem; color: var(--ink); background: var(--paper); }
.mfield .box.amt { color: var(--ink); font-weight: 700; }
.mstat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .2rem; }
.mstat { border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; background: var(--paper); }
.mstat .n { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }
.mstat .n.sig { color: var(--signal); }
.mstat .l { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-top: .15rem; }
.mbtn { margin-top: .2rem; display: inline-flex; align-items: center; gap: .5rem; background: var(--signal); color: #fff; font-family: var(--ff-mono); font-size: .78rem; padding: .65rem 1rem; border-radius: 9px; font-weight: 700; box-shadow: 0 10px 24px rgba(225,38,28,.32); }
.mbtn .rk { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0);} 50% { transform: translateX(3px);} }

/* ---- BENEFIT CARDS (Image 1 style) ---- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-top { padding: 1.6rem 1.6rem 1.4rem; }
.benefit-top h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.benefit-top p { color: var(--ink-soft); margin-top: .6rem; font-size: .97rem; }
.benefit-viz { margin: 0 .9rem .9rem; }

/* ---- FLOW / STEP CARDS (Image 3 style) ---- */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.flow-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.flow-top { padding: 1.6rem 1.6rem 1.3rem; }
.flow-no { font-family: var(--ff-display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--line-strong); }
.flow-top h3 { font-size: 1.3rem; margin-top: .5rem; }
.flow-top .tag-step { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.flow-top p { color: var(--ink-soft); margin-top: .55rem; font-size: .96rem; }
.flow-viz { margin: 0 .9rem .9rem; }

/* ---- PROBLEM WARNING GRID (Image 2 style) ---- */
.problem2 { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.warn-stage { position: relative; border-radius: 24px; padding: clamp(1.1rem, 2.5vw, 1.6rem); background: radial-gradient(120% 120% at 80% 10%, var(--signal-tint), transparent 55%), linear-gradient(150deg, var(--paper-deep), var(--paper-deeper)); border: 1px solid var(--line); }
.warn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.warn { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: 14px; padding: 1.05rem 1.15rem; display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.warn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.warn.full { grid-column: 1 / -1; }
.warn-ic { width: 27px; height: 27px; border-radius: 50%; background: var(--signal-tint); color: var(--signal); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.warn p { color: var(--ink); font-size: .95rem; line-height: 1.45; }

/* ---- USE-CASE ILLUSTRATION CARDS (Image 5 style) ---- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.usecase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.usecase:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.usecase-art { position: relative; height: 188px; border-bottom: 1px solid var(--line); overflow: hidden; display: block; }
.usecase-art svg { width: 100%; height: 100%; display: block; }
.usecase-body { padding: 1.5rem; }
.usecase-body .eyebrow { margin-bottom: .6rem; }
.usecase-body h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.usecase-meta { font-family: var(--ff-mono); font-size: .76rem; color: var(--ink-faint); margin: .45rem 0 .8rem; display: flex; align-items: center; gap: .4rem; }
.usecase-body > p { color: var(--ink-soft); font-size: .95rem; }
.usecase-stats { display: flex; gap: 1.6rem; border-top: 1px dashed var(--line); margin-top: 1.1rem; padding-top: 1.1rem; }
.usecase-stats b { font-family: var(--ff-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--signal); display: block; line-height: 1; }
.usecase-stats span { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .03em; color: var(--ink-soft); display: block; margin-top: .35rem; }

/* ---- ILLUSTRATED STAT BAND (Image 4 style) ---- */
.trust-head { text-align: center; max-width: 22ch; margin: 0 auto; }
.trust-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.028em; }
.trust-head .sig { color: var(--signal); display: block; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.6rem; }
.tstat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; transition: transform .25s, box-shadow .25s; }
.tstat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tstat-art { height: 124px; border-radius: 14px; overflow: hidden; margin-bottom: 1.1rem; }
.tstat-art svg { width: 100%; height: 100%; display: block; }
.tstat-num { font-family: var(--ff-display); font-weight: 900; font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: -.03em; color: var(--signal); line-height: 1; }
.tstat-lbl { color: var(--ink-soft); font-size: .93rem; margin-top: .45rem; }

/* ---- TESTIMONIAL QUOTES ---- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.quote .stars { color: var(--signal); letter-spacing: 3px; font-size: .85rem; }
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.55; margin-top: .8rem; }
.quote .who { margin-top: auto; padding-top: 1.2rem; font-family: var(--ff-mono); font-size: .75rem; color: var(--ink-soft); }
.quote .who b { color: var(--ink); font-weight: 700; display: block; }

/* ---- RESPONSIVE for rich module ---- */
@media (max-width: 1000px) {
  .benefit-grid, .flow-grid, .usecase-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .problem2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .benefit-grid, .flow-grid, .usecase-grid, .quote-grid, .trust-grid, .warn-grid { grid-template-columns: 1fr; }
  .warn.full { grid-column: auto; }
  .cbars { height: 110px; }
  .float-shapes { display: none; }
}

/* ---- SVG illustration accent utilities (reduced-motion safe via global rule) ---- */
.svg-pulse { animation: svgpulse 2.2s ease-in-out infinite; }
@keyframes svgpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.svg-lift { transform-box: fill-box; transform-origin: center; animation: svglift 3.4s ease-in-out infinite; }
@keyframes svglift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.svg-grow { transform-box: fill-box; transform-origin: bottom; animation: svggrow 2.8s ease-in-out infinite; }
@keyframes svggrow { 0%,100% { transform: scaleY(.7); } 50% { transform: scaleY(1); } }

/* =====================================================================
   POLISH & MICRO-INTERACTIONS  (sitewide finishing touches)
   Subtle, modern, on-brand. Keyed to existing components so every page
   inherits them. All reduced-motion-safe via the global block above.
   ===================================================================== */

/* Premium text selection + thin "instrument" scrollbar */
::selection { background: var(--signal); color: #fff; }
::-moz-selection { background: var(--signal); color: #fff; }
html { scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--paper-deep); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--signal); }

/* Anchored sections clear the sticky header when jumped to */
[id] { scroll-margin-top: 88px; }

/* Refined in-content links */
a { text-underline-offset: 2px; }
.prose a, .legal-body a { color: var(--signal-deep); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--signal) 38%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
.prose a:hover, .legal-body a:hover { text-decoration-color: var(--signal); color: var(--signal); }

/* Faint film-grain texture for a refined, premium paper feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  mix-blend-mode: multiply; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Light sheen sweep across the primary calls to action */
.btn-signal, .btn-ink, .cta-band .btn-paper { position: relative; overflow: hidden; isolation: isolate; }
.btn-signal::after, .btn-ink::after, .cta-band .btn-paper::after {
  content: ""; position: absolute; top: -20%; left: 0; width: 36%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-160%) skewX(-16deg); pointer-events: none;
}
.cta-band .btn-paper::after { background: linear-gradient(100deg, transparent, rgba(225,38,28,.18), transparent); }
.btn-signal:hover::after, .btn-ink:hover::after, .cta-band .btn-paper:hover::after { animation: sheen .75s ease; }
@keyframes sheen { from { transform: translateX(-160%) skewX(-16deg); } to { transform: translateX(360%) skewX(-16deg); } }

/* Card finishing: warm glow, scarlet hairline, icon lift */
.card { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease; }
.card:hover { border-color: color-mix(in srgb, var(--signal) 30%, var(--line-strong)); box-shadow: var(--shadow-md), 0 10px 34px -12px rgba(225,38,28,.28); }
.card .ic { transition: transform .35s cubic-bezier(.2,.7,.3,1), background .3s ease, color .3s ease; }
.card:hover .ic { transform: translateY(-2px) rotate(-4deg) scale(1.06); }

/* Illustration art gently zooms with its card */
.usecase-art svg, .tstat-art svg { transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.usecase:hover .usecase-art svg, .tstat:hover .tstat-art svg { transform: scale(1.05); }

/* Gentle finishing for the remaining card-like components */
.price, .member, .contact-card { transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease; }
.price:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--signal) 26%, var(--line-strong)); }
.member:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--signal) 26%, var(--line-strong)); }
.contact-card .ic { transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.contact-card:hover .ic { transform: translateY(-2px) rotate(-4deg) scale(1.06); }

/* Stat-strip cells respond to hover */
.statstrip .stat { transition: background .25s ease; }
.statstrip .stat:hover { background: var(--paper-deep); }

/* Footer links and socials pick up the signal colour */
.foot-col a { transition: color .2s ease; }
.foot-col a:hover { color: var(--signal); }
.socials a { transition: transform .25s ease, color .2s ease, border-color .2s ease; }
.socials a:hover { transform: translateY(-2px); color: var(--signal); }

/* Brand mark tilts a touch on hover */
.brand .wavemark { transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.brand:hover .wavemark { transform: rotate(-5deg) scale(1.06); }

/* Decorative faint signal ring in the CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-inner { position: relative; z-index: 1; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 26px rgba(255,255,255,.06), 0 0 0 60px rgba(255,255,255,.035);
  pointer-events: none;
}
