:root {
  /* neutrals — cool, slight blue bias (chosen, not defaulted) */
  --paper: #F4F6FA;
  --paper-2: #FFFFFF;
  --line: #DCE2ED;
  --text: #101725;
  --muted: #5A6678;
  /* committed dark tones — deep navy (used in the hero in both themes) */
  --ink-900: #0A0E1A;
  --ink-800: #0F1628;
  --ink-700: #172140;
  --ink-line: #26325A;
  --ink-text: #E8EDF5;
  --ink-muted: #94A2B8;
  /* Melbee brand — electric blue → violet, cyan glow */
  --accent: #6366F1;
  --accent-deep: #4F46E5;
  --accent-2: #8B5CF6;
  --accent-cyan: #22D3EE;
  --accent-soft: #6366F122;
  --grad: linear-gradient(135deg, #3B82F6, #8B5CF6);
  /* semantic (separate from accent) */
  --good: #33B679;
  --crit: #F2543D;
  --radius: 14px;
  --maxw: 1120px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C121C;
    --paper-2: #111A28;
    --line: #223047;
    --text: #E9EEF6;
    --muted: #93A1B7;
  }
}
:root[data-theme="light"] {
  --paper: #F4F6FA; --paper-2: #FFFFFF; --line: #DCE2ED; --text: #101725; --muted: #5A6678;
}
:root[data-theme="dark"] {
  --paper: #0C121C; --paper-2: #111A28; --line: #223047; --text: #E9EEF6; --muted: #93A1B7;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }

.btn {
  font: inherit; font-weight: 650; font-size: 15px; border: 0; cursor: pointer;
  padding: 13px 20px; border-radius: 11px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; transition: transform .12s ease, background .15s ease;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-text); border: 1px solid var(--ink-line); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--accent); }

/* ---- nav ---- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; letter-spacing: -0.02em; }
.brand a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.cog { width: 26px; height: 26px; color: var(--accent); flex: none; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .12s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 780px){ .nav-links { display: none; } }

/* ---- hero (committed dark in both themes) ---- */
.hero { background: var(--ink-900); color: var(--ink-text); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 340px at 78% -8%, #6366F133, transparent 70%),
    radial-gradient(560px 300px at 8% 108%, #22D3EE1c, transparent 70%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px;
  align-items: center; padding: 76px 0 84px;
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 780; }
.hero h1 .amber { color: var(--accent); }
.hero-sub { color: var(--ink-muted); font-size: clamp(16px, 2.1vw, 19px); margin-top: 20px; max-width: 46ch; }
.hero-cta { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); letter-spacing: .02em; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 54px 0 60px; } }

