/* ============================================================================
   GridUser HR — website design system.

   THE IDEA
   The product is called GridUser, and what it actually does is hold a workforce
   in order: rows of people, columns of days, cells that change as a shift runs.
   So the grid is the identity rather than decoration on top of one. It shows up
   as the background rhythm, as the way sections are laid out, and as the hero's
   living register.

   THE COLOURS
   Orange is ACTIVE — present, now, the thing you should press.
   Purple is the SYSTEM — automatic, calculated, intelligent.
   Near-black and white carry everything else, so the two brand colours still
   mean something when they appear. Used everywhere they would mean nothing.
   ========================================================================== */

/* The one exception to the single body font below: the wordmark in the header
   and footer is set in Albert Sans -- the separate logo the owner drew the name
   in -- so only that weight is requested here. An @import must precede every
   rule, and this is the only extra font the public site loads. */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@700;800&display=swap');

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  /* Brand — taken from the software so the site and the product are one thing. */
  --orange:        #FF7B00;
  --orange-soft:   #FF9740;
  --orange-deep:   #E06800;
  --purple:        #7C5CFF;
  --purple-deep:   #4F46E5;

  /* Ink. Deep, but not pure black: #050609 reads as black and is kinder on an
     OLED phone, where true #000 smears as pixels switch fully off and on while
     scrolling. Cards and inputs step up from it by the same amounts as before,
     so they still separate from the page. */
  --ink:           #050609;
  --ink-2:         #0D0F15;
  --ink-3:         #15171F;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --paper:         #FFFFFF;
  --paper-2:       #F6F7FB;
  --paper-line:    #E7E9F2;

  --text:          #FFFFFF;
  --text-2:        rgba(255,255,255,.66);
  --text-3:        rgba(255,255,255,.42);
  --text-ink:      #12141C;
  --text-ink-2:    #5A6076;

  /* Type. One family, Plus Jakarta Sans — geometric, confident and warm enough
     to not read as a bank. One family rather than two means one font request,
     which matters more on an Indian mobile connection than a second typeface
     ever would. */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'Cascadia Mono', Menlo, monospace;

  /* ── Fluid scale ────────────────────────────────────────────────────────
     Every size below is clamp(min, REM + VW, max) — and the rem half is the
     point.

     The first version of this file used a pure `vw` middle term, e.g.
     clamp(2.6rem, 7.2vw, 5.6rem). That looks fluid and is quietly broken: `vw`
     answers only to the width of the window. Somebody who has set a larger
     default font size in their browser — which is how most people with poor
     eyesight actually read the web, not by zooming — gets no change at all,
     because nothing in that expression is relative to their font size.

     With a rem anchor the text responds to BOTH: the window, and the reader.
     Interpolates smoothly between a 320px phone and a 1440px desktop, so a
     tablet at 834px gets a size chosen for 834px rather than the nearest
     breakpoint's. */
  --t-tiny:  clamp(0.80rem, 0.78rem + 0.09vw, 0.86rem);
  --t-small: clamp(0.88rem, 0.85rem + 0.13vw, 0.95rem);
  --t-body:  clamp(1.00rem, 0.96rem + 0.19vw, 1.13rem);
  --t-lead:  clamp(1.13rem, 1.05rem + 0.38vw, 1.38rem);
  --t-h3:    clamp(1.20rem, 1.11rem + 0.43vw, 1.50rem);
  --t-h2:    clamp(1.73rem, 1.46rem + 1.33vw, 2.66rem);
  --t-h1:    clamp(2.07rem, 1.65rem + 2.11vw, 3.55rem);
  --t-hero:  clamp(2.80rem, 1.89rem + 4.57vw, 6.00rem);

  /* Spacing is fluid for the same reason — a 96px gap that is right on a
     desktop is a third of a phone screen. Same rem+vw construction, so padding
     grows with the reader's text as well as with the window. The --s1..--s10
     names are kept so nothing that already uses them has to change. */
  --s1:  clamp(0.23rem, 0.23rem + 0.09vw, 0.31rem);
  --s2:  clamp(0.50rem, 0.46rem + 0.19vw, 0.63rem);
  --s3:  clamp(0.75rem, 0.70rem + 0.27vw, 0.94rem);
  --s4:  clamp(1.00rem, 0.93rem + 0.36vw, 1.25rem);
  --s5:  clamp(1.50rem, 1.39rem + 0.54vw, 1.88rem);
  --s6:  clamp(2.00rem, 1.86rem + 0.71vw, 2.50rem);
  --s7:  clamp(3.00rem, 2.79rem + 1.07vw, 3.75rem);
  --s8:  clamp(4.00rem, 3.71rem + 1.43vw, 5.00rem);
  --s9:  clamp(5.00rem, 4.29rem + 3.57vw, 7.50rem);
  --s10: clamp(6.00rem, 5.43rem + 2.86vw, 8.00rem);

  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --wrap: 1200px;
  --wrap-narrow: 760px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* Never a pixel font-size on <html>. Setting one overrides the reader's own
   browser preference, which is the single most common way a site quietly
   becomes unreadable for somebody who needs larger text. 100% means "whatever
   they asked for", and the whole fluid scale above is built on top of it. */
html {
  font-size: 100%;
  /* Tells the browser the page is dark, so what it draws itself -- the page
     scrollbar, a select's option list, an unticked checkbox, a textarea's
     scrollbar -- comes out dark too, instead of light grey glaring against the
     ink. The white sections switch back (.on-paper below). */
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* Paper is white. A dark scheme left on for printing would let any text that
   relies on the browser's default colour print white on white. */
@media print { html { color-scheme: light; } }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Line length. Prose past about 70 characters is measurably harder to read, and
   this is the one rule that does most of the work in making a page feel
   professional rather than merely tidy. */
p { max-width: 68ch; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Anyone who has asked their device for less movement gets a still page. Not a
   slower one — a still one. Everything below is written so nothing depends on
   an animation having run. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5);
  position: relative; z-index: 1; }
