/* clientengine.com — public marketing site (US-national).
   Shares the Helm Control Room design system (dark, restrained, one "fire" accent) so the storefront,
   the client portal, and the admin control room all feel like one product. Tokens mirror the Helm
   platform palette; the layout below is marketing-specific. */

:root {
  --bg: #08080a;
  --panel: #0f0f12;
  --panel-2: #16161b;
  --panel-3: #1c1c22;
  --line: #23232b;
  --line-soft: #18181d;
  --text: #f4f4f5;
  --text-2: #c7c7cf;
  --muted: #82828e;
  --fire: #ea580c;
  --fire-2: #f97316;
  --fire-soft: #ea580c22;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;
  --info: #60a5fa;
  /* Brand-strategy tokens — Helm master palette. */
  --paper: #faf7f2;      /* warm off-white (trust seal) */
  --slate: #1c2330;      /* secondary dark / cards */
  --live: #ff3b30;       /* On Air "live" dot ONLY */
  --live-soft: #ff3b3022;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 #ffffff08 inset, 0 8px 30px #00000060;
  --shadow-lg: 0 1px 0 #ffffff0a inset, 0 30px 80px #00000080;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, #1a110a33, transparent),
    radial-gradient(900px 500px at -10% 8%, #0c0e1633, transparent),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--fire-2);
}
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }

/* ---------- brandmark ---------- */
.brandmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .3px; color: var(--text); }
.brandmark .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 14px var(--fire); flex: none; }
/* Helm ship's-wheel / compass mark — the brand logo. */
.brandmark .wheel { width: 22px; height: 22px; color: var(--fire); flex: none; filter: drop-shadow(0 0 7px var(--fire-soft)); }
.brandmark .sub { color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: #08080acc; backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .14s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); width: 40px; height: 40px; cursor: pointer; font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .12s, box-shadow .14s, background .14s, border-color .14s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-fire { background: linear-gradient(180deg, var(--fire-2), var(--fire)); color: #fff; box-shadow: 0 6px 22px #ea580c44, 0 1px 0 #ffffff30 inset; }
.btn-fire:hover { box-shadow: 0 8px 30px #ea580c66, 0 1px 0 #ffffff40 inset; }
.btn-ghost { background: var(--panel-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-3); border-color: #34343d; }
.btn-link { color: var(--text-2); padding: 12px 6px; font-weight: 600; font-size: 14px; }
.btn-link:hover { color: var(--text); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 86px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 320px at 78% 26%, #ea580c1f, transparent 70%);
}
.hero-inner { position: relative; max-width: 820px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 70px); margin: 18px 0 0; }
.hero h1 .fire { color: var(--fire-2); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); max-width: 640px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* trust / area strip */
.areastrip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 18px 0; }
.areastrip .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.areastrip .row .sep { color: var(--fire); }

/* ---------- sections ---------- */
.section { padding: 86px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.section.alt { background: linear-gradient(180deg, #0b0b0e, #08080a); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* feature grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.card.lift:hover { transform: translateY(-3px); border-color: #34343d; box-shadow: var(--shadow-lg); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fire-soft); color: var(--fire-2); font-size: 22px; margin-bottom: 18px;
  border: 1px solid #ea580c33;
}
.card h3 { font-size: 20px; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.card .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--fire-2); font-weight: 600; font-size: 14px; }
.card .more:hover { gap: 9px; }

/* numbered step */
.step .num { font-family: var(--mono); font-size: 13px; color: var(--fire-2); border: 1px solid #ea580c44; background: var(--fire-soft); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 16px; font-weight: 600; }

/* split / showcase */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.6vw, 38px); }
.split .lead { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.ticklist { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.ticklist li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-top: 1px; flex: none; }

/* mock console (OnAir board) */
.console {
  background: #0a0a0d; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0b0b0e; }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); display: block; }
.console-bar .title { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--live); font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.console-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* On Air lozenge — the broadcast-sign sub-brand mark */
.onair-mark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--slate); }
.onair-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); animation: breathe 2.4s ease-in-out infinite; }

/* Made in the USA — trust seal stamp */
.seal { display: inline-flex; align-items: center; gap: 11px; border: 1px solid #ea580c44; background: var(--fire-soft); border-radius: 999px; padding: 8px 16px 8px 10px; }
.seal .stamp { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed var(--fire-2); display: grid; place-items: center; color: var(--fire-2); font-size: 14px; flex: none; }
.seal .txt { font-size: 12px; line-height: 1.3; }
.seal .txt b { display: block; font-family: var(--display); font-size: 13px; color: var(--text); }
.seal .txt span { color: var(--muted); font-size: 11px; }

/* Owners (Cole & Leanna) */
.owners { display: flex; align-items: center; gap: 16px; }
.owners .avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--slate), var(--panel-3)); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); flex: none; }
.owners .avatar.b { margin-left: -22px; }
.console-body { padding: 14px; display: grid; gap: 10px; }
.post-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.post-row .ch { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); width: 78px; flex: none; }
.post-row .txt { color: var(--text-2); font-size: 13.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-family: var(--mono); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid; flex: none; }
.pill.draft { color: var(--muted); border-color: var(--line); }
.pill.scheduled { color: var(--info); border-color: #60a5fa44; background: #60a5fa12; }
.pill.published { color: var(--ok); border-color: #34d39944; background: #34d39912; }
.pill.review { color: var(--warn); border-color: #fbbf2444; background: #fbbf2412; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 14px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 44px); color: var(--text); }
.stat .n .fire { color: var(--fire-2); }
.stat .l { margin-top: 6px; color: var(--muted); font-size: 13px; }

/* who it's for chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text-2); font-size: 14px; font-weight: 500; }
.chip:hover { border-color: #ea580c55; color: var(--text); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: #ea580c66; box-shadow: 0 0 0 1px #ea580c33, var(--shadow-lg); }
.plan .tag { align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--fire-2); border: 1px solid #ea580c44; border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.plan h3 { font-size: 22px; }
.plan .price { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 30px; }
.plan .price small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--muted); }
.plan .blurb { margin-top: 8px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 11px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 14.5px; }
.plan ul li::before { content: "✓"; color: var(--fire-2); font-weight: 700; flex: none; }
.plan .btn { margin-top: auto; width: 100%; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #ea580c44; padding: 56px 44px; text-align: center;
  background: radial-gradient(700px 300px at 50% -30%, #ea580c2e, transparent), linear-gradient(180deg, #14100d, #0c0b0a); }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { margin: 16px auto 0; color: var(--text-2); max-width: 520px; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.field input, .field textarea, .field select {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: 12px 14px; font-size: 15px; transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fire); box-shadow: 0 0 0 3px var(--fire-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { display: none; padding: 14px 16px; border: 1px solid #34d39944; background: #34d39912; color: var(--ok); border-radius: var(--radius-sm); font-size: 14px; }

/* contact split */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-detail { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--fire-soft); border: 1px solid #ea580c33; color: var(--fire-2); display: grid; place-items: center; font-size: 18px; flex: none; }
.contact-item .k { font-size: 13px; color: var(--muted); }
.contact-item .v { font-size: 16px; color: var(--text); font-weight: 500; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; margin-top: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }

/* page header (subpages) */
.page-head { padding: 72px 0 36px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 16px; }
.page-head p { margin-top: 18px; color: var(--text-2); font-size: 18px; max-width: 620px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .plans, .stats { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    background: #0b0b0e; border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-burger { display: block; }
  .nav-cta .btn-link { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .plans, .stats, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 44px; }
  .cta-band { padding: 40px 22px; }
  .post-row .ch { width: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
