/* ===========================================================================
   TradeFlow - public pages, v1.5.0-beta.1 (System Design Rework, Batch 01)

   GENERATED. Source: tradeflow-redesign-v5/prototype/assets/
   Rebuild with: python tradeflow-redesign-v5/build-public-css.py
   Do not edit this file by hand - the two copies would diverge silently.

   Loaded by home.php, login.php and register.php, AFTER styles.css.

   Why after and not instead: the home page's walkthrough component (.fpt*,
   rendered by tour.php) is styled in styles.css from around line 8999, and
   the four pages share its theme script and icon links. Loading this sheet
   second lets it win on source order without forking 400 lines of tour CSS.

   Only three class names collide with styles.css - .btn, .card and .alert -
   and none of them is reached there by a compound or !important rule, so
   plain source order settles all three.
   =========================================================================== */

/* ===========================================================================
   TradeFlow — System Design Rework (v1.5.0 candidate)
   Shared design system for home / sign in / free trial / register company.

   The palette is the one the site already ships. Nothing here invents a
   colour: every token below is lifted from home.php's :root block and
   styles.css, so a page built on this file sits beside the rest of the
   product without a reskin.

   What is new is the *system*: one type scale, one spacing rhythm, one
   elevation ladder, one motion vocabulary, and a single rule for where the
   accent is allowed to appear.
   =========================================================================== */


/* ---------------------------------------------------------------- tokens */
:root {
    /* Colour — unchanged from the live site (home.php :root). */
    --ink:      #0d1b2a;
    --body:     #41536b;
    --muted:    #6b7c93;
    --line:     #e2ebf1;
    --bg:       #f6f9fb;
    --card:     #ffffff;
    --brand:    #0e7490;
    --brand-2:  #4f46e5;
    --accent:   #f59e0b;
    --ok:       #10b981;
    --danger:   #ef4444;

    /* Derived surfaces. Mixed from the tokens above, never new hues. */
    --sunken:   color-mix(in srgb, var(--ink) 3%, var(--card));
    --wash:     color-mix(in srgb, var(--brand) 6%, var(--card));
    --wash-2:   color-mix(in srgb, var(--brand-2) 6%, var(--card));
    --wash-acc: color-mix(in srgb, var(--accent) 10%, var(--card));
    --edge:     color-mix(in srgb, var(--brand) 26%, transparent);
    --grad:     linear-gradient(135deg, var(--brand), var(--brand-2));
    --grad-wide:linear-gradient(120deg, var(--brand), var(--brand-2) 58%, var(--accent));

    /* Elevation — three steps, and the page only earns the third on hover. */
    --e1: 0 1px 2px rgba(13,27,42,.05), 0 6px 20px rgba(13,27,42,.055);
    --e2: 0 10px 28px rgba(13,27,42,.09);
    --e3: 0 24px 60px rgba(13,27,42,.14);
    --ring: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);

    /* Radius — one ladder, no ad-hoc values. */
    --r-xs: 8px;
    --r-sm: 11px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Spacing rhythm. Sections are 4 steps; nothing is hand-tuned. */
    --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 22px;
    --s6: 30px; --s7: 40px; --s8: 56px; --s9: 76px; --s10: 104px;

    /* Motion. Every duration and curve in the product comes from here. */
    --ease:     cubic-bezier(.22,.68,.32,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
    --t-fast:   160ms;
    --t-base:   240ms;
    --t-slow:   420ms;
    --t-reveal: 620ms;

    --measure: 62ch;
    --wrap: 1180px;
}

[data-theme="dark"] {
    --ink:     #eaf1fb;
    --body:    #aab9d2;
    --muted:   #8495b2;
    --line:    #1e2b45;
    --bg:      #0a111e;
    --card:    #111b2e;
    --brand:   #22d3ee;
    --brand-2: #818cf8;
    --accent:  #fbbf24;
    --ok:      #34d399;
    --danger:  #fb7185;
    --sunken:  color-mix(in srgb, #ffffff 4%, var(--card));
    --e1: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.34);
    --e2: 0 12px 32px rgba(0,0,0,.46);
    --e3: 0 26px 64px rgba(0,0,0,.56);
    color-scheme: dark;
}

/* The dark theme's brand is #22d3ee, and white text on that is about 1.8:1 -
   unreadable, and it is the left half of every primary button. Anything
   sitting on the gradient takes dark ink instead, which clears 7:1 at the
   cyan end and about 5:1 at the indigo one. The light theme keeps white: its
   brand is #0e7490. */
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .plan__tag,
[data-theme="dark"] .price__tag,
[data-theme="dark"] .group__n,
[data-theme="dark"] .device__h em,
[data-theme="dark"] .brand__mark,
[data-theme="dark"] .sheet__logo,
[data-theme="dark"] .word__av,
[data-theme="dark"] .week__job { color: #06212b; }
[data-theme="dark"] .btn--primary::after {
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
}

/* ------------------------------------------------------------- baseline */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Sora earns the mastheads; Jakarta keeps the prose. The split is what
   makes this read as a system rather than one font doing both jobs. */
h1, h2, .display {
    font-family: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.028em;
    margin: 0 0 .44em;
    font-weight: 700;
}
h3, h4 {
    color: var(--ink);
    line-height: 1.24;
    letter-spacing: -.018em;
    margin: 0 0 .5em;
    font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }

/* Written out rather than wrapped in :where(): styles.css sets
   `a:focus-visible { outline: 3px solid }` at (0,1,1), which would beat a
   (0,1,0) :where() rule and show both rings. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--r-xs);
}

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- motion */
/* One reveal, one stagger, one lift. Used everywhere; defined once. */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--t-reveal) var(--ease-out) var(--d, 0ms),
                transform var(--t-reveal) var(--ease-out) var(--d, 0ms);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@keyframes drift   { from { transform: translate3d(0,0,0) scale(1); }
                     to   { transform: translate3d(34px,26px,0) scale(1.1); } }
@keyframes bob     { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes sweep   { to { background-position: 220% center; } }
@keyframes pulse   { 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
                     100%{ box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@keyframes shimmer { to { transform: translateX(260%); } }
@keyframes dash    { to { stroke-dashoffset: 0; } }
@keyframes rise    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- controls */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px;
    border-radius: var(--r-sm);
    font: inherit; font-weight: 700; font-size: 14.5px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                background var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: 80ms; }

/* Primary: the brand gradient, and a light that travels across it once on
   hover. One line of movement, not a glow that never stops. */
.btn--primary {
    background: var(--grad); color: #fff;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 30%, transparent);
}
.btn--primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
    transform: translateX(-180%);
}
.btn--primary:hover { box-shadow: 0 14px 32px color-mix(in srgb, var(--brand) 40%, transparent); }
.btn--primary:hover::after { animation: shimmer 780ms var(--ease-out); }

.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--e1); }
.btn--ghost:hover { border-color: var(--edge); box-shadow: var(--e2); }

