/* ============================================================
   HUIE AI — shared "calm instrument" design system (refined)
   Light-forward · deep teal · graph-paper grid · navy moments
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap');

:root {
  --paper: #f4f5f6;
  --paper-2: #e9ebee;
  --paper-line: rgba(18, 26, 35, 0.12);
  --paper-line-2: rgba(18, 26, 35, 0.07);

  /* dark "instrument" moments */
  --stage: #0f1822;
  --bg: #0f1822;
  --ink: #e8eef4;                /* light text ON dark */
  --ink-2: #93a1af;
  --ink-3: #5c6a78;
  --stage-line: rgba(232, 238, 244, 0.12);

  /* dark text ON light */
  --navy: #121a23;
  --slate: #51606f;
  --slate-2: #8a96a3;

  /* accent (no neon) */
  --accent: #0d7d71;
  --accent-dark: #36b3a5;
  --teal: #36b3a5;
  --teal-deep: #0d7d71;
  --teal-line: 54, 179, 165;
  --warn: #b4791f;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-hover: 0 16px 40px rgba(18, 26, 35, 0.08);
  --ease: cubic-bezier(.2, .6, .2, 1);

  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-label: var(--font-mono);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--paper); color: var(--navy);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(13, 125, 113, 0.16); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Graph-paper wash ---------- */
.gridwash { position: relative; overflow: hidden; }
.gridwash::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--paper-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line-2) 1px, transparent 1px);
  background-size: 62px 62px;
}
.gridwash > * { position: relative; z-index: 1; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 40px;
  background: rgba(244, 245, 246, 0.85);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--paper-line-2);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.brand-mark {
  width: 27px; height: 27px; border-radius: 0; flex-shrink: 0;
  background: url('assets/huie-mark.png') center / contain no-repeat;
  color: transparent; font-size: 0;
}
.nav { display: flex; gap: 26px; font-family: var(--font-mono); font-size: 11px; color: var(--slate); letter-spacing: 0.05em; text-transform: uppercase; }
.nav a { transition: color .15s ease; }
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right .signin { font-size: 13.5px; color: var(--slate); transition: color .15s ease; }
.topbar-right .signin:hover { color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 7px; font-size: 13px; font-weight: 600;
  background: var(--navy); color: var(--paper); cursor: pointer;
  transition: transform .18s var(--ease), background .18s ease, box-shadow .18s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: #1c2733; box-shadow: 0 6px 16px rgba(18,26,35,0.14); }

/* ---------- Kicker / eyebrow ---------- */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent);
}
.kicker::before, .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.kicker svg, .eyebrow svg { width: 14px; height: 14px; }
.kicker.on-dark, .eyebrow.on-dark { color: var(--accent-dark); }
.kicker.warn { color: var(--warn); }