.wrap-narrow { max-width: var(--wrap-narrow); }
section { position: relative; }
.pad   { padding: var(--s9) 0; }
.pad-s { padding: var(--s8) 0; }
@media (max-width: 720px) {
  .pad   { padding: var(--s8) 0; }
  .pad-s { padding: var(--s7) 0; }
  .wrap  { padding: 0 var(--s4); }
}

/* The grid, as a background. Very quiet — it should register as texture, not
   as a table. */
/* The texture sits BEHIND the content. It is absolutely positioned and the
   content is static, so without these two rules it paints on top -- almost
   invisible on a dark section, and clearly ruled lines across the headings on a
   white one. */
.gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right,  var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  opacity: .55;
}
.on-paper .gridlines {
  background-image:
    linear-gradient(to right,  var(--paper-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--paper-line) 1px, transparent 1px);
  opacity: 1;
}

/* A light section, for contrast against the dark.

   This RE-DEFINES the ink tokens rather than overriding individual selectors.
   Doing it the other way round bites: `.card p` and `.on-paper p` have the same
   specificity, so whichever is written last wins — and white body text on a
   white card is invisible while still passing every structural test. Remapping
   the variables means every rule underneath, including ones written later,
   picks up the light values automatically. */
.on-paper {
  background: var(--paper);
  color: var(--text-ink);
  color-scheme: light;

  --text:        var(--text-ink);
  --text-2:      var(--text-ink-2);
  --text-3:      #858BA3;
  --line:        var(--paper-line);
  --line-strong: #D3D8E8;
  --ink-2:       var(--paper);      /* card backgrounds */
  --ink-3:       var(--paper-2);    /* input backgrounds */
}
.on-paper .eyebrow { color: var(--purple-deep); }
.on-paper .card:hover { border-color: rgba(124,92,255,.42); }
.on-paper .arrow-link { color: var(--orange-deep); }

/* ── Type ─────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.028em; font-weight: 800; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.015em; }
.hero-title { font-size: var(--t-hero); font-weight: 900; letter-spacing: -.04em; line-height: .98; }
.lead { font-size: var(--t-lead); color: var(--text-2); line-height: 1.6; }
.small { font-size: var(--t-small); }
.tiny  { font-size: var(--t-tiny); }
.muted { color: var(--text-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-tiny); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--purple);
  margin-bottom: var(--s4);
}
.eyebrow::before {
  content: ''; width: 20px; height: 1px; background: currentColor; opacity: .6;
}

/* The one flourish: a word carrying the active colour. Used sparingly — once
   per page at most, on the thing the page is actually about. */
.hl { color: var(--orange); }
.hl-p { color: var(--purple); }
.underline-sweep {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 100% 3px; background-repeat: no-repeat;
  background-position: 0 92%; padding-bottom: 2px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  /* Explicitly transparent. A <button> carries the browser's own grey
     background by default, so .btn-ghost looked correct everywhere it was an
     <a> and turned into a solid light box the moment it was a real button. */
  background: transparent;
  font-size: .95rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 4px 14px -8px rgba(255,123,0,.28);
}
.btn-primary:hover { background: var(--orange-soft); box-shadow: 0 8px 20px -10px rgba(255,123,0,.38); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.on-paper .btn-ghost { border-color: var(--paper-line); color: var(--text-ink); }
.on-paper .btn-ghost:hover { border-color: var(--purple-deep); color: var(--purple-deep); }
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* A link that says where it goes. */
.arrow-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-weight: 700; color: var(--orange); font-size: .95rem;
}
.arrow-link i { transition: transform .2s var(--ease); }
.arrow-link:hover i { transform: translateX(4px); }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s6);
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              background .25s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,123,0,.12); color: var(--orange);
  font-size: 1.05rem; margin-bottom: var(--s4);
}
.card-icon.p { background: rgba(124,92,255,.14); color: var(--purple); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--text-2); font-size: .95rem; }

/* Grids that reflow on their own.

   These used to be fixed column counts with three breakpoints underneath, which
   meant a tablet at 834px got the phone layout or the desktop one depending on
   which side of 980px it fell — never a layout chosen for 834px. `auto-fit` plus
   a minimum column width lets the browser decide how many columns actually fit,
   so every width from a 320px phone to a 27" monitor gets a sensible answer and
   there is no breakpoint to be on the wrong side of. */