/* Amber has exactly one job in this system: the free-trial path. It appears
   on the trial button, the trial panel and nowhere else. */
.btn--trial {
    background: color-mix(in srgb, var(--accent) 15%, var(--card));
    color: var(--ink);
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn--trial:hover { background: color-mix(in srgb, var(--accent) 22%, var(--card)); }

.btn--quiet { background: transparent; color: var(--body); padding-inline: 12px; }
.btn--quiet:hover { color: var(--ink); background: var(--sunken); transform: none; }

.btn--lg  { padding: 14px 26px; font-size: 15.5px; border-radius: var(--r-md); }
.btn--block { width: 100%; }

.icon-btn {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: var(--r-sm); border: 1px solid var(--line);
    background: var(--card); color: var(--ink); cursor: pointer;
    transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.icon-btn:hover { transform: rotate(-16deg); border-color: var(--edge); }
.icon-btn svg { width: 17px; height: 17px; }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* ----------------------------------------------------------------- bits */
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--r-pill);
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--e1);
    font-size: 13px; font-weight: 700; color: var(--ink);
}
.pill .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
    animation: pulse 2.2s infinite;
}

.eyebrow {
    font-size: 12px; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase; color: var(--brand); margin: 0 0 10px;
}

.grad-text {
    background: var(--grad-wide);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    background-size: 220% auto;
    animation: sweep 8s linear infinite;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--e1);
}

.hr { height: 1px; background: var(--line); border: 0; margin: var(--s5) 0; }

/* ---------------------------------------------------------------- forms */
/* CASE IS A SYSTEM DECISION, NOT DRIFT. Labels and buttons are sentence
   case throughout: "Email address", not "Email Address"; "Sign in", not
   "Sign In"; "Free trial", not "Free Trial". The live pages are
   inconsistent between the two - Title Case on the auth cards, sentence
   case in the workspace - and one of them had to win. Where a label's
   WORDS differ from the live page, that is drift and a bug; where only the
   capitalisation differs, it is this rule. */
.field { margin-bottom: var(--s4); }
.field > label,
.field-label {
    display: block;
    font-size: 13px; font-weight: 700; color: var(--ink);
    margin-bottom: 7px; letter-spacing: -.005em;
}
.field .opt { font-weight: 600; color: var(--muted); }

.input, input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit; font-size: 15px;
    color: var(--ink);
    background: var(--sunken);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color var(--t-fast) var(--ease),
                background var(--t-fast) var(--ease),
                box-shadow var(--t-fast) var(--ease);
}
.input::placeholder, input::placeholder { color: var(--muted); opacity: .85; }
.input:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    background: var(--card);
    border-color: var(--edge);
    box-shadow: var(--ring);
}
.hint { font-size: 12.5px; color: var(--muted); margin: 7px 0 0; line-height: 1.55; }

/* Password reveal. On the sign-in pages this is the live control,
   restyled so the eye sits inside the field instead of beside it
   (login.php:172). On the registration forms it is an addition - those
   render a bare password input - and is disclosed there. */
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 0; background: transparent; color: var(--muted); cursor: pointer;
    border-radius: var(--r-xs);
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pw button:hover { color: var(--ink); background: var(--sunken); }
.pw button svg { width: 18px; height: 18px; }
.pw .off { display: none; }
.pw.show .on  { display: none; }
.pw.show .off { display: block; }

/* A labelled group, so a long form reads as three short ones. */
.group { border: 0; padding: 0; margin: 0 0 var(--s6); }
.group__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: var(--s4); }
.group__n {
    width: 23px; height: 23px; flex: 0 0 auto; border-radius: 7px;
    background: var(--grad); color: #fff;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 800; font-family: "Sora", sans-serif;
    transform: translateY(3px);
}
.group__head h3 { margin: 0; font-size: 16.5px; }
.group__head span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Trade picker — the live <select> becomes a chip row. Same six values,
   same name, one tap instead of a dropdown. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    position: relative; cursor: pointer;
    padding: 9px 15px; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: var(--card);
    font-size: 14px; font-weight: 700; color: var(--body);
    display: inline-flex; align-items: center; gap: 7px;
    transition: all var(--t-base) var(--ease);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip svg { width: 15px; height: 15px; opacity: .7; }
.chip:hover { border-color: var(--edge); color: var(--ink); transform: translateY(-1px); }
.chip:has(input:checked) {
    background: color-mix(in srgb, var(--brand) 11%, var(--card));
    border-color: var(--edge);
    color: var(--brand);
    box-shadow: var(--ring);
}
.chip:has(input:checked) svg { opacity: 1; }

/* Disclosure — the long app-password explanation folds away instead of
   taking six lines of the form. */
.disclose { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--sunken); overflow: hidden; }
.disclose > summary {
    list-style: none; cursor: pointer;
    padding: 13px 15px;
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: var(--ink);
}
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary .caret {
    margin-left: auto; width: 16px; height: 16px; color: var(--muted);
    transition: transform var(--t-base) var(--ease);
}
.disclose[open] > summary .caret { transform: rotate(180deg); }
.disclose[open] > summary { border-bottom: 1px solid var(--line); }
.disclose__body { padding: 15px; animation: rise var(--t-base) var(--ease-out); }
.disclose__body > *:last-child { margin-bottom: 0; }

/* Alerts — the four states the live pages already render. */
.alert {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 13px 15px; border-radius: var(--r-md);
    font-size: 14px; line-height: 1.55;
    border: 1px solid; margin-bottom: var(--s4);
}
.alert svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.alert--ok   { background: color-mix(in srgb, var(--ok) 9%, var(--card));     border-color: color-mix(in srgb, var(--ok) 30%, transparent);     color: var(--ink); }
.alert--ok svg { color: var(--ok); }
.alert--warn { background: color-mix(in srgb, var(--accent) 11%, var(--card)); border-color: color-mix(in srgb, var(--accent) 34%, transparent); color: var(--ink); }
.alert--warn svg { color: var(--accent); }
.alert--bad  { background: color-mix(in srgb, var(--danger) 9%, var(--card));  border-color: color-mix(in srgb, var(--danger) 30%, transparent);  color: var(--ink); }
.alert--bad svg { color: var(--danger); }

/* ------------------------------------------------------- the auth layout */
/* Sign in, free trial and register all share one frame: a brand panel that
   carries the proposition, and a column that carries the form. The live
   pages put a 440px card in the middle of a 1440px screen and leave the
   rest empty. */
.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.86fr 1fr;
}
.auth--wide { grid-template-columns: 0.72fr 1fr; }

