/* Listed & Live. One stylesheet for every page. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #f6f3ee;
  --ink-2: #ffffff;
  --ink-3: #ece6dc;
  --line: #ddd5c8;
  --cream: #1b1d21;
  --cream-2: #3d4047;
  --muted: #5d616a;
  --amber: #9a5109;
  --amber-deep: #7d4206;
  --live: #c8321f;
  --ok: #1d7f47;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(54px, 9vw, 132px); }
h2 { font-size: clamp(38px, 5.4vw, 72px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); }
h1 em, h2 em { font-style: normal; color: inherit; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.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;
}

/* Draft markers: anything Pierce still has to confirm. Remove html[data-draft] at launch. */
html[data-draft] .tbc {
  outline: 1px dashed var(--amber); outline-offset: 4px; position: relative;
}
html[data-draft] .tbc::after {
  content: "confirm"; position: absolute; top: -10px; right: -6px;
  font: 600 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--amber); color: var(--ink); padding: 3px 6px; border-radius: 4px;
}
.draft-bar {
  display: none;
}
html[data-draft] .draft-bar {
  display: block; position: fixed; bottom: 12px; left: 12px; z-index: 60;
  font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink-3); color: var(--amber); border: 1px solid var(--line);
  padding: 8px 10px; border-radius: 6px;
}

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.mark {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--cream); text-decoration: none;
  font-family: var(--serif); font-size: 26px; line-height: 1;
}
.mark .amp { font-style: italic; color: var(--amber); }
.onair {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  border: 1.5px solid #b9b2a6; color: #5d616a;
  padding: 6px 9px 6px 8px; border-radius: 5px;
  transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.onair i {
  width: 7px; height: 7px; border-radius: 50%; background: #b9b2a6;
  transition: background .4s, box-shadow .4s;
}
.onair.is-live { color: var(--live); border-color: var(--live); background: rgba(255, 255, 255, .85); box-shadow: 0 4px 18px rgba(200, 50, 31, .25); }
.onair.is-live i { background: var(--live); box-shadow: 0 0 10px var(--live); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--amber); }
.top nav .hide-sm { display: inline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s, color .2s, box-shadow .2s;
}
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(120, 70, 10, .22); }
.btn-amber:hover { background: var(--amber-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(27, 29, 33, .28); color: var(--cream); background: rgba(255, 255, 255, .62); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- The tour ---------- */
#stage {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: none;
}
.has-3d #stage { display: block; }
.stage-fade {
  display: none;
}
.has-3d .stage-fade {
  display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 243, 238, .9) 0%, rgba(246, 243, 238, .55) 34%, rgba(246, 243, 238, 0) 56%),
    linear-gradient(180deg, rgba(246, 243, 238, .7) 0%, rgba(246, 243, 238, 0) 16%);
}

/* Without the 3D scene the chapters are ordinary sections. */
.tour { position: relative; z-index: 2; }
.chapter {
  min-height: 80vh; padding: 120px var(--gutter) 80px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(1200px 500px at 15% 50%, rgba(162, 86, 10, .06), transparent 70%);
}
.chapter .panel { max-width: 560px; }
.chapter.ch-pass { display: none; }

.has-3d .tour { height: var(--tour-h, 1100vh); }
.has-3d .chapter {
  position: fixed; left: 0; top: 0; bottom: 0; min-height: 0;
  width: min(640px, 100%);
  padding: 92px var(--gutter) 36px;
  border: 0; background: none;
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 24px, 0);
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .55s;
}
.has-3d .chapter.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 22px;
}
.eyebrow b { font-weight: 700; color: var(--cream); opacity: .55; }
.panel h1, .panel h2 { margin-bottom: 22px; text-wrap: balance; }
.panel p { font-size: clamp(17px, 1.35vw, 20px); color: var(--cream-2); max-width: 470px; }
.panel .lede { font-size: clamp(19px, 1.6vw, 23px); color: var(--cream); }
.panel .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.panel .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

.ch-hero h1 { font-size: clamp(52px, min(10vw, 15vh), 150px); letter-spacing: -0.02em; }
.ch-final h2 { font-size: clamp(64px, 9vw, 140px); }
.ch-final .live-word { color: var(--live); }