.grid-2 { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.stuck {
  background: rgba(5,6,9,.84); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.head-in { display: flex; align-items: center; gap: var(--s5); height: 72px; }
/* The wordmark sits on ONE line: "GridUser" then "HR" in the active colour.
   Stacking them looked broken — "HR" is a quarter the width of the word above,
   so left-aligning the two left an obvious hole. Baseline alignment keeps the
   small orange half sitting on the same line as the large white half, which is
   what makes a two-weight wordmark look deliberate. */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-txt {
  display: flex; align-items: baseline; gap: 7px;
  line-height: 1; white-space: nowrap;
  /* The header/footer logo IS this wordmark now -- the G mark was removed, so
     the name carries the lockup on its own, sized up and set in Albert Sans
     (the owner's logo). Everything else on the site stays on Plus Jakarta Sans. */
  font-family: 'Albert Sans', var(--font);
}
.logo-txt b    { font-size: 1.42rem; font-weight: 800; letter-spacing: -.025em; }
/* "HR" is the same size as the name -- the orange half of one wordmark, matching
   the logo -- not the small spaced accent it was beside the mark. */
.logo-txt span { font-size: 1.42rem; font-weight: 800; letter-spacing: -.025em;
                 color: var(--orange);
                 /* NO text-shadow. There WAS a layered "HR" here copied from the app
                    icon (white/blue/purple copies offset left) and it broke the
                    wordmark three ways, which is what the owner reported as an
                    alignment problem on 2026-11-02:
                      1. text-shadow paints the FIRST shadow on TOP, and the list ran
                         furthest-first -- so the white -6px copy covered the orange
                         glyph and the "H" rendered WHITE. It read "GridUser" + white
                         H + orange R.
                      2. the copies reached 6px left into a 7px gap, so "HR" sat
                         almost touching "GridUser".
                      3. the blue and purple were both at -4px, so purple never showed.
                    Restacking them nearest-first fixed 1 and 3, but the layers then
                    only peek off the H's left stem and read as a stray striped bar --
                    verified in a browser. The effect needs the icon's size and square
                    canvas; at 1.42rem inline it is just noise. Two brand colours on one
                    baseline is the wordmark. Don't re-add it without rendering it. */
                 }

.nav { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  color: var(--text-2); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a.on { color: var(--text); }
.nav a.on::after {
  content: ''; display: block; height: 2px; border-radius: 2px;
  background: var(--orange); margin: 4px 14px -6px;
}
.head-cta { display: flex; align-items: center; gap: var(--s2); margin-left: var(--s4); }

.burger {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  align-items: center; justify-content: center; font-size: 1.05rem;
}
/* The desktop header collapses to the menu button only when the row genuinely
   runs out of room. 1080px was far too early, and was hiding the nav on ordinary
   desktops: a 1366-wide laptop at 150% display scaling reports ~910 CSS px, a
   1080p laptop at 200% reports 960, a 1600-wide one at 150% reports 1066 -- all
   of them real desktops that lost the four links and the two buttons to a
   hamburger they never needed. The logo, four links and the two buttons sit
   comfortably in the row down to ~810px (the row is nowrap, so it is measured,
   not guessed), so the switch happens at 860 -- phones and small portrait
   tablets still get the menu, every desktop keeps the full header. */
@media (max-width: 860px) {
  .nav, .head-cta { display: none; }
  .burger { display: flex; }
}

/* The mobile sheet. Full height, big targets, no cramming the desktop nav in. */
.mnav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  transform: translateY(-100%); transition: transform .42s var(--ease-out);
  display: flex; flex-direction: column; padding: 92px var(--s5) var(--s6);
  overflow-y: auto;
}
.mnav.open { transform: translateY(0); }
/* Scoped to the <nav>, NOT to every link in the sheet.

   `.mnav a` also caught the two buttons underneath — they are <a> elements —
   and being more specific than `.btn` it overrode them: space-between pushed
   "Start free trial" hard left inside its own pill, and the row's
   border-bottom and 18px padding came along too. Same shape of bug as
   `.foot-col a` flattening the footer logo. Scope the rule to what it is
   actually for and the buttons keep their own styling. */
.mnav nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: 1.28rem; font-weight: 700;
  border-bottom: 1px solid var(--line); letter-spacing: -.02em;
}
.mnav nav a i { color: var(--text-3); font-size: .9rem; }
.mnav .mnav-cta { margin-top: var(--s6); display: grid; gap: var(--s3); }
.mnav .mnav-cta .btn { width: 100%; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s6);
  padding: var(--s8) 0 var(--s6);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 {
  font-size: var(--t-tiny); text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-3); margin-bottom: var(--s4); font-weight: 800;
}
.foot-col a { display: block; padding: 6px 0; color: var(--text-2); font-size: .92rem; }
.foot-col a:hover { color: var(--orange); }
/* The footer's logo is an <a> inside .foot-col, and the rule above would turn it
   into a block -- stacking the mark above the wordmark. It stays a row. */
.foot-col a.logo { display: flex; padding: 0; }
.foot-social { display: flex; gap: var(--s2); margin-top: var(--s5); }
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-2); padding: 0;
  transition: border-color .2s, color .2s;
}
.foot-social a:hover { border-color: var(--orange); color: var(--orange); }
.foot-bar {
  border-top: 1px solid var(--line); padding: var(--s5) 0;
  display: flex; flex-wrap: wrap; gap: var(--s4);
  align-items: center; justify-content: space-between;
  font-size: var(--t-small); color: var(--text-3);
}
.foot-legal { display: flex; gap: var(--s5); }
.foot-legal a:hover { color: var(--orange); }

/* ── Motion ───────────────────────────────────────────────────────────────── */
/* One reveal, used everywhere, so the whole site moves the same way. */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* ── The living register ──────────────────────────────────────────────────
   The hero visual. A grid of people-cells filling in as a working day runs:
   grey is nobody yet, orange is present, purple is the system deciding
   something. It is the product's actual job, drawn. */