.panel {
    position: relative;
    overflow: hidden;
    padding: var(--s8) var(--s7);
    display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(150deg, #0b2b3a 0%, #122a63 54%, #1d1f55 100%);
    color: #e8f1f8;
}
[data-theme="dark"] .panel { background: linear-gradient(150deg, #06131f 0%, #0d1733 56%, #151538 100%); }
.panel__blobs { position: absolute; inset: 0; pointer-events: none; }
.panel__blobs span {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
    animation: drift 24s var(--ease) infinite alternate;
}
.panel__blobs span:nth-child(1) { width: 440px; height: 440px; left: -150px; top: -110px; background: color-mix(in srgb, var(--brand) 62%, transparent); }
.panel__blobs span:nth-child(2) { width: 400px; height: 400px; right: -140px; top: 32%; background: color-mix(in srgb, var(--brand-2) 58%, transparent); animation-delay: -8s; }
.panel__blobs span:nth-child(3) { width: 320px; height: 320px; left: 24%; bottom: -150px; background: color-mix(in srgb, var(--accent) 34%, transparent); animation-delay: -15s; }
/* A hairline grid behind the blobs. It is what keeps the panel from
   reading as a gradient wallpaper. */
.panel::before {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(130% 95% at 20% 12%, #000 38%, transparent 76%);
}
.panel > * { position: relative; z-index: 1; }
/* Written after, and one step more specific, than the rule above: otherwise
   `.panel > *` turns the blob layer back into a flex item, which both eats a
   space-between gap and collapses the blobs into a zero-height box. */
.panel > .panel__blobs { position: absolute; z-index: 0; }

.panel__brand { display: flex; align-items: center; gap: 11px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -.02em; }
.panel__mark {
    width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); color: #fff;
    backdrop-filter: blur(6px);
}
.panel__mark svg { width: 20px; height: 20px; }

.panel__mid { padding-block: var(--s7); }
.panel__mid h2 { color: #fff; font-size: clamp(27px, 2.7vw, 37px); margin-bottom: 14px; max-width: 17ch; }
.panel__mid p  { color: rgba(232,241,248,.82); font-size: 16px; max-width: 42ch; margin: 0; }

.panel__list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: 13px; }
.panel__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.8px; color: rgba(232,241,248,.9); }
.panel__list .tick {
    width: 22px; height: 22px; flex: 0 0 auto; border-radius: 7px; margin-top: 1px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.panel__list .tick svg { width: 13px; height: 13px; }

.panel__foot { font-size: 13px; color: rgba(232,241,248,.62); display: flex; gap: 16px; flex-wrap: wrap; }
.panel__foot a { color: rgba(232,241,248,.82); font-weight: 600; }
.panel__foot a:hover { color: #fff; }

/* The form side. */
.formside {
    padding: var(--s7);
    display: flex; flex-direction: column;
    background: var(--bg);
}
.formside__top { display: flex; align-items: center; gap: 10px; margin-bottom: auto; }
/* A form too tall to centre starts at the top instead of floating. */
.formside--flow { justify-content: flex-start; }
.formside--flow .formside__top { margin-bottom: var(--s5); }
.formside__top .spacer { margin-left: auto; }
.formside__body { width: 100%; max-width: 420px; margin-inline: auto; padding-block: var(--s7); }
.formside--wide .formside__body { max-width: 760px; }
.formside__bottom { margin-top: auto; text-align: center; font-size: 13.5px; color: var(--muted); }

.form-head { margin-bottom: var(--s6); }
.form-head h1 { font-size: clamp(27px, 3vw, 34px); margin-bottom: 8px; }
.form-head p  { font-size: 15.5px; margin: 0; }

.alt {
    margin-top: var(--s6); padding-top: var(--s5);
    border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 14px; flex-wrap: wrap;
}
.alt span { color: var(--muted); }

/* Plan cards — replaces three radio rows whose dot floated in open space. */
.plans { display: grid; gap: 10px; }
.plan {
    position: relative; cursor: pointer; display: block;
    padding: 15px 17px;
    border: 1.5px solid var(--line); border-radius: var(--r-md);
    background: var(--card);
    transition: all var(--t-base) var(--ease);
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__row { display: flex; align-items: baseline; gap: 10px; }
.plan__name { font-weight: 800; color: var(--ink); font-size: 15.5px; }
.plan__amt  { margin-left: auto; font-family: "Sora", sans-serif; font-weight: 700; color: var(--ink); font-size: 19px; letter-spacing: -.02em; }
.plan__amt small { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__who  { display: block; font-size: 13.2px; color: var(--muted); margin-top: 3px; }
.plan__tag {
    position: absolute; top: -9px; right: 14px;
    background: var(--grad); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: .1em;
    padding: 3px 9px; border-radius: var(--r-pill);
}
.plan:hover { border-color: var(--edge); transform: translateY(-2px); box-shadow: var(--e2); }
.plan:has(input:checked) {
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 6%, var(--card));
    box-shadow: var(--e2);
}
.plan__check {
    position: absolute; left: -1.5px; top: -1.5px; bottom: -1.5px; width: 4px;
    border-radius: var(--r-md) 0 0 var(--r-md);
    background: var(--grad);
    transform: scaleY(0); transform-origin: center;
    transition: transform var(--t-base) var(--ease-out);
}
.plan:has(input:checked) .plan__check { transform: scaleY(1); }

/* The reassurance block on the trial path. Amber, because it is the trial. */
.reassure {
    display: flex; gap: 13px; align-items: flex-start;
    padding: 15px 17px; border-radius: var(--r-md);
    background: var(--wash-acc);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
    margin-bottom: var(--s5);
}
.reassure strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.reassure span  { font-size: 13.4px; color: var(--body); line-height: 1.55; }
.reassure .ico {
    width: 34px; height: 34px; flex: 0 0 auto; border-radius: var(--r-sm);
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    color: color-mix(in srgb, var(--accent) 74%, var(--ink));
}
.reassure .ico svg { width: 18px; height: 18px; }

/* Repeater rows for the multi-trade adder. */
.repeat { display: grid; gap: 8px; }
.repeat__row { display: flex; gap: 8px; animation: rise var(--t-base) var(--ease-out); }
.repeat__row input { flex: 1; }
.repeat__row button {
    flex: 0 0 auto; width: 42px; display: grid; place-items: center;
    border: 1px solid var(--line); background: var(--card); color: var(--muted);
    border-radius: var(--r-sm); cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.repeat__row button:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.repeat__row button svg { width: 16px; height: 16px; }

/* Progress rail across the top of a long form. */
.steps-rail { display: flex; gap: 6px; margin-bottom: var(--s6); }
.steps-rail div { flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps-rail div i { display: block; height: 100%; width: 0; background: var(--grad); transition: width var(--t-slow) var(--ease-out); }
.steps-rail div.done i { width: 100%; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
    .auth, .auth--wide { grid-template-columns: 1fr; min-height: 0; }
    .panel { padding: var(--s6) var(--s5) var(--s7); }
    .panel__mid { margin-top: var(--s6); padding-block: 0; }
    .panel__mid h2 { font-size: 26px; max-width: none; }
    .panel__list { margin-top: var(--s5); grid-template-columns: 1fr 1fr; }
    .panel__foot { margin-top: var(--s6); }
    .formside { padding: var(--s5) var(--s4) var(--s7); }
    .formside__body { padding-block: var(--s5); max-width: none; }
    .formside--wide .formside__body { max-width: none; }
}

@media (max-width: 620px) {
    .panel__list { grid-template-columns: 1fr; }
    .panel__mid h2 { font-size: 23.5px; }
    .btn { min-height: 46px; }
    .icon-btn { width: 44px; height: 44px; }
    .chip { min-height: 44px; }

    /* A group heading and its aside do not share a line on a phone. */
    .group__head { flex-wrap: wrap; }
    .group__head span { flex: 1 1 100%; margin-left: 33px; }

    /* A label beside a full-width button reads as two broken columns.
       Stack it, and let the button take the width it wants anyway. */
    .alt { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
    .alt .btn { width: 100%; }
}

/* ------------------------------------------- the keyboard zoom on a phone */
/* iOS Safari zooms the page in whenever a focused input's font-size is under
   16px, and then leaves it zoomed: the field fills the screen, the rest of
   the form is off the edge, and nothing puts it back but a pinch. Every text
   input here was 15px - one pixel under the threshold - so it happened on
   every field of every form.
 *
 * Sixteen pixels is the entire fix. It is also why this does NOT use
 * `maximum-scale=1, user-scalable=no` on the viewport, which is the usual
 * suggestion: Safari has ignored it since iOS 10 so it would not help here,
 * and on the browsers that do honour it it takes deliberate pinch-zoom away
 * from anyone who needs to magnify the page. Removing the trigger is better
 * than removing the gesture.
 *
 * .code is excluded on purpose - the two-factor box is 30px and the Business
 * ID box 18px, both already over the threshold. The attribute selectors below
 * would otherwise outrank their class and shrink them. */
@media (hover: none) and (pointer: coarse), (max-width: 820px) {
    .input:not(.code),
    input[type="text"]:not(.code),
    input[type="email"]:not(.code),
    input[type="password"]:not(.code),
    input[type="tel"]:not(.code),
    input[type="number"]:not(.code),
    input[type="search"]:not(.code),
    input[type="url"]:not(.code),
    select,
    textarea {
        font-size: 16px;
    }

    /* The sign-in and free-trial frames already drop their 100vh on a phone.
       The registration one did not, so when the keyboard opened and Android
       shrank the visual viewport, the whole frame reflowed under the caret. */
    .auth--reg { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}


/* ===========================================================================
   Home page — layout on top of v5.css.

   The live home page hotlinks eleven Unsplash photographs of generic people.
   Every picture here is drawn instead: the same brand tokens, sharp at any
   screen density, nothing to load from a third party, and nothing that can
   go missing when images.unsplash.com is slow or blocked. That is the
   "better visuals" part of this rework — not bigger photos, no photos.
   =========================================================================== */

/* ------------------------------------------------------------------- nav */
.nav {
    position: sticky; top: 0; z-index: 60;
    backdrop-filter: saturate(170%) blur(16px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-slow) var(--ease),
                padding var(--t-slow) var(--ease),
                box-shadow var(--t-slow) var(--ease);
    padding: 15px 0;
}
.nav.is-stuck { border-bottom-color: var(--line); padding: 9px 0; box-shadow: 0 6px 24px rgba(13,27,42,.05); }
.nav__progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--grad); transform-origin: left; transform: scaleX(0);
}
.nav__in { display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; color: var(--ink); font-size: 17.5px; letter-spacing: -.025em; }
.brand__mark {
    width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
    background: var(--grad); color: #fff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 32%, transparent);
    transition: transform var(--t-base) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__mark svg { width: 18px; height: 18px; }

.nav__links { display: flex; gap: 22px; margin-left: 12px; }
.nav__links a { color: var(--body); font-weight: 600; font-size: 14.5px; position: relative; padding: 4px 0; }
.nav__links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    background: var(--brand); border-radius: 2px; transition: right var(--t-slow) var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Four call-to-action buttons in one bar is three too many. The two
   registration routes move into a menu; both stay one click away. */
.menu { position: relative; }
.menu__btn { display: inline-flex; align-items: center; gap: 6px; }
.menu__btn svg.caret { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
.menu.is-open .menu__btn svg.caret { transform: rotate(180deg); }
.menu__pop {
    position: absolute; right: 0; top: calc(100% + 9px); width: 268px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--e3); padding: 7px;
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985);
    transition: all var(--t-base) var(--ease-out);
    z-index: 70;
}
.menu.is-open .menu__pop { opacity: 1; visibility: visible; transform: none; }
.menu__pop a { display: flex; gap: 11px; padding: 11px 12px; border-radius: var(--r-sm); transition: background var(--t-fast) var(--ease); }
.menu__pop a:hover { background: var(--sunken); }
.menu__pop .ico { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: var(--wash); color: var(--brand); border: 1px solid var(--line); }
.menu__pop .ico svg { width: 16px; height: 16px; }
.menu__pop b { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.menu__pop small { display: block; font-size: 12.3px; color: var(--muted); line-height: 1.4; }

.nav__burger { display: none; }

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--s9) 0 var(--s8); overflow: hidden; position: relative; }
.hero__blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero__blobs span { position: absolute; border-radius: 50%; filter: blur(78px); opacity: .42; animation: drift 24s var(--ease) infinite alternate; }
.hero__blobs span:nth-child(1) { width: 460px; height: 460px; left: -150px; top: -130px; background: color-mix(in srgb, var(--brand) 46%, transparent); }
.hero__blobs span:nth-child(2) { width: 420px; height: 420px; right: -130px; top: 30px; background: color-mix(in srgb, var(--brand-2) 40%, transparent); animation-delay: -8s; }
.hero__blobs span:nth-child(3) { width: 330px; height: 330px; left: 44%; bottom: -180px; background: color-mix(in srgb, var(--accent) 30%, transparent); animation-delay: -15s; }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.1vw, 59px); font-weight: 800; margin-bottom: 20px; }
.hero__sub { font-size: clamp(16px, 1.5vw, 18.5px); max-width: 52ch; color: var(--body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 11px; margin: 28px 0 18px; }
.hero__note { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--ok); }

/* ------------------------------------------------- the drawn app window */
.device { position: relative; }
.device__frame {
    border-radius: var(--r-xl);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--e3);
    overflow: hidden;
    transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.device:hover .device__frame { transform: translateY(-5px); box-shadow: var(--e3), 0 40px 80px rgba(13,27,42,.12); }
.device__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.device__url { margin-left: 10px; font-size: 11.5px; color: var(--muted); font-weight: 600; }

.device__body { display: grid; grid-template-columns: 148px 1fr; min-height: 348px; }
.device__side { border-right: 1px solid var(--line); padding: 14px 11px; background: var(--sunken); }
.device__side b { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 6px 9px; }
.device__nav { display: grid; gap: 2px; }
.device__nav span { display: flex; align-items: center; gap: 8px; font-size: 12.3px; font-weight: 600; color: var(--body); padding: 7px 8px; border-radius: 8px; }
.device__nav span svg { width: 14px; height: 14px; opacity: .7; }
.device__nav span.on { background: var(--card); color: var(--brand); box-shadow: var(--e1); }
.device__nav span.on svg { opacity: 1; }

.device__main { padding: 15px 16px; display: grid; gap: 11px; align-content: start; }
.device__h { display: flex; align-items: center; gap: 9px; }
.device__h b { font-size: 14.5px; color: var(--ink); font-family: "Sora", sans-serif; }
.device__h em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: var(--r-pill); }

.jrow {
    display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center;
    padding: 10px 11px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card);
    transition: all var(--t-base) var(--ease);
}
.jrow:hover { border-color: var(--edge); transform: translateX(3px); }
.jrow .av { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--wash); color: var(--brand); border: 1px solid var(--line); }
.jrow .av svg { width: 15px; height: 15px; }
.jrow b { display: block; font-size: 12.8px; color: var(--ink); line-height: 1.3; }
.jrow small { display: block; font-size: 11.2px; color: var(--muted); }
.jrow .tag { font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: var(--r-pill); letter-spacing: .02em; }
.tag--ok   { background: color-mix(in srgb, var(--ok) 13%, transparent);     color: color-mix(in srgb, var(--ok) 80%, var(--ink)); }
.tag--due  { background: color-mix(in srgb, var(--accent) 17%, transparent); color: color-mix(in srgb, var(--accent) 76%, var(--ink)); }
.tag--new  { background: color-mix(in srgb, var(--brand) 13%, transparent);  color: var(--brand); }

/* The bars at the foot of the window: a week, drawn. */
.weekbar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 54px; margin-top: 2px; }
.weekbar i { display: block; border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: .82; transform-origin: bottom; animation: growbar 900ms var(--ease-out) backwards; }
@keyframes growbar { from { transform: scaleY(0); } }

