/* Distil — design tokens */
:root {
  --paper: #F7F8FA;
  --panel: #FFFFFF;
  --glass: #EEF2F7;
  --ink: #1B2432;
  --ink-70: #4B5563;
  --ink-40: #8B94A3;
  --line: #E3E6EB;
  --line-strong: #C9CFD8;
  --amber: #D98E04;
  --amber-deep: #B57303;
  --amber-soft: #FBF1DA;
  --teal: #0E6B5E;
  --teal-soft: #DDF0EC;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --font-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(27,36,50,.05), 0 8px 24px -16px rgba(27,36,50,.25);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--font-body);
  min-height: 100vh;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { margin: 0 0 .35em; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .8em; }
ul, ol { margin: 0 0 .8em; padding-left: 1.2em; }
li { margin: .15em 0; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-70); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.table-wrap { overflow-x: auto; margin-bottom: .8em; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
h1.display { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .3em; }
h2.display { font-size: 1.6rem; }
.mono { font-family: var(--font-mono); font-size: .92em; font-feature-settings: 'tnum'; }
.dim { color: var(--ink-70); }
.small { font-size: .86rem; }
.eyebrow {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-40); margin: .2em 0 .35em;
}
.eyebrow.inline { display: inline; margin-right: .4em; }
.lede { font-size: 1.05rem; color: var(--ink-70); max-width: 62ch; }
.req { font-size: .72rem; color: var(--amber-deep); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-left: .4em; }

/* --------------------------------------------------------------- layout */
.shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}
body.has-project .shell { grid-template-columns: 250px minmax(0, 1fr) 220px; }
.rail {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--panel); border-right: 1px solid var(--line);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 22px;
}
.main { padding: 36px clamp(20px, 4vw, 56px) 80px; max-width: 1180px; width: 100%; }
.ledger {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  border-left: 1px solid var(--line); padding: 28px 18px; background: var(--panel);
  display: flex; flex-direction: column; gap: 14px; font-size: .9rem;
}
.ledger dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35em .8em; }
.ledger dt { color: var(--ink-70); }
.ledger dd { margin: 0; text-align: right; }
.ledger-delete { margin-top: auto; }

/* brand */
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .01em; }
.brand-drop {
  display: inline-block; width: 14px; height: 20px; background: var(--amber);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  transform: rotate(0deg);
}
.brand-drop.big { width: 26px; height: 38px; }
.rail-project strong { display: block; font-size: 1rem; line-height: 1.3; }
.rail-nav { display: flex; flex-direction: column; gap: 2px; }
.rail-nav a { padding: .5em .7em; border-radius: 8px; color: var(--ink); }
.rail-nav a.active, .rail-nav a:hover { background: var(--glass); text-decoration: none; }
.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: .86rem; }
.who { display: flex; flex-wrap: wrap; gap: .4em .8em; align-items: center; color: var(--ink-70); }
.who span { font-weight: 600; color: var(--ink); }

/* the still: the signature element. Four vessels joined by a pipe; each
   fills with amber as its stage completes; the current one drips. */