/* ---------- Buttons ---------- */
.act, .cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.act-primary, .cta { background: var(--navy); color: var(--paper); }
.act-primary:hover, .cta:hover { transform: translateY(-1px); background: #1c2733; box-shadow: 0 8px 22px rgba(18,26,35,0.16); }
.act-ghost { background: transparent; color: var(--navy); border: 1px solid var(--paper-line); }
.act-ghost:hover { border-color: var(--navy); }
.arr { transition: transform .2s var(--ease); }
.act:hover .arr, .cta:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 158px 40px 104px; background: var(--paper); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--paper-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line-2) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.45) 46%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.45) 46%, transparent 82%);
}
.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 {
  margin: 28px 0 24px; font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 62px); font-weight: 600;
  letter-spacing: -0.024em; line-height: 1.04; max-width: 17ch; text-wrap: balance; color: var(--navy);
}
.hero p { max-width: 58ch; color: var(--slate); font-size: 18px; line-height: 1.7; margin: 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 40px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px 7px 11px; border-radius: 7px;
  border: 1px solid var(--paper-line);
  background: #fff; color: var(--accent);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.badge svg { width: 14px; height: 14px; }

/* ---------- Generic sections ---------- */
.sec { padding: 104px 40px; background: var(--paper); color: var(--navy); }
.sec.dark { background: var(--paper-2); color: var(--navy); }
.sec.light { background: var(--paper); }
.wrap { max-width: 1180px; margin: 0 auto; }
.sec h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.9vw, 48px); letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; color: var(--navy);
}
.sec .lede { font-size: 17px; line-height: 1.68; max-width: 62ch; margin: 20px 0 0; color: var(--slate); text-wrap: pretty; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split h2 { margin: 18px 0 0; max-width: 14ch; }
.prose p { margin: 0 0 19px; font-size: 16.5px; line-height: 1.72; color: var(--slate); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose em { font-style: italic; }

.head-block { max-width: 760px; }
.head-block h2 { margin: 18px 0 0; }

/* contrast panels */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.panel { border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 30px 30px 32px; background: #fff; }
.panel.good { border-color: rgba(var(--teal-line), 0.42); background: rgba(var(--teal-line), 0.05); }
.panel-label {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.panel.good .panel-label { color: var(--accent); }
.panel.bad .panel-label { color: var(--warn); }
.panel-label svg { width: 16px; height: 16px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--navy); }
.panel li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.panel.good li svg { color: var(--accent); }
.panel.bad .tick { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); margin-top: 7px; }

/* numbered step cards */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.step { position: relative; border-radius: var(--radius); padding: 28px 28px 30px; border: 1px solid var(--paper-line); background: #fff; transition: border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease; }
.step:hover { border-color: rgba(var(--teal-line), 0.55); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.step-num { position: absolute; top: 28px; right: 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--slate-2); }
.step-ico, .vcard-ico, .card-ico {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(var(--teal-line), 0.10); color: var(--accent); border: 1px solid rgba(var(--teal-line), 0.22);
}
.step-ico svg, .vcard-ico svg, .card-ico svg { width: 20px; height: 20px; }
.step h3, .vcard h3, .card h3 { margin: 0 0 10px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.006em; color: var(--navy); }
.step p, .vcard p, .card p { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--slate); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.vcard { border-radius: var(--radius); padding: 30px 30px 32px; border: 1px solid var(--paper-line); background: #fff; }

/* analogy — navy moment */
.analogy { background: var(--paper); padding: 40px 40px 104px; }
.analogy-inner {
  max-width: 1000px; margin: 0 auto;
  border-radius: 18px; background: var(--stage); color: var(--ink);
  padding: 60px clamp(32px, 5vw, 72px); position: relative; overflow: hidden;
}
.analogy .kicker { color: var(--accent-dark); }
.analogy blockquote {
  margin: 28px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 31px); line-height: 1.44; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty;
}
.analogy blockquote .hl { color: var(--accent-dark); }

/* roadmap columns */
.roadmap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.rcol { border-radius: var(--radius); padding: 30px 28px 26px; border: 1px solid var(--paper-line); background: #fff; }
.rcol.now { border-color: rgba(var(--teal-line), 0.42); background: rgba(var(--teal-line), 0.05); }
.rcol-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.rcol.now .rcol-label { color: var(--accent); }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-2); }
.rcol.now .rdot { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--teal-line), 0.16); }
.rcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.rcol li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.rcol.now li { color: var(--navy); }
.rcol li .b { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; margin-top: 8px; }

/* ---------- Solutions: lanes ---------- */
.lanes { background: var(--paper); color: var(--navy); padding: 56px 40px 48px; }
.lanes-inner { max-width: 1180px; margin: 0 auto; }
.lane { display: grid; grid-template-columns: 92px minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; padding: 50px 0; border-top: 1px solid var(--paper-line); }
.lane:first-child { border-top: none; }
.lane:last-child { border-bottom: 1px solid var(--paper-line); }
.lane .num { font-family: var(--font-mono); font-size: 30px; font-weight: 400; color: var(--slate-2); line-height: 1; font-variant-numeric: tabular-nums; }
.lane h2 { margin: 2px 0 15px; font-family: var(--font-display); font-size: clamp(23px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.012em; line-height: 1.14; color: var(--navy); max-width: 18ch; }
.lane .desc { margin: 0; color: var(--slate); font-size: 15.5px; line-height: 1.6; max-width: 40ch; text-wrap: pretty; }
.lane .useful { margin: 0 0 24px; color: var(--slate); font-size: 15px; line-height: 1.64; max-width: 42ch; text-wrap: pretty; }
.lane .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lane .chip { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.01em; color: var(--navy); padding: 7px 14px; border: 1px solid var(--paper-line); border-radius: 999px; background: #fff; transition: border-color .18s ease; }
.lane .chip:hover { border-color: rgba(var(--teal-line), 0.5); }

/* next step band */
.next { background: var(--paper-2); color: var(--navy); padding: 72px 40px; }
.next-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.next .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent); font-weight: 500; display: block; margin-bottom: 15px; }
.next h2 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.016em; line-height: 1.08; color: var(--navy); max-width: 20ch; text-wrap: balance; }
.next .cta { flex-shrink: 0; }