/* Floating chips over the window. */
.chipf {
    position: absolute; z-index: 2;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 10px 13px; box-shadow: var(--e3);
    display: flex; align-items: center; gap: 10px;
    font-size: 12.8px; font-weight: 700; color: var(--ink);
    opacity: 0; transform: translateY(10px) scale(.96);
    transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), box-shadow var(--t-base) var(--ease);
}
.chipf.on { opacity: 1; transform: none; animation: bob 6s var(--ease) infinite alternate; }
.chipf.hot { box-shadow: var(--e3), 0 0 0 2px var(--edge); }
.chipf small { display: block; font-weight: 600; color: var(--muted); font-size: 11.2px; }
.chipf .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--wash); color: var(--brand); }
.chipf .ico svg { width: 15px; height: 15px; }
/* Placed so each one straddles an edge rather than covering a row: the
   window stays readable underneath. */
.chipf--1 { left: -38px; top: -18px; animation-delay: 0s; }
.chipf--2 { right: -30px; bottom: 16%; }
.chipf--3 { left: 2%; bottom: -24px; }

/* ------------------------------------------------------------ stat band */
/* One band with hairline dividers, rather than four separate boxes. It is
   quieter, and quiet is what reads as professional here. */
.band { padding: 0 0 var(--s9); }
.band__in {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--e1); overflow: hidden;
}
.band__cell { padding: 26px 22px; text-align: center; position: relative; }
.band__cell + .band__cell::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.band__cell b { display: block; font-family: "Sora", sans-serif; font-size: clamp(27px, 3vw, 36px); color: var(--ink); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 7px; }
.band__cell span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.45; display: block; }

