:root {
  --primary: #f16b41;
  --primary-dark: #d85a35;
  --primary-deep: #a84224;
  --base-100: #ffffff;
  --base-200: #faf8f5;
  --base-300: #f5f1ec;
  --line: #e8e2db;
  --ink: #1f2937;
  --ink-70: rgba(31, 41, 55, .72);
  --ink-50: rgba(31, 41, 55, .55);
  --radius: 1rem;
  --shadow: 0 8px 30px rgba(31, 41, 55, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--base-200); color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
.bg-white { background: var(--base-100); }
.bg-soft { background: var(--base-200); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-70); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  font-weight: 600; color: var(--primary); margin-bottom: 1rem;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
.accent { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem; border-radius: .75rem;
  border: 1.5px solid var(--primary); background: var(--primary); color: #fff;
  font: 600 1rem/1.2 inherit; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover, .btn:focus-visible { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(31,41,55,.25); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 1rem 2.2rem; font-size: 1.05rem; }

/* Top bar */
.topbar { background: var(--base-100); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; letter-spacing: -.01em; }
.brand span { color: var(--primary); }
.topbar .btn { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }

/* Hero */
.hero { background: var(--base-100); padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero p.lead { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 2rem; }
.fine { font-size: .875rem; color: var(--ink-50); }

/* Image placeholders */
.img-ph {
  min-height: 340px; border: 2px dashed rgba(31,41,55,.18); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(241,107,65,.06), rgba(241,107,65,.06) 10px, rgba(241,107,65,.025) 10px, rgba(241,107,65,.025) 20px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1.5rem; color: var(--ink-50); font-size: .9rem;
}
.img-ph strong { display: block; color: var(--ink); margin-bottom: .3rem; }
.img-ph.tall { min-height: 420px; }

/* Credit explainer */
.credit-badge {
  display: inline-block; background: rgba(241,107,65,.1); border: 1px solid rgba(241,107,65,.3);
  border-radius: 999px; padding: .35rem 1rem; font-weight: 600; color: var(--primary-deep); font-size: .9rem;
}
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 3rem; }
.flow-step {
  background: var(--base-100); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); text-align: center;
}
.flow-step.credit { background: rgba(241,107,65,.08); border-color: rgba(241,107,65,.35); }
.flow-step .big { font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: .5rem; }
.flow-step .tiny { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-50); font-weight: 600; margin-bottom: .5rem; }
.flow-arrow { align-self: center; color: var(--primary); font-size: 1.6rem; }
.flow-paths { list-style: none; margin: .5rem 0 0; padding: 0; font-weight: 600; line-height: 1.9; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2rem; }
.rules div { font-size: .95rem; color: var(--ink-70); padding: 16px 18px; border-left: 3px solid var(--primary); background: var(--base-100); border-radius: 0 .5rem .5rem 0; }