/* ---------- Pricing ---------- */
.plans-sec { padding: 40px 40px 48px; background: var(--paper); }
.plans { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--paper-line); border-radius: var(--radius); background: #fff; padding: 32px 28px; transition: border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease; }
.plan:hover { border-color: rgba(var(--teal-line), 0.5); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.plan.featured { border-color: rgba(var(--teal-line), 0.6); background: linear-gradient(180deg, rgba(var(--teal-line), 0.07), #fff 60%); box-shadow: 0 18px 44px rgba(18,26,35,0.10); }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.plan .badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(var(--teal-line), 0.42); border-radius: 6px;
  padding: 6px 9px; line-height: 1.25; text-align: center; white-space: nowrap; background: transparent;
}
.plan-for { margin: 8px 0 0; color: var(--slate); font-size: 14px; line-height: 1.5; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 28px 0 0; }
.price .amt { font-family: var(--font-display); font-size: 46px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--navy); }
.price .per { color: var(--slate-2); font-size: 14px; font-weight: 500; }
.price.custom .amt { font-size: 40px; }
.plan-desc { margin: 19px 0 0; color: var(--slate); font-size: 14px; line-height: 1.6; min-height: 72px; }
.feat { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--paper-line); display: flex; flex-direction: column; gap: 14px; }
.feat li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--navy); }
.feat li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.plan-cta { margin-top: 28px; display: block; text-align: center; padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: transform .18s var(--ease), background .18s ease, border-color .18s ease, color .18s ease; }
.plan-cta.ghost { border: 1px solid var(--paper-line); color: var(--navy); }
.plan-cta.ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.plan-cta.solid { background: var(--navy); color: var(--paper); }
.plan-cta.solid:hover { transform: translateY(-1px); background: #1c2733; }
.policy-sec { padding: 12px 40px 104px; background: var(--paper); }
.policy { max-width: 1180px; margin: 0 auto; border: 1px solid var(--paper-line); border-radius: var(--radius); background: #fff; padding: 34px 38px; }
.policy h3 { margin: 0 0 13px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.006em; color: var(--navy); }
.policy p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.7; max-width: 96ch; }

/* ---------- Security ---------- */
.controls, .promise { background: var(--paper); color: var(--navy); }
.controls { padding: 92px 40px 104px; }
.controls-inner, .limits-inner, .promise-inner { max-width: 1180px; margin: 0 auto; }
.controls-head { max-width: 760px; }
.controls-head h2 { margin: 22px 0 24px; font-family: var(--font-display); font-size: clamp(32px, 4.1vw, 50px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.06; color: var(--navy); text-wrap: balance; }
.controls-head p { margin: 0; color: var(--slate); font-size: 17px; line-height: 1.66; max-width: 64ch; text-wrap: pretty; }
.cards { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 28px 28px 30px; transition: border-color .22s ease, transform .22s var(--ease), box-shadow .22s ease; }
.card:hover { border-color: rgba(var(--teal-line), 0.55); transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.limits { background: var(--paper-2); color: var(--navy); padding: 104px 40px; scroll-margin-top: 70px; }
.limits-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.limits-copy h2 { margin: 24px 0 24px; font-family: var(--font-display); font-size: clamp(32px, 3.9vw, 48px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; max-width: 13ch; color: var(--navy); }
.limits-copy p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.68; max-width: 46ch; text-wrap: pretty; }
.limit-rows { display: flex; flex-direction: column; gap: 15px; }
.limit-row { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--paper-line); border-radius: 11px; padding: 20px 24px; }
.limit-row .dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; margin-top: 8px; background: var(--warn); box-shadow: 0 0 0 4px rgba(180, 121, 31, 0.14); }
.limit-row p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--navy); }