/* -------------------------------------------------------------- section */
.sec { padding: var(--s9) 0; }
.sec--tight { padding: var(--s8) 0; }
.sec--wash { background: color-mix(in srgb, var(--brand) 3.5%, var(--bg)); border-block: 1px solid var(--line); }
.sec-head { max-width: 60ch; margin: 0 auto var(--s7); text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.5vw, 42px); }
.sec-head .lead { font-size: 16.5px; color: var(--body); margin: 0; }

/* ------------------------------------------------------------- features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 26px 24px; box-shadow: var(--e1); position: relative; overflow: hidden;
    transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
}
.feature::after {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: var(--grad); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-slow) var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--e3); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature__ico {
    width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 15%, transparent), color-mix(in srgb, var(--brand-2) 15%, transparent));
    color: var(--brand);
    transition: transform var(--t-base) var(--ease);
}
.feature:hover .feature__ico { transform: scale(1.08) rotate(-5deg); }
.feature__ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; font-size: 14.6px; }

/* ---------------------------------------------------------------- steps */
/* No photographs. A numbered rail with a drawn tile each. */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 10%; right: 10%; top: 86px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
    z-index: 0;
}
.step { position: relative; z-index: 1; }
.step__tile {
    height: 112px; border-radius: var(--r-lg); margin-bottom: 16px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 13%, var(--card)), color-mix(in srgb, var(--brand-2) 12%, var(--card)));
    border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--brand);
    position: relative; overflow: hidden;
    transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.step:hover .step__tile { transform: translateY(-5px); box-shadow: var(--e2); }
.step__tile svg { width: 38px; height: 38px; position: relative; z-index: 1; }
.step__tile::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 22%, transparent) 1px, transparent 0);
    background-size: 13px 13px; opacity: .5;
}
.step__n {
    width: 30px; height: 30px; border-radius: 10px; background: var(--ink); color: var(--bg);
    display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-bottom: 10px;
    font-family: "Sora", sans-serif;
}
.step h3 { font-size: 16.5px; }
.step p { font-size: 14.2px; margin: 0; }

/* ----------------------------------------------------------- deep dives */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: var(--s8) 0; }
.dive:nth-of-type(even) .dive__text { order: 2; }
.dive h3 { font-size: clamp(23px, 2.7vw, 32px); font-family: "Sora", sans-serif; font-weight: 700; letter-spacing: -.028em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.8px; }
.ticks svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--brand); margin-top: 2px; }

