/* Styles for the public (signed-out) pages: landing, auth, legal, 404. */

:root {
    --blue: #3498db;
    --blue-strong: #1f6fa5;   /* white text on this passes WCAG AA */
    --blue-soft: #eaf4fc;
    --green: #27ae60;
    --green-text: #1b7a43;
    --green-soft: #e8f7ee;
    --purple: #8e44ad;
    --purple-soft: #f4ecf8;
    --red: #c0392b;
    --red-soft: #fdecea;
    --dark: #222;
    --ink: #1d2433;
    --text: #2b3240;
    --muted: #5b6474;
    --line: #e3e7ee;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 24px 48px rgba(16, 24, 40, .14);
    --max: 1160px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::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;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue-strong); }
a:hover { color: #174f78; }

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 1000;
}
.skip-link:focus { left: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s, box-shadow .15s, transform .05s, border-color .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-strong); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.btn-primary:hover { background: #185a87; color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #cfd6e0; }
.btn-secondary:hover { background: var(--bg-alt); color: var(--ink); border-color: #b8c1ce; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-strong); }
.btn-light:hover { background: #eef5fb; color: #174f78; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: not-allowed; }
.btn .spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
    animation: spin .7s linear infinite;
    display: none;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Site header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
}
.site-nav a.nav-link:hover { background: var(--bg-alt); color: var(--ink); }
.site-nav .btn { margin-left: 6px; padding: 10px 16px; }

@media (max-width: 720px) {
    .site-nav .nav-hide-sm { display: none; }
}
@media (max-width: 400px) {
    .site-header .container { gap: 8px; padding: 0 14px; }
    .brand { font-size: 17px; gap: 8px; }
    .brand-mark { width: 28px; height: 28px; }
    .site-nav a.nav-link { padding: 8px 8px; font-size: 14px; }
    .site-nav .btn { padding: 9px 12px; font-size: 14px; margin-left: 2px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    section { padding: 60px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head p { font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 80px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(52, 152, 219, .14), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(39, 174, 96, .10), transparent 60%),
        #fff;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 56px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    margin-bottom: 22px;
}
.hero-badge .dot {
    background: var(--green-soft);
    color: var(--green-text);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}
.hero h1 {
    font-size: clamp(34px, 5.2vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.hero h1 .hl { color: var(--blue-strong); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    color: var(--muted);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.check { width: 18px; height: 18px; flex: none; color: var(--green); }

@media (max-width: 960px) {
    .hero .container { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .hero-copy { text-align: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
    .hero-ctas, .hero-trust { justify-content: center; }
}
@media (max-width: 640px) {
    .hero { padding: 44px 0 56px; }
    .hero-badge { font-size: 13px; }
    .hero-badge .dot { display: none; }
    .hero-badge { padding: 6px 14px; }
    .hero .lead { font-size: 17px; }
    .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Label mock-up (hero illustration) ---------- */
.mock-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 10px 0 64px;
}
.mock-tablet {
    position: absolute;
    inset: 40px 0 0 6%;
    border-radius: 28px;
    background: linear-gradient(160deg, #e8f1f9, #f3f7fb);
    border: 1px solid #dbe5ef;
}
.label-mock {
    position: relative;
    width: 300px;
    max-width: 100%;
    background: #fff;
    color: #111;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    padding: 16px 16px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.3;
    transform: rotate(-2deg);
}
.label-mock::before, .label-mock::after {
    /* thermal-roll perforation feel */
    content: "";
    position: absolute;
    left: 10px; right: 10px;
    height: 6px;
    background: radial-gradient(circle, #dfe6ee 2px, transparent 2.5px) 0 0 / 10px 6px repeat-x;
}
.label-mock::before { top: -3px; }
.label-mock::after { bottom: -3px; }
.lm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.lm-name { font-size: 17px; font-weight: 800; line-height: 1.1; }
.lm-sub { font-size: 10px; color: #444; margin-top: 2px; }
.lm-price { font-size: 26px; font-weight: 800; line-height: 1; white-space: nowrap; }
.lm-row {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #111;
    border-bottom: 1px solid #111;
    margin: 10px 0 8px;
    padding: 4px 0;
    font-weight: 700;
    font-size: 11px;
}
.lm-row span:last-child { background: #111; color: #fff; padding: 0 5px; border-radius: 2px; }
.lm-body { display: grid; grid-template-columns: 124px 1fr; gap: 10px; }
.nf { border: 1.5px solid #111; padding: 4px 5px; font-size: 8.5px; }
.nf-title { font-size: 13px; white-space: nowrap; font-weight: 900; letter-spacing: -.02em; line-height: 1; border-bottom: 1px solid #111; padding-bottom: 2px; }
.nf-serv { border-bottom: 5px solid #111; padding: 2px 0; }
.nf-cal { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px solid #111; font-weight: 900; }
.nf-cal b { font-size: 16px; }
.nf-line { display: flex; justify-content: space-between; border-bottom: 1px solid #111; padding: 1px 0; }
.nf-line.ind { padding-left: 8px; }
.nf-line:last-child { border-bottom: 0; }
.lm-text p { margin: 0 0 5px; font-size: 8.5px; }
.lm-text b { font-weight: 800; }
.lm-warn {
    border: 1px solid #111;
    padding: 3px 4px;
    font-size: 7.5px;
    font-weight: 700;
    margin-bottom: 5px;
}
.lm-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    border-top: 1px solid #111;
    padding-top: 6px;
}
.lm-pack { font-size: 7.5px; color: #333; }
.lm-barcode { text-align: center; font-size: 8px; letter-spacing: .12em; }
.lm-barcode svg { display: block; width: 120px; height: 34px; }

.prep-mock {
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 200px;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    padding: 10px 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    font-size: 10px;
    line-height: 1.35;
    transform: rotate(3deg);
    border-left: 6px solid var(--green);
}
.prep-mock .pm-name { font-weight: 800; font-size: 14px; }
.prep-mock .pm-grid { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; margin-top: 4px; }
.prep-mock .pm-grid b { font-weight: 800; }
.prep-mock .pm-use { color: #b03a2e; }

@media (max-width: 1080px) and (min-width: 961px) {
    .prep-mock { right: -10px; }
}
@media (max-width: 520px) {
    .mock-stage { padding-bottom: 84px; }
    .mock-tablet { inset: 30px 0 0 0; }
    .label-mock { width: 280px; }
    .lm-body { grid-template-columns: 108px 1fr; }
    .prep-mock { right: 50%; transform: translateX(50%) rotate(2deg); bottom: 0; width: 220px; }
}

/* ---------- Device strip ---------- */
.devices {
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.devices .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
    color: var(--muted);
    font-size: 15px;
}
.devices strong { color: var(--ink); font-weight: 600; }
.devices .chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.devices .chip svg { width: 20px; height: 20px; color: var(--blue-strong); }

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px 26px;
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue-strong);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 16px;
}
.step:nth-child(2) .step-num { background: var(--green-soft); color: var(--green-text); }
.step:nth-child(3) .step-num { background: var(--purple-soft); color: var(--purple); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature grid ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow); border-color: #d4dbe5; }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: var(--blue-soft);
    color: var(--blue-strong);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.green { background: var(--green-soft); color: var(--green-text); }
.feature-icon.purple { background: var(--purple-soft); color: var(--purple); }
.feature-icon.dark { background: #eceef1; color: var(--dark); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-soft);
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Production highlight ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}
.split h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.split .lead { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .check { margin-top: 3px; }
.split.wide-right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
@media (max-width: 960px) { .split, .split.wide-right { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.report-mock {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.rm-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: var(--dark);
    color: #fff;
}
.rm-bar .rm-title { font-weight: 700; font-size: 15px; }
.rm-bar .rm-sub { color: #b9c0ca; font-size: 13px; }
.live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(39, 174, 96, .25);
    border: 1px solid rgba(39, 174, 96, .6);
    border-radius: 999px;
    padding: 3px 10px;
}
.live::before {
    content: "";
    width: 8px; height: 8px; border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, .7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .7); }
    70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }
.rm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rm-table th, .rm-table td { padding: 10px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rm-table th:first-child, .rm-table td:first-child { text-align: left; }
.rm-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg-alt); font-weight: 700; }
.rm-table td.in { color: var(--blue-strong); font-weight: 600; }
.rm-table td.in span { display: inline-block; min-width: 34px; border: 1px solid #cfd6e0; border-radius: 6px; padding: 1px 6px; background: #fff; color: var(--ink); }
.rm-table td.auto { color: var(--muted); }
.rm-table td.money { font-weight: 700; color: var(--ink); }
.rm-table td.waste { color: var(--red); font-weight: 600; }
.rm-table tfoot td { font-weight: 800; color: var(--ink); background: var(--bg-alt); border-bottom: 0; }
.rm-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.rm-foot .rm-btns { display: flex; gap: 8px; }
.rm-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--green-text);
    color: #fff;
}
.rm-pill.outline { background: #fff; color: var(--ink); border: 1px solid #cfd6e0; }
@media (max-width: 560px) {
    .rm-table { font-size: 12.5px; }
    .rm-table th, .rm-table td { padding: 8px 5px; }
    .rm-table th:first-child, .rm-table td:first-child { white-space: normal; padding-left: 12px; }
    .rm-table th:last-child, .rm-table td:last-child { padding-right: 12px; }
    .rm-table thead th { font-size: 10.5px; letter-spacing: 0; }
    .rm-table .hide-xs { display: none; }
    .rm-table td.in span { min-width: 26px; padding: 1px 4px; }
}

/* ---------- Pricing ---------- */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 28px;
}
.plan.featured {
    border: 2px solid var(--blue-strong);
    box-shadow: var(--shadow-lg);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-strong);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .plan-desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; color: var(--ink); }
.price .amount { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .amount-text { font-size: 36px; }
.price .per { color: var(--muted); font-size: 15px; }
.price-note { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .check { margin-top: 3px; }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }
@media (max-width: 960px) {
    .pricing { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
    .plan .plan-desc { min-height: 0; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 22px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 28px 18px 0;
    font-weight: 600;
    color: var(--ink);
    font-size: 17px;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq .answer { padding: 0 0 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(142, 68, 173, .35), transparent 60%),
        radial-gradient(600px 300px at 0% 100%, rgba(52, 152, 219, .35), transparent 60%),
        var(--dark);
    color: #fff;
    text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-band p { color: #d5dae1; font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 32px 0;
    font-size: 14px;
    color: var(--muted);
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand { font-size: 16px; }
.site-footer .brand-mark { width: 24px; height: 24px; }

/* ---------- Auth pages ---------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(52, 152, 219, .13), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(39, 174, 96, .09), transparent 60%),
        var(--bg-alt);
}
.auth-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 32px;
}
.auth-brand { margin-bottom: 22px; font-size: 22px; }
.auth-brand .brand-mark { width: 36px; height: 36px; }
.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 34px 32px 30px;
}
.auth-card.wide { max-width: 620px; }
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.auth-links {
    margin-top: 22px;
    text-align: center;
    font-size: 15px;
    color: var(--muted);
}
.auth-links p { margin: 0 0 6px; }
.auth-links a { font-weight: 600; }
.auth-foot {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    padding: 0 16px 24px;
}
.auth-foot a { color: var(--muted); }
@media (max-width: 480px) {
    .auth-main { padding-top: 28px; justify-content: flex-start; }
    .auth-card { padding: 26px 20px 24px; border-radius: 14px; }
    .auth-card h1 { font-size: 23px; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-section-title {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin: 8px 0 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.field { margin-bottom: 16px; min-width: 0; }
.field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 6px;
}
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.field-row a { font-size: 13px; font-weight: 600; }
.input, select.input, textarea.input {
    display: block;
    width: 100%;
    font: inherit;
    font-size: 16px; /* avoids iOS zoom */
    color: var(--ink);
    background: #fff;
    border: 1px solid #c4ccd8;
    border-radius: 10px;
    padding: 11px 13px;
    transition: border-color .15s, box-shadow .15s;
}
textarea.input { resize: vertical; min-height: 84px; line-height: 1.45; }
select.input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6474' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.input:hover { border-color: #9fabbb; }
.input:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(52, 152, 219, .25); }
.input[aria-invalid="true"] { border-color: var(--red); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-strong);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}
.pw-toggle:hover { background: var(--bg-alt); }
.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    margin-bottom: 14px;
    cursor: pointer;
    line-height: 1.45;
}
.checkbox input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: none;
    accent-color: var(--blue-strong);
    cursor: pointer;
}
.checkbox small { display: block; color: var(--muted); font-size: 13px; }

.alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.45;
}
.alert[hidden] { display: none; }
.alert-error { background: var(--red-soft); color: #8a2318; border: 1px solid #f3c1bb; }
.alert-success { background: var(--green-soft); color: #145c32; border: 1px solid #b7e2c7; }
.alert-info { background: var(--blue-soft); color: #174f78; border: 1px solid #c3def3; }
.alert a { color: inherit; font-weight: 700; }

.state-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: var(--green-soft);
    color: var(--green-text);
}
.state-icon svg { width: 28px; height: 28px; }
.center { text-align: center; }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.draft-notice {
    background: #fff4c2;
    border: 2px solid #e6b800;
    color: #4d3b00;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.draft-notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .toc {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 8px;
}
.legal .toc h2 { margin: 0 0 8px; font-size: 16px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal .toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }

/* ---------- 404 ---------- */
.notfound {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 16px;
}
.notfound .code {
    font-size: clamp(72px, 16vw, 128px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1;
    background: linear-gradient(120deg, var(--blue-strong), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}
.notfound p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 0 auto 28px; }
.notfound .hero-ctas { justify-content: center; }

/* Medium desktops: the report sits in a narrower column, so drop the secondary columns */
@media (min-width: 961px) and (max-width: 1100px) {
    .rm-table .hide-xs { display: none; }
}

/* ---------- Prep sticker mock: use-by day ---------- */
.prep-mock .pm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prep-mock .pm-day {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    color: #fff;
    border-radius: 3px;
    padding: 2px 6px 3px;
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .02em;
}
.prep-mock .pm-day small { font-size: 6px; font-weight: 700; letter-spacing: .06em; margin-bottom: 2px; }

/* ---------- Industry cards ---------- */
.industry-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.industry-grid > li { display: flex; }
.industry-card {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    column-gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .2s, border-color .2s, transform .15s;
}
.industry-card.has-icon { grid-template-columns: auto minmax(0, 1fr); }
.industry-card:hover { color: var(--text); box-shadow: var(--shadow); border-color: #c9d3df; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .industry-card:hover { transform: none; } }
.industry-card .ic-icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue-strong);
}
.industry-card .ic-icon svg { width: 22px; height: 22px; }
.industry-card .ic-icon.green { background: var(--green-soft); color: var(--green-text); }
.industry-card .ic-icon.purple { background: var(--purple-soft); color: var(--purple); }
.industry-card .ic-icon.dark { background: #eceef1; color: var(--dark); }
.industry-card .ic-name { font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.3; }
.industry-card .ic-name::after { content: "\00a0\2192"; color: var(--blue-strong); }
.industry-card .ic-text { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 3px; }
@media (max-width: 960px) { .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Label sizes (shapes drawn to scale: 1 in = 14px) ---------- */
.sizes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.size {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 16px 18px;
}
.size h3 { font-size: 17px; margin: 14px 0 4px; }
.size p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.45; }
.size-shape {
    --h: 112px;
    display: block;
    flex: none;
    margin-top: calc(112px - var(--h));
    background-color: #fff;
    border: 2px solid var(--ink);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
    background-image: linear-gradient(#cfd6e0, #cfd6e0), linear-gradient(#cfd6e0, #cfd6e0), linear-gradient(#cfd6e0, #cfd6e0);
    background-repeat: no-repeat;
    background-size: 60% 3px, 75% 3px, 45% 3px;
    background-position: 30% 20%, 40% 40%, 35% 60%;
}
.s-2x8 { width: 28px; height: 112px; --h: 112px; background-size: 60% 2px, 70% 2px, 50% 2px; background-position: 50% 6%, 50% 12%, 50% 18%; }
.s-4x6 { width: 84px; height: 56px; --h: 56px; }
.s-3x2 { width: 42px; height: 28px; --h: 28px; background-size: 60% 2px, 75% 2px, 45% 2px; }
.s-225 { width: 32px; height: 18px; --h: 18px; background-size: 60% 2px, 75% 2px, 0 0; background-position: 30% 30%, 40% 70%, 0 0; }
.s-2x1 { width: 28px; height: 14px; --h: 14px; border-color: var(--green-text); background-size: 60% 2px, 70% 2px, 0 0; background-position: 30% 30%, 40% 70%, 0 0; }
@media (max-width: 960px) { .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .size { padding: 18px 12px 16px; }
}

/* ---------- Coming soon note ---------- */
.coming-soon { text-align: center; color: var(--muted); font-size: 15px; margin: 28px 0 0; }
.tag-soon {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #7a5000;
    background: #fff4d6;
    border: 1px solid #f1d58a;
    border-radius: 999px;
    padding: 2px 9px;
    margin-right: 6px;
    vertical-align: 1px;
}

/* ---------- Rich footer (landing + industry pages) ---------- */
.site-footer.footer-rich { padding: 48px 0 24px; }
.site-footer.footer-rich .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
.footer-about p { margin: 12px 0 0; max-width: 300px; line-height: 1.55; }
.site-footer.footer-rich nav.footer-col { display: block; }
.footer-col h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink);
    margin: 4px 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col li[hidden] { display: none; }
.footer-col a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-footer.footer-rich .footer-bottom { display: block; margin-top: 32px; }
.site-footer.footer-rich .footer-bottom > span { display: block; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
    .site-footer.footer-rich .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .site-footer.footer-rich .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- Industry pages ---------- */
.breadcrumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 10px 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #b8c1ce; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.hero-industry h1 { font-size: clamp(32px, 4.4vw, 50px); }

.mini-stage {
    position: relative;
    min-height: 400px;
    border-radius: 28px;
    background: linear-gradient(160deg, #e8f1f9, #f3f7fb);
    border: 1px solid #dbe5ef;
}
.mini-label {
    position: absolute;
    width: 210px;
    background: #fff;
    color: #111;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    padding: 14px 14px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.3;
}
.mini-label.ml-0 { left: 4%; top: 26px; transform: rotate(-3deg); }
.mini-label.ml-1 { right: 4%; top: 116px; transform: rotate(2.5deg); }
.mini-label.ml-2 { left: 6%; top: 214px; transform: rotate(-1deg); }
.ml-name { font-size: 15px; font-weight: 800; line-height: 1.15; }
.ml-row {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #111;
    border-bottom: 1px solid #111;
    margin: 8px 0 6px;
    padding: 3px 0;
    font-weight: 700;
    font-size: 9.5px;
}
.ml-row .ml-date { background: #111; color: #fff; padding: 0 5px; border-radius: 2px; }
.ml-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 4px; margin-bottom: 5px; font-size: 8px; }
.ml-lines b { font-weight: 800; }
.ml-lines i { display: block; height: 4px; flex: 1 1 55%; background: #d5dbe3; border-radius: 2px; }
.ml-lines i.short { flex: 0 1 40%; }
.ml-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px solid #111; padding-top: 6px; margin-top: 6px; }
.ml-pack { display: grid; gap: 3px; flex: 1; }
.ml-pack i { display: block; height: 3px; background: #e3e7ee; border-radius: 2px; }
.ml-pack i + i { width: 70%; }
.ml-barcode { display: block; width: 72px; height: 22px; }
@media (max-width: 960px) { .mini-stage { width: 100%; max-width: 520px; margin: 0 auto; } }
@media (max-width: 520px) {
    .mini-stage { min-height: 330px; }
    .mini-label { width: 220px; }
    .mini-label.ml-0 { left: 5%; top: 18px; }
    .mini-label.ml-1 { right: 5%; top: 160px; }
    .mini-label.ml-2 { display: none; }
}

.pain-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: pain;
}
.pain {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: var(--radius);
    padding: 20px 22px;
    counter-increment: pain;
}
.pain::before {
    content: counter(pain, decimal-leading-zero);
    display: block;
    font-weight: 800;
    font-size: 14px;
    color: var(--red);
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.pain p { margin: 0; color: var(--text); }
@media (max-width: 860px) { .pain-grid { grid-template-columns: minmax(0, 1fr); } }

.pricing.pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin: 0 auto; }
@media (max-width: 960px) { .pricing.pricing-2 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
