/* Konektup palette, taken from the logo: navy #00214e, bright blue #0077ee (stem/arm),
   orange #fe5b00 ("UP", leg). Green stays only as the "verified / quote" status colour. */
:root {
  --ink: #00214e;
  --ink-2: #2a3f63;
  --muted: #5a6a85;
  --line: #dbe3ee;
  --bg: #ffffff;
  --bg-alt: #f3f7fc;
  --accent: #0070e6;
  --accent-ink: #0057b8;
  --accent-soft: #e6f1fe;
  --good: #1e7a46;
  --good-soft: #e3f4ea;
  --warn: #9a5b00;
  --warn-soft: #fff2d6;
  --bad: #b42318;
  --bad-soft: #fde7e5;
  --orange: #fe5b00;
  --orange-ink: #c24400;
  --orange-soft: #fff0e6;
  --green: #16a34a;
  --green-ink: #15803d;
  --green-soft: #e7f7ed;
  --blue-soft-2: #cfe5fd;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 33, 78, .06), 0 8px 24px rgba(0, 33, 78, .08);
  --grad-blue: linear-gradient(135deg, #0a8ef4 0%, #0068e0 100%);
  --grad-orange: linear-gradient(135deg, #ff6f12 0%, #f05200 100%);
  --grad-brand: linear-gradient(90deg, #0a8ef4 0%, #0068e0 55%, #fe5b00 55%, #fe5b00 100%);
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: rgba(254, 91, 0, .55); text-decoration-thickness: 2px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header, .admin-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 30px; flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.wordmark b { color: var(--orange); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--grad-blue); color: #fff; border: 1px solid #0068e0; border-radius: 8px; padding: 10px 18px; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn-ghost, .btn-light, .btn-glass { background-image: none; }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-sm { padding: 7px 12px; font-size: .875rem; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); border-color: #c8d0dc; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.cta-row.center { justify-content: center; }

/* Hero */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--bg-alt), #fff 70%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
/* Brand underline under section headings: blue then orange, like the K. */
.section h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--grad-brand); margin-top: 14px; }
.section .join-card h2::after { display: none; }
.final-cta h2::after { margin: 14px auto 0; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 40em; }
.assurances { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; }
.assurances li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }

/* Product screen mock */
.screen { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.screen-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e0; }
.screen-bar em { margin-left: 8px; font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 500; }
.screen-body { padding: 18px; }
.rq-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.req-ref { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); font-weight: 600; }
.req-title { font-weight: 600; margin-top: 4px; }
.req-meta { font-size: .82rem; color: var(--muted); }
.quotes { width: 100%; border-collapse: collapse; font-size: .86rem; }
.quotes th { text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.quotes td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quotes td small { display: block; color: var(--muted); font-size: .76rem; }
.quotes tr.best td { background: var(--good-soft); }
.quotes tr.best td:first-child { box-shadow: inset 3px 0 0 var(--good); }
.screen-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink-2); }
.screen figcaption { font-size: .78rem; color: var(--muted); padding: 10px 18px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.pill { display: inline-block; font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 2px 9px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0 64px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 28px; }
.page-head { padding: 48px 0 32px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head-tight { padding: 32px 0 24px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.card-link { color: var(--accent); font-weight: 600; font-size: .92rem; }
.card-muted { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg-alt); }
.compare-col.good { background: #fff; border-color: var(--accent); box-shadow: var(--shadow); }
ul.tick, ul.x, ul.dots { list-style: none; padding: 0; margin: 0; }
ul.tick li, ul.x li, ul.dots li { padding-left: 26px; position: relative; margin: 8px 0; }
ul.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
ul.x li::before { content: "✕"; position: absolute; left: 2px; color: #98a2b3; font-weight: 700; }
ul.dots li::before { content: ""; position: absolute; left: 6px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section .panel h2, .page-head .panel h2 { font-size: 1.15rem; }

.tags { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }

.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink); color: #fff; border-radius: 16px; padding: 40px; }
.band p { color: #c9d3e3; margin: 0; max-width: 42em; }
.band h2 { color: #fff; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-2); }
.final-cta { background: var(--bg-alt); border-top: 1px solid var(--line); }

/* Forms */
.form-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; background: #fff; min-width: 0; }
.form-section > legend { font-weight: 700; font-size: 1.1rem; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.form-section > legend .step-n { margin: 0; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .93rem; color: var(--ink); padding: 0; margin-bottom: 6px; }
.req { color: var(--bad); }
input[type=text], input[type=number], input[type=tel], input[type=email], input[type=url], input[type=date], input[type=password], input:not([type]), select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #c8d0dc; border-radius: 8px; padding: 10px 12px; min-height: 44px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=file] { font: inherit; font-size: .92rem; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }
.inline select { width: auto; flex: 0 0 90px; }
.help { color: var(--muted); font-size: .82rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: .93rem; }
.checks .check { border: 1px solid #c8d0dc; border-radius: 8px; padding: 8px 12px; align-items: center; }
.checks .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 2px 0 0; flex: none; }
.consent { margin-top: 20px; color: var(--ink-2); }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-submit p { margin: 0; font-size: .9rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--bad-soft); border: 1px solid #f5b5ae; color: #7a1a12; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.notice { background: var(--good-soft); border: 1px solid #b4e0c4; color: var(--good); border-radius: var(--radius); padding: 10px 16px; margin-bottom: 16px; font-weight: 500; }

/* Confirmation */
.confirm-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--good-soft); color: var(--good); display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; }
.next { text-align: left; max-width: 560px; margin: 24px auto; padding-left: 20px; color: var(--ink-2); }
.next li { margin: 10px 0; }

.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.logo-footer { margin-bottom: 10px; }
.footer-base { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; font-size: .82rem; }

/* Admin */
body.admin { background: var(--bg-alt); }
.admin-main { padding-top: 24px; padding-bottom: 64px; }
.admin-main h1 { font-size: 1.5rem; }
.admin-main .panel { margin-bottom: 20px; }
.admin-main .panel h2 { font-size: 1.1rem; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-top h1, .admin-top h2 { margin: 0; }
.admin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.admin-grid .form { margin-top: 20px; display: grid; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filters a, .filters > span { text-decoration: none; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .86rem; }
.filters a span, .filters > span span { color: var(--muted); margin-left: 4px; }
.filters a.on, .filters > span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters a.on span, .filters > span.on span { color: #c9d3e3; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel .table-wrap { border: 0; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td small { display: block; color: var(--muted); font-size: .8rem; }
table.data tr:last-child td { border-bottom: 0; }
.num { text-align: right; white-space: nowrap; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; font-size: .93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.files { padding-left: 20px; }
.brief { white-space: pre-wrap; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 16px; font: .9rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; }
.pill-warn, .status-checking, .status-samples, .status-paused { background: var(--warn-soft); color: var(--warn); }
.status-new { background: var(--accent-soft); color: var(--accent-ink); }
.status-sent, .status-quoted { background: #ece8fd; color: #4b2fa8; }
.status-won, .status-verified { background: var(--good-soft); color: var(--good); }
.status-lost, .status-spam, .status-rejected { background: var(--bad-soft); color: var(--bad); }
.login { max-width: 360px; margin: 64px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.login .form { display: grid; gap: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .admin-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .admin .nav a { display: inline; font-size: .85rem; }
  .admin .nav { gap: 12px; }
  .hero { padding: 32px 0 40px; }
  .section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .form-section { padding: 18px 14px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .quotes th:nth-child(4), .quotes td:nth-child(4) { display: none; }
  .logo .wordmark { font-size: 1.1rem; line-height: 1.2; }
  .logo svg { width: 26px; height: 26px; flex: none; }
  .header-row { min-height: 56px; }
  .nav a.btn { padding: 8px 12px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* ================= v2: colour accents, video hero, coming soon ================= */
.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; }
.btn-accent { background: var(--grad-orange); border-color: #f05200; color: #fff; font-weight: 700; }
.btn-accent:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.btn-block { width: 100%; }
.nav a.btn-accent { color: #fff; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot-orange { background: var(--orange); } .dot-green { background: var(--green); } .dot-blue { background: var(--accent); }
.hl-orange { color: #ff7a26; }
.eyebrow-green { color: var(--green-ink); }
.eyebrow-light { color: #9fd0ff; }
.lead-light { color: #dce5f3; }
.pill-green { background: var(--green-soft); color: var(--green-ink); }
.chip-orange { border-color: #ffc59e; background: var(--orange-soft); color: var(--orange-ink); }
.chip-green { border-color: #a7dfba; background: var(--green-soft); color: var(--green-ink); }
.quotes tr.best td { background: var(--green-soft); }
.quotes tr.best td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.tag-beta { font-style: normal; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--orange); color: #fff; border-radius: 4px; padding: 2px 6px; margin-left: 2px; }
.beta-bar { background: repeating-linear-gradient(135deg, #fff1e6 0 12px, #ffe6d1 12px 24px); color: var(--orange-ink); text-align: center; font-size: .82rem; font-weight: 600; padding: 6px 16px; border-bottom: 1px solid #ffc59e; }

/* Video hero */
.hero-video { position: relative; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; }
.hero-video-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video-shade { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(254,91,0,.30), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(10,142,244,.30), transparent 60%),
    linear-gradient(100deg, rgba(0,20,48,.94) 0%, rgba(0,33,78,.82) 45%, rgba(0,90,190,.50) 100%); }
.hero-video-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-video h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
.hero-video .lead strong { color: #fff; }
.assurances-light { color: #dce5f3; }
.assurances-light li::before { color: #4ade80; }
.hero-video-beta .screen { color: var(--ink); }
.hero-flow { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-flow li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 500; font-size: .95rem; backdrop-filter: blur(4px); }
.flow-n { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; font-weight: 800; font-size: .85rem; color: #fff; }
.flow-blue { background: var(--accent); } .flow-orange { background: var(--orange); } .flow-green { background: var(--green); }

/* Early-access card */
.join-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 5px solid var(--orange); scroll-margin-top: 90px; }
.join-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.join-card > .muted { font-size: .95rem; }
.join-form { display: grid; gap: 14px; margin-top: 18px; }
.role-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role { position: relative; cursor: pointer; }
.role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); background: #fff; white-space: nowrap; transition: border-color .15s; }
.role span::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid #b8c2d1; background: #fff; }
.role:hover span { border-color: #b8c2d1; }
.role-blue input:checked + span { border-color: #0068e0; background: var(--grad-blue); color: #fff; }
.role-orange input:checked + span { border-color: #f05200; background: var(--grad-orange); color: #fff; }
.role input:checked + span::before { border-color: #fff; background: radial-gradient(circle, #fff 0 3px, transparent 3.5px); }
.role input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 420px) {
  .role-pick { flex-wrap: nowrap; gap: 6px; }
  .role { flex: 1 1 0; min-width: 0; }
  .role span { display: flex; justify-content: center; padding: 8px 8px; font-size: .84rem; }
  .role span::before { display: none; }
}
.fine { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }
.join-done { text-align: center; }
.join-done .confirm-icon { background: var(--green-soft); color: var(--green); }
.join-done p { color: var(--ink-2); }

/* Problem */
.h-wide { max-width: 22em; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.problem { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.problem-blue { background: linear-gradient(180deg, var(--accent-soft), #fff 70%); border-top: 4px solid var(--accent); }
.problem-orange { background: linear-gradient(180deg, var(--orange-soft), #fff 70%); border-top: 4px solid var(--orange); }
.problem ul.x li { color: var(--ink-2); }
.split-center { align-items: center; }
.screen-tilt { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }

/* Coloured steps */
.steps-color li { border-top: 4px solid var(--accent); }
.steps-color .step-blue .step-n { background: var(--accent); }
.steps-color .step-orange { border-top-color: var(--orange); }
.steps-color .step-orange .step-n { background: var(--orange); }
.steps-color .step-green { border-top-color: var(--ink); }
.steps-color .step-green .step-n { background: var(--ink); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 24px 0; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.cat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cat-blue::before { background: var(--accent); } .cat-orange::before { background: var(--orange); } .cat-green::before { background: var(--green); }
.cat p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* Promises */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.promise { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.promise-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; margin-bottom: 14px; }
.ico-blue { background: var(--accent-soft); color: var(--accent-ink); }
.ico-orange { background: var(--orange-soft); color: var(--orange-ink); }
.ico-green { background: var(--green-soft); color: var(--green-ink); }

/* Orange band */
.band-orange { background: linear-gradient(120deg, var(--ink) 0%, #003a85 55%, #8a3300 100%); position: relative; overflow: hidden; }
.band-orange::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(254,91,0,.55), transparent 70%); pointer-events: none; }
.band-orange > * { position: relative; z-index: 1; }
.band .tick-light li { color: #dce5f3; }
.tick-light li::before { color: #4ade80; }
.final-cta-color { background: linear-gradient(180deg, var(--bg-alt), var(--orange-soft)); }

@media (max-width: 900px) {
  .hero-video-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .screen-tilt { transform: none; }
}
@media (max-width: 720px) {
  .promise-grid { grid-template-columns: 1fr; }
  .join-card { padding: 22px 18px; }
  .hero-flow li { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-media { display: none; }
  .hero-video { background: var(--ink) url("/assets/media/hero-poster.jpg") center / cover; }
}

.band .btn { flex: none; white-space: nowrap; }

/* ---------- Portals: supplier dashboard, buyer tracking, directory, pricing, metrics ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 0; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.tabs a:hover { color: var(--accent); }
.panel-note { background: var(--bg-alt); margin: 20px 0; }
.panel-note h2, .panel-note h3 { margin-top: 0; }
.private-link { text-align: left; }
.private-link a { overflow-wrap: anywhere; font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.stat b { display: block; font: 800 1.6rem/1.1 var(--font-display); }
.stat span { color: var(--muted); font-size: .85rem; }
.lead-sent, .lead-viewed { background: var(--orange-soft); color: var(--orange-ink); }
.lead-quoted { background: var(--green-soft); color: var(--green-ink); }
.lead-declined { background: #eef1f5; color: var(--muted); }
.ok { color: var(--green-ink); font-weight: 600; }
details.decline { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
details.decline summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.product-list { list-style: none; padding: 0; margin: 0 0 20px; }
.product-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.product-list small { display: block; color: var(--muted); }
.product-list form { margin: 0; }

.progress { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; counter-reset: p; }
.progress li { counter-increment: p; font-size: .85rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 8px; }
.progress li::before { content: counter(p); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-alt); margin-right: 6px; font-size: .75rem; }
.progress li.done { color: var(--green-ink); border-color: #b9e3c8; }
.progress li.done::before { content: "✓"; background: var(--green-soft); }
.progress li.now { color: #fff; background: var(--grad-blue); border-color: #0068e0; }
.progress li.now::before { background: rgba(255,255,255,.25); }
.quotes-table tr.best td { background: var(--green-soft); }
.quotes-table tr.best td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.quotes-table .actions form { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

.search { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 820px; }
.search input { flex: 1 1 320px; }
.search select { flex: 0 1 240px; }
.search input, .search select { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.supplier-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.supplier-card h3 { margin: 0; }
.supplier-card .muted { margin: 2px 0 0; font-size: .88rem; flex: 0; }
.supplier-card small { display: block; margin-top: 6px; }
.tags-sm { margin: 8px 0 4px; gap: 6px; }
.tags-sm li { padding: 3px 10px; font-size: .8rem; }
.tags a { text-decoration: none; color: inherit; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.plan h2 { font-size: 1.1rem; margin: 0; }
.plan-price { font: 800 1.8rem/1.2 var(--font-display); margin: 8px 0; }
.plan-price small { font: 500 .9rem var(--font); color: var(--muted); }
.plan-pick { border-color: var(--accent); box-shadow: inset 0 4px 0 var(--accent); }

/* admin: matching + metrics */
.why { list-style: none; padding: 0; margin: 0; font-size: .8rem; }
.why li { padding-left: 14px; position: relative; }
.why li::before { position: absolute; left: 0; font-weight: 700; }
.why-up::before { content: "+"; color: var(--green-ink); }
.why-down { color: var(--bad); }
.why-down::before { content: "−"; }
.why-neutral { color: var(--muted); }
.why-neutral::before { content: "·"; }
tr.row-muted td { opacity: .6; }
form.inline { display: inline; margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.metric h2 { font-size: .85rem !important; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0; }
.metric-n { font: 800 2rem/1.2 var(--font-display); margin: 6px 0; }
.metric-n small { font: 500 1rem var(--font); color: var(--muted); }
progress.meter { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
progress.meter::-webkit-progress-bar { background: var(--bg-alt); border-radius: 99px; }
progress.meter::-webkit-progress-value { background: var(--grad-brand); border-radius: 99px; }
progress.meter::-moz-progress-bar { background: var(--accent); border-radius: 99px; }
@media (max-width: 720px) {
  .product-list li { align-items: flex-start; }
  .quotes-table .actions form { flex-direction: column; }
}