.scroll-cue {
  display: none;
}
.has-3d .scroll-cue {
  display: flex; align-items: center; gap: 12px; margin-top: 44px;
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue span {
  width: 22px; height: 34px; border: 1.5px solid var(--muted); border-radius: 12px; position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--amber); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Room rail */
.rail { display: none; }
.has-3d .rail {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%);
  z-index: 40; list-style: none; margin: 0; padding: 0;
  transition: opacity .4s;
}
.rail.is-hidden { opacity: 0; pointer-events: none; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  min-height: 30px; text-decoration: none;
  font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: transparent;
  transition: color .3s;
}
.rail a i {
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #8a8e96; flex: none;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.rail li.is-lit a i { background: var(--amber); border-color: var(--amber); }
.rail li.is-here a { color: var(--cream); }
.rail li.is-here a i { transform: scale(1.35); }
.rail a:hover, .rail a:focus-visible { color: var(--cream); }
.rail li.r-live.is-lit a i { background: var(--live); border-color: var(--live); box-shadow: 0 0 12px var(--live); }

/* ---------- Regular sections ---------- */
main.after { position: relative; z-index: 3; background: var(--ink); }
.has-3d main.after { box-shadow: 0 -60px 80px 20px var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.section-head { display: grid; gap: 22px; margin-bottom: 56px; max-width: 760px; }
.section-head p { color: var(--cream-2); font-size: 19px; margin: 0; }

.dash { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dash li { position: relative; padding-left: 26px; color: var(--cream-2); }
.dash li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--amber); }
.dash.no li::before { background: #8a8e96; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
}
.card h3 { margin-bottom: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 28px 26px 0 0; border-top: 1px solid var(--line); position: relative; counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; color: var(--amber); margin-bottom: 18px;
}
.steps li::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
}
.steps h3 { font-size: 28px; margin-bottom: 10px; }
.steps p { color: var(--cream-2); font-size: 16px; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(162, 86, 10, .45); background: linear-gradient(180deg, rgba(162, 86, 10, .06), var(--ink-2) 40%); }
.tier .price { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 8px 0 6px; }
.tier .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 6px; }
.tier .for { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.tier .dash { margin-bottom: 30px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.pilot { margin-top: 26px; color: var(--muted); font-size: 15px; }
.addons { margin-top: 40px; max-width: 640px; }
.addons h3 { margin-bottom: 12px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; }
.addons li span:last-child { color: var(--muted); white-space: nowrap; }

.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 30px/1 var(--sans); color: var(--amber); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--cream-2); padding: 0 0 26px; margin: 0; max-width: 720px; }