/* ---- compact page hero (interior pages) ---- */
.page-hero { background: var(--ink-900); color: var(--ink-text); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(680px 300px at 80% -20%, #6366F129, transparent 70%);
}
.page-hero .in { position: relative; padding: 64px 0 58px; max-width: 62ch; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 780; }
.page-hero h1 .amber { color: var(--accent); }
.page-hero p { color: var(--ink-muted); font-size: clamp(16px, 2vw, 19px); margin-top: 18px; max-width: 52ch; }
.page-hero .eyebrow { color: var(--accent); }

/* live activity panel */
.feed {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--ink-line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -30px #000;
}
.feed-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 15px;
  border-bottom: 1px solid var(--ink-line); font-family: var(--mono); font-size: 12px; color: var(--ink-muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #33405a; }
.dot.live { background: var(--good); box-shadow: 0 0 0 0 #33B67966; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 #33B67966} 70%{box-shadow:0 0 0 7px #33B67900} 100%{box-shadow:0 0 0 0 #33B67900} }
.feed-bar .spacer { margin-left: auto; }
.feed-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 306px; }
.row { display: flex; gap: 11px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.row.show { opacity: 1; transform: none; }
.avatar { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.av-lead { background: #23324a; color: #cfe0ff; }
.av-ai { background: var(--grad); color: #fff; }
.feed .bubble { background: var(--ink-700); border: 1px solid var(--ink-line); border-radius: 12px; padding: 9px 12px; font-size: 14px; color: #dbe3ee; max-width: 82%; }
.feed .bubble .who { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 3px; }
.status { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12.5px; color: var(--good); }
.status .chk { width: 17px; height: 17px; }
.timer { color: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: var(--accent-soft); color: var(--accent-cyan); border: 1px solid #22d3ee44; border-radius: 999px; padding: 5px 11px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }

/* ---- stat band ---- */
.band { border-top: 1px solid var(--ink-line); background: var(--ink-900); color: var(--ink-text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.stat .n { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(24px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.stat .n b { color: var(--accent); font-weight: 600; }
.stat .l { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
@media (max-width: 680px){ .stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* ---- section scaffolding ---- */
section { padding: 84px 0; }
.sec-head { max-width: 60ch; margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 760; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* ---- the loop ---- */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.step .k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 17px; margin: 12px 0 7px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--muted); }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 17px; z-index: 2;
}
@media (max-width: 900px){ .loop { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px){ .loop { grid-template-columns: 1fr; } }

/* ---- features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 15px; }
.ic svg { width: 21px; height: 21px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px){ .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .features { grid-template-columns: 1fr; } }

/* ---- two-up panels (setup) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border-radius: 18px; padding: 34px; border: 1px solid var(--line); background: var(--paper-2); }
.panel.dark { background: var(--ink-900); color: var(--ink-text); border-color: var(--ink-line); }
.panel .mono-l { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.panel h3 { font-size: 24px; margin: 12px 0 10px; }
.panel p { color: var(--muted); font-size: 15px; }
.panel.dark p { color: var(--ink-muted); }
.mini { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel.dark .mini { border-color: var(--ink-line); }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.panel.dark .mini-row { border-color: var(--ink-line); }
.mini-row:last-child { border-bottom: 0; }
.pill { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; margin-left: auto; letter-spacing: .03em; }
.pill.new { background: var(--accent-soft); color: var(--accent); }
.pill.won { background: #33B67922; color: var(--good); }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }

/* ---- story ---- */
.story { background: var(--ink-900); color: var(--ink-text); border-radius: 20px; padding: 54px; position: relative; overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 90% 0%, #8B5CF622, transparent 70%); }
.story .in { position: relative; max-width: 62ch; }
.story .q { font-size: clamp(21px, 3vw, 29px); font-weight: 620; letter-spacing: -0.01em; line-height: 1.3; }
.story .q b { color: var(--accent); font-weight: 620; }
.story .by { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }

/* ---- pricing ---- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.tier { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.tier.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.tier .badge { position: absolute; top: -11px; left: 24px; background: var(--grad); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.tier .name { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tier .price { font-size: 40px; font-weight: 760; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; margin: 14px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li { display: flex; gap: 9px; font-size: 14.5px; color: var(--text); }
.tier li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 860px){ .prices { grid-template-columns: 1fr; } }

/* ---- FAQ (single-column Q&A) ---- */
.qa { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 4px; font-size: 18px; font-weight: 650;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { color: var(--accent); font-size: 24px; font-weight: 400; flex: none; transition: transform .18s ease; line-height: 1; }
.qa details[open] summary .plus { transform: rotate(45deg); }
.qa .a { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }

/* ---- website checkup tool ---- */
.checkup-form { display: flex; gap: 10px; margin-top: 26px; max-width: 520px; flex-wrap: wrap; }
.checkup-form .input { flex: 1; min-width: 220px; background: var(--ink-800); border-color: var(--ink-line); color: var(--ink-text); }
.checkup-form .input::placeholder { color: var(--ink-muted); }
.checkup-hint { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.report-card { display: grid; grid-template-columns: 200px 1fr; gap: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 30px; align-items: start; }
.report-score { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.score-num { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.score-num.good { color: var(--good); }
.score-num.mid { color: var(--accent); }
.score-num.bad { color: var(--crit); }
.score-cap { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 8px; }
.report-url { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 16px; word-break: break-all; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; }
.check-row .ci { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.check-row.good .ci { background: var(--good); }
.check-row.warn .ci { background: var(--accent); }
.check-row.bad .ci { background: var(--crit); }
.check-row .cl { font-size: 14.5px; }
.check-row .cd { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.checkup-cta { text-align: center; background: var(--ink-900); color: var(--ink-text); border-radius: 18px; padding: 40px; margin-top: 20px; }
.checkup-cta h3 { font-size: clamp(20px, 3vw, 27px); }
.checkup-cta p { color: var(--ink-muted); margin: 12px auto 22px; max-width: 52ch; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px){ .report-card { grid-template-columns: 1fr; } .report-score { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; } }

/* ---- why-vs-hiring comparison ---- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
.vs-col { background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.vs-col.ozzie { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.vs-title { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.vs-col.ozzie .vs-title { color: var(--accent-deep); }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vs-col li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.vs-col .x { color: var(--crit); font-weight: 700; flex: none; }
.vs-col .c { color: var(--good); font-weight: 700; flex: none; }
@media (max-width: 640px){ .vs { grid-template-columns: 1fr; } }

/* ---- works-with-any-website strip ---- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 820px; margin: 0 auto; }
.logos span {
  font-family: var(--mono); font-size: 14px; letter-spacing: .01em; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: var(--paper-2);
}
.industries { text-align: center; color: var(--muted); font-size: 14.5px; margin: 26px auto 0; max-width: 70ch; }

/* ---- final cta ---- */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 780; }
.final p { color: var(--muted); font-size: 18px; margin: 16px auto 28px; max-width: 52ch; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 54px 0 40px; color: var(--muted); font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 34px; }
.foot-brand .brand { font-size: 18px; margin-bottom: 12px; }
.foot-brand p { max-width: 30ch; font-size: 14px; color: var(--muted); }
.foot-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.foot-col a { display: block; text-decoration: none; color: var(--muted); margin-bottom: 10px; transition: color .12s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.draft { font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 760px){ .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 460px){ .foot-cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .dot.live { animation: none; }
  .row { transition: none; }
  .qa summary .plus { transition: none; }
}
