/* The public front page (docs/13_Public_Front_Page.md).

   Separate from app.css on purpose: the application is quiet and read for hours; this page is a
   shop window and is meant to impress in thirty seconds. Same brand block, so the two always
   agree on colour. Dark by design, like the brand's own site. No fonts or files from elsewhere.
   Every movement stops for a visitor who has asked their computer for less motion. */

:root {
    --accent: #b3ff3a;
    --accent-ink: #05070d;
    --accent-soft: rgba(179, 255, 58, .12);
    --accent-line: rgba(179, 255, 58, .35);

    --bg: #05070d;
    --bg-alt: #080b13;
    --surface: #0c111b;
    --surface-2: #111827;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #eef2f7;
    --text-soft: #a9b4c4;
    --muted: #6f7c8f;
    --good: #7ee08a;
    --amber: #ffc861;
    --violet: #a99bff;

    --radius: 18px;
    --radius-sm: 12px;
    --pill: 999px;
    --wrap: 1180px;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
}
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- top bar ---------- */
.nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(5, 7, 13, .72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 26px; height: 26px; border-radius: 8px;
    background: conic-gradient(from 210deg, var(--accent), #58d68d, var(--accent));
    box-shadow: 0 0 18px rgba(179, 255, 58, .45);
    position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg); }
