/*
  HR-VEND marketing site.

  Built on the Cal.com design system (design-md/cal). The rules that shape
  everything here:

    - White canvas. Dark surface (#101010) appears ONLY on the footer and the
      featured pricing tier - it is a scarce, deliberate signal.
    - The action layer is monochrome: primary CTAs are #111111, never an
      accent colour. HR-VEND's cyan is the sparely-used brand accent (inline
      links, small badges, status dots inside product fragments) - never a
      button.
    - Cal Sans is not distributable, so display type uses the substitute the
      spec itself names: Inter 600 at -0.04em. Body is Inter 400. The
      boundary does not blur.
    - Band pacing alternates white -> light-gray -> white, never two
      consecutive bands in the same surface mode.
    - Radius is hierarchical: 8px buttons/inputs, 12px cards, 16px the hero
      mockup, pill for badges. Nothing rounder - larger radii read as
      consumer-app.
    - No hover styling beyond the primary darkening on press.
*/

:root {
    /* Brand + action */
    --primary:        #111111;
    --primary-active: #242424;
    --brand-accent:   #00AED8;  /* HR-VEND cyan. Used sparely, never on a CTA. */

    /* Surfaces */
    --canvas:              #FFFFFF;
    --surface-soft:        #F8F9FA;
    --surface-card:        #F5F5F5;
    --surface-strong:      #E5E7EB;
    --surface-dark:        #101010;
    --surface-dark-elev:   #1A1A1A;
    --hairline:            #E5E7EB;
    --hairline-soft:       #F3F4F6;

    /* Text */
    --ink:          #111111;
    --body:         #374151;
    --muted:        #6B7280;
    --muted-soft:   #898989;
    --on-dark:      #FFFFFF;
    --on-dark-soft: #A1A1AA;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --error:   #EF4444;

    /* Badge pastels - category badges and avatar fills only */
    --badge-orange:  #FB923C;
    --badge-pink:    #EC4899;
    --badge-violet:  #8B5CF6;
    --badge-emerald: #34D399;

    /* Spacing, 4px base */
    --s-xxs: 4px;  --s-xs: 8px;   --s-sm: 12px; --s-md: 16px;
    --s-lg: 24px;  --s-xl: 32px;  --s-xxl: 48px; --s-section: 96px;

    /* Radius */
    --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 9999px;

    /* Elevation */
    --shadow-1: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-2: 0 4px 12px rgba(0,0,0,0.08);

    --container: 1200px;
    --gutter: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    /* No section may widen the document. Horizontal page scroll on a phone
       is a bug, not a layout choice. */
    overflow-x: hidden;
    background: var(--canvas);
    color: var(--body);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Display type: Inter 600 with negative tracking - the documented Cal Sans
   substitute. Weight stays 600 at every size; 700 reads as bombastic. */
h1, h2, h3 {
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.6vw, 4rem);   line-height: 1.05; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.1;  letter-spacing: -0.035em; }
h3 { font-size: 1.125rem; line-height: 1.4; letter-spacing: 0; }

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm); }

.shell { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--on-dark); padding: 12px 20px; z-index: 100; font-weight: 600; border-radius: var(--r-md); }
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ top nav --- */

.nav {
    position: sticky; top: 0; z-index: 50;
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}
.nav-in { display: flex; align-items: center; gap: var(--s-xl); height: 64px; }

/* The supplied lockup as one image - mark and wordmark in the logo's own
   letterforms. Typesetting the wordmark beside the mark never matches it. */
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; gap: var(--s-lg); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-act { display: flex; align-items: center; gap: var(--s-md); }
.nav-act .signin { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ------------------------------------------------------------ buttons --- */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1;
    height: 40px; padding: 0 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--on-dark); }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.btn-on-dark { background: var(--canvas); color: var(--ink); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--surface-strong); color: var(--muted); cursor: not-allowed; }

/* ------------------------------------------------------------ badges ---- */

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface-card); color: var(--ink);
    font-size: 13px; font-weight: 500; line-height: 1.4;
    padding: 4px 12px; border-radius: var(--r-pill);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-accent); }

/* -------------------------------------------------------------- bands --- */

.band { padding: var(--s-section) 0; }
.band-canvas { background: var(--canvas); }
.band-soft { background: var(--surface-card); }

.band-head { max-width: 58ch; }
.band-head h2 { margin-bottom: var(--s-md); }
.band-head p { font-size: 18px; color: var(--muted); }

/* --------------------------------------------------------------- hero --- */

.hero { padding: clamp(48px, 7vw, var(--s-section)) 0; background: var(--canvas); }
.hero-in {
    display: grid;
    grid-template-columns: 7fr 5fr;   /* Cal's hero split */
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
@media (max-width: 1000px) { .hero-in { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: var(--s-lg); max-width: 18ch; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 46ch; margin-bottom: var(--s-xl); }

/* Inline address capture. One field in the hero, Cal-style: the small
   commitment of typing an address is what carries someone to the full form. */
.hero-claim { display: flex; gap: var(--s-xs); max-width: 480px; }
.addr {
    display: flex; align-items: stretch; flex: 1 1 auto; min-width: 0;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    height: 48px;
    overflow: hidden;
}
.addr:focus-within { border-color: var(--ink); }
.addr input {
    flex: 1 1 auto; min-width: 0;
    border: 0; background: transparent; outline: none;
    padding: 0 var(--s-sm) 0 14px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14px; color: var(--ink);
}
.addr .suffix {
    display: flex; align-items: center; padding-right: 14px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px; color: var(--muted-soft); white-space: nowrap;
}
@media (max-width: 520px) {
    .hero-claim { flex-direction: column; }
    .hero-claim .btn { width: 100%; }
}

.hero-fine { margin-top: var(--s-md); font-size: 14px; color: var(--muted-soft); }
.status { margin-top: var(--s-xs); font-size: 13px; min-height: 1.3em; color: var(--muted); }
.status.is-ok { color: var(--success); font-weight: 500; }
.status.is-bad { color: var(--error); font-weight: 500; }

/* ------------------------------------------- hero app mockup card ------- */
/* Cal's signature: show the real product chrome at small scale rather than
   an illustration of it. These fragments mirror actual HR-VEND screens. */

.mockup {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2);
    overflow: hidden;
}

/* nav-pill-group - the pill-in-pill switcher, a signature Cal component. */
.pill-group {
    display: inline-flex; gap: 2px;
    background: var(--surface-soft);
    border-radius: var(--r-pill);
    padding: 6px;
    margin: var(--s-lg) var(--s-lg) 0;
}
.pill {
    appearance: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 500;
    color: var(--muted);
    background: transparent;
    padding: 8px 14px;
    border-radius: var(--r-md);
}
.pill[aria-selected="true"] {
    background: var(--canvas);
    color: var(--ink);
    box-shadow: var(--shadow-1);
}

.mock-body { padding: var(--s-lg); }
.mock-pane { display: none; }
.mock-pane.is-on { display: block; }

.mock-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s-md); }
.mock-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.mock-meta { font-size: 12px; color: var(--muted-soft); }

/* Candidate rows - the recruitment fragment. */
.row {
    display: flex; align-items: center; gap: var(--s-sm);
    padding: 10px 0;
    border-top: 1px solid var(--hairline-soft);
}
.row:first-of-type { border-top: 0; }
.avatar {
    flex: none; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 500; color: #fff;
}
.avatar-1 { background: var(--badge-violet); }
.avatar-2 { background: var(--badge-orange); }
.avatar-3 { background: var(--badge-emerald); }
.avatar-4 { background: var(--badge-pink); }

.row-main { min-width: 0; flex: 1 1 auto; }
.row-name { font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 12px; color: var(--muted-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag {
    flex: none; font-size: 11px; font-weight: 500;
    padding: 3px 9px; border-radius: var(--r-pill);
    background: var(--surface-card); color: var(--muted);
}
.tag-live { background: rgba(0,174,216,.12); color: #067A96; }
.tag-ok   { background: rgba(16,185,129,.12); color: #0A7C5A; }
.tag-warn { background: rgba(245,158,11,.14); color: #92610A; }

/* Payslip fragment. */
.money { display: grid; gap: 8px; }
.money-line { display: flex; justify-content: space-between; font-size: 13px; }
.money-line span:first-child { color: var(--muted); }
.money-line span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.money-total {
    display: flex; justify-content: space-between;
    margin-top: var(--s-sm); padding-top: var(--s-sm);
    border-top: 1px solid var(--hairline);
    font-size: 14px; font-weight: 600; color: var(--ink);
}
.money-total span:last-child { font-variant-numeric: tabular-nums; }

/* Leave calendar fragment. */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell {
    aspect-ratio: 1; display: grid; place-items: center;
    font-size: 11px; color: var(--muted);
    border-radius: var(--r-sm); background: var(--surface-soft);
}
.cal-cell.is-off { background: var(--hairline-soft); color: #C6CCD2; }
.cal-cell.is-leave { background: rgba(0,174,216,.14); color: #067A96; font-weight: 600; }
.cal-cell.is-head { background: transparent; font-size: 10px; color: var(--muted-soft); font-weight: 500; }

/* ----------------------------------------------------- feature cards --- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); margin-top: var(--s-xxl); }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-3 { grid-template-columns: 1fr; } }

/* Gray card = an abstract feature claim. White-with-chrome = look at the
   actual product. The distinction is deliberate in this system. */
.card-feature {
    background: var(--canvas);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
}
.band-canvas .card-feature { background: var(--surface-card); }
.card-feature h3 { margin-bottom: var(--s-xs); }
.card-feature p { font-size: 15px; color: var(--muted); }
.card-feature ul { margin: var(--s-md) 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card-feature li { font-size: 14px; color: var(--body); display: flex; gap: 10px; }
.card-feature li::before {
    content: ''; flex: none; width: 5px; height: 5px; margin-top: 7px;
    border-radius: 50%; background: var(--brand-accent);
}

.f-icon {
    width: 36px; height: 36px; border-radius: var(--r-md);
    background: var(--canvas); border: 1px solid var(--hairline);
    display: grid; place-items: center; margin-bottom: var(--s-md);
    font-size: 16px;
}
.band-canvas .f-icon { background: var(--canvas); }

/* ------------------------------------------------------- split band ---- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.split-copy h2 { margin-bottom: var(--s-md); }
.split-copy p { font-size: 17px; color: var(--muted); }
.split-copy ul { margin: var(--s-lg) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s-sm); }
.split-copy li { display: flex; gap: 10px; font-size: 15px; color: var(--body); }
.split-copy li strong { color: var(--ink); font-weight: 600; }
.tick { color: var(--brand-accent); font-weight: 700; flex: none; }

/* ------------------------------------------------------------ pipeline -- */

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-md); margin-top: var(--s-xxl); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .steps { grid-template-columns: repeat(2, 1fr); } }

.step { background: var(--canvas); border-radius: var(--r-lg); padding: var(--s-lg); }
.step-n {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--ink); color: var(--on-dark);
    display: grid; place-items: center;
    font-size: 12px; font-weight: 600; margin-bottom: var(--s-sm);
}
.step h3 { font-size: 14px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------- pricing -- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); margin-top: var(--s-xxl); align-items: start; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } }

.tier {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    box-shadow: var(--shadow-1);
    display: flex; flex-direction: column;
}
.tier-name { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); }
.tier-blurb { margin-top: var(--s-xs); font-size: 14px; color: var(--muted); min-height: 3.2em; }
.price-row { margin-top: var(--s-lg); display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -0.5px; color: var(--ink); }
.price-per { font-size: 14px; color: var(--muted); }
.tier-cap { margin-top: 6px; font-size: 13px; color: var(--muted-soft); }
.tier ul { margin: var(--s-lg) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tier li { font-size: 15px; color: var(--body); display: flex; gap: 10px; }
.tier li.off { color: var(--muted-soft); }

/* Featured tier. The dark surface IS the signal - no badge, no accent border,
   no scale shift.
   NOTE: this block must stay AFTER the base .tier rules above. `.tier-featured
   li` and `.tier li` have identical specificity, so whichever is declared last
   wins - with the order reversed the list text rendered #374151 on #101010. */
.tier-featured {
    background: var(--surface-dark);
    border-color: var(--surface-dark);
    color: var(--on-dark-soft);
}
.tier-featured .tier-name,
.tier-featured .price,
.tier-featured li { color: var(--on-dark); }
.tier-featured .tier-blurb,
.tier-featured .price-per,
.tier-featured .tier-cap { color: var(--on-dark-soft); }
.tier-featured li.off { color: #6B6B73; }
.tier-fill { flex: 1 1 auto; min-height: var(--s-lg); }
.price-note { margin-top: var(--s-lg); font-size: 14px; color: var(--muted); max-width: 68ch; }

/* ----------------------------------------------------------------- faq -- */

.faq { margin-top: var(--s-xxl); max-width: 76ch; }
.faq details { background: var(--canvas); border-radius: var(--r-lg); margin-bottom: var(--s-sm); }
.faq summary {
    cursor: pointer; list-style: none;
    padding: var(--s-md) var(--s-xl) var(--s-md) var(--s-lg);
    font-size: 16px; font-weight: 600; color: var(--ink);
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: var(--s-lg); top: 50%;
    transform: translateY(-50%); font-size: 18px; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { content: '\2212'; }
.faq .a { padding: 0 var(--s-xl) var(--s-md) var(--s-lg); font-size: 15px; color: var(--muted); max-width: 64ch; }

/* --------------------------------------------------- cta band + form ---- */

/* cta-band-light: a surface-card card on white canvas, 48px padding. */
.cta-card {
    background: var(--surface-card);
    border-radius: var(--r-lg);
    padding: clamp(28px, 4vw, var(--s-xxl));
}
.cta-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cta-in { grid-template-columns: 1fr; } }

/* Grid and flex items default to min-width:auto, so they refuse to shrink
   below their content's min-content width. The address field's ".hrvend.com"
   suffix is white-space:nowrap, which set a floor that pushed this column
   past a 390px viewport and gave the whole page 30px of horizontal scroll.
   Letting these items shrink is the fix; the suffix still never wraps. */
.cta-in > *, .split > *, .hero-in > * { min-width: 0; }
.signup, .signup-form, .field, .mockup { min-width: 0; }
.cta-copy h2 { margin-bottom: var(--s-md); }
.cta-copy p { font-size: 17px; color: var(--muted); }
.cta-copy ul { margin: var(--s-lg) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cta-copy li { display: flex; gap: 10px; font-size: 15px; color: var(--body); }

.signup {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--s-lg);
    box-shadow: var(--shadow-1);
}
.field { margin-bottom: var(--s-md); }
.field:last-of-type { margin-bottom: var(--s-lg); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.input {
    width: 100%; height: 40px;
    padding: 10px 14px;
    font-family: inherit; font-size: 15px; color: var(--ink);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    outline: none;
}
.input:focus { border-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-sm); }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.signup-fine { margin-top: var(--s-sm); font-size: 13px; color: var(--muted-soft); text-align: center; }

.done { display: none; }
.done.is-on { display: block; }
.signup.is-done .signup-form { display: none; }
.done h3 { font-size: 20px; letter-spacing: -0.3px; margin-bottom: var(--s-sm); }
.done-addr {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 15px; color: var(--ink);
    background: var(--surface-card);
    padding: 10px 12px; border-radius: var(--r-md);
    margin-bottom: var(--s-sm); word-break: break-all;
}
.done p { font-size: 14px; color: var(--muted); margin-bottom: var(--s-md); }

/* -------------------------------------------------------------- footer -- */
/* The only dark surface besides the featured tier. It closes the page. */

.foot { background: var(--surface-dark); color: var(--on-dark-soft); padding: 64px 0 var(--s-xl); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-xl); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--on-dark); margin: 0 0 var(--s-sm); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-xs); }
.foot a { color: var(--on-dark-soft); text-decoration: none; font-size: 14px; }
.foot-blurb { font-size: 14px; color: var(--on-dark-soft); max-width: 34ch; margin-top: var(--s-md); }
.foot-base {
    margin-top: var(--s-xxl); padding-top: var(--s-lg);
    border-top: 1px solid #262626;
    display: flex; flex-wrap: wrap; gap: var(--s-md); justify-content: space-between;
    font-size: 13px; color: var(--muted-soft);
}

/* --------------------------------------------------------------- modal -- */
/* Native <dialog>: Escape, the focus trap and the backdrop come for free,
   so there is no bespoke focus management to get wrong. */

.modal {
    border: 0; padding: 0;
    background: transparent;
    max-width: min(440px, calc(100vw - 32px));
    width: 100%;
}
.modal::backdrop { background: rgba(17,17,17,.48); }

.modal-card {
    position: relative;
    background: var(--canvas);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    box-shadow: 0 16px 48px rgba(0,0,0,.22);
    margin: 0;
}

.modal-x {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border: 0; background: transparent;
    border-radius: var(--r-md);
    font-size: 22px; line-height: 1; color: var(--muted);
    cursor: pointer;
}

.modal-title { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); }
.modal-lede { margin-top: var(--s-xs); font-size: 15px; color: var(--muted); }
.modal-label { display: block; margin-top: var(--s-lg); margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.modal-act { margin-top: var(--s-md); }
.modal-note { margin-top: var(--s-md); font-size: 13px; color: var(--muted-soft); }
.modal-note a { color: var(--ink); text-decoration: underline; }

/* --------------------------------------------------------------- toast -- */

.toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
    background: var(--ink); color: var(--on-dark);
    padding: 12px 20px; border-radius: var(--r-md);
    font-size: 14px; box-shadow: var(--shadow-2);
    z-index: 90; display: none; max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-on { display: block; }
.toast.is-bad { background: var(--error); }