.register {
  display: grid; grid-template-columns: repeat(var(--cols, 14), 1fr);
  gap: 6px; width: 100%;
}
.cell {
  aspect-ratio: 1; border-radius: 5px;
  background: rgba(255,255,255,.055);
  transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cell.on      { background: var(--orange); box-shadow: 0 0 9px -4px rgba(255,123,0,.28); }
.cell.late    { background: rgba(255,123,0,.35); }
.cell.sys     { background: var(--purple); box-shadow: 0 0 9px -4px rgba(124,92,255,.28); }
.cell.leave   { background: rgba(255,255,255,.14); }
.cell.pop     { transform: scale(1.18); }

/* ── The module grid ──────────────────────────────────────────────────────
   The brand idea doing actual work. Fifteen cells; tap one and its detail opens
   beside the grid on a wide screen, or directly beneath it on a narrow one.

   One component, two modes:
     data-mode="browse"  — reading about a module
     data-mode="pick"    — choosing the modules you want (the Pricing page)

   Everything is a real <button>, so it works with a keyboard and a screen
   reader without any extra scaffolding. */
.mgrid-wrap {
  display: grid; gap: var(--s5);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}
/* Container query would be nicer, but this one flip is genuinely structural:
   below it there is not room for a grid and a panel side by side. */
@media (max-width: 62rem) { .mgrid-wrap { grid-template-columns: 1fr; } }

/* 6.5rem rather than a round number, so that at desktop width the fifteen cells
   land as five columns of three — a full rectangle with no ragged last row —
   while still collapsing as the space runs out. */
.mgrid {
  display: grid; gap: var(--s2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr));
}
.mcell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s2); text-align: center;
  padding: var(--s4) var(--s2);
  min-height: 5.75rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-2); color: var(--text-2);
  cursor: pointer; position: relative;
  transition: border-color .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.mcell:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }
.mcell i { font-size: 1.1rem; color: var(--orange); transition: color .2s; }
.mcell b { font-size: var(--t-tiny); font-weight: 700; line-height: 1.25; }

/* Reading one. */
.mcell[aria-current="true"] {
  border-color: var(--orange); background: rgba(255,123,0,.1); color: var(--text);
}
/* Chosen one — picker mode. Purple, because choosing is the system's job. */
.mcell[aria-pressed="true"] {
  border-color: var(--purple); background: rgba(124,92,255,.12); color: var(--text);
}
.mcell[aria-pressed="true"] i { color: var(--purple); }
/* Always included — shown ticked, but not offered as a choice, and LABELLED so.
   It used to be only dimmed, and a visitor tapping it again and again took it
   for a broken button. Not dimmed any more either: dim reads as "not chosen". */
.mcell[data-locked] { cursor: help; }
.mcell[data-locked]:hover { transform: none; border-color: var(--purple); }
.mcell-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .62rem; font-weight: 700; letter-spacing: .02em;
  color: var(--text-3); line-height: 1; white-space: nowrap;
}
/* Scoped past `.mcell[aria-pressed="true"] i`, which would otherwise blow the
   padlock up to the size and colour of the module's own icon. */
.mcell[data-locked] .mcell-tag i { font-size: .58rem; color: var(--text-3); }
/* The one-line reason, shown when somebody taps the locked cell anyway. */
.lock-note {
  display: flex; gap: var(--s2); align-items: flex-start;
  margin-top: var(--s3); padding: var(--s3) var(--s4);
  border: 1px solid rgba(124,92,255,.35); background: rgba(124,92,255,.08);
  border-radius: var(--r); font-size: var(--t-tiny); color: var(--text-2);
}
.lock-note i { color: var(--purple); margin-top: 2px; }
.mcell[aria-pressed="true"]::after {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 6px; right: 8px; font-size: .62rem; color: var(--purple);
}

/* The detail panel. Sticky on a wide screen so it stays with you as you scan. */
.mpanel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ink-2); padding: var(--s6);
  position: sticky; top: 6rem;
}
@media (max-width: 62rem) { .mpanel { position: static; } }
.mpanel-icon {
  width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,123,0,.12); color: var(--orange); font-size: 1.2rem;
  margin-bottom: var(--s4);
}
.mpanel h3 { font-size: var(--t-h3); margin-bottom: var(--s2); }
.mpanel .lead { font-size: var(--t-body); color: var(--text); font-weight: 600; }
.mpanel-problem {
  border-left: 2px solid var(--line-strong); padding-left: var(--s4);
  margin: var(--s5) 0; color: var(--text-3); font-size: var(--t-small); font-style: italic;
}
.mpanel-how { color: var(--text-2); font-size: var(--t-small); margin-bottom: var(--s5); }
.mpanel .ticklist li { font-size: var(--t-small); }
.mpanel-hint { color: var(--text-3); font-size: var(--t-small); }

/* ── Build your setup ─────────────────────────────────────────────────────
   The picker's running summary. Sticky at the bottom on a phone so the count
   and the button are always reachable without scrolling back. */
.pick-sum {
  border: 1px solid rgba(124,92,255,.35); border-radius: var(--r-lg);
  /* Lit from the top like every framed block; a diagonal into orange went
     muddy brown in its corner on the deep ink. */
  background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(124,92,255,.03) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  padding: var(--s6);
  position: sticky; top: 6rem;
}
/* On a narrow screen the summary is simply the next thing after the grid.

   It was a sticky bottom bar, which is the familiar shopping-basket pattern —
   but sticky inside a grid track put it over the cells instead of under them,
   and the fix for that is more machinery than the problem deserves. Each chosen
   cell already turns purple and grows a tick, so the feedback is on the thing
   you just tapped; the count is a summary, and a summary can sit below. */
@media (max-width: 62rem) {
  .pick-sum { position: static; padding: var(--s5); }
}
.pick-count {
  font-size: var(--t-h1); font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: var(--purple);
}
.pick-count small {
  display: block; font-size: var(--t-small); font-weight: 600;
  color: var(--text-2); letter-spacing: 0; margin-top: var(--s2);
}
.pick-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0; }
.pick-chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 5px 10px; border-radius: 999px; font-size: var(--t-tiny); font-weight: 700;
  background: rgba(124,92,255,.14); color: #C9BDFF; border: 1px solid rgba(124,92,255,.3);
}
.pick-chip button {
  background: none; border: 0; color: inherit; cursor: pointer; opacity: .65;
  font-size: .7rem; padding: 0 0 0 2px; line-height: 1;
}
.pick-chip button:hover { opacity: 1; }
.pick-actions { display: grid; gap: var(--s3); }
.pick-actions .btn { width: 100%; }