/* Each dive gets a drawn mock of the thing it describes. */
.mock {
    border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card);
    box-shadow: var(--e2); padding: 20px; position: relative; overflow: hidden;
}
.mock::before {
    content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
    background: linear-gradient(0deg, color-mix(in srgb, var(--brand) 6%, transparent), transparent);
    pointer-events: none;
}
.mock__top { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.mock__top b { font-size: 13.5px; color: var(--ink); font-family: "Sora", sans-serif; }
.mock__top .tag { margin-left: auto; }

/* certificate sheet */
.sheet { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; background: var(--sunken); }
.sheet__hd { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); margin-bottom: 12px; }
.sheet__logo { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.sheet__logo svg { width: 17px; height: 17px; }
.sheet__hd b { font-size: 13px; color: var(--ink); display: block; line-height: 1.25; }
.sheet__hd small { font-size: 10.6px; color: var(--muted); }
.sheet__hd em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--brand); }
.sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 12px; }
.sheet__grid div { background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; }
.sheet__grid small { display: block; font-size: 9.4px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.sheet__grid b { font-size: 11.6px; color: var(--ink); }
.sheet__rows { display: grid; gap: 5px; }
.sheet__row { display: grid; grid-template-columns: 1fr 52px 46px; gap: 7px; align-items: center; font-size: 11.2px; background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; }
.sheet__row span:first-child { color: var(--ink); font-weight: 700; }
.sheet__row span:nth-child(2) { color: var(--muted); }
.sheet__row em { font-style: normal; font-size: 9.6px; font-weight: 800; color: color-mix(in srgb, var(--ok) 80%, var(--ink)); background: color-mix(in srgb, var(--ok) 13%, transparent); padding: 3px 0; border-radius: 5px; text-align: center; }
.sheet__sign { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; gap: 12px; }
.sheet__sign svg { width: 92px; height: 30px; color: var(--ink); }
.sheet__sign small { font-size: 9.6px; color: var(--muted); }

/* week grid */
.week { display: grid; grid-template-columns: 34px repeat(5, 1fr); gap: 5px; font-size: 10.4px; }
.week__hd { color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; text-align: center; padding-bottom: 4px; }
.week__t { color: var(--muted); text-align: right; padding-right: 5px; line-height: 30px; }
.week__cell { height: 30px; border: 1px dashed var(--line); border-radius: 6px; }
.week__job {
    height: 30px; border-radius: 6px; padding: 0 7px; display: flex; align-items: center;
    font-weight: 700; color: #fff; font-size: 10px; overflow: hidden; white-space: nowrap;
    background: var(--grad); box-shadow: var(--e1);
}
.week__job--b { background: linear-gradient(135deg, var(--brand-2), #7c3aed); }
.week__job--c { background: linear-gradient(135deg, var(--accent), #ea580c); }
.week__now { grid-column: 1 / -1; height: 2px; background: var(--danger); border-radius: 2px; position: relative; margin: 2px 0; }
.week__now::after { content: ""; position: absolute; left: 30px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }

/* money list */
.money { display: grid; gap: 7px; }
.money__row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.money__row b { font-size: 12.6px; color: var(--ink); display: block; line-height: 1.3; }
.money__row small { font-size: 11px; color: var(--muted); }
.money__amt { font-family: "Sora", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -.02em; }
.money__tot { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.money__tot span { font-size: 12.4px; color: var(--muted); font-weight: 700; }
.money__tot b { margin-left: auto; font-family: "Sora", sans-serif; font-size: 21px; color: var(--ink); letter-spacing: -.03em; }

/* --------------------------------------------------------------- trades */
.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trade {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line); background: var(--card); box-shadow: var(--e1);
    padding: 22px 20px 20px;
    transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.trade:hover { transform: translateY(-6px); box-shadow: var(--e3); }
.trade__art {
    height: 96px; border-radius: var(--r-md); margin-bottom: 15px;
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.trade__art svg { width: 40px; height: 40px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); }
.trade__art::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,.3) 1px, transparent 0);
    background-size: 15px 15px; opacity: .45;
}
.trade b { display: block; font-size: 16.5px; color: var(--ink); font-family: "Sora", sans-serif; letter-spacing: -.02em; }
.trade small { display: block; font-size: 13.2px; color: var(--muted); margin-top: 2px; }

/* ----------------------------------------------------------- quotations */
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.word { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--e1); display: flex; flex-direction: column; transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease); }
.word:hover { transform: translateY(-5px); box-shadow: var(--e2); }
.word__stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; margin-bottom: 11px; }
.word__q { font-size: 15.4px; color: var(--ink); line-height: 1.6; margin: 0 0 18px; }
.word__who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.word__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; font-family: "Sora", sans-serif; flex: 0 0 auto; }
.word__who b { display: block; font-size: 13.6px; color: var(--ink); line-height: 1.3; }
.word__who small { font-size: 12.4px; color: var(--muted); }

