/*
  Properfy — styles
  1. Fonts  2. Nocturne design-system tokens and components (verbatim from
  the design)  3. The Properfy website layer: page frame, responsive sizes,
  icons, chips, header, modal, toast.
*/

/* ── 1. Fonts (self-hosted) ──────────────────────────────────────────────── */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Sora is used only for the wordmark. */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 2. Nocturne ─────────────────────────────────────────────────────────── */

:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-text: #e9e9ed;
  --color-accent: #9184d9; /* review round 7 (Barron): the accent moves to
     the product's blurple — OKLCH hue 289.2, the hue of the app's own Pro
     accent (#9a8fe0, --om-accent-pro) — at the same lightness the steel
     accent held (L 0.660, so the documented ratios survive) and chroma
     in the product blurple's own range (its token sits at C 0.118; the
     accent takes 0.125, from the old steel's 0.030):
     the accent now reads as an accent rather than another neutral. */
  --color-accent-2: #a7a1db; /* the machine-derived stand-in follows: same
     hue, same L 0.734, chroma at the same 2:3 proportion it held */
  --color-divider: color-mix(in srgb, #e9e9ed 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f3f5fe;
  --color-neutral-200: #e4e7f5;
  --color-neutral-300: #cfd3e5;
  --color-neutral-400: #b2b6ca;
  --color-neutral-500: #9397ab;
  --color-neutral-600: #75798c;
  --color-neutral-700: #595d6c;
  --color-neutral-800: #3f424d;
  --color-neutral-900: #292b31;

  --color-accent-100: #f5f4ff;
  --color-accent-200: #e7e5fe;
  --color-accent-300: #d2cefd;
  --color-accent-400: #b5abfc;
  --color-accent-500: #968ae0;
  --color-accent-600: #796cbf;
  --color-accent-700: #5d5294;
  --color-accent-800: #423a6a;
  --color-accent-900: #2b2741;

  --color-accent-2-100: #f5f4ff;
  --color-accent-2-200: #e7e5fe;
  --color-accent-2-300: #d2cefd;
  --color-accent-2-400: #b5afe8;
  --color-accent-2-500: #9690c9;
  --color-accent-2-600: #7972a9;
  --color-accent-2-700: #5c5783;
  --color-accent-2-800: #423e5d;
  --color-accent-2-900: #2b293a;

  /* Deck section-divider ground — review round 3: saturation as presence.
     Dividers take a saturated deep indigo (hue 277, the neutral ramp's own
     family; C 0.094 — written when the accent held C 0.030, before the
     round-7 blurple raised it past the ground's) with a lighter bloom and
     a ghost tint of the same hue, while the slide grounds stay
     desaturated. Deck-scale fills only — not interface colors. */
  --color-section: #262a60;
  --color-section-glow: #353b80;
  --color-section-ghost: #4c5397;

  --font-heading: "Inter", system-ui, sans-serif;
  --font-heading-weight: 500;
  --font-body: "Inter", system-ui, sans-serif;

  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --space-6: 16.8px;
  --space-8: 22.4px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 0 0 1px #3f424d;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0,0,0,0.55);
  --shadow-lg: 0 0 0 1px #9397ab, 0 16px 40px rgba(0,0,0,0.65);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.lighten{mix-blend-mode:lighten;background-color:transparent}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
/* Rules fade to transparent at both ends instead of stopping cleanly — a
   Nocturne signature. The ramp is 48px an end (one deck baseline unit),
   painted from the same divider token. Freestanding rules fade; box
   outlines, in-control separators, and short accent marks stay solid. */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: linear-gradient(to right,
    transparent, var(--color-divider) 48px,
    var(--color-divider) calc(100% - 48px), transparent);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { color: var(--color-accent); border-color: var(--color-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.btn-primary:active { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-800); color: var(--color-accent-100); }
.tag-accent-2 { background: var(--color-accent-2-800); color: var(--color-accent-2-100); }
.tag-neutral { background: var(--color-neutral-800); color: var(--color-neutral-100); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid transparent; /* keeps layout; the row paints the fading rule */
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid transparent;
}
/* Row rules as row-level strips so the end-fade spans the row, not each cell. */
.table thead tr {
  background: linear-gradient(to right,
    transparent, var(--color-divider) 48px,
    var(--color-divider) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px;
}
.table tbody tr {
  background: linear-gradient(to right,
    transparent, color-mix(in srgb, var(--color-text) 8%, transparent) 48px,
    color-mix(in srgb, var(--color-text) 8%, transparent) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px;
}
.table tbody tr:hover {
  /* the hover tint layers over the row rule, which keeps painting */
  background:
    linear-gradient(color-mix(in srgb, var(--color-text) 4%, transparent),
                    color-mix(in srgb, var(--color-text) 4%, transparent)) no-repeat 0 0 / 100% 100%,
    linear-gradient(to right,
      transparent, color-mix(in srgb, var(--color-text) 8%, transparent) 48px,
      color-mix(in srgb, var(--color-text) 8%, transparent) calc(100% - 48px), transparent) no-repeat bottom / 100% 1px;
}

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }


/* ── 3. Properfy website ─────────────────────────────────────────────────── */

html { background: #171b40; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: #171b40; color: var(--color-text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--color-accent-300); cursor: pointer; text-decoration: none; }
a:hover { color: var(--color-accent-200); }
input::placeholder, textarea::placeholder { color: var(--color-neutral-500); }
h1, h2, h3 { font-weight: 500; margin: 0; }
button { font: inherit; }
.input[aria-invalid="true"] { border-color: #ff8fa3; }

/* Sizes that change with the screen (the design computed these in script). */
:root {
  --pad-x: 40px;
  --hero-pad: 64px var(--pad-x) 72px;
  --page-hero-pad: 40px var(--pad-x) 36px;
  --sec-pad: 52px var(--pad-x);
  --sec-pad-y: 40px 0;
  --band-pad: 36px 40px;
  --band-outer: 28px var(--pad-x) 56px;
  --article-pad: 32px var(--pad-x) 40px;
  --aside-pos: sticky;
  --h1: 60px;
  --h1-art: 44px;
  --h2: 32px;
  --grid-bg: linear-gradient(rgba(170,170,255,.08) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(90deg, rgba(170,170,255,.08) 1px, transparent 1px) 0 0/40px 40px, #1e2355;
  --fade-rule: linear-gradient(to right, transparent, var(--color-divider) 48px, var(--color-divider) calc(100% - 48px), transparent) no-repeat bottom/100% 1px;
  --rainbow: linear-gradient(90deg, #29b6f6, #1fd67a, #a259ff, #ff2e9a, #ff7a2f, #ffe135);
}
@media (max-width: 899px) {
  :root { --pad-x: 28px; --hero-pad: 44px var(--pad-x) 48px; --h1: 46px; --aside-pos: static; }
}
@media (max-width: 599px) {
  :root {
    --pad-x: 18px; --hero-pad: 28px 18px 36px; --page-hero-pad: 24px 18px 28px;
    --sec-pad: 36px 18px; --sec-pad-y: 28px 0; --band-pad: 24px 20px; --band-outer: 16px 12px 40px;
    --article-pad: 24px 18px 32px; --h1: 36px; --h1-art: 32px; --h2: 25px;
  }
}

.frame { width: 100%; max-width: 100%; min-height: 100vh; display: flex; flex-direction: column; background: #171b40; }
.wrap { max-width: 1180px; margin: 0 auto; box-sizing: border-box; width: 100%; }
.kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); }
.h2 { font-size: var(--h2); letter-spacing: -0.025em; }
.ul { margin: 0; padding: 0; list-style: none; }
.rule { background: var(--fade-rule); }
.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 { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--color-surface); color: var(--color-text); }
.skip:focus { left: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Icons: Phosphor, drawn from the sprite at the top of each page. */
.ph { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.0625em; flex: none; overflow: visible; }

/* Links and buttons that look like the design's clickable blocks. */
.lk { color: inherit; text-decoration: none; }
.lk:hover { color: inherit; }
button.lk { background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; }
a.btn:hover { color: var(--color-text); }
a.btn-primary, a.btn-primary:hover, a.btn-ghost, a.btn-ghost:hover { color: var(--color-accent); }
button.btn { -webkit-appearance: none; appearance: none; }

/* Hover states (the design's style-hover). */
.hv-lift { transition: transform .15s; }
.hv-lift:hover { transform: translateY(-2px); }
.hv-text:hover { color: var(--color-accent-200) !important; }
.hv-800:hover { background: var(--color-neutral-800) !important; }
.hv-surface:hover { background: var(--color-surface) !important; color: var(--color-text) !important; }
.hv-row:hover { background-color: var(--color-surface) !important; }
.hv-card:hover { box-shadow: inset 0 0 0 1px var(--color-accent-700), var(--shadow-sm) !important; }
.hv-ring:hover { box-shadow: inset 0 0 0 1.5px currentColor !important; }
.hv-ring7:hover { box-shadow: inset 0 0 0 1px var(--color-accent-700) !important; }
.hv-orange:hover { background: rgba(255,122,47,.12) !important; }
.hv-blue:hover { background: rgba(41,182,246,.12) !important; }

/* Chips. .chip is the accent style; .nchip glows in the colour set by --c. */
.chip, .nchip {
  display: inline-flex; align-items: center; gap: 6px; border: 0; margin: 0; cursor: pointer;
  padding: 7px 12px; border-radius: 15px; font: inherit; font-size: 13px; line-height: 1.55;
  transition: all .15s; text-align: left;
}
.chip-m { padding: 8px 13px; border-radius: 16px; font-size: 13px; }
.chip-l { padding: 9px 14px; border-radius: 18px; font-size: 14px; }
.chip { background: var(--color-surface); color: var(--color-neutral-200); box-shadow: inset 0 0 0 1px var(--color-divider); }
.chip[aria-pressed="true"] { background: var(--color-accent-900); color: var(--color-accent-100); box-shadow: inset 0 0 0 1px var(--color-accent); }
.nchip { background: transparent; color: var(--color-neutral-200); box-shadow: inset 0 0 0 1px var(--color-divider); }
.nchip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 13.3%, transparent); color: var(--color-text); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 10px color-mix(in srgb, var(--c) 33.3%, transparent); }
.chip:focus-visible, .nchip:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23,27,64,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--color-neutral-900); }
.nav-link { cursor: pointer; display: flex; align-items: center; gap: 4px; color: var(--color-neutral-300); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; }
.nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: var(--color-text); }
.nav-link:hover { color: var(--color-accent-200); }
.desk-nav { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.burger { display: none; }
.cta-short { display: none; }
@media (max-width: 1119px) {
  .desk-nav, .svc-menu { display: none !important; }
  .burger { display: inline-flex; }
}
@media (min-width: 1120px) { .mobile-menu { display: none !important; } }
@media (max-width: 599px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

/* Wordmark: "Proper" + a spinning f/t + "y", beside the chimney house. */
.wordmark { display: inline-flex; align-items: center; gap: 0.28em; color: var(--color-text); font-size: 19px; }
.wm-mark { display: inline-flex; flex: none; filter: drop-shadow(0 0 6px var(--color-accent-700)); }
.wm-word { display: inline-flex; align-items: baseline; line-height: 1; font-family: "Sora", var(--font-heading); font-weight: 600; letter-spacing: -0.04em; }
.wm-letter { display: inline-grid; transition: transform .8s cubic-bezier(.55,-0.25,.3,1.35); color: inherit; }
.wm-face { grid-area: 1 / 1; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: opacity .16s linear .32s; }
.wm-puff { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wm-puff.go { animation: pfy-puff 1.3s ease-out both; }
@keyframes pfy-puff { 0% { opacity: 0; transform: translate(0,0) scale(.5); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(2.5px,-7px) scale(1.5); } }

/* Journey rail (hidden on narrow screens) */
@media (max-width: 899px) { .rail { display: none !important; } }

/* Sticky call-to-action bar on narrow screens */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta { display: flex; position: sticky; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #171b40; box-shadow: 0 -1px 0 var(--color-neutral-800); gap: 8px; }
  body.modal-open .sticky-cta { display: none; }
}

/* Lead modal */
body.modal-open { overflow: hidden; }
.dialog-backdrop { z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog { width: 560px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 76px; z-index: 99; padding: 10px 16px; border-radius: 8px; background: var(--color-surface); box-shadow: var(--shadow-lg); font-size: 14px; display: flex; gap: 8px; align-items: center; pointer-events: none; transition: all .25s; opacity: 0; transform: translate(-50%, 10px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Simple text pages (privacy, complaints) */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 18px; }
.prose p, .prose li { font-size: 15px; line-height: 1.65; color: var(--color-neutral-200); margin: 0; }
.prose a { text-decoration: underline; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Checklist printing */
@media print {
  .site-header, .site-footer, .sticky-cta, .band, .crumbs, .no-print, .toast { display: none !important; }
  html, body, .frame { background: #fff !important; color: #000 !important; }
  .print-area, .print-area * { color: #000 !important; box-shadow: none !important; background: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Get started (onboarding) ────────────────────────────────────────────── */
.gs-wrap { max-width: 1180px; margin: 0 auto; padding: 28px var(--pad-x) 56px; box-sizing: border-box; display: flex; gap: 36px; align-items: flex-start; }
.gs-form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.gs-step { display: flex; flex-direction: column; gap: 16px; }
.gs-step-head { display: flex; gap: 14px; align-items: center; }
.gs-num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 14px color-mix(in srgb, var(--c) 33%, transparent); font-variant-numeric: tabular-nums; }
.gs-step-body { display: flex; flex-direction: column; gap: 14px; padding-left: 48px; }
@media (max-width: 599px) { .gs-step-body { padding-left: 0; } }
.gs-options { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 599px) { .gs-option-box { padding: 14px; } .gs-option-price { font-size: 22px; } }
.gs-option { position: relative; cursor: pointer; display: block; }
.gs-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gs-option-box { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: rgba(8,10,34,.6); box-shadow: inset 0 0 0 1px var(--color-divider); transition: box-shadow .15s, transform .15s; height: 100%; box-sizing: border-box; }
.gs-option:hover .gs-option-box { transform: translateY(-2px); }
.gs-option input:checked + .gs-option-box { box-shadow: inset 0 0 0 1.5px var(--c), 0 0 18px color-mix(in srgb, var(--c) 30%, transparent); background: color-mix(in srgb, var(--c) 8%, rgba(8,10,34,.6)); }
.gs-option input:focus-visible + .gs-option-box { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gs-option-label { font-size: 16px; font-weight: 500; }
.gs-option-price { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--color-text); }
.gs-option-sub { font-size: 13px; color: var(--color-neutral-400); }
.gs-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.gs-fields .input { height: 44px; font-size: 15px; }
.gs-agreement { max-height: min(460px, 65vh); overflow-y: auto; padding: 20px 22px; border-radius: 12px; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-divider); font-size: 14px; line-height: 1.6; color: var(--color-neutral-200); }
.gs-agreement h3 { font-size: 17px; margin: 0 0 12px; }
.gs-agreement h4 { font-size: 15px; font-weight: 500; margin: 18px 0 6px; color: var(--color-neutral-100); }
.gs-agreement h5 { font-size: 14px; font-weight: 600; margin: 14px 0 6px; color: var(--color-neutral-100); }
.gs-agreement p { margin: 0 0 8px; }
.gs-agreement ul { margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.gs-agreement li { margin: 0 0 4px; }
.gs-agreement a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.gs-agreement table { width: 100%; max-width: 420px; border-collapse: collapse; margin: 2px 0 12px; }
.gs-agreement th, .gs-agreement td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--color-divider); }
.gs-agreement th { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--color-neutral-400); }
.gs-agreement th:last-child, .gs-agreement td:last-child { text-align: right; padding-right: 0; }
.gs-agreement hr { border: 0; border-top: 1px solid var(--color-divider); margin: 20px 0 4px; }
.gs-note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.gs-agreement:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gs-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--color-neutral-200); cursor: pointer; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--color-divider); }
.gs-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color-accent); cursor: pointer; }
.gs-check:has(input:checked) { box-shadow: inset 0 0 0 1px var(--color-accent-700); background: color-mix(in srgb, var(--color-accent) 6%, transparent); }
.gs-check[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff8fa3; }
.gs-note { margin: 0; font-size: 14px; color: var(--color-neutral-300); line-height: 1.55; }
.gs-draft a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gs-draft { margin: 0; padding: 14px 16px; border-radius: 10px; background: rgba(255,122,47,.12); box-shadow: inset 0 0 0 1px #ff7a2f; font-size: 14px; line-height: 1.5; display: flex; gap: 10px; align-items: baseline; }
.gs-seg { display: inline-flex; align-self: flex-start; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--color-divider); overflow: hidden; }
.gs-seg button { font: inherit; font-size: 13px; padding: 7px 16px; background: none; border: 0; color: var(--color-neutral-300); cursor: pointer; }
.gs-seg button[aria-pressed="true"] { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.gs-pad { position: relative; height: 170px; border-radius: 12px; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-divider); touch-action: none; }
.gs-pad[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff8fa3; }
.gs-pad canvas { display: block; width: 100%; height: 100%; cursor: crosshair; border-radius: 12px; }
.gs-pad-hint { position: absolute; left: 18px; bottom: 34px; right: 18px; padding-top: 6px; border-top: 1px dashed var(--color-neutral-600); font-size: 12px; color: var(--color-neutral-500); pointer-events: none; }
.gs-clear { position: absolute; right: 6px; top: 6px; font-size: 13px; }
.gs-typed-preview { margin-top: 10px; min-height: 64px; padding: 10px 16px; border-radius: 12px; background: var(--color-surface); font: italic 34px/1.4 "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; color: var(--color-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gs-summary { flex: none; width: 340px; position: sticky; top: 86px; }
.gs-summary-card { padding: 22px; border-radius: 14px; background: var(--color-surface); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; }
.gs-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.gs-dl dt { color: var(--color-neutral-400); }
.gs-dl dd { margin: 0; text-align: right; color: var(--color-text); }
.gs-pay-btn { height: 54px; font-size: 16px; width: 100%; box-shadow: 0 0 22px color-mix(in srgb, var(--color-accent) 25%, transparent); }
.gs-pay-btn:disabled { opacity: .6; }
@media (max-width: 899px) {
  .gs-wrap { flex-direction: column; gap: 28px; }
  .gs-summary { width: 100%; position: static; }
}
.gs-done { max-width: 760px; margin: 0 auto; padding: 36px var(--pad-x) 64px; box-sizing: border-box; }
.gs-done:focus { outline: none; }
.gs-done-card { padding: 30px; border-radius: 16px; background: var(--color-surface); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 18px; }
.gs-bank { padding: 18px; border-radius: 12px; background: rgba(8,10,34,.6); box-shadow: inset 0 0 0 1.5px #1fd67a; display: flex; flex-direction: column; gap: 12px; }
.gs-bank .gs-dl dd { font-weight: 600; letter-spacing: .02em; }
.gs-done-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--color-neutral-200); }
.gs-done-list li { display: flex; gap: 10px; align-items: baseline; }