/* Offer cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 3.5rem; }
.card {
  position: relative; background: var(--base-100); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 32px 32px;
  display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--accent, var(--primary)); }
.card[data-kind="briefing"]  { --accent: #a84224; }
.card[data-kind="workshop"]  { --accent: #f16b41; }
.card[data-kind="assessment"]{ --accent: #d99a2b; }
.card[data-kind="pilot"]     { --accent: #1f2937; }
.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.card .for { font-weight: 600; color: var(--ink); margin-bottom: .8rem; }
.card ul { padding-left: 1.1rem; margin: 0 0 1.4rem; color: var(--ink-70); font-size: .97rem; }
.card li { margin-bottom: .35rem; }
.scope { font-size: .9rem; color: var(--ink-50); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: auto; }
.calc { background: var(--base-200); border-radius: .75rem; padding: 18px 20px; margin: 1.2rem 0 1.4rem; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 3px 0; color: var(--ink-70); }
.calc-row.credit { color: var(--primary-deep); font-weight: 600; }
.calc-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.calc-row.total span:last-child { color: var(--primary); font-size: 1.5rem; line-height: 1.2; }
.calc-note { font-size: .8rem; color: var(--ink-50); margin: 6px 0 0; }
.draft {
  position: absolute; top: 14px; right: 16px; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; background: #fff4d6; color: #8a5a00; border-radius: 999px; padding: 2px 10px;
}
.lock {
  background: rgba(241,107,65,.08); border: 1px solid rgba(241,107,65,.3); border-radius: .75rem;
  padding: 12px 16px; font-size: .92rem; margin-bottom: 1rem; color: var(--primary-deep); font-weight: 600;
}
.pilot-min { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-70); margin-bottom: .8rem; }
.pilot-min input { width: 72px; }

/* Help me choose */
.choose { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 2.5rem 0; text-align: left; }
.choose a {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; text-align: center;
  background: var(--base-100); border: 1px solid var(--line); border-radius: .75rem; padding: 18px 22px;
  transition: border-color .15s, box-shadow .15s;
}
.choose a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.choose small { display: block; color: var(--ink-50); }
.choose span { width: 100%; }
.choose strong { color: var(--primary); white-space: nowrap; border: 1.5px solid var(--primary); border-radius: .75rem; padding: .55rem 1.2rem; transition: background .15s, color .15s; }
.choose a:hover strong { background: var(--primary); color: #fff; }

/* Philosophy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote { font-size: 1.4rem; font-weight: 600; line-height: 1.4; border-left: 4px solid var(--primary); padding-left: 20px; margin: 1.5rem 0; }

/* Enterprise */
.enterprise { background: var(--ink); color: #fff; }
.enterprise h2, .enterprise h3 { color: #fff; }
.enterprise .eyebrow { color: #f8a58a; }
.enterprise .lead { color: rgba(255,255,255,.75); }
.ent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 3rem; }
.levels { display: grid; gap: 12px; }
.level { border: 1px solid rgba(255,255,255,.15); border-radius: .75rem; padding: 16px 20px; background: rgba(255,255,255,.04); }
.level b { color: #f8a58a; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; display: block; }
.level span { color: rgba(255,255,255,.75); font-size: .95rem; }
.slider-box { border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.05); }
.slider-box label { font-weight: 600; display: block; margin-bottom: 1rem; }
.slider-val { font-size: 3rem; font-weight: 700; color: #f8a58a; line-height: 1; }
.slider-box input[type=range] { width: 100%; accent-color: var(--primary); margin: 1.2rem 0; }
.slider-out { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; color: rgba(255,255,255,.8); min-height: 5em; }
.slider-out strong { color: #fff; font-size: 1.25rem; }
.enterprise .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.enterprise .btn-ghost:hover { background: #fff; color: var(--ink); }
.scoped { margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.6); }

/* Why now */
.rate-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2.5rem 0; }
.rate { background: var(--base-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.rate.hl { border-color: var(--primary); background: rgba(241,107,65,.07); }
.rate .n { font-size: 2rem; font-weight: 700; }
.rate.hl .n { color: var(--primary); }
.rate.old .n { text-decoration: line-through; color: var(--ink-50); }
.rate small { color: var(--ink-50); display: block; }

/* Coach */
.coach { display: none; }
.coach.on { display: block; }

/* Footer */
footer { background: var(--base-100); border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--ink-50); }

/* Modal */
dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: 560px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(31,41,55,.6); }
.modal-in { padding: 32px; max-height: 90vh; overflow: auto; }
.modal-in h3 { font-size: 1.5rem; }
.close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink-50); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.field input, .field select, .field textarea, .pilot-min input {
  width: 100%; font: inherit; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: .75rem; background: #fff; color: var(--ink);
}
.pilot-min input { width: 72px; padding: .4rem .6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-error { color: #dc2626; font-size: .9rem; min-height: 1.2em; }
.credit-line { background: rgba(241,107,65,.08); border-radius: .75rem; padding: 10px 14px; font-size: .9rem; margin-bottom: 16px; color: var(--primary-deep); font-weight: 600; }

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero-grid, .split, .ent-grid { grid-template-columns: 1fr; gap: 36px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); text-align: center; }
  .rules, .rate-compare, .cards, .choose { grid-template-columns: 1fr; }
  .card { padding: 30px 22px 26px; }
  .field-row { grid-template-columns: 1fr; }
  .img-ph { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ===== Above-the-fold option tabs ===== */
.hero { padding: 48px 0 56px; }
.hero-head { text-align: center; max-width: 820px; margin: 0 auto 2rem; }
.hero-head h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: .5rem; }
.hero-head .lead { font-size: 1.1rem; margin: 0 auto; max-width: 40em; }
.hero-head .eyebrow { margin-bottom: .6rem; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tab {
  position: relative; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: var(--base-100); border: 1.5px solid var(--line); border-top: 5px solid var(--accent);
  border-radius: var(--radius); padding: 22px 20px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.tab:hover { transform: translateY(-2px); border-color: var(--accent); }
.tab:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.tab.on { border-color: var(--accent); box-shadow: 0 14px 40px rgba(31,41,55,.14); background: #fffdfb; }
.tab.on::after {
  content: ""; position: absolute; left: 50%; bottom: -17px; width: 18px; height: 18px; background: var(--base-100);
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateX(-50%) rotate(45deg); z-index: 2;
}
.tab .tag { color: var(--accent); margin: 0; }
.tab-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tab-for { font-size: .9rem; color: var(--ink-70); line-height: 1.45; }
.tab-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.tab-price small { font-size: .74rem; color: var(--ink-50); }
.tab-price b { font-size: 1.9rem; color: var(--primary); line-height: 1.15; letter-spacing: -.02em; }
.tab-more { font-size: .88rem; font-weight: 600; color: var(--accent); margin-top: 8px; }
.tab-more i { font-style: normal; }
.panel { margin-top: 28px; }
.panel[hidden] { display: none; }
.panel-in {
  position: relative; background: var(--base-100); border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); animation: slide .25s ease-out;
}
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.panel-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.panel-in .tag { color: var(--accent); display: block; }
.panel-in ul { padding-left: 1.1rem; color: var(--ink-70); margin: 0 0 1rem; }
.panel-in li { margin-bottom: .35rem; }
.panel-in .scope { border-top: 1px solid var(--line); padding-top: 1rem; }
.panel-in .calc { margin-top: 0; }
.hint { margin: 1.5rem 0 0; }
.strip { padding: 40px 0; }
.strip .rules { margin-top: 0; }
@media (max-width: 1000px) { .tabs { grid-template-columns: repeat(2, 1fr); } .tab.on::after { display: none; } }
@media (max-width: 900px) { .hero { padding: 36px 0 44px; } .panel-grid { grid-template-columns: 1fr; gap: 24px; } .panel-in { padding: 24px 20px; } }
@media (max-width: 520px) { .tabs { grid-template-columns: 1fr; } }

/* Ticker state */
.tab-price b { color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.tab.applied .tab-price b { color: var(--primary); }

/* Photography */
.pic { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pic-wide { width: 100%; height: auto; aspect-ratio: 20 / 7; object-fit: cover; object-position: 50% 6%; border-radius: var(--radius); margin-top: 3rem; }
@media (max-width: 900px) { .pic-wide { aspect-ratio: 16 / 9; margin-top: 2rem; } }

/* Header logo */
.topbar .wrap { justify-content: center; height: auto; padding-top: 14px; padding-bottom: 14px; }
.logo { height: 76px; width: auto; }
@media (max-width: 600px) { .logo { height: 60px; } }