.promise { padding: 104px 40px; }
.promise-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.promise-copy h2 { margin: 22px 0 28px; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.07; color: var(--navy); max-width: 16ch; text-wrap: balance; }
.promise-copy p { margin: 0 0 19px; color: var(--slate); font-size: 16px; line-height: 1.68; max-width: 52ch; text-wrap: pretty; }
.promise-copy p:last-child { margin-bottom: 0; }
.roadmap { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 32px 32px 14px; }
.roadmap h4 { margin: 0 0 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent); }
.roadmap ul { list-style: none; margin: 0; padding: 0; }
.roadmap li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--paper-line); font-size: 15px; line-height: 1.55; color: var(--navy); }
.roadmap li:first-child { border-top: none; }
.roadmap li svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }

/* ---------- Contact form ---------- */
.contact { background: var(--paper-2); color: var(--navy); padding: 100px 40px; position: relative; z-index: 2; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 40px; }
.contact-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 18px 0 16px; color: var(--navy); }
.contact-head p { margin: 0 auto; max-width: 54ch; color: var(--slate); font-size: 16.5px; line-height: 1.66; text-wrap: pretty; }
.contact-form { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 36px 36px 30px; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: -0.004em; }
.field label .opt { font-weight: 400; color: var(--slate-2); }
.field input, .field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--navy); background: var(--paper); border: 1px solid var(--paper-line); border-radius: 9px; padding: 12px 14px; transition: border-color .16s ease, box-shadow .16s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 3px rgba(var(--teal-line), 0.16); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form-submit { align-self: flex-start; margin-top: 2px; border: 0; cursor: pointer; font-size: 14px; padding: 12px 22px; }
.form-consent { margin: 2px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--slate-2); }
.form-consent a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }
.form-sent { text-align: center; padding: 20px 0; }
.form-sent h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.form-sent p { margin: 0 auto; max-width: 44ch; color: var(--slate); font-size: 15px; line-height: 1.62; }