/* ---------- Forms ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field[hidden] { display: none; }
.field > label, .field > .label, fieldset > legend.label { font-size: 14px; font-weight: 600; color: var(--cream); }
.field .hint, .hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.req { color: var(--amber); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=time], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--ink-2); color: var(--cream);
  border: 1.5px solid var(--line); border-radius: 10px;
  font: 400 16px/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(162, 86, 10, .2); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--live); }
.err { color: #b3261e; font-size: 14px; display: none; }
.field.has-err .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--live); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15.5px; color: var(--cream-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--cream-2);
  transition: border-color .2s, background .2s, color .2s;
}
.pill input:checked + span { border-color: var(--amber); background: rgba(162, 86, 10, .1); color: var(--cream); }
.pill input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.group { display: grid; gap: 12px; }
fieldset.group > legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.amen-group h4 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 10px 0 12px; }
.note {
  border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 3px 0 var(--amber);
  background: var(--ink-2); padding: 16px 18px; font-size: 15px; color: var(--cream-2);
}
.note strong { color: var(--cream); }

/* Intake page */
.intake-page { padding-top: 110px; }
.intake-head { max-width: 760px; margin-bottom: 40px; }
.intake-head h1 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 24px; }
.intake-head p { color: var(--cream-2); font-size: 19px; }
.intake { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.steps-nav { position: sticky; top: 100px; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: n; }
.steps-nav li { counter-increment: n; }
.steps-nav button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--muted);
  font: 500 15px/1.3 var(--sans); padding: 10px 12px; border-radius: 8px; cursor: pointer;
  display: flex; gap: 12px; align-items: center; min-height: 44px;
}
.steps-nav button::before { content: counter(n, decimal-leading-zero); font-size: 12px; letter-spacing: .1em; color: #5d616a; width: 20px; }
.steps-nav button[aria-current="step"] { color: var(--cream); background: var(--ink-2); }
.steps-nav button[aria-current="step"]::before { color: var(--amber); }
.steps-nav button.done::before { color: var(--ok); }
.steps-nav button:hover { color: var(--cream); }
.no-js .steps-nav { display: none; }
.intake.no-steps { grid-template-columns: minmax(0, 1fr); }

.step { display: grid; gap: 22px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.step > h2 { font-size: clamp(34px, 4vw, 52px); }
.step > .step-lede { color: var(--cream-2); margin: -8px 0 0; }
.stepper .step { border: 0; margin: 0; padding: 0; }
.stepper .step[hidden] { display: none; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.no-js-only { display: none; }
.no-js .no-js-only { display: block; }
.progress { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 34px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--amber); transform: scaleX(var(--pct, .1)); transform-origin: left; transition: transform .4s ease; }
.no-js .progress { display: none; }
.saved { font-size: 13px; color: var(--muted); min-height: 1.4em; }

/* Intake: guidance */
.callout { margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 3px 0 var(--amber); background: var(--ink-2); padding: 16px 18px; font-size: 15.5px; color: var(--cream-2); }
.callout strong { display: block; color: var(--cream); margin-bottom: 4px; }
.na-demo { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 5px 9px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--cream-2); background: var(--ink); }
.tip { border-radius: 10px; background: var(--ink-3); padding: 14px 16px; font-size: 14.5px; color: var(--cream-2); line-height: 1.55; }
.tip strong { color: var(--amber-deep); margin-right: 2px; }
.warn, .smart { border-radius: 10px; padding: 13px 16px; font-size: 14.5px; line-height: 1.55; }
.warn { background: #fbeae6; border: 1px solid #ecc2b9; color: #6e1d12; }
.warn strong { color: #6e1d12; }
.smart { background: #fbf1e3; border: 1px solid #ecd3ae; color: #5a3305; }
.smart strong { color: #5a3305; }
.warn[hidden], .smart[hidden] { display: none; }
.warn .rec, .smart .rec { margin-left: 4px; }
.step-err { margin-top: 14px; border-radius: 10px; padding: 13px 16px; background: #fbeae6; border: 1px solid #ecc2b9; color: #6e1d12; font-size: 15px; font-weight: 600; }
.step-err[hidden] { display: none; }
.card-h { font-size: 26px; margin-bottom: 4px; }
.card { display: grid; gap: 20px; }
.card > h3 { margin-bottom: 0; }
.sub-h { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.legend-hint { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* Intake: N/A toggle, errors */
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.field-top > label { font-size: 14px; font-weight: 600; color: var(--cream); }
/* Label rows in two-column rows match the height of a row with an N/A button, so the inputs line up */
.form-row > .field > label, .form-row > .field > .label, .form .row > .field > label, .form-row > .field > .field-top { min-height: 32px; display: flex; align-items: center; }
.na {
  flex: none; min-height: 32px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--ink-2); color: var(--muted);
  font: 600 12px/1 var(--sans); letter-spacing: .06em; transition: border-color .2s, background .2s, color .2s;
}
.na:hover { color: var(--cream); border-color: #b9b0a2; }
.na[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.na:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.field.is-na > :not(.field-top) { opacity: .4; }
.field.is-na .field-top > label { color: var(--muted); }
fieldset.group.has-err > .err { display: block; }
fieldset.group.has-err > legend { color: #b3261e; }
.field .smart, .field .warn { margin-top: 4px; }

/* Intake: steppers, money, percent */
.stepper-box { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; background: var(--ink-2); width: max-content; overflow: visible; }
.stepper-box input[type="number"] { width: 76px; border: 0; border-radius: 0; text-align: center; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper-box input::-webkit-outer-spin-button, .stepper-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { width: 46px; min-height: 48px; border: 0; background: none; color: var(--cream-2); font: 400 22px/1 var(--sans); cursor: pointer; }
.step-btn:hover { color: var(--amber-deep); background: var(--ink-3); }
.step-btn:first-child { border-radius: 8px 0 0 8px; }
.step-btn:last-child { border-radius: 0 8px 8px 0; }
.step-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.field.has-err .stepper-box { border-color: var(--live); }
.money, .pct { position: relative; max-width: 220px; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 28px; }
.pct::after { content: "%"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pct input { padding-right: 32px; }

/* Intake: recommendation buttons */
.recs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.rec {
  min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(162, 86, 10, .45); background: rgba(162, 86, 10, .07); color: var(--amber-deep);
  font: 600 13.5px/1 var(--sans); transition: background .2s;
}
.rec:hover { background: rgba(162, 86, 10, .15); }
.rec:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rec-why { font-size: 13.5px; color: var(--muted); flex: 1 1 260px; }
.linkish { background: none; border: 0; padding: 0; color: var(--amber-deep); font: 600 14px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Intake: rooms, beds, cameras */
.rooms, .cams { display: grid; gap: 16px; }
.room { border: 1px solid var(--line); border-radius: 12px; background: var(--ink); padding: 20px; display: grid; gap: 16px; }
.room-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.room-h { font-size: 22px; margin: 0; }
.beds { display: grid; gap: 12px; }
.bed-line { display: flex; gap: 10px; align-items: center; }
.bed-line select { flex: 1; max-width: 340px; }
.icon-btn { background: none; border: 0; color: var(--muted); font: 500 13.5px/1 var(--sans); padding: 10px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.icon-btn:hover { color: #b3261e; }
.add { justify-self: start; }
.sleep-total { font-weight: 600; color: var(--cream); }

/* Intake: amenities */
.amen-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.amen-root { display: grid; gap: 10px; }
.amen-group { border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); }
.amen-group > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; font: 600 16px/1.3 var(--sans); color: var(--cream); min-height: 56px;
}
.amen-group > summary::-webkit-details-marker { display: none; }
.amen-group > summary::after { content: "+"; font: 300 24px/1 var(--sans); color: var(--amber); margin-left: 6px; transition: transform .2s; }
.amen-group[open] > summary::after { transform: rotate(45deg); }
.amen-group > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 12px; }
.amen-group > fieldset { padding: 0 20px 20px; }
.amen-badge { margin-left: auto; font: 600 12px/1 var(--sans); padding: 6px 10px; border-radius: 999px; background: #e3f1e8; color: #145c33; white-space: nowrap; }
.amen-badge.is-open { background: var(--ink-3); color: var(--muted); }
.amen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; align-items: start; }
.amen-item:has(.detail:not([hidden])) { grid-column: 1 / -1; }
.amen-none { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.detail { margin: 8px 0 12px 30px; padding: 16px; border-left: 2px solid var(--amber); background: var(--ink); border-radius: 0 10px 10px 0; display: grid; gap: 14px; }
.detail[hidden] { display: none; }
.detail fieldset.group > legend { font-size: 13.5px; margin-bottom: 8px; }
.days .pill span { min-width: 56px; justify-content: center; padding: 0 12px; }

/* Intake: discounts */
.discounts { display: grid; gap: 14px; }
.disc { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--ink); display: grid; gap: 10px; }
.disc .pct { max-width: 140px; }

/* Intake: progress and review */
.progress-row { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.progress-row .progress { flex: 1; margin: 0; }
.progress-label { font: 600 13px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.no-js .progress-row { display: none; }
.review { display: grid; gap: 10px; }
.review .missing { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.review .missing li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid #ecc2b9; padding-top: 8px; }
.review-step { border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); }
.review-step > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; min-height: 48px; }
.review-step dl { margin: 0; padding: 0 18px 16px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 18px; font-size: 14.5px; }
.review-step dt { color: var(--muted); }
.review-step dd { margin: 0; color: var(--cream); overflow-wrap: anywhere; }
.check.optional { color: var(--muted); }

/* Thanks */
.thanks { min-height: 100vh; display: grid; align-items: center; padding: 130px 0 90px; background: radial-gradient(900px 500px at 20% 20%, rgba(200, 50, 31, .07), transparent 60%); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; max-width: 720px; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding-bottom: 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8a8e96; margin-top: 4px; }
.timeline li.done .dot { border-color: var(--ok); background: var(--ok); }
.timeline li.next .dot { border-color: var(--amber); background: rgba(162, 86, 10, .14); }
.timeline h3 { font-size: 26px; margin-bottom: 4px; }
.timeline p { color: var(--cream-2); margin: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 50px 0 70px; color: var(--muted); font-size: 14px; position: relative; z-index: 3; background: var(--ink); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot a { color: var(--cream-2); }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .signup, .intake { grid-template-columns: minmax(0, 1fr); }
  .steps-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .steps-nav button { white-space: nowrap; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .form-row, .review-step dl { grid-template-columns: minmax(0, 1fr); }
  .review-step dt { margin-top: 6px; }
  .detail { margin-left: 0; }
  .room { padding: 16px; }
  .top { padding: 14px 16px; }
  .top nav .hide-sm { display: none; }
  .mark { font-size: 22px; }
  .onair { display: none; }
  .grid-2, .tiers, .form .row { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .has-3d .chapter {
    width: 100%; align-items: flex-end; padding-bottom: 46px;
  }
  .has-3d .chapter .panel {
    background: rgba(250, 248, 244, .86); backdrop-filter: blur(12px);
    border: 1px solid rgba(27, 29, 33, .08); box-shadow: 0 10px 30px rgba(40, 30, 15, .12); border-radius: 16px; padding: 22px 20px;
  }
  .has-3d .ch-hero { align-items: center; }
  .has-3d .ch-hero .panel { background: none; backdrop-filter: none; border: 0; padding: 0; }
  /* On a phone the copy sits over the lit house, so it needs its own shadow to stay readable. */
  .has-3d .ch-hero .panel p { text-shadow: 0 0 2px rgba(246, 243, 238, .9), 0 1px 14px rgba(246, 243, 238, .9); }
  /* The ceiling lamps can blow out behind the header in portrait. */
  .has-3d .top { background: linear-gradient(180deg, rgba(246, 243, 238, .9) 0%, rgba(246, 243, 238, 0) 100%); }
  .has-3d .stage-fade { background: linear-gradient(0deg, rgba(246, 243, 238, .85) 0%, rgba(246, 243, 238, 0) 50%); }
  .panel h2 { font-size: 36px; margin-bottom: 12px; }
  .panel p { font-size: 16px; }
  .eyebrow { margin-bottom: 14px; }
  .has-3d .rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.step-actions [hidden], .intake [hidden] { display: none !important; }

/* ---------- Accounts ---------- */
.acct-page { padding-top: 110px; padding-bottom: 90px; }
.acct-head { max-width: 760px; margin-bottom: 36px; }
.acct-head h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 18px; }
.acct-head p { color: var(--cream-2); font-size: 19px; }
.acct-narrow { max-width: 560px; }
.acct-section { border-top: 1px solid var(--line); padding: 44px 0; display: grid; gap: 22px; }
.acct-section > header { display: grid; gap: 8px; max-width: 720px; }
.acct-section > header h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0; }
.acct-section > header p { color: var(--cream-2); margin: 0; }
.acct-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 15px; }
.acct-meta b { color: var(--cream); font-weight: 600; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.stages li { border-top: 3px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--muted); padding-right: 10px; }
.stages li.done { border-top-color: var(--ok); color: var(--cream-2); }
.stages li.now { border-top-color: var(--amber); color: var(--cream); font-weight: 600; }
.status-msg { font-size: 15px; color: var(--cream-2); min-height: 1.5em; }
.status-msg.bad { color: var(--live); }
.status-msg.good { color: var(--ok); }
.providers { display: grid; gap: 40px; }
.provider-section { display: grid; gap: 16px; }
.provider-section-head { display: grid; gap: 4px; }
.provider-section-head h3 { font-size: clamp(24px, 2.6vw, 30px); margin: 0; }
.provider-section-head p { margin: 0; font-size: 15px; color: var(--muted); }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.provider-optional { margin-left: 10px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); letter-spacing: .1em; font-size: 10.5px; }
.provider-grid .provider { display: flex; flex-direction: column; gap: 10px; }
.provider-grid .provider .checklist-wrap { margin-bottom: auto; }
.checklist-wrap { display: grid; gap: 6px; padding: 12px 14px; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
.checklist-count { font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; padding: 5px 0; color: var(--cream); }
.checklist input { width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--amber); cursor: pointer; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.provider { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.provider-top { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.provider-top h3 { font-size: 26px; margin: 0; }
.provider-for { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.provider-status { width: auto; min-height: 40px; font-size: 14px; padding: 8px 36px 8px 12px; background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; }
.provider-cost, .provider-how { margin: 0; font-size: 15px; color: var(--cream-2); }
.provider-cost { color: var(--muted); }
.provider-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.provider-disclosure { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0; }
.vault { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sealed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sealed-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 18px; }
.sealed-list .what { display: grid; gap: 2px; }
.sealed-list .what b { font-weight: 600; }
.sealed-list .what span { font-size: 13.5px; color: var(--muted); }
.sealed-empty { color: var(--muted); font-size: 15px; }
.lock-line { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--muted); }
.lock-line::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); transform: translateY(-1px); }
.btn-quiet { background: none; border: 0; color: var(--amber); font: 600 14px/1 var(--sans); cursor: pointer; min-height: 44px; padding: 0 6px; }
.btn-quiet:hover { color: var(--amber-deep); text-decoration: underline; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.acct-gate { max-width: 560px; }
@media (max-width: 900px) {
  .vault, .provider-grid { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
}
.intake-summary { white-space: pre-wrap; font-size: 14.5px; line-height: 1.6; color: var(--cream-2); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; max-height: 420px; overflow: auto; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vault-side { display: grid; gap: 14px; }
.sealed-list li.sealed-empty { background: none; border: 0; padding: 0; }
.acct-after { margin-top: 22px; }
[hidden] { display: none !important; }

/* Logo: the Door. Two Ls make the doorway; the amber dot is the handle and it radiates. */
.mark .logo { width: 30px; height: 30px; flex: none; overflow: visible; }
.logo-l { fill: var(--cream); }
.logo-dot { fill: var(--amber); }
.logo-wave {
  fill: none; stroke: var(--amber); stroke-width: .7;
  transform-box: fill-box; transform-origin: center;
  animation: logo-radiate 2.8s ease-out infinite;
}
.logo-wave-2 { animation-delay: 1.4s; }
@keyframes logo-radiate {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(3.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-wave { animation: none; transform: scale(2); opacity: .25; }
  .logo-wave-2 { display: none; }
}

/* 404 page */
.notfound .acct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Legal pages (privacy.html, terms.html). Drafts for attorney review. */
.legal-page .legal { max-width: 760px; }
.legal-banner {
  border: 2px solid var(--live); border-radius: 10px; background: var(--ink-2);
  padding: 14px 18px; margin-bottom: 32px;
  font: 700 15px/1.4 var(--sans); letter-spacing: .02em; color: var(--live);
}
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 12px; }
.legal .legal-meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 44px 0 14px; }
.legal h3 { font: 600 17px/1.3 var(--sans); margin: 24px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--cream-2); }
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .bk { background: #fbe9b7; color: var(--cream); padding: 1px 4px; border-radius: 3px; font-weight: 600; }
.legal .toc { columns: 2; column-gap: 32px; margin: 0 0 8px; padding-left: 22px; }
.legal .toc li { break-inside: avoid; font-size: 15px; }
@media (max-width: 720px) {
  .legal .toc { columns: 1; }
}
@media print {
  .legal-page .top, .legal-page .skip, .legal-page .draft-bar { display: none; }
  .legal-page .intake-page { padding-top: 0; }
  .legal .bk { background: none; border: 1px solid var(--cream-2); }
}

/* Referral and affiliate links: notes under a cluster of links, the Turno code and its copy button */
.aff-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.aff-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; }
.tip a, .warn a, .smart a { color: var(--amber-deep); text-underline-offset: 3px; }
.tip a:hover, .warn a:hover, .smart a:hover { color: var(--cream); }
.aff-code { font-weight: 600; letter-spacing: .04em; color: var(--cream); }
.copy-code {
  min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; vertical-align: middle;
  border: 1.5px solid rgba(162, 86, 10, .45); background: rgba(162, 86, 10, .07); color: var(--amber-deep);
  font: 600 13.5px/1 var(--sans); transition: background .2s;
}
.copy-code:hover { background: rgba(162, 86, 10, .15); }
.copy-code:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.copy-scratch { position: fixed; top: 0; left: -9999px; opacity: 0; }
.provider-hook { margin: 0; font-size: 15px; color: var(--cream); }
.provider .aff-note { margin-top: 0; }
.inc-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.skip:hover, .skip:focus { color: var(--ink); }