.still { display: flex; flex-direction: column; }
.stage { display: flex; align-items: center; gap: 14px; color: var(--ink); padding: 4px 6px; border-radius: 8px; }
.stage:hover { text-decoration: none; background: var(--glass); }
.stage.locked { color: var(--ink-40); cursor: default; }
.stage.locked:hover { background: none; }
.stage.locked .vessel { border-style: dashed; }
.stage.current .stage-name { color: var(--amber-deep); }
.stage-meta { display: flex; flex-direction: column; line-height: 1.25; }
.stage-name { font-family: var(--font-display); font-size: 1rem; }
.stage-sub { font-size: .76rem; color: var(--ink-40); }
.vessel {
  position: relative; flex: none; width: 36px; height: 40px;
  border: 2px solid var(--line-strong); border-radius: 6px 6px 15px 15px;
  background: var(--glass); overflow: hidden;
}
.vessel .liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--level, 0%);
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);
  transition: height .7s cubic-bezier(.2,.7,.2,1);
}
.vessel .liquid::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,.35);
}
.stage.current .vessel::after {
  content: ""; position: absolute; top: -10px; left: 50%; width: 6px; height: 9px; margin-left: -3px;
  background: var(--amber); border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  animation: drip 1.8s ease-in infinite;
}
.pipe { width: 2px; height: 14px; background: var(--line-strong); margin-left: 23px; }
@keyframes drip {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  80% { transform: translateY(34px); opacity: 1; }
  100% { transform: translateY(38px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stage.current .vessel::after { animation: none; top: 4px; opacity: .9; }
  .vessel .liquid { transition: none; }
  .drip { animation: none !important; }
}

/* mini still on dashboard cards */
.mini-still { display: flex; gap: 6px; margin-bottom: 12px; }
.mini-vessel {
  position: relative; width: 16px; height: 18px; border: 1.5px solid var(--line-strong);
  border-radius: 3px 3px 7px 7px; overflow: hidden; background: var(--glass);
}
.mini-vessel span { position: absolute; left: 0; right: 0; bottom: 0; height: var(--level, 0%); background: var(--amber); }

/* ------------------------------------------------------------- components */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.subnav { display: flex; gap: 4px; flex-wrap: wrap; }
.subnav a { padding: .35em .7em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-70); font-size: .86rem; background: var(--panel); }
.subnav a:hover { border-color: var(--line-strong); text-decoration: none; color: var(--ink); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.card.narrow { max-width: 520px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.head-actions { display: flex; gap: 12px; align-items: center; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid .card { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.stack-lg > .card, .stack > .card { margin-bottom: 0; }
.span-all { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.actions.align-end { align-self: end; }
.empty { padding: 40px; text-align: center; color: var(--ink-70); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.1em; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0f1620; }
.btn-secondary { background: var(--amber-soft); color: var(--amber-deep); border-color: #f0d9a3; }
.btn-secondary:hover { background: #f7e6bf; }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--glass); }
.btn-sm { padding: .42em .8em; font-size: .86rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--teal); cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike.danger { color: var(--danger); }

.badge {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .25em .6em; border-radius: 999px; background: var(--glass); color: var(--ink-70); vertical-align: middle;
}
.badge-amber { background: var(--amber-soft); color: var(--amber-deep); }
.badge-teal { background: var(--teal-soft); color: var(--teal); }
.tag { display: inline-block; font-size: .8rem; padding: .2em .6em; border-radius: 999px; background: var(--glass); color: var(--ink-70); margin: 0 .3em .3em 0; }
.tags { display: flex; flex-wrap: wrap; }

.flashes { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: .7em 1em; border-radius: 8px; background: var(--glass); border: 1px solid var(--line); }
.flash-ok { background: var(--teal-soft); border-color: #bfe3db; color: var(--teal); }
.flash-error { background: var(--danger-soft); border-color: #f5c6c0; color: var(--danger); }
.flash-secret { background: var(--amber-soft); border-color: #f0d9a3; color: var(--amber-deep); font-family: var(--font-mono); }

/* forms */
label { display: flex; flex-direction: column; gap: .35em; font-weight: 500; font-size: .93rem; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: .6em .75em; width: 100%;
}
textarea { resize: vertical; min-height: 2.5em; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px var(--amber-soft); }
fieldset { border: 0; padding: 0; margin: 0 0 .4em; }
legend { font-weight: 500; font-size: .93rem; margin-bottom: .4em; padding: 0; }
.intake .card { display: flex; flex-direction: column; gap: 14px; }
.intake .card h2 { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { flex-direction: row; align-items: center; gap: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { padding: .4em .85em; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); font-weight: 500; font-size: .88rem; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.new-project { display: flex; gap: 10px; margin-bottom: 26px; max-width: 720px; }
.new-project input { flex: 1; }

/* notes + jobs */
details.notes { margin: 8px 0 4px; }
details.notes summary { cursor: pointer; color: var(--ink-70); font-size: .9rem; }
details.notes textarea { margin-top: 8px; }
.global-notes { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; }
.job { border: 1px solid #f0d9a3; background: var(--amber-soft); border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.job-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--amber-deep); }
.job-elapsed { margin-left: auto; font-weight: 400; color: var(--ink-70); }
.drip { width: 8px; height: 12px; background: var(--amber); border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: translateY(-2px); opacity: .5; } 50% { transform: translateY(2px); opacity: 1; } }
.job-body { margin-top: 10px; max-height: 320px; overflow: auto; background: var(--panel); border-radius: 6px; padding: 10px 14px; font-size: .9rem; }
.job-body:empty { display: none; }
.job-hint { margin: 6px 0 0; font-size: .86rem; color: var(--ink-70); }
.job.error { background: var(--danger-soft); border-color: #f5c6c0; }
.job.error .job-head { color: var(--danger); }
.job.error .drip { display: none; }

/* project cards */
.project-card { color: var(--ink); display: block; }
.project-card:hover { text-decoration: none; border-color: var(--line-strong); }
.project-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.project-card .meta { color: var(--ink-70); font-size: .86rem; margin: 0; }

/* niches */
.summaries { margin: 8px 0 12px; }
.niches { margin-bottom: 18px; }
.niche { display: flex; flex-direction: column; gap: 10px; position: relative; }
.niche.chosen { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft), var(--shadow); }
.niche-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.niche-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin: .2em 0 0; }
.overall { text-align: right; line-height: 1; flex: none; }
.overall .mono { font-size: 1.7rem; color: var(--amber-deep); }
.overall small { display: block; color: var(--ink-40); font-size: .7rem; }
.niche-line { margin: 0; }
.layers { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.layers li { padding: .15em 0 .15em .8em; font-size: .9rem; }
.layers li span { display: inline-block; min-width: 6.2em; margin-right: .5em; color: var(--ink-40); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.qa { list-style: none; padding: 0; margin: 0 0 .8em; display: flex; flex-direction: column; gap: 10px; }
.qa li { display: flex; flex-direction: column; gap: 2px; font-size: .93rem; }
.qa li strong { color: var(--ink-70); font-weight: 600; }
.layers li:last-child { color: var(--ink); font-weight: 500; border-left: 2px solid var(--amber); margin-left: -2px; }
.scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; }
.score { display: grid; grid-template-columns: 3.4em 1fr 1.4em; align-items: center; gap: 6px; font-size: .8rem; }
.score-label { color: var(--ink-70); }
.bar { height: 6px; background: var(--glass); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.score-num { text-align: right; color: var(--ink-70); }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3em .9em; font-size: .9rem; }
.kv dt { color: var(--ink-40); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-top: .25em; }
.kv dd { margin: 0; }
.niche form { margin-top: auto; }

/* zone report */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.funnel-row { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 20px; text-align: center; box-shadow: var(--shadow); }
.funnel-row p { margin: 0; }
.funnel-row.l1 { width: 100%; }
.funnel-row.l2 { width: 82%; }
.funnel-row.l3 { width: 66%; border-color: var(--amber); background: var(--amber-soft); font-weight: 500; }
.avatar h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0; }
.ab > div { padding: 12px 14px; border-radius: 8px; background: var(--glass); }
.ab > div:last-child { background: var(--teal-soft); }
.ab p { margin: 0; }
.quotes { list-style: none; padding: 0; }
.quotes li { font-style: italic; color: var(--ink-70); }
.promise { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; }
.callout { background: var(--amber-soft); border: 1px solid #f0d9a3; border-radius: 8px; padding: 12px 14px; margin-top: 10px; }
.callout ul { margin-bottom: 0; }

/* charter */
.charter-title { text-align: left; }
.ab-card { display: flex; align-items: center; }
.ab-card .ab { width: 100%; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.stats p { margin: 0; font-size: 1.05rem; }
.stats .mono { font-size: 1.4rem; }
.modules { list-style: none; padding: 0; margin: 0; }
.module { border-top: 1px solid var(--line); }
.module:first-child { border-top: 0; }
.module summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 12px 4px; cursor: pointer; }
.module summary::-webkit-details-marker { display: none; }
.module-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-deep); font-weight: 500; flex: none; }
.module-title { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.module-title .dim { font-size: .88rem; }
.module-promise { margin: 0 0 8px 46px; color: var(--ink-70); }
.lessons { list-style: none; padding: 0 0 12px 46px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lessons > li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.lesson-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.lesson-head strong { flex: 1; }
.lesson-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
ul.compact { margin: .2em 0 .4em; font-size: .92rem; }
.lessons p { margin: .2em 0; font-size: .92rem; }

/* build: tiers + calculator */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 16px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); }
.tier.recommended { border-color: var(--amber); background: var(--panel); box-shadow: 0 0 0 3px var(--amber-soft); }
.tier h3 { margin: .2em 0 0; }
.tier .price { font-size: 1.5rem; margin: 0; color: var(--ink); }
.tier .use-price { margin-top: auto; align-self: flex-start; }
.calc { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.calc-inputs { display: grid; gap: 12px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-content: start; }
.calc-out > div { background: var(--glass); border-radius: 8px; padding: 12px 14px; }
.calc-out p { margin: 0; }
.big { font-size: 1.5rem; }

/* prose (rendered markdown) */
.prose-wrap > summary { cursor: pointer; color: var(--ink-70); font-size: .9rem; margin-bottom: 8px; }
.prose { max-width: 74ch; font-size: .97rem; }
.prose h1 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-top: 1.5em; padding-top: .6em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.02rem; margin-top: 1.2em; }
.prose table { margin: .8em 0; }
.prose blockquote { margin: .8em 0; padding: .4em 1em; border-left: 3px solid var(--amber); color: var(--ink-70); background: var(--amber-soft); border-radius: 0 6px 6px 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--glass); padding: .1em .35em; border-radius: 4px; }
.prose pre { background: var(--glass); padding: 12px; border-radius: 8px; overflow-x: auto; }
.prose img { max-width: 100%; }
.row-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.row-actions form { display: inline; }

/* auth */
body.auth { display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 36px 34px; box-shadow: var(--shadow); text-align: center; }
.auth-card form { text-align: left; margin-top: 18px; }
.auth-card .lede { margin: 0 auto 6px; font-size: .98rem; }
.auth-mark { margin-bottom: 8px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  body.has-project .shell { grid-template-columns: 250px minmax(0, 1fr); }
  .ledger { position: static; height: auto; border-left: 0; border-top: 1px solid var(--line); grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
  .ledger dl { grid-template-columns: repeat(5, auto); gap: .2em 1.2em; }
  .ledger dd { text-align: left; }
  .ledger-delete { margin-top: 0; margin-left: auto; }
}
@media (max-width: 860px) {
  .shell, body.has-project .shell { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; padding: 12px 16px; }
  .rail-project { display: none; }
  .rail-nav { grid-column: 1 / -1; flex-direction: row; gap: 6px; }
  .still { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .stage { flex-direction: column; text-align: center; gap: 4px; padding: 6px 2px; }
  .stage-meta { align-items: center; }
  .stage-name { font-size: .8rem; }
  .stage-sub { display: none; }
  .vessel { width: 26px; height: 30px; }
  .pipe { display: none; }
  .stage.current .vessel::after { animation: none; top: 3px; }
  .rail-foot { margin-top: 0; flex-direction: row; align-items: center; justify-content: flex-end; gap: 8px; }
  .who { gap: .3em .6em; }
  .main { padding: 24px 18px 60px; }
  .grid.two { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .ab { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .funnel-row.l2, .funnel-row.l3 { width: 100%; }
  .lessons, .module-promise { padding-left: 0; margin-left: 0; }
  .new-project { flex-direction: column; }
}