/* ---------- About ---------- */
.mission { background: var(--paper); color: var(--navy); padding: 104px 40px; }
.mission-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.mission-statement { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.16; color: var(--navy); text-wrap: balance; }
.mission-statement .hl { color: var(--accent); }
.mission-aside p { margin: 0 0 19px; color: var(--slate); font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.mission-aside p:last-child { margin-bottom: 0; }

/* founder — navy moment, single editorial column */
.founder { background: var(--stage); color: var(--ink); padding: 108px 32px; position: relative; overflow: hidden; }
.founder-inner { max-width: 1140px; margin: 0 auto; position: relative; z-index: 2; }
.founder .kicker { color: var(--accent-dark); }
.founder-body h2 { margin: 24px 0 8px; font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); }
.founder-body p.founder-role { margin: 0 0 30px; color: var(--accent-dark); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.founder-body p { margin: 0 0 19px; color: var(--ink-2); font-size: 16.5px; line-height: 1.72; max-width: none; text-wrap: pretty; }
.founder-body p:last-child { margin-bottom: 0; }
.founder-body .pull { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-style: italic; line-height: 1.52; border-left: 2px solid var(--accent-dark); padding-left: 18px; margin-bottom: 26px; }
.linkedin-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 11px 18px; border: 1px solid var(--stage-line); border-radius: 8px;
  color: var(--ink); font-size: 14px; font-weight: 600;
  transition: border-color .2s ease, color .2s ease, transform .18s var(--ease);
}
.linkedin-link:hover { border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.linkedin-link svg { width: 17px; height: 17px; color: var(--accent-dark); flex-shrink: 0; }

/* ---------- Closing CTA — navy moment ---------- */
.closing { background: var(--paper); padding: 0 40px 104px; }
.closing.solo { padding-top: 104px; }
.closing-inner { max-width: 1180px; margin: 0 auto; background: var(--stage); color: var(--ink); border-radius: 18px; padding: 76px 68px; position: relative; overflow: hidden; }
.closing-copy { position: relative; z-index: 2; max-width: 640px; }
.closing h2 { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; max-width: 18ch; text-wrap: balance; color: var(--ink); }
.closing p { margin: 0 0 36px; color: var(--ink-2); font-size: 16.5px; line-height: 1.66; max-width: 58ch; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.closing-inner .act-primary, .closing-inner .act,
.founder .act-primary, .founder .act { background: var(--paper); color: var(--navy); }
.closing-inner .act-primary:hover, .closing-inner .act:hover,
.founder .act-primary:hover, .founder .act:hover { background: #fff; }
.closing-inner .act-ghost, .founder .act-ghost { background: transparent; color: var(--ink); border-color: var(--stage-line); }
.closing-inner .act-ghost:hover, .founder .act-ghost:hover { border-color: var(--accent-dark); color: #fff; }

/* ---------- Footer ---------- */
footer { background: var(--paper); padding: 68px 40px 42px; border-top: 1px solid var(--paper-line); position: relative; }
.foot-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.foot-tag { color: var(--slate); font-size: 14px; line-height: 1.65; max-width: 30ch; margin: 0; }
.foot-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--navy); margin: 0 0 17px; font-family: var(--font-mono); }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--slate); font-size: 14px; transition: color .15s ease; }
.foot-col a:hover { color: var(--navy); }
.foot-bottom { max-width: 1180px; margin: 50px auto 0; padding-top: 24px; border-top: 1px solid var(--paper-line-2); display: flex; justify-content: space-between; gap: 20px; color: var(--slate-2); font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- Auth ---------- */
.stage { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.stage .panel-left { position: relative; background: var(--paper); padding: 30px 40px; display: flex; flex-direction: column; }
.stage .brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--navy); }
.stage .brand-mark { width: 30px; height: 30px; border-radius: 0; background: url('assets/huie-mark.png') center / contain no-repeat; color: transparent; font-size: 0; }
.form-wrap { flex: 1; display: flex; align-items: center; }
.form { width: 100%; max-width: 346px; margin: 0 auto; }
.form h1 { margin: 0 0 9px; font-family: var(--font-display); font-size: 31px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--navy); }
.form .sub { margin: 0 0 40px; color: var(--slate); font-size: 15px; }
.field { margin-bottom: 18px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field .forgot { font-size: 13px; color: var(--slate); transition: color .15s ease; }
.field .forgot:hover { color: var(--accent); }
.field input {
  width: 100%; height: 46px; padding: 0 14px;
  background: #fff; color: var(--navy);
  border: 1px solid var(--paper-line); border-radius: 8px;
  font-family: inherit; font-size: 15px; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input::placeholder { color: var(--slate-2); }
.field input:hover { border-color: rgba(18,26,35,0.22); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--teal-line), 0.16); }
.submit { width: 100%; height: 47px; margin-top: 8px; background: var(--navy); color: var(--paper); border: none; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .18s var(--ease), background .18s ease; }
.submit:hover { background: #1c2733; transform: translateY(-1px); }
.submit:active { transform: translateY(0); }
.alt { margin: 22px 0 0; font-size: 14px; color: var(--slate); }
.alt a { color: var(--navy); font-weight: 600; }
.alt a:hover { color: var(--accent); }
.hint { margin: 9px 0 0; font-size: 12.5px; color: var(--slate-2); }
.fine { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--slate-2); }
.panel-right { background: var(--stage); color: var(--ink); display: flex; align-items: center; padding: 60px clamp(48px, 6vw, 104px); }
.quote-block { max-width: 460px; }
.panel-right .eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 28px; }
.panel-right .eyebrow::before { content: none; }
.quote { margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 31px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.gloss { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.66; max-width: 42ch; text-wrap: pretty; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-for, .plan-desc { min-height: 0; }
}
@media (max-width: 920px) {
  .split, .panels, .grid2, .cards { grid-template-columns: 1fr; gap: 32px; }
  .steps, .roadmap-cols { grid-template-columns: 1fr; }
  .limits-inner, .promise-inner, .mission-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  .topbar { padding: 13px 20px; }
  .nav { display: none; }
  .hero { padding: 120px 22px 76px; }
  .sec, .analogy, .controls, .limits, .promise, .mission, .founder, .lanes, .next, .plans-sec, .policy-sec { padding-left: 22px; padding-right: 22px; }
  .closing { padding-left: 22px; padding-right: 22px; }
  .closing-inner { padding: 50px 30px; }
  .plans { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 1fr; gap: 16px; padding: 38px 0; }
  .lane .num { font-size: 26px; }
  .next-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
  .stage .panel-left { min-height: auto; }
  .panel-right { padding: 56px 30px 72px; }
  .quote-block { max-width: 560px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
}