/* -------------------------------------------------------------- pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
    padding: 28px 26px; box-shadow: var(--e1); position: relative;
    transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--e3); }
.price--best { border-color: var(--edge); box-shadow: var(--e2); }
.price--best::before {
    content: ""; position: absolute; inset: -1px; border-radius: var(--r-xl); padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.price__tag {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
    padding: 5px 13px; border-radius: var(--r-pill);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 34%, transparent);
}
.price h3 { font-size: 17px; margin-bottom: 4px; }
.price__amt { font-family: "Sora", sans-serif; font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; margin: 0 0 4px; }
.price__amt small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price__free { font-size: 12.8px; color: var(--brand); font-weight: 700; margin: 0 0 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.2px; }
.price li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--brand); margin-top: 1px; }

/* ------------------------------------------------------------------ faq */
.faqs { max-width: 820px; margin-inline: auto; display: grid; gap: 9px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.faq[open] { border-color: var(--edge); box-shadow: var(--e2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-size: 15.2px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .caret { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; transition: transform var(--t-base) var(--ease); }
.faq[open] summary .caret { transform: rotate(180deg); color: var(--brand); }
.faq__body { padding: 0 18px 17px; animation: rise var(--t-base) var(--ease-out); }
.faq__body p { margin: 0; font-size: 14.6px; }

/* -------------------------------------------------------------- closing */
.closing {
    position: relative; overflow: hidden; text-align: center;
    border-radius: var(--r-xl); padding: var(--s9) var(--s6);
    background: linear-gradient(150deg, #0b2b3a 0%, #122a63 56%, #1d1f55 100%);
    color: #e8f1f8;
}
[data-theme="dark"] .closing { background: linear-gradient(150deg, #06131f 0%, #0d1733 56%, #151538 100%); }
.closing::before {
    content: ""; position: absolute; inset: 0; opacity: .45;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(90% 70% at 50% 30%, #000 36%, transparent 78%);
}
.closing__blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 22s var(--ease) infinite alternate; }
.closing__blob:nth-of-type(1) { left: -80px; top: -120px; background: color-mix(in srgb, var(--brand) 60%, transparent); }
.closing__blob:nth-of-type(2) { right: -80px; bottom: -140px; background: color-mix(in srgb, var(--brand-2) 55%, transparent); animation-delay: -10s; }
.closing > * { position: relative; z-index: 1; }
.closing h2 { color: #fff; font-size: clamp(27px, 3.6vw, 42px); margin-bottom: 12px; }
.closing p { color: rgba(232,241,248,.82); font-size: 16.5px; max-width: 52ch; margin: 0 auto 28px; }
.closing .btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.closing .btn--ghost:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.34); }
.closing .btn-row { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------------- foot */
.foot { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s6); background: var(--card); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: var(--body); font-size: 14.2px; font-weight: 500; transition: color var(--t-fast) var(--ease); }
.foot a:hover { color: var(--brand); }
.foot__bar { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.foot__bar .spacer { margin-left: auto; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .device__frame { transform: none; }
    .chipf--1 { left: 0; } .chipf--2 { right: 0; }
    .features, .trades, .words { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .dive { grid-template-columns: 1fr; gap: 30px; }
    .dive:nth-of-type(even) .dive__text { order: 0; }
    .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 1000px) {
    .nav__links, .nav__cta { display: none; flex: 1 1 100%; margin: 0; padding-top: 12px; }
    .nav__in { flex-wrap: wrap; }
    .nav__burger {
        display: grid; place-content: center; gap: 4px; margin-left: auto;
        width: 44px; height: 44px; border-radius: var(--r-sm);
        border: 1px solid var(--line); background: var(--card); cursor: pointer;
    }
    .nav__burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
    .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 2px; }
    .nav.is-open .nav__links a { padding: 11px 2px; font-size: 15.5px; }
    .nav.is-open .nav__cta { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
    .nav.is-open .nav__cta .btn { flex: 1 1 calc(50% - 4px); min-height: 46px; }
    .nav.is-open .menu { flex: 1 1 100%; }
    .nav.is-open .menu__btn { width: 100%; }
    .nav.is-open .menu__pop { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 7px; }
    .nav.is-open .menu.is-open .menu__pop { display: block; }
    .band__in { grid-template-columns: 1fr 1fr; }
    .band__cell:nth-child(3)::before, .band__cell:nth-child(1)::before { display: none; }
    .band__cell:nth-child(3), .band__cell:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
    .sec { padding: var(--s8) 0; }
    .hero { padding: var(--s7) 0 var(--s8); }
    .hero__cta .btn { flex: 1 1 calc(50% - 6px); }
    .hero__cta .btn:first-child { flex: 1 1 100%; }
    .features, .trades, .words, .prices, .steps { grid-template-columns: 1fr; }
    .foot__grid { grid-template-columns: 1fr; }
    .device__body { grid-template-columns: 1fr; }
    .device__side { display: none; }
    .chipf--1, .chipf--2, .chipf--3 { position: static; margin-top: 9px; }
    .closing { padding: var(--s8) var(--s5); border-radius: var(--r-lg); }
    .sheet__grid { grid-template-columns: 1fr 1fr; }

    /* A row of cards that swipes, rather than a column that never ends. */
    .swipe {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
        overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
        margin-inline: -20px; padding-inline: 20px; padding-bottom: 4px;
        scrollbar-width: none;
    }
    .swipe::-webkit-scrollbar { display: none; }
    .swipe > * { scroll-snap-align: start; }
    .swipe-hint { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
}
@media (min-width: 721px) { .swipe-hint { display: none; } }


/* ===========================================================================
   Page-specific rules for the auth screens.

   In the prototype these lived in each page's own <style> block, because
   each page was a separate file. Merged into one production sheet they need
   collecting here, and one rename: the free-trial page's 30-day rail and the
   registration page's plan rail were both called `.rail`. The plan rail
   keeps the name; the 30-day one becomes `.daysrail`.
   =========================================================================== */

/* ------------------------------------------------- shared across the four */

/* The two links the live card rendered as buttons in the middle of itself,
   moved to the top rail where navigation belongs. */
.toplinks { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.toplinks a {
    font-size: 14px; font-weight: 700; color: var(--body);
    padding: 8px 12px; border-radius: var(--r-xs);
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.toplinks a:hover { color: var(--ink); background: var(--sunken); }

.back { display: inline-flex; align-items: center; gap: 7px; }
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--brand); }

/* A field whose value was rejected. The live pages put a red line above a
   form that still looked perfectly filled in. */
.field--bad input { border-color: color-mix(in srgb, var(--danger) 55%, transparent); background: color-mix(in srgb, var(--danger) 4%, var(--card)); }
.field--bad input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }

/* An error that names a way out carries the way out. */
.alert__act { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.alert__act .btn { font-size: 13.5px; padding: 9px 15px; }

/* ------------------------------------------------------------- sign in */

.proof { margin-top: var(--s7); }
.proof__label { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(232,241,248,.52); margin-bottom: 14px; }
.proof__card {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    border-radius: var(--r-md);
    padding: 14px 16px;
    display: flex; align-items: center; gap: 13px;
    margin-bottom: 9px;
    opacity: 0;
    animation: rise var(--t-slow) var(--ease-out) forwards;
}
.proof__card:nth-of-type(2) { animation-delay: 160ms; }
.proof__card:nth-of-type(3) { animation-delay: 320ms; }
.proof__ico { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.13); color: #fff; }
.proof__ico svg { width: 17px; height: 17px; }
.proof__t { font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.proof__t small { display: block; font-weight: 500; font-size: 12.5px; color: rgba(232,241,248,.64); }

/* ------------------------------------------------------- two-factor step */

.panel--lock { background: linear-gradient(150deg, #09222e 0%, #0e2250 54%, #171a4a 100%); }
[data-theme="dark"] .panel--lock { background: linear-gradient(150deg, #050f19 0%, #0a1229 56%, #10102c 100%); }

.shield {
    width: 54px; height: 54px; border-radius: var(--r-md);
    display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--brand-2) 16%, transparent));
    color: var(--brand);
    border: 1px solid var(--line);
}
.shield svg { width: 26px; height: 26px; }

/* Still one input, as the live page has. Only its presentation changes:
   large, centred and tracked out, so six digits read as a code.
 *
 * Written as `input.code`, not `.code`. In the prototype each page carried
 * this in its own <style> block and a bare class was enough. In the one
 * production sheet it sits against `.input, input[type="text"], ... {
 * font-size: 15px }`, and an attribute selector (0,1,1) outranks a class
 * (0,1,0) whatever the order - so a bare `.code` lost, and both code fields
 * silently rendered at 15px. `input.code` matches that specificity and wins
 * on source order. */
input.code,
.code {
    width: 100%;
    padding: 18px 14px;
    font-family: "Cascadia Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .34em;
    text-indent: .34em;
    text-align: center;
    color: var(--ink);
    background: var(--sunken);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
input.code::placeholder, .code::placeholder { color: var(--muted); opacity: .45; }
input.code:focus, .code:focus { outline: none; background: var(--card); border-color: var(--edge); box-shadow: var(--ring); }

/* The Business ID on the join form is the same kind of value - a code
   somebody reads off another screen and types in - but it sits in a normal
   form among normal fields, so it takes the monospace and the tracking
   without the 30px display size. */
input.code--inline,
.code--inline {
    padding: 13px 15px;
    font-size: 18px;
    letter-spacing: .14em;
    text-indent: .14em;
    text-align: left;
    text-transform: uppercase;
}
input.code--inline::placeholder, .code--inline::placeholder { text-transform: none; letter-spacing: normal; }

/* ---------------------------------------------------------- free trial */

/* The one place amber is allowed to lead, so the free path is visually
   distinct from the paid one at a glance. */
.panel--trial { background: linear-gradient(150deg, #0b2b3a 0%, #13284f 50%, #2b2342 100%); }
[data-theme="dark"] .panel--trial { background: linear-gradient(150deg, #06131f 0%, #0d1733 52%, #1c152c 100%); }
.panel--trial .panel__blobs span:nth-child(3) { background: color-mix(in srgb, var(--accent) 60%, transparent); opacity: .62; }

.trial-badge {
    display: inline-flex; align-items: baseline; gap: 9px;
    padding: 7px 15px 7px 13px; border-radius: var(--r-pill);
    background: rgba(245,158,11,.18); border: 1px solid rgba(245,158,11,.4);
    color: #fde8bd; font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.trial-badge b { font-family: "Sora", sans-serif; font-size: 15px; color: #fff; }

/* The 30-day run. Draws itself in once, then stops. Named `daysrail` and not
   `rail` because the registration page's plan rail owns that name. */
.daysrail { margin-top: var(--s7); }
.daysrail__label { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(232,241,248,.52); margin-bottom: 18px; }
.daysrail__line { position: relative; height: 2px; background: rgba(255,255,255,.16); border-radius: 2px; margin: 0 6px 16px; }
.daysrail__fill {
    position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    animation: railgrow 2.1s var(--ease-out) .4s forwards;
}
@keyframes railgrow { to { width: 100%; } }
.daysrail__pt { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); opacity: 0; animation: rise .4s var(--ease-out) forwards; }
.daysrail__pt:nth-of-type(1) { left: 0;    animation-delay: .5s; }
.daysrail__pt:nth-of-type(2) { left: 50%;  animation-delay: 1.3s; }
.daysrail__pt:nth-of-type(3) { left: 100%; animation-delay: 2.2s; background: var(--accent); }
.daysrail__cap { display: flex; justify-content: space-between; gap: 10px; }
.daysrail__cap span { font-size: 12.6px; color: rgba(232,241,248,.72); line-height: 1.4; max-width: 15ch; }
.daysrail__cap span:nth-child(2) { text-align: center; }
.daysrail__cap span:nth-child(3) { text-align: right; }
.daysrail__cap b { display: block; color: #fff; font-size: 13px; font-weight: 700; }

/* ---------------------------------------------------- register a company */

/* The longest of the forms, so it gets a fixed brand rail and splits the
   rest between the fields and the plan choice. */
.auth--reg { grid-template-columns: 420px 1fr; }

.regwrap {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 318px;
    gap: var(--s7);
    align-items: start;
    padding-block: var(--s6);
}

/* On the live page the plan radios are the last block of the form, directly
   above the submit, so a long scroll separates the price from the three
   fields that decide it. Here the two stay together and stay in view. */
.rail { position: sticky; top: var(--s5); }
.rail__card { padding: var(--s5); }
.rail__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--s4); }
.rail__head h3 { margin: 0; font-size: 15.5px; }
.rail__head span { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: auto; }

.submit-note { font-size: 12.6px; color: var(--muted); line-height: 1.5; margin: 12px 0 0; text-align: center; }

.trust { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--s4); }
.trust span {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--muted);
    padding: 5px 10px; border-radius: var(--r-pill);
    background: var(--sunken); border: 1px solid var(--line);
}
.trust svg { width: 13px; height: 13px; color: var(--ok); }

/* ------------------------------------------------- registration success */

.done {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; margin-bottom: 20px;
    background: color-mix(in srgb, var(--ok) 13%, transparent);
    color: var(--ok);
    border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
}
.done svg { width: 28px; height: 28px; }

/* Three stacked bars of prose become a list of checks. */
.checks { display: grid; gap: 9px; margin-bottom: var(--s5); }
.check {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 13px 15px; border-radius: var(--r-md);
    border: 1px solid var(--line); background: var(--card);
    font-size: 13.8px; line-height: 1.55; color: var(--body);
}
.check b { display: block; color: var(--ink); font-size: 14.2px; margin-bottom: 1px; }
.check__ico { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; }
.check__ico svg { width: 15px; height: 15px; }
.check--ok   { background: color-mix(in srgb, var(--ok) 6%, var(--card));     border-color: color-mix(in srgb, var(--ok) 26%, transparent); }
.check--ok   .check__ico { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.check--warn { background: color-mix(in srgb, var(--accent) 8%, var(--card)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.check--warn .check__ico { background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 76%, var(--ink)); }

/* The Business ID is the one value on the page whose whole purpose is to be
   sent to somebody else, so it is the one that looks copyable. */
.bizid {
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--card); box-shadow: var(--e1);
    padding: var(--s5); margin: var(--s5) 0;
}
.bizid__lab { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.bizid__lab b { font-size: 14.5px; color: var(--ink); }
.bizid__lab svg { width: 17px; height: 17px; color: var(--brand); }
.bizid p { font-size: 13.4px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.bizid__code { display: flex; align-items: stretch; gap: 8px; }
.bizid__val {
    flex: 1; display: flex; align-items: center;
    font-family: "Cascadia Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 21px; font-weight: 600; letter-spacing: .1em;
    color: var(--ink);
    background: var(--sunken); border: 1px dashed var(--edge);
    border-radius: var(--r-sm); padding: 13px 16px;
    user-select: all;
    overflow-wrap: anywhere;
}
.bizid__copy {
    flex: 0 0 auto; width: 52px;
    display: grid; place-items: center;
    border: 1px solid var(--line); background: var(--card); color: var(--body);
    border-radius: var(--r-sm); cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}
.bizid__copy:hover { border-color: var(--edge); color: var(--brand); background: var(--wash); }
.bizid__copy svg { width: 18px; height: 18px; }
.bizid__copy.is-done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.bizid__foot { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

.nextrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--s5); }
.nextrow .btn { flex: 1 1 auto; }
.signed { font-size: 13.4px; color: var(--muted); margin: 14px 0 0; }
.signed strong { color: var(--body); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1240px) {
    .auth--reg { grid-template-columns: 360px 1fr; }
    .regwrap { grid-template-columns: 1fr 290px; gap: var(--s6); }
}
@media (max-width: 1040px) {
    .auth--reg { grid-template-columns: 1fr; }
    .regwrap { grid-template-columns: 1fr; max-width: 620px; }
    .rail { position: static; }
}
@media (max-width: 980px) {
    .proof, .daysrail { display: none; }
    .panel { padding-bottom: var(--s6); }
}
