/* Accomat PIT. Plain CSS. Light by default; Dark or System chosen with the header switch. */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    font-weight: 100 900; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    font-weight: 100 900; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@view-transition { navigation: auto; }

/* Theme: html[data-theme] is set before paint by the inline head script. */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="system"] { color-scheme: light dark; }

:root {
    --bg:        light-dark(#ffffff, #0f1115);
    --bg-alt:    light-dark(#f6f7f9, #14171c);
    --surface:   light-dark(#ffffff, #181b21);
    --surface-2: light-dark(#f3f5f8, #1f232a);
    --text:      light-dark(#0f172a, #e8eaed);
    --text-2:    light-dark(#475569, #a1a8b3);
    --text-3:    light-dark(#64748b, #7d8590);
    --border:    light-dark(#e5e8ec, #262a31);
    --border-2:  light-dark(#d5dae1, #323741);

    --brand:       light-dark(#1d4ed8, #6b9bff);
    --brand-hover: light-dark(#1e40af, #8fb3ff);
    --brand-soft:  light-dark(#eef3ff, #16223d);
    --on-brand:    light-dark(#ffffff, #0b1020);
    --ok:          light-dark(#15803d, #4ade80);
    --ok-soft:     light-dark(#ecfdf3, #10261a);
    --warn:        light-dark(#b45309, #fbbf24);
    --warn-soft:   light-dark(#fffbeb, #2a2110);
    --info:        light-dark(#1d4ed8, #8fb3ff);
    --info-soft:   light-dark(#eef3ff, #16223d);
    --no:          light-dark(#94a3b8, #6b7280);
    --danger:      light-dark(#c2410c, #fb923c);
    --danger-soft: light-dark(#fff4ed, #2a1810);

    --shadow: 0 1px 2px light-dark(rgb(15 23 42 / .04), rgb(0 0 0 / .3)),
              0 12px 32px -12px light-dark(rgb(15 23 42 / .12), rgb(0 0 0 / .5));

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --r: 12px;
    --r-sm: 8px;
    --wrap: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
    background: var(--bg); color: var(--text);
    font: 400 1rem/1.6 var(--font);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--text-2); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); font-size: .85em; }
.mt { margin-top: 1.5rem; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--text); color: var(--bg); padding: .5rem .8rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(12px);
    border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; gap: 1rem 1.75rem; padding-block: .75rem; flex-wrap: wrap; }
.site-header nav { flex: 1; }
.bar-end { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.bar-end form { margin: 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark {
    display: block; width: 1.9rem; height: 1.9rem; border-radius: 7px;
}
.brand-sub { color: var(--brand); }
.brand-tag { font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); border: 1px solid var(--border-2); padding: .1rem .45rem; border-radius: 5px; }
nav ul { display: flex; align-items: center; gap: 1.5rem; }
nav a:not(.btn), .nav-link { color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500; }
nav a:not(.btn):hover, .nav-link:hover, nav a.is-active { color: var(--text); }
nav a.is-active { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .55em; }

/* Theme switch */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.theme-switch button {
    display: grid; place-items: center; width: 1.85rem; height: 1.85rem;
    border: 0; border-radius: 50%; background: transparent; color: var(--text-3); cursor: pointer;
    transition: background-color .15s, color .15s;
}
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px light-dark(rgb(15 23 42 / .12), rgb(0 0 0 / .5)); }
.theme-switch .ico { width: 1rem; height: 1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--brand); color: var(--on-brand);
    border: 1px solid transparent; border-radius: var(--r-sm);
    padding: .55rem 1rem; font: 600 .95rem/1.2 var(--font);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, translate .15s;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { translate: 0 1px; }
.btn-sm { padding: .42rem .8rem; font-size: .88rem; }
.btn-lg { padding: .8rem 1.3rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-icon { padding: .4rem; }
.btn .ico { transition: translate .15s; }
.btn:hover use[href="#i-arrow"] { translate: 2px 0; }
.btn:disabled, .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Hero */
.hero {
    position: relative; isolation: isolate; overflow: clip;
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
    opacity: .7;
}
.hero-grid {
    display: grid; align-items: center; gap: clamp(2.5rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.pill {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .35rem .8rem .35rem .65rem;
    background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px;
    font-size: .85rem; color: var(--text-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero h1 {
    margin-top: 1.4rem;
    font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.04; font-weight: 750; letter-spacing: -0.035em;
}
.hl { color: var(--brand); }
.lede { margin-top: 1.4rem; max-width: 34rem; font-size: 1.15rem; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

/* Countdown */
.deadline { margin-top: 2.5rem; }
.deadline-label { font-size: .85rem; font-weight: 500; color: var(--text-2); margin-bottom: .75rem; }
.countdown { display: flex; gap: .6rem; }
.cd-cell {
    display: grid; justify-items: center; min-width: 4.6rem; padding: .7rem .6rem .55rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
    box-shadow: 0 1px 2px light-dark(rgb(15 23 42 / .04), rgb(0 0 0 / .3));
}
.cd-cell:first-child { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, var(--border)); }
.cd-cell:first-child .cd-num { color: var(--brand); }
.cd-num { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cd-label { margin-top: .35rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.countdown-sm { gap: .35rem; margin-top: .5rem; }
.countdown-sm .cd-cell { min-width: 0; flex: 1; padding: .5rem .2rem .4rem; }
.countdown-sm .cd-num { font-size: 1.25rem; }
.countdown-sm .cd-label { font-size: .6rem; letter-spacing: .04em; }

/* Process card */
.process {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); padding: 1.6rem 1.6rem 1.2rem;
}
.process-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.process-head h2 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }
.tag { font-size: .75rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.tag-sm { margin-left: .5rem; font-size: .7rem; padding: .1rem .45rem; }

.steps li { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding-bottom: 1.4rem; }
.steps li:last-child { padding-bottom: .4rem; }
.steps li:not(:last-child)::before {
    content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.4rem; bottom: .25rem;
    width: 2px; border-radius: 2px; background: var(--border);
}
.num {
    display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border-2);
    font-size: .9rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text);
}
.num-done { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.steps h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; padding-top: .35rem; }
.steps p { margin-top: .2rem; font-size: .92rem; color: var(--text-2); }

/* Sections */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.kicker { font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .7rem; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 700; }
.sub { margin-top: .6rem; font-size: 1.05rem; color: var(--text-2); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 1.6rem); }
.card h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: .5rem; }
.card h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 1.1rem; }
.card > .muted + * { margin-top: 1.25rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pricing .section-head { margin-bottom: 0; }
.price-card { box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2rem); border-radius: 16px; }
.price-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.price-top h3 { margin-bottom: .1rem; }
.price { display: flex; align-items: baseline; gap: .5rem; margin-top: 1.5rem; }
.price-amount { font-size: 3.25rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.price-gross { margin-top: .5rem; font-size: .92rem; color: var(--text-2); }
.price-card .list { margin-block: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.price-card .list .ico { color: var(--ok); }
.price-card .fine { display: flex; justify-content: center; align-items: center; gap: .35rem; margin-top: .9rem; }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.list { display: grid; gap: .8rem; }
.list.small { gap: .5rem; }
.list li { display: flex; gap: .7rem; align-items: flex-start; }
.list .ico { margin-top: .22em; color: var(--ok); }
.card-yes { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); }
.card-no li { color: var(--text-2); }
.card-no .ico { color: var(--no); }
.list em { margin-left: auto; padding-left: .75rem; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.badge { display: inline-block; margin-bottom: 1.1rem; font-size: .78rem; font-weight: 650; color: var(--brand); background: var(--brand-soft); padding: .25rem .65rem; border-radius: 999px; }
.dash { display: grid; gap: .7rem; }
.dash li { position: relative; padding-left: 1.1rem; font-size: .95rem; color: var(--text-2); }
.dash li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 1.2rem 0; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--brand); }
summary .ico { color: var(--text-3); transition: rotate .2s ease; }
details[open] summary .ico { rotate: 45deg; color: var(--brand); }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: var(--text-2); }
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow: clip; transition: block-size .25s ease, content-visibility .25s allow-discrete; }
    details[open]::details-content { block-size: auto; }
}

/* CTA band */
.cta-band { background: var(--text); color: var(--bg); padding-block: clamp(2rem, 4vw, 3rem); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band .sub { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Forms */
.stack { display: grid; gap: 1.1rem; }
.stack-lg { display: grid; gap: 1.25rem; align-content: start; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: .85rem; color: var(--brand); text-decoration: none; }
label { font-size: .88rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--text-3); margin-left: .25rem; }
input:is([type="text"], [type="email"], [type="tel"], [type="password"], [type="search"], [type="file"]), textarea, select {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text);
    background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-sm);
    padding: .65rem .85rem; transition: border-color .15s, box-shadow .15s;
}
input[type="file"] { padding: .5rem; font-size: .9rem; }
input[type="file"]::file-selector-button { font: 600 .85rem var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 6px; padding: .35rem .7rem; margin-right: .75rem; cursor: pointer; }
textarea { field-sizing: content; min-block-size: 4lh; resize: vertical; }
::placeholder { color: var(--text-3); }
input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
input:user-invalid, [aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: .85rem; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; font-size: .95rem; cursor: pointer; }
.check input { margin-top: .2em; }
input[type="checkbox"] { accent-color: var(--brand); width: 1.15rem; height: 1.15rem; margin: 0; flex: none; }
.fine { font-size: .8rem; color: var(--text-3); text-align: center; }

.dropzone {
    position: relative; display: grid; justify-items: center; gap: .35rem; text-align: center;
    padding: 2rem 1rem; border: 2px dashed var(--border-2); border-radius: var(--r);
    background: var(--bg-alt); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone:focus-within, .dropzone.is-over { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone > .ico { width: 1.75rem; height: 1.75rem; color: var(--brand); }
.dz-title { font-weight: 600; }

/* Alerts and status */
.alert { display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); margin-bottom: 1.25rem; font-size: .95rem; border: 1px solid; }
.alert .ico { margin-top: .2em; }
.alert-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.alert-error { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.alert p { color: var(--text); }

.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-muted { background: var(--surface-2); color: var(--text-2); }
.status-warn { background: var(--warn-soft); color: var(--warn); }
.status-info { background: var(--info-soft); color: var(--info); }
.status-ok { background: var(--ok-soft); color: var(--ok); }
.count { display: inline-grid; place-items: center; min-width: 1.4rem; padding: 0 .35rem; margin-left: .35rem; font-size: .72rem; font-weight: 650; border-radius: 999px; background: var(--surface-2); color: var(--text-2); vertical-align: .15em; }

/* App pages */
.page { padding-block: clamp(1.5rem, 3vw, 2.25rem) 3rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.15; }
.back { display: inline-block; margin-bottom: 1rem; font-size: .9rem; color: var(--text-2); text-decoration: none; }
.back:hover { color: var(--text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 1.5rem; align-items: start; }
.summary { position: sticky; top: 5rem; }
.totals { display: grid; gap: .55rem; margin: 1.25rem 0; }
.totals div, .facts div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt, .facts dt { color: var(--text-2); }
.totals dd, .facts dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.totals .total { padding-top: .75rem; margin-top: .25rem; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.1rem; }
.totals .total dt { color: var(--text); }
.facts { display: grid; gap: .6rem; font-size: .92rem; margin-top: 1rem; }
.note { margin-top: 1rem; padding: .85rem 1rem; border-left: 3px solid var(--brand); background: var(--bg-alt); border-radius: 0 var(--r-sm) var(--r-sm) 0; white-space: pre-line; font-size: .95rem; }
.card-success { border-color: color-mix(in srgb, var(--ok) 40%, var(--border)); background: linear-gradient(var(--ok-soft), var(--surface) 70%); }
.empty { text-align: center; display: grid; justify-items: center; gap: .6rem; padding-block: 3rem; }
.error-page { text-align: center; display: grid; justify-items: center; gap: 1.25rem; padding-block: 6rem; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; max-width: 60rem; }
.checkout form { margin-top: 1.5rem; }

.auth { display: grid; place-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); }
.auth-card { width: min(100%, 32rem); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; font-weight: 700; }
.auth-card .sub { margin-bottom: 1.5rem; font-size: .95rem; }
.auth-alt { margin-top: 1.5rem; text-align: center; font-size: .92rem; color: var(--text-2); }
.auth-alt a { color: var(--brand); font-weight: 600; text-decoration: none; }

/* Order rows and tracker */
.order-row { display: flex; align-items: center; gap: 1rem; text-decoration: none; margin-bottom: .75rem; transition: border-color .15s; }
.order-row > div { flex: 1; }
.order-row:hover { border-color: var(--brand); }
.order-row .chevron { color: var(--text-3); }
.order-ref { font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; }
a.order-ref:hover { color: var(--brand); }

.tracker { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 1.75rem; counter-reset: s; }
.tracker li { position: relative; display: grid; justify-items: center; gap: .45rem; text-align: center; font-size: .85rem; font-weight: 500; color: var(--text-3); }
.tracker li:not(:first-child)::before { content: ""; position: absolute; top: 1rem; right: 50%; width: 100%; height: 2px; background: var(--border); z-index: -1; }
.tracker li.done:not(:first-child)::before, .tracker li.current:not(:first-child)::before { background: var(--ok); }
.tracker { isolation: isolate; }
.dot-step { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-2); font-weight: 650; font-size: .85rem; font-variant-numeric: tabular-nums; }
.tracker .done { color: var(--text-2); }
.tracker .done .dot-step { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.tracker .current { color: var(--text); font-weight: 600; }
.tracker .current .dot-step { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

.doc-list { display: grid; margin-top: 1rem; border-top: 1px solid var(--border); }
.doc-list li { display: flex; align-items: center; gap: .85rem; padding-block: .75rem; border-bottom: 1px solid var(--border); }
.doc-ico { color: var(--text-3); width: 1.3rem; height: 1.3rem; }
.doc-meta { flex: 1; display: grid; min-width: 0; }
.doc-meta a { font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-meta a:hover { color: var(--brand); text-decoration: underline; }
.doc-list form { margin: 0; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.stat { display: grid; gap: .2rem; padding: 1.15rem 1.25rem; }
.stat-label { font-size: .82rem; font-weight: 500; color: var(--text-2); }
.stat-value { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat-warn .stat-value { color: var(--warn); }
.stat-info .stat-value { color: var(--info); }
.stat-ok .stat-value { color: var(--ok); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; }
.tabs a { padding: .4rem .75rem; border-radius: var(--r-sm); font-size: .88rem; font-weight: 500; color: var(--text-2); text-decoration: none; }
.tabs a:hover { background: var(--surface-2); color: var(--text); }
.tabs a.is-active { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.tabs a.is-active .count { background: var(--surface); color: var(--brand); }
.search input { width: min(100%, 18rem); padding-block: .5rem; font-size: .92rem; }
.table-card { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--bg-alt); }
.table th, .table td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-alt); }
.table a:not(.btn) { text-decoration: none; }
.num-col { text-align: right; font-variant-numeric: tabular-nums; }
.empty-row { text-align: center; color: var(--text-2); padding-block: 2.5rem !important; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.pager-info { font-size: .88rem; color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-3); }
.site-footer .bar { justify-content: space-between; padding-block: 1.6rem; }

/* Responsive */
@media (width < 60rem) {
    .hero-grid, .faq-grid, .pricing, .split, .checkout { grid-template-columns: 1fr; }
    .process { max-width: 34rem; }
    .summary { position: static; }
}
@media (width < 44rem) {
    .hide-sm { display: none; }
    .site-header nav { order: 3; flex-basis: 100%; }
    .site-header nav:has(li:not(.hide-sm)) { display: block; }
    .site-header nav:not(:has(li:not(.hide-sm))) { display: none; }
    .cd-cell { min-width: 0; flex: 1; }
    .cd-num { font-size: 1.6rem; }
    .tracker li { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pulse { animation: none; }
    *, *::before, *::after, ::details-content { transition: none !important; }
    @view-transition { navigation: none; }
}
@media (forced-colors: active) {
    .btn, .num, .dot-step, .status, .cd-cell { border: 1px solid ButtonText; }
    .theme-switch button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* Auth pages: fit the viewport on laptops and desktops, no scrolling. */
.is-auth main { display: grid; align-items: center; }
.is-auth .site-footer .bar { padding-block: .85rem; }
.auth { padding-block: clamp(1rem, 3vh, 2.5rem); }
.auth-card h1 { font-size: 1.5rem; line-height: 1.2; }
.auth-card input:not([type="checkbox"]) { line-height: 1.4; }
.auth-card .sub { line-height: 1.45; }
.auth-card .sub { margin-top: .3rem; margin-bottom: 1.25rem; }
.auth-card .stack { gap: .85rem; }
.auth-card .row { gap: .85rem; }
.auth-card .field { gap: .3rem; }
.auth-card input:not([type="checkbox"]) { padding-block: .58rem; }
.auth-card .btn-lg { padding-block: .7rem; }
.auth-card .alert { margin-bottom: 1rem; padding-block: .65rem; }
.auth-alt { margin-top: 1.1rem; }
@media (height < 760px) and (width >= 44rem) {
    .is-auth .site-header .bar { padding-block: .5rem; }
    .is-auth .site-footer .bar { padding-block: .55rem; }
    .auth { padding-block: .75rem; }
    .auth-card { padding: 1.35rem 1.75rem; }
    .auth-card .sub { margin-bottom: 1rem; }
    .auth-card .divider { margin-block: .85rem; }
    .auth-card .stack, .auth-card .row { gap: .7rem; }
    .auth-card input:not([type="checkbox"]) { padding-block: .5rem; }
    .auth-card .btn-lg { padding-block: .6rem; }
    .auth-alt { margin-top: .85rem; }
}

@media (height < 680px) and (width >= 44rem) {
    .auth-card .sub { display: none; }
    .auth-card h1 { margin-bottom: 1rem; }
    .is-auth .site-footer { display: none; }
}

/* Google sign-in */
.btn-google { gap: .65rem; }
.btn-google .ico { width: 1.2rem; height: 1.2rem; }
.btn-google:hover use, .btn-google:hover .ico { translate: none; }
.divider { display: flex; align-items: center; gap: .9rem; margin-block: 1.1rem; font-size: .8rem; color: var(--text-3); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Dashboards: homepage hero, smaller */
.dash-hero { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 4.5vw, 3.25rem); }
.dash-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.dash-hero .lede { font-size: 1.05rem; }
.dash-hero .actions { margin-top: 1.75rem; }
.dash-hero .deadline { margin-top: 2rem; }
.steps .is-done h3, .steps .is-done p { color: var(--text-3); }
.steps .is-done:not(:last-child)::before { background: var(--ok); }
.num-current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.steps .is-current h3 { color: var(--brand); }

.pipeline { display: grid; gap: .5rem; }
.pipeline a {
    display: flex; align-items: center; gap: .9rem; padding: .7rem .8rem;
    border: 1px solid var(--border); border-radius: var(--r-sm); text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.pipeline a:hover, .pipeline a.is-active { border-color: var(--brand); background: var(--brand-soft); }
.pipe-num { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding-inline: .4rem; border-radius: var(--r-sm); font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pipe-muted { background: var(--surface-2); color: var(--text-2); }
.pipe-warn { background: var(--warn-soft); color: var(--warn); }
.pipe-info { background: var(--info-soft); color: var(--info); }
.pipe-ok { background: var(--ok-soft); color: var(--ok); }
.pipe-text { flex: 1; display: grid; line-height: 1.35; }
.pipe-text span { font-size: .85rem; color: var(--text-2); }
.pipeline .chevron, .order-row .chevron { color: var(--text-3); }

.order-ico { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand); flex: none; }
.order-row > div { flex: 1; min-width: 0; }
@media (width < 44rem) { .order-row .status { display: none; } }