/* ── Reviews ──────────────────────────────────────────────────────────────
   Shown only when there are real, approved ones. There is no placeholder state
   and no sample review: an empty section simply does not render.

   The one part of the site written by customers rather than by us, so it is
   set apart on purpose: a framed "stage" in the brand's two colours, purple
   bleeding into orange like the closing call to action, with the reviews as
   glass cards on top. The first review is a spotlight across the full width,
   so a single review reads as chosen rather than as a stretched, lonely card. */
.rev-stage {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: var(--s8) var(--s7);
  /* Lit the way the heroes are -- one soft light from above (see "Hero
     lighting") -- rather than with coloured haze in the corners, which on the
     deep ink read as blobs pasted on. The theme is carried by the crisp
     purple-to-orange line along the top edge instead. */
  background:
    radial-gradient(80% 70% at 50% -12%,
      rgba(124,92,255,.16) 0%, rgba(124,92,255,.07) 34%, rgba(124,92,255,.02) 56%, transparent 74%),
    linear-gradient(180deg, #0C0D16 0%, #07080C 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 50px 90px -50px rgba(0,0,0,.95);
  color: #fff;
}
/* A hairline of both brand colours along the top edge. */
.rev-stage::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple) 25%, var(--orange) 75%, transparent);
}
.rev-stage .gridlines { opacity: .28; z-index: -1; }
@media (max-width: 640px) { .rev-stage { padding: var(--s7) var(--s4); border-radius: var(--r-lg); } }

.rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s5); }
.rev-head h2 { max-width: 20ch; color: #fff; }
.rev-head .lead { margin-top: var(--s3); font-size: var(--t-body); max-width: 46ch; }

/* The average, as a badge rather than a loose number. */
.rev-score {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5); border-radius: var(--r);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11);
}
.rev-score > b {
  font-size: clamp(2.1rem, 1.8rem + 1.2vw, 2.9rem); font-weight: 900;
  letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(135deg, #FFB066, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rev-score .rev-stars { font-size: 1.05rem; }
.rev-score small { display: block; font-size: var(--t-tiny); color: var(--text-3); margin-top: 3px; }

.revs { display: grid; gap: var(--s4); margin-top: var(--s7);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.rev {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); padding: var(--s6) var(--s5) var(--s5);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.11);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.rev:hover { transform: translateY(-3px); border-color: rgba(255,123,0,.38);
  box-shadow: 0 22px 44px -34px rgba(0,0,0,.6); }
/* Soft lavender, not faint orange: orange at low strength over the ink turns
   muddy brown. The stars carry the orange. */
.rev-q { position: absolute; top: var(--s5); right: var(--s5); font-size: 2.4rem; line-height: 1;
  color: rgba(167,139,250,.2); pointer-events: none; }
.rev-stars { color: var(--orange); font-size: .95rem; letter-spacing: 3px; line-height: 1; }
.rev-body { margin-top: var(--s4); font-size: var(--t-small); color: rgba(255,255,255,.88);
  line-height: 1.75; flex: 1; white-space: pre-line; overflow-wrap: anywhere; }
.rev-by { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; gap: var(--s3); }
.rev-av {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: .82rem; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.rev-av.anon { background: rgba(255,255,255,.09); color: var(--text-2); }
.rev-who { flex: 1; min-width: 0; }
/* Classes, not ".rev-by span": that caught the avatar (initials pushed into its
   corner) and the name's wrapper (name drawn grey) as well as the subtitle. */
.rev-by b { display: block; font-size: var(--t-small); color: #fff; }
.rev-sub { display: block; font-size: var(--t-tiny); color: var(--text-3); }
.rev-date { font-size: var(--t-tiny); color: var(--text-3); white-space: nowrap; align-self: flex-end; }

/* The spotlight: the first review, across the whole row, in larger type. */
.rev.lead { grid-column: 1 / -1; padding: var(--s7) var(--s7) var(--s6);
  background: linear-gradient(180deg, rgba(124,92,255,.10), rgba(255,255,255,.02));
  border-color: rgba(255,123,0,.28); }
.rev.lead .rev-q { font-size: 4.6rem; top: var(--s5); right: var(--s6); color: rgba(167,139,250,.24); }
.rev.lead .rev-body { font-size: var(--t-lead); font-weight: 500; color: #fff; line-height: 1.6;
  max-width: 62ch; }
.rev.lead .rev-av { width: 3rem; height: 3rem; font-size: .9rem; }
@media (max-width: 640px) {
  .rev.lead { padding: var(--s6) var(--s5) var(--s5); }
  .rev.lead .rev-body { font-size: var(--t-body); }
  .rev.lead .rev-q { font-size: 3rem; }
}

/* The invitation under the reviews, on the home page. */
.rev-cta { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.rev-cta p { color: var(--text-2); font-size: var(--t-small); }
.rev-cta .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.rev-cta .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ── Writing a review ─────────────────────────────────────────────────────
   Two panels: why it is worth writing (the brand gradient), and the form. */
.rev-compose {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,.10); background: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 50px 90px -50px rgba(0,0,0,.95);
}
@media (max-width: 58rem) { .rev-compose { grid-template-columns: minmax(0, 1fr); } }
.rc-side {
  position: relative; overflow: hidden; isolation: isolate; padding: var(--s7) var(--s6);
  background:
    radial-gradient(95% 70% at 35% -12%,
      rgba(124,92,255,.22) 0%, rgba(124,92,255,.09) 36%, rgba(124,92,255,.025) 58%, transparent 76%),
    linear-gradient(180deg, #0F0D1C 0%, #08090E 100%);
  border-right: 1px solid rgba(255,255,255,.06);
}
@media (max-width: 58rem) { .rc-side { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); } }
.rc-side .gridlines { opacity: .3; z-index: -1; }
.rc-side h2 { margin: var(--s2) 0 var(--s4); color: #fff; }
.rc-side .lead { font-size: var(--t-body); }
.rc-points { margin-top: var(--s6); display: grid; gap: var(--s4); }
.rc-points li { list-style: none; display: flex; gap: var(--s3); align-items: flex-start;
  font-size: var(--t-small); color: var(--text-2); line-height: 1.5; }
.rc-points li b { color: #fff; display: block; font-weight: 700; }
.rc-points i { width: 2rem; height: 2rem; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: .8rem;
  background: rgba(255,123,0,.14); color: var(--orange); border: 1px solid rgba(255,123,0,.25); }
.rc-points li:nth-child(2) i { background: rgba(124,92,255,.16); color: #A99BFF; border-color: rgba(124,92,255,.3); }
.rc-main { padding: var(--s7) var(--s6); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) { .rc-side, .rc-main { padding: var(--s6) var(--s4); } }

/* Before the form opens: the question, and five big stars that start it. */
.rc-prompt { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.rc-prompt h3 { font-size: var(--t-h3); }
.rc-stars { display: flex; gap: var(--s2); }
.rc-stars button {
  background: none; border: 0; cursor: pointer; padding: 2px; line-height: 1;
  font-size: clamp(2.2rem, 1.9rem + 1.2vw, 2.9rem); color: rgba(255,255,255,.16);
  transition: color .15s, transform .15s var(--ease);
}
/* Hovering a star lights it and every star before it. */
.rc-stars:hover button { color: var(--orange); }
.rc-stars button:hover ~ button { color: rgba(255,255,255,.16); }
.rc-stars button:hover { transform: scale(1.12); }
.rc-or { font-size: var(--t-small); color: var(--text-3); }

/* The star chooser inside the form. Real radio inputs underneath, so it is
   keyboard-operable and announces itself properly. */
.stars-in { position: relative; display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
/* ".field .stars-in", not ".stars-in": the general ".field input { width:100% }"
   further down has the same weight and wins by coming later, which made each
   invisible radio a full field wide and pushed a phone's page sideways. */
.field .stars-in input, .stars-in input { position: absolute; left: 0; top: 0; opacity: 0;
  width: 1px; height: 1px; padding: 0; border: 0; }
/* Same trap for the stars: ".field label" (the small uppercase caption) would
   otherwise shrink them to caption size. */
.field .stars-in label, .stars-in label {
  display: inline-block; cursor: pointer; font-size: 2rem; line-height: 1; color: rgba(255,255,255,.18);
  transition: color .15s, transform .15s; margin: 0; padding: 0;
  text-transform: none; letter-spacing: normal;
}
.stars-in label:hover { transform: scale(1.12); }
.stars-in.v1 label:nth-of-type(-n+1),
.stars-in.v2 label:nth-of-type(-n+2),
.stars-in.v3 label:nth-of-type(-n+3),
.stars-in.v4 label:nth-of-type(-n+4),
.stars-in.v5 label:nth-of-type(-n+5) { color: var(--orange); }
.stars-in input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.stars-in .stars-txt { margin-left: var(--s3); font-size: var(--t-small); font-weight: 700; color: var(--orange-soft); }

.field-hint { font-size: var(--t-tiny); color: var(--text-3); margin: calc(var(--s2) * -1) 0 var(--s4); }
.field .count { display: block; text-align: right; font-size: var(--t-tiny); color: var(--text-3); margin-top: 6px; }
.field .count.short { color: var(--orange-soft); }

/* After sending: a thank-you, and their review played back to them. */
.rc-sent { text-align: center; display: grid; justify-items: center; gap: var(--s3); }
.rc-sent-ic { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; margin-bottom: var(--s2);
  background: linear-gradient(135deg, var(--purple), var(--orange));
  box-shadow: 0 12px 28px -16px rgba(0,0,0,.45); }
.rc-sent h3 { font-size: var(--t-h3); }
.rc-sent p { color: var(--text-2); max-width: 44ch; }
.rc-sent .rev { width: 100%; text-align: left; margin-top: var(--s4); }
.rc-sent .rev:hover { transform: none; }
.rc-sent .rc-label { font-size: var(--t-tiny); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin-top: var(--s4); }

/* ── Panels / mockups ─────────────────────────────────────────────────────
   Frames for real screenshots. Until a screenshot is dropped in, the frame
   shows a clearly-labelled placeholder rather than a fabricated screen. */
.shot {
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--ink-2); overflow: hidden; position: relative;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px var(--s4);
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.shot-bar span { margin-left: var(--s3); font-size: var(--t-tiny); color: var(--text-3); }
.shot-body { padding: var(--s6); min-height: 220px; }
.shot img { width: 100%; display: block; }
.shot-ph {
  display: grid; place-items: center; text-align: center; gap: var(--s3);
  min-height: 260px; color: var(--text-3); padding: var(--s6);
}
.shot-ph i { font-size: 1.6rem; opacity: .5; }

/* ── Bits ─────────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: var(--t-tiny); font-weight: 700; color: var(--text-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.ticklist { display: grid; gap: var(--s3); }
.ticklist li { display: flex; gap: var(--s3); align-items: flex-start; list-style: none; font-size: .95rem; color: var(--text-2); }
.ticklist i { color: var(--orange); margin-top: 5px; font-size: .78rem; flex-shrink: 0; }

.note {
  border-left: 3px solid var(--purple); background: rgba(124,92,255,.07);
  padding: var(--s4) var(--s5); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .92rem; color: var(--text-2);
}
.on-paper .note { background: rgba(124,92,255,.06); color: var(--text-ink-2); }

/* Something not finished yet. Deliberately looks unfinished, so nobody mistakes
   it for a real claim. */
.tbd {
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  padding: var(--s6); text-align: center; color: var(--text-3);
  background: repeating-linear-gradient(45deg, transparent, transparent 10px,
              rgba(255,255,255,.012) 10px, rgba(255,255,255,.012) 20px);
}
.on-paper .tbd { border-color: var(--paper-line); color: var(--text-ink-2);
  background: repeating-linear-gradient(45deg, transparent, transparent 10px,
              rgba(0,0,0,.015) 10px, rgba(0,0,0,.015) 20px); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.field { margin-bottom: var(--s4); }
.field label {
  display: block; font-size: var(--t-tiny); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s2);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--ink-3); color: var(--text);
  font-size: .95rem; transition: border-color .2s;
}
.on-paper .field input, .on-paper .field select, .on-paper .field textarea {
  background: var(--paper); border-color: var(--paper-line); color: var(--text-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange);
}
.field.bad input, .field.bad select, .field.bad textarea { border-color: #F43F5E; }
.field .err { display: none; color: #FB7185; font-size: var(--t-tiny); margin-top: 6px; font-weight: 600; }
.field.bad .err { display: block; }
/* A checkbox row is a label too, but it is a sentence -- not the small uppercase
   caption that labels a text input. Without this it inherits .field label and the
   consent line comes out shouting. */
.field label.check, .check {
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: .88rem; color: var(--text-2);
  text-transform: none; letter-spacing: normal; font-weight: 500;
  margin-bottom: 0; line-height: 1.5;
}
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; }

.form-msg { display: none; padding: var(--s4) var(--s5); border-radius: var(--r-sm); font-size: .92rem; margin-bottom: var(--s4); }
.form-msg.ok  { display: block; background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: #4ADE80; }
.form-msg.bad { display: block; background: rgba(244,63,94,.09); border: 1px solid rgba(244,63,94,.28); color: #FB7185; }

/* ── Accordion ────────────────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.on-paper .acc { border-color: var(--paper-line); }
.acc-item { border-bottom: 1px solid var(--line); }
.on-paper .acc-item { border-color: var(--paper-line); }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s5) 0; background: none; border: none;
  text-align: left; cursor: pointer; font-size: 1.02rem; font-weight: 700;
  color: inherit;
}
.acc-q i { color: var(--orange); transition: transform .3s var(--ease); flex-shrink: 0; }
.acc-item.open .acc-q i { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .36s var(--ease); }
.acc-item.open .acc-a { max-height: 420px; }
.acc-a p { padding-bottom: var(--s5); color: var(--text-2); font-size: .96rem; max-width: 68ch; }

/* ── The closing call to action ───────────────────────────────────────────
   The same block ends most pages, under the same light as the heroes. Purple
   meeting orange -- the system, and the action it is asking for -- is the crisp
   line along its top edge, rather than haze in a corner. */
.close-cta {
  border-radius: var(--r-xl); padding: var(--s9) var(--s7); text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(75% 85% at 50% -15%,
      rgba(124,92,255,.20) 0%, rgba(124,92,255,.08) 36%, rgba(124,92,255,.025) 58%, transparent 74%),
    linear-gradient(180deg, #0D0C18 0%, #07080C 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 50px 90px -50px rgba(0,0,0,.95);
  color: #fff;
}
.close-cta::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple) 25%, var(--orange) 75%, transparent);
}
@media (max-width: 640px) { .close-cta { padding: var(--s8) var(--s5); border-radius: var(--r-lg); } }
.close-cta .gridlines { opacity: .35; z-index: -1; }
/* NOT ".close-cta > *": that also caught the grid's own div, turned its
   absolute positioning into relative, and left it zero pixels tall -- the
   grid in this block never showed. */
.close-cta > :not(.gridlines) { position: relative; }
.close-cta h2 { color: #fff; }
.close-cta .lead { margin: var(--s4) auto 0; max-width: 52ch; color: rgba(255,255,255,.66); }
.close-cta .eyebrow { justify-content: center; color: var(--purple); }
.close-cta .btn-row {
  display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6);
}
.close-cta .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.close-cta .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ── The inner-page hero ──────────────────────────────────────────────────
   Every page except the home page opens the same way, so the site has a rhythm
   a visitor can learn. */
.page-hero { padding: 152px 0 var(--s8); overflow: hidden; }
@media (max-width: 720px) { .page-hero { padding: 122px 0 var(--s7); } }
.page-hero .wrap { position: relative; }

/* ── Hero lighting ────────────────────────────────────────────────────────
   Every page opens under the same light: one soft wash from above the top
   edge, falling on the grid and fading into the dark.

   It is painted as the hero's OWN background, in layers that each reach full
   transparency well inside the section. The glow it replaces was a shape laid
   on top -- an oval with border-radius -- whose colour was still fading when
   the oval's edge cut it off. That drew a hard curved line across every page
   and made it look like a picture pasted on. A background has no edge.

   No orange in it. Orange means "press this" (the buttons, the one highlighted
   word), and as haze it only dilutes that. The light is a cool white with a
   breath of the system purple. */
/* Its centre sits just above the top edge, so there is no hot spot under the
   menu, and each layer eases out in steps rather than a straight ramp -- the
   way light actually falls off, which is what keeps it reading as light and
   not as a shape. */
.hero, .page-hero {
  background:
    radial-gradient(70% 100% at 50% -10%,
      rgba(124,92,255,.12) 0%, rgba(124,92,255,.065) 28%,
      rgba(124,92,255,.025) 48%, transparent 68%),
    radial-gradient(120% 95% at 50% -20%,
      rgba(170,180,255,.055) 0%, rgba(170,180,255,.02) 42%, transparent 74%),
    var(--ink);
}
/* The grid, lit by it: clearest where the light falls, gone by the sides and
   the bottom. Centred on the light, so one line runs straight down the middle
   of the page -- a tile draws its line at its left edge, hence the half-tile
   (36px) added to the centring. */
/* The framed blocks further down (reviews, the closing call to action) sit
   under the same light, so their grid fades from the top the same way. */
.close-cta .gridlines, .rev-stage .gridlines, .rc-side .gridlines {
  background-position: calc(50% + 36px) 0;
  mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, #000 20%, transparent 85%);
}
.hero .gridlines, .page-hero .gridlines {
  background-position: calc(50% + 36px) 0;
  mask-image: radial-gradient(ellipse 90% 110% at 50% 0%, #000 30%, rgba(0,0,0,.45) 62%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 90% 110% at 50% 0%, #000 30%, rgba(0,0,0,.45) 62%, transparent 92%);
  opacity: .62;
}
.page-hero h1 { max-width: 24ch; }
.page-hero .lead { max-width: 58ch; margin-top: var(--s5); }
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* A two-column block: words on one side, something to look at on the other. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split.wide-left  { grid-template-columns: 1.15fr .85fr; }
.split.wide-right { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 920px) {
  .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: var(--s6); }
  .split .flip { order: -1; }
}

/* A labelled fact — used for anything with a name and a value. */
.kv { display: grid; gap: var(--s4); }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s4);
  padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt, .kv b { font-size: var(--t-small); color: var(--text-3); font-weight: 700; }
.kv dd, .kv span { font-size: .95rem; color: var(--text-2); }
@media (max-width: 620px) { .kv div { grid-template-columns: 1fr; gap: 4px; } }

/* Long-form legal text. */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: var(--s7) 0 var(--s3); }
.prose h3 { font-size: 1.05rem; margin: var(--s5) 0 var(--s2); }
.prose p, .prose li { color: var(--text-2); font-size: .97rem; margin-bottom: var(--s3); }
.prose ul, .prose ol { padding-left: var(--s5); margin-bottom: var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* `hidden` means hidden. Full stop.
   The browser's own [hidden]{display:none} is a user-agent rule, so ANY author
   rule that sets display beats it — and every component here sets display. So
   `el.hidden = true` did nothing to .trial-note (display:flex) or to the
   inter-state checkbox (.check, display:flex): both sat on screen, shown to
   people they were explicitly hidden from. !important is right here; there is
   no case where something marked hidden should be visible. */
[hidden] { display: none !important; }

/* Visually hidden, still read aloud. For labels that a sighted person gets
   from context and a screen-reader user does not — a slider's purpose, or
   which star a rating button means. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Skip link ────────────────────────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--orange); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  font-weight: 700;
}
.skip:focus { left: 12px; }

/* ── Glass ────────────────────────────────────────────────────────────────
   A light frosted-glass surface (owner, 2026-10-10: "a light glass effect…
   not on the whole website but in some areas").

   Glass only reads as glass when there is something behind it to blur: on a
   flat background it is just a slightly grey box that costs the browser work.
   So it is used in the few places where that is true, and nowhere else:

     the header          once the page scrolls underneath it
     the phone menu      the page stays visible, frosted, behind the sheet
     the hero's register it floats over the lit grid (.reg-frame, index.html)
     small things in lit areas: the pills, the outline buttons in the heroes
                         and the framed blocks, and the review score badge

   The recipe is the same everywhere -- a faint white tint, a blur with a
   little extra saturation so colour survives it, a hairline border, and one
   bright line along the top edge where light would catch the rim.

   Text sits on these, so the tint is never the only thing between the words
   and whatever scrolls past: the header and the menu keep a dark base (white
   sections pass under them too), and anybody whose device asks for less
   transparency, or whose browser cannot blur, gets a solid surface instead. */
:root {
  --glass-tint: rgba(255,255,255,.055);
  --glass-edge: rgba(255,255,255,.15);
  --glass-rim: inset 0 1px 0 rgba(255,255,255,.16);
  --glass-blur: blur(18px) saturate(1.7);
}

.site-head.stuck {
  background: rgba(5,6,9,.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border-bottom-color: rgba(255,255,255,.10);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.04), 0 12px 32px -20px rgba(0,0,0,.9);
}
/* Darker than the header's: a full-screen sheet sits over whatever colour the
   page has behind it (the register's orange cells, say), and that should come
   through as a hint, never as a haze. */
.mnav {
  background: rgba(5,6,9,.86);
  -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4);
}

.reg-frame, .rev-score,
.hero .pill, .page-hero .pill, .reg-frame .pill,
.hero .btn-ghost, .page-hero .btn-ghost, .close-cta .btn-ghost, .rev-cta .btn-ghost {
  background: var(--glass-tint);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-rim);
}
/* The register is a large panel: it keeps its deep shadow as well as the rim. */
.reg-frame { box-shadow: var(--glass-rim), 0 3rem 6rem -3rem rgba(0,0,0,1); }
.hero .btn-ghost:hover, .page-hero .btn-ghost:hover,
.close-cta .btn-ghost:hover, .rev-cta .btn-ghost:hover {
  background: rgba(255,123,0,.10); border-color: var(--orange);
}

/* No blur available, or less transparency asked for: solid, and still legible. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-head.stuck { background: rgba(5,6,9,.94); }
  .mnav { background: var(--ink); }
  .reg-frame { background: var(--ink-2); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-head.stuck { background: rgba(5,6,9,.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mnav { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .reg-frame { background: var(--ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