.brand.small { font-size: 15px; }
.brand.small .brand-mark { width: 20px; height: 20px; }
.brand.small .brand-mark::after { inset: 5px; }
.nav-links { display: none; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--text-soft); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- buttons ---------- */
.btn {
    font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: var(--pill);
    font-weight: 700; font-size: 15px; white-space: nowrap;
    border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px rgba(179, 255, 58, .25); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(179, 255, 58, .4); background: #c4ff63; }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn-ghost { color: var(--text); padding: 10px 14px; font-weight: 600; }
.btn-small { padding: 10px 18px; font-size: 14px; }
@media (max-width: 560px) { .nav-app { display: none; } .nav-actions .btn-small { padding: 9px 14px; } }

/* ---------- opening ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 96px 0 56px; } }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    opacity: .5;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 520px; height: 520px; background: rgba(179, 255, 58, .16); top: -160px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.glow-b { width: 420px; height: 420px; background: rgba(110, 90, 255, .14); bottom: -160px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }

.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px; border-radius: var(--pill);
    border: 1px solid var(--accent-line); background: var(--accent-soft);
    color: var(--accent); font-size: 13px; font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(179, 255, 58, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(179, 255, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 255, 58, 0); } }

h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -.035em; }
.hl {
    background: linear-gradient(100deg, var(--accent) 10%, #6ff0a8 60%, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-soft); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }

/* the illustration: a phone with an invoice, and the window it turns into */
.hero-visual { position: relative; min-height: 470px; display: flex; justify-content: center; }
.phone {
    position: relative; width: 250px; height: 460px; border-radius: 38px; padding: 14px;
    background: linear-gradient(160deg, #1b2333, #0a0e17);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 6px #05070d;
    --shift: -50px;
    transform: rotate(-6deg) translateX(var(--shift));
    animation: float 7s ease-in-out infinite;
}
@media (min-width: 980px) { .phone { --shift: -110px; } }
@keyframes float { 50% { transform: rotate(-6deg) translateX(var(--shift)) translateY(-10px); } }
.phone-notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #05070d; margin: -2px auto 12px; }
.receipt {
    position: relative; overflow: hidden;
    background: #f7f5ef; color: #222; border-radius: 10px; padding: 16px 14px;
    font: 11px/1.5 var(--mono);
    box-shadow: 0 2px 0 #e7e3d8;
}
.r-head { font-weight: 800; font-size: 11.5px; text-align: center; }
.r-sub { text-align: center; color: #777; font-size: 10px; margin-bottom: 12px; }
.r-row { display: flex; justify-content: space-between; gap: 8px; }
.r-rule { border-top: 1px dashed #aaa; margin-top: 8px; padding-top: 6px; }
.r-total { font-weight: 800; font-size: 12.5px; border-top: 2px solid #222; margin-top: 6px; padding-top: 6px; }
.scanline {
    position: absolute; left: 0; right: 0; height: 46px; top: -50px;
    background: linear-gradient(180deg, transparent, rgba(179, 255, 58, .55), transparent);
    border-bottom: 2px solid var(--accent);
    animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 0% { top: -50px; } 60%, 100% { top: 100%; } }
.shutter {
    width: 54px; height: 54px; border-radius: 50%; margin: 28px auto 0;
    border: 4px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .15);
}

.dialog {
    position: absolute; right: 0; bottom: 6px; width: min(330px, 92%);
    background: rgba(17, 24, 39, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--accent-line); border-radius: var(--radius);
    padding: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(179, 255, 58, .05), 0 0 60px rgba(179, 255, 58, .12);
    animation: pop .9s cubic-bezier(.2, .9, .3, 1.3) .4s both;
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.dialog-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.dialog-head strong { display: block; font-size: 15px; }
.dialog-head .muted { font-size: 12px; }
.dot-ai {
    flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 13px;
}
.dialog-body { margin: 0; display: grid; gap: 8px; font-size: 13.5px; }
.dialog-body div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.dialog-body dt { color: var(--muted); }
.dialog-body dd { margin: 0; text-align: right; }
.num { font-family: var(--mono); }
.strong { font-weight: 800; color: var(--accent); }
.check { color: var(--good); font-size: 12.5px; margin: 12px 0 14px; }
.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; }
.fake-btn { padding: 9px 16px; border-radius: var(--pill); font-size: 13px; font-weight: 700; }
.fake-ghost { border: 1px solid var(--line-strong); color: var(--text-soft); }
.fake-primary { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 520px) {
    .hero-visual { min-height: 520px; }
    .phone { width: 220px; height: 420px; transform: rotate(-4deg) translateX(-30px); animation: none; }
    .dialog { bottom: 0; }
}

.strip {
    position: relative; margin-top: 64px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 860px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip > div { background: var(--bg-alt); padding: 22px 20px; }
/* minmax(0, 1fr) and the wrap rule keep a long word (Greek, German) inside its tile on a phone. */
.strip strong { display: block; font-size: clamp(19px, 5.6vw, 26px); color: var(--accent); letter-spacing: -.02em; overflow-wrap: break-word; hyphens: auto; }
.strip span { color: var(--text-soft); font-size: 13.5px; }
@media (max-width: 720px) { .strip { margin-left: 16px; margin-right: 16px; } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; max-width: 820px; }
.section-lead { color: var(--text-soft); font-size: 18px; max-width: 700px; margin-top: 18px; }
.footnote { margin-top: 28px; color: var(--muted); font-size: 14px; }

.steps {
    list-style: none; padding: 0; margin: 48px 0 0;
    display: grid; gap: 16px; counter-reset: s;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
    position: relative; padding: 26px 22px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
}
.step:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.step-n {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
    font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14.5px; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-soft); }
.ticks li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 900; display: grid; place-items: center;
}
.ticks strong { color: var(--text); }
.soon { display: inline-block; font-size: 11px; font-weight: 700; color: var(--amber); border: 1px solid rgba(255, 200, 97, .35); border-radius: var(--pill); padding: 1px 8px; margin-left: 4px; }
.rules { display: grid; gap: 14px; }
.rule {
    display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
    background: linear-gradient(140deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.rule-icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    font-size: 22px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.rule h3 { font-size: 17px; margin-bottom: 6px; }
.rule p { color: var(--text-soft); font-size: 14.5px; }

/* firms: clients → workspace → back to clients */
.flow { display: grid; gap: 18px; margin: 52px 0 48px; align-items: center; }
@media (min-width: 980px) { .flow { grid-template-columns: 1fr 48px 1.1fr 48px 1fr; } }
.flow-title { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 12px; }
.flow-col { display: grid; gap: 10px; align-content: start; }
.flow-card {
    display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--line);
}
.flow-card strong { display: block; font-size: 14px; }
.flow-card span:not(.avatar) { color: var(--muted); font-size: 12.5px; }
.avatar {
    flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(169, 155, 255, .14); color: var(--violet); font-weight: 800;
}
.avatar.ok { background: var(--accent-soft); color: var(--accent); }
.flow-arrow { display: grid; place-items: center; height: 24px; }
.flow-arrow span {
    width: 2px; height: 100%; position: relative;
    background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px);
    background-size: 2px 24px; animation: flowv 1s linear infinite;
}
@keyframes flowv { to { background-position: 0 24px; } }
@media (min-width: 980px) {
    .flow-arrow { height: auto; }
    .flow-arrow span {
        width: 100%; height: 2px;
        background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
        background-size: 24px 2px; animation: flowh 1s linear infinite;
    }
    .flow-arrow span::after {
        content: ""; position: absolute; right: -2px; top: -4px;
        border-left: 8px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
    }
}
@keyframes flowh { to { background-position: 24px 0; } }
.hub {
    padding: 20px; border-radius: var(--radius); display: grid; gap: 10px;
    background: linear-gradient(150deg, rgba(179, 255, 58, .10), var(--surface) 55%);
    border: 1px solid var(--accent-line); box-shadow: 0 0 60px rgba(179, 255, 58, .08);
}
.hub-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(5, 7, 13, .55); font-size: 14px; color: var(--text-soft); }
.hub-row b { font-family: var(--mono); color: var(--text); font-size: 16px; }
.hub-ok b { color: var(--accent); }

/* feature cards */
.grid-3 { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
#firms .grid-3 { margin-top: 0; }
.feature {
    padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    transition: border-color .2s, transform .2s, background .2s;
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); background: var(--surface-2); }
.feature h3 { font-size: 18px; margin: 16px 0 8px; }
.feature p { color: var(--text-soft); font-size: 14.5px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: var(--pill); letter-spacing: .02em; }
.tag-now { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tag-building { color: var(--amber); background: rgba(255, 200, 97, .1); border: 1px solid rgba(255, 200, 97, .35); }
.tag-next { color: var(--violet); background: rgba(169, 155, 255, .1); border: 1px solid rgba(169, 155, 255, .35); }

.grid-4 { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.trust { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.trust strong { display: block; font-size: 16px; margin-bottom: 6px; }
.trust strong::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 16px; }
.trust span { color: var(--text-soft); font-size: 14px; }

/* roadmap */
.roadmap { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 860px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
.lane { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.lane-title { margin-bottom: 16px; }
.lane ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lane li { padding-left: 20px; position: relative; color: var(--text-soft); font-size: 15px; }
.lane li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.lane:first-child li::before { background: var(--accent); }
.lane:nth-child(2) li::before { background: var(--amber); }
.lane:nth-child(3) li::before { background: var(--violet); }

/* invitation */
.final {
    position: relative; overflow: hidden; text-align: center;
    padding: 72px 24px; border-radius: 28px;
    background: radial-gradient(ellipse at top, rgba(179, 255, 58, .14), transparent 60%), var(--surface);
    border: 1px solid var(--accent-line);
}
.final h2 { margin: 0 auto; }
.final p { color: var(--text-soft); font-size: 18px; max-width: 560px; margin: 18px auto 0; }
.glow-c { width: 360px; height: 360px; background: rgba(179, 255, 58, .12); bottom: -200px; left: 50%; transform: translateX(-50%); }

.footer { border-top: 1px solid var(--line); padding: 32px 0 max(32px, env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 14px; }
.footer-inner a { margin-left: auto; }

/* ---------- pricing page (docs/14) ---------- */
.nav-links a[aria-current="page"] { color: var(--accent); }
.hero-short { padding: 64px 0 24px; }
@media (min-width: 900px) { .hero-short { padding: 88px 0 32px; } }
.center-text { text-align: center; }
.h1-mid { font-size: clamp(38px, 6vw, 64px); }
.lead-center { margin: 0 auto; }
.section-tight { padding-top: 24px; }
.narrow { max-width: 820px; }

.bill-radio { position: absolute; opacity: 0; pointer-events: none; }
.bill-switch {
    display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; gap: 4px;
    border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--surface);
}
.bill-switch label { padding: 9px 18px; border-radius: var(--pill); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-soft); }
.save { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-left: 4px; }
#bill-month:checked ~ .bill-switch label[for="bill-month"],
#bill-year:checked ~ .bill-switch label[for="bill-year"] { background: var(--accent); color: var(--accent-ink); }
#bill-year:checked ~ .bill-switch label[for="bill-year"] .save { color: var(--accent-ink); }
#bill-month:focus-visible ~ .bill-switch label[for="bill-month"],
#bill-year:focus-visible ~ .bill-switch label[for="bill-year"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan .plan-price.price-year { display: none; }
#bill-year:checked ~ .plans .plan-price.price-year { display: flex; }
#bill-year:checked ~ .plans .plan-price.price-month { display: none; }

.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.plan-highlight {
    border-color: var(--accent-line);
    background: linear-gradient(170deg, rgba(179, 255, 58, .10), var(--surface) 45%);
    box-shadow: 0 0 70px rgba(179, 255, 58, .10);
}
@media (min-width: 900px) { .plan-highlight { transform: translateY(-10px); } }
.plan-badge {
    position: absolute; top: -12px; left: 26px; padding: 4px 12px; border-radius: var(--pill);
    background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800;
}
.plan-name { font-size: 22px; letter-spacing: -.02em; }
.plan-name.big { font-size: clamp(28px, 4vw, 38px); }
.plan-for { color: var(--text-soft); font-size: 14.5px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.plan-price .amount { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 14px; }
.plan-docs { font-size: 13.5px; color: var(--text-soft); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.plan-docs strong { color: var(--accent); }
.plan-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 14.5px; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.btn-block { width: 100%; }

.firm {
    margin-top: 56px; display: grid; gap: 32px; padding: 34px 28px; border-radius: 24px;
    border: 1px solid var(--accent-line);
    background: radial-gradient(ellipse at top right, rgba(169, 155, 255, .12), transparent 55%), var(--surface);
}
@media (min-width: 900px) { .firm { grid-template-columns: 1.3fr 1fr; padding: 44px; align-items: center; } }
.firm .plan-list { margin-top: 18px; }
.firm .plan-list .tag { margin-left: 6px; vertical-align: 1px; }
.firm .plan-for { margin-top: 12px; }
.firm-calc { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: rgba(5, 7, 13, .55); border: 1px solid var(--line); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); color: var(--text-soft); font-size: 14.5px; }
.calc-row b { font-family: var(--mono); color: var(--text); font-size: 17px; white-space: nowrap; }
.calc-row small { font-family: var(--sans); color: var(--muted); font-weight: 500; font-size: 12px; }
.calc-row.total { background: transparent; border-top: 1px solid var(--line-strong); border-radius: 0; margin-top: 4px; }
.calc-row.total b { font-size: 24px; }

.compare { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.compare-col:first-child .calc-row.total b { color: var(--text-soft); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.compare-us { border-color: var(--accent-line); }
.compare-us .calc-row b { color: var(--accent); }

.feature .extra-price { font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }

.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--text-soft); }
.faq .tag { margin-right: 6px; }

.footer-links { margin-left: auto; display: flex; gap: 20px; }
.footer-inner > a { margin-left: 0; }
.site-languages { display: flex; gap: 14px; flex-wrap: wrap; }
.site-languages .linklike { color: var(--text-soft); }
.site-languages .linklike[aria-current] { color: var(--accent); font-weight: 700; }

/* ---------- payroll and personal tax ---------- */
.split-top { align-items: start; margin-top: 44px; }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.person { display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--accent-line); }
.person-step { display: flex; gap: 16px; padding: 14px; border-radius: var(--radius-sm); background: rgba(5, 7, 13, .5); }
.person-step .step-n { flex: none; margin: 0; }
.person-step h3 { font-size: 16.5px; margin-bottom: 6px; line-height: 1.35; }
.person-step h3 .tag { margin-left: 6px; vertical-align: 2px; }
.person-step p { color: var(--text-soft); font-size: 14.5px; }
#payroll-tax .footnote { margin-top: 32px; color: var(--text-soft); }

/* ---------- the "Get started" pop-up (DEC-29, DEC-28) ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.linklike:hover { text-decoration: underline; }

.start {
    width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
    margin: auto; padding: 32px 28px 26px; border-radius: 24px;
    color: var(--text); background: var(--surface);
    border: 1px solid var(--accent-line);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px rgba(179, 255, 58, .10);
}
.start::backdrop { background: rgba(5, 7, 13, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.start:popover-open { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
.start h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 40px 22px 0; }
.start-close {
    position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: transparent; color: var(--text-soft);
    font-size: 22px; line-height: 1; cursor: pointer;
}
.start-close:hover { color: var(--text); border-color: var(--accent-line); }
.start-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .start-grid { grid-template-columns: 1.15fr 1fr; } }
.start-account { display: grid; gap: 12px; align-content: start; }
.start-option {
    display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius-sm);
    background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
    transition: border-color .15s, transform .15s;
}
.start-option:hover { text-decoration: none; border-color: var(--accent-line); transform: translateY(-2px); }
.start-option strong { font-size: 17px; }
.start-option span:not(.tag) { color: var(--text-soft); font-size: 14px; }
.start-option .tag { justify-self: start; }
.start-trial { border-color: var(--accent-line); background: linear-gradient(150deg, rgba(179, 255, 58, .12), var(--surface-2) 60%); }
.start-app {
    display: grid; gap: 10px; justify-items: center; text-align: center; align-content: start;
    padding: 18px; border-radius: var(--radius-sm); background: rgba(5, 7, 13, .5); border: 1px solid var(--line);
}
.start-app-title { font-weight: 800; font-size: 16px; }
.app-qr { display: grid; gap: 8px; justify-items: center; }
.app-qr p { color: var(--text-soft); font-size: 13.5px; }
/* Dark modules on white, always: phones read a dark-on-dark code badly. */
.qr-box { background: #ffffff; padding: 10px; border-radius: 14px; line-height: 0; }
.qr-box svg { width: 168px; height: 168px; display: block; }
.qr-box svg path { fill: #05070d; }
.app-button { display: none; }
.app-link { font-size: 12.5px; word-break: break-all; }
.app-small { color: var(--muted); font-size: 12px; max-width: 300px; }
@media (hover: none) and (pointer: coarse) {
    .app-qr { display: none; }
    .app-button { display: inline-flex; }
}

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