/* Cinder Revenue Company.
   True black, neutral greys, Geist throughout, quiet medium-weight headlines.
   One accent: the ember from the logo, used only for live moments and money. Never for decoration alone. */

:root {
  --night: #0a0a0a;
  --night-2: #131313;
  --night-3: #1b1b1b;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --concrete: #767676;
  --fog: #a3a3a3;
  --paper: #ededed;
  --ember: #ededed;
  --ember-dim: #8a8a8a;
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--fog);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #3a3a3a; color: #fff; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--night); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--sans); color: var(--paper); margin: 0;
  font-weight: 560; letter-spacing: -0.04em; line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 5.4vw, 72px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { margin: 0; color: var(--paper); font-size: 17px; font-weight: 560; letter-spacing: -0.01em; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { max-width: 34em; font-size: clamp(16.5px, 1.3vw, 18px); line-height: 1.55; color: var(--fog); }
.note { font-size: 14px; color: var(--concrete); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 550; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--paper); color: var(--night); }
.btn-primary:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { border-color: var(--line-2); color: var(--paper); }
.btn-ghost:hover { border-color: var(--concrete); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.8); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; flex: none; }
.brand svg { height: 24px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--fog); }
.nav-links a:hover { color: var(--paper); }
.nav-cta { margin-left: 4px; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 11vw, 148px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.split-head .lede { justify-self: end; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; gap: 20px; } .split-head .lede { justify-self: start; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy h1 { max-width: 11em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { font-size: 15px; color: var(--concrete); }
.hero-note a { color: var(--fog); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.hero-note a:hover { color: var(--paper); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

/* The live thread */
.phone {
  position: relative; width: 100%; max-width: 420px; justify-self: end;
  border: 1px solid var(--line-2); border-radius: 28px; background: var(--night-2);
  padding: 18px 18px 20px; 
}
@media (max-width: 940px) { .phone { justify-self: start; } }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.phone-top b { color: var(--paper); font-weight: 620; }
.phone-top span { color: var(--concrete); }
.thread { display: grid; gap: 10px; padding: 16px 2px 4px; min-height: 392px; align-content: start; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg small { display: block; margin-bottom: 3px; font-size: 12px; color: var(--concrete); font-variant-numeric: tabular-nums; }
.msg.in { justify-self: start; background: var(--night-3); color: var(--paper); border-bottom-left-radius: 5px; }
.msg.out { justify-self: end; background: #262626; color: var(--paper); border-bottom-right-radius: 5px; }
.msg.out small { color: var(--concrete); }
.typing { justify-self: end; display: none; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--night-3); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--concrete); animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.booked { justify-self: stretch; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--paper); }
.booked::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(255,255,255,.08); flex: none; }
.clock { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 14px 6px 0; border-top: 1px solid var(--line); }
.clock span { font-size: 13.5px; color: var(--concrete); }
.clock b { font-size: 34px; line-height: 1; color: var(--paper); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Owner notification: the "text when someone books" */
.duo { position: relative; justify-self: end; width: 100%; max-width: 420px; padding-bottom: 140px; }
.duo .phone { max-width: none; justify-self: auto; }
.notif {
  position: absolute; left: -64px; bottom: 0; width: 300px; padding: 14px 16px 15px;
  border-radius: 18px; border: 1px solid #333; background: rgba(30,30,30,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.85);
}
.notif-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--concrete); margin-bottom: 6px; }
.notif-app { display: inline-flex; align-items: center; gap: 7px; }
.notif-mark { width: 16px; height: 16px; }
.notif b { display: block; color: var(--paper); font-size: 14.5px; font-weight: 600; }
.notif p { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--fog); }
@media (max-width: 940px) { .duo { justify-self: start; padding-bottom: 0; } .notif { position: relative; left: auto; bottom: auto; width: auto; margin: 14px 0 0; } }
.js.motion .notif[data-step] { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.js.motion .notif[data-step].on { opacity: 1; transform: none; }

/* What each plan sends */
.peek { padding: 12px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--line); }
.plan.is-feature .peek { background: var(--night); }
.peek-meta { display: block; font-size: 12px; color: var(--concrete); margin-bottom: 6px; }
.peek-out { margin: 0; padding: 9px 12px; border-radius: 12px; border-bottom-right-radius: 4px; background: #262626; color: var(--paper); font-size: 14px; line-height: 1.45; }

/* Sequence: everything is visible by default; with JS and motion allowed, steps appear in order. */
.js.motion .phone [data-step] { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.js.motion .phone [data-step].on { opacity: 1; transform: none; }
.js.motion .phone .typing.on { display: inline-flex; }

/* Static lifecycle (fence & pool page hero) */
.life { border: 1px solid var(--line-2); border-radius: 20px; background: var(--night-2); padding: 22px 24px 8px; }
.life-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.life-head b { color: var(--paper); font-weight: 620; }
.life-head span { color: var(--concrete); }
.life ol { list-style: none; margin: 0; padding: 6px 0 0; }
.life li { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px; padding: 14px 0; }
.life li::before { content: ""; position: absolute; left: 9px; top: 34px; bottom: -14px; width: 1px; background: var(--line-2); }
.life li:last-child::before { display: none; }
.life .pt { width: 10px; height: 10px; margin: 6px 0 0 5px; border-radius: 50%; background: var(--fog); }
.life .pt.live { background: var(--ember); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.life .pt.next { background: transparent; border: 1px solid var(--concrete); }
.life b { display: block; color: var(--paper); font-weight: 600; font-size: 15.5px; }
.life span { font-size: 14px; color: var(--concrete); }
.life time { font-size: 13px; color: var(--concrete); font-variant-numeric: tabular-nums; padding-top: 2px; }

/* ---------- Problem: the leaking pipeline ---------- */
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipe.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage { position: relative; padding: 34px 22px 0 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #4a4a4a; }
.stage::after { content: ""; position: absolute; right: 8px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 1px solid #6a6a6a; }
.stage:not(:last-child)::before { right: 28px; }
.stage h3 { margin-bottom: 6px; }
.stage p { font-size: 15px; color: var(--fog); }
.stage .leak { align-self: start; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--concrete); font-size: 14.5px; }
@media (max-width: 960px) {
  .pipe, .pipe.four { grid-template-columns: 1fr; }
  .stage { padding: 0 0 30px 34px; grid-row: auto; grid-template-rows: none; }
  .stage::before { left: 0; right: auto; top: 0; bottom: 18px; width: 2px; height: auto; }
  .stage:not(:last-child)::before { right: auto; }
  .stage::after { left: -5px; right: auto; top: auto; bottom: 0; }
  .stage:last-child { padding-bottom: 0; }
  .stage:last-child::after { display: none; }
}
.pull { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 88px); padding-top: 36px; border-top: 1px solid var(--line); }
.pull p { max-width: 24em; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.25; color: var(--paper); font-weight: 500; letter-spacing: -0.025em; }
.pull p span { color: var(--concrete); }

/* ---------- Method: timeline to scale ---------- */
/* Bars are drawn to scale in days (0, 1-7, 7-14, then monthly); the text sits in four even columns below. */
.track { display: grid; grid-template-columns: 1fr 7fr 7fr 5fr; align-items: end; }
.track > div { position: relative; padding: 0 0 18px; border-left: 1px solid var(--line-2); }
.track > div:last-child { border-right: 0; }
.track span { display: block; padding: 0 0 12px 10px; font-size: 13px; color: var(--concrete); font-variant-numeric: tabular-nums; white-space: nowrap; }
.track .bar { height: 6px; margin: 0 3px; border-radius: 3px; background: #3a3a3a; }
.track .t-audit .bar { width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--paper); }
.track .t-audit span { padding-left: 0; margin-left: -1px; transform: translateX(-2px); }
.track .t-operate .bar { background: repeating-linear-gradient(90deg, #3a3a3a 0 18px, transparent 18px 26px); }
.track-base { height: 1px; background: var(--line-2); }
.desc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.desc h3 { margin-bottom: 8px; }
.desc p { font-size: 15.5px; }
.desc .when { display: none; font-size: 13.5px; color: var(--concrete); }
@media (max-width: 900px) {
  .track, .track-base { display: none; }
  .desc { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .desc > div { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
  .desc > div:last-child { border-bottom: 1px solid var(--line); }
  .desc .when { display: block; grid-row: span 2; padding-top: 3px; }
}

.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-top: clamp(56px, 7vw, 80px); padding: 28px 32px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--night-2); }
.guarantee .big { font-size: clamp(48px, 5vw, 64px); line-height: .9; color: var(--paper); font-weight: 500; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.guarantee .big small { display: block; margin-top: 8px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--concrete); line-height: 1.3; }
.guarantee h3 { margin-bottom: 6px; }
@media (max-width: 640px) { .guarantee { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; } }

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.who a { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 48px); text-decoration: none; background: var(--night); transition: background-color .2s; }
.who a + a { border-left: 1px solid var(--line-2); }
.who a:hover { background: var(--night-2); }
.who a { background: transparent; }
.who .word { font-size: 14px; line-height: 1; color: var(--concrete); font-weight: 500; }
.who h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 540; letter-spacing: -0.03em; line-height: 1.15; max-width: 16em; }
.who p { font-size: 16px; max-width: 30em; }
.who .go { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--paper); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
.who a:hover .go { text-decoration-color: var(--paper); }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; } .who a + a { border-left: 0; border-top: 1px solid var(--line-2); } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; padding: 30px 28px 32px; border-right: 1px solid var(--line); }
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan .name { font-size: 15px; font-weight: 600; color: var(--concrete); }
.plan h3 { font-size: 22px; font-weight: 540; letter-spacing: -0.03em; line-height: 1.15; }
.plan .for { font-size: 15.5px; }
.plan ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; align-content: start; font-size: 15.5px; color: var(--fog); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--concrete); }
.price { align-self: end; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--concrete); }
.price b { color: var(--paper); font-size: 30px; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 0 2px; }
.price .wait { color: var(--paper); font-weight: 600; }
.plan.is-feature { background: var(--night-2); border-radius: 0 0 16px 16px; padding-left: 28px; padding-right: 28px; box-shadow: inset 0 1px 0 #5a5a5a; margin-top: -1px; }
.plan.is-feature .name { color: var(--paper); }
.addon { margin-top: 36px; font-size: 15.5px; color: var(--fog); }
.addon b { color: var(--paper); font-weight: 620; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan { grid-row: auto; grid-template-rows: none; }
  .plan, .plan:first-child, .plan:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .plan.is-feature { padding: 28px 22px; border-radius: 14px; margin: 16px 0; box-shadow: inset 0 0 0 1px var(--line-2); border-bottom: 0; }
}

/* ---------- Report: one page of paper ---------- */
.report-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.report-grid .sec-head { margin: 0; }
.sheet { background: var(--night-2); color: var(--fog); border: 1px solid var(--line-2); border-radius: 14px; padding: clamp(26px, 3.5vw, 40px); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.sheet-head b { font-size: 16px; font-weight: 560; color: var(--paper); }
.sheet-head span { font-size: 13px; color: var(--concrete); }
.sheet-rows { display: grid; }
.srow { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.srow span { font-size: 15.5px; }
.srow div { text-align: right; }
.srow b { display: block; font-size: 28px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; color: var(--paper); font-variant-numeric: tabular-nums; }
.srow small { font-size: 13px; color: var(--concrete); }
.sheet .next { margin-top: 18px; font-size: 15px; line-height: 1.5; }
.sheet .next b { color: var(--paper); }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } .sheet { transform: none; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.founder blockquote { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--paper); font-weight: 540; letter-spacing: -0.04em; text-wrap: balance; }
.founder .body { display: grid; gap: 18px; padding-top: 8px; }
.founder .sig { display: flex; align-items: center; gap: 14px; color: var(--paper); font-weight: 600; }
.founder .sig span { color: var(--concrete); font-weight: 400; }
.founder .sig svg { width: 36px; height: 36px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* ---------- Terms ---------- */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.term { padding-top: 20px; border-top: 1px solid var(--line-2); transition: border-color .2s; }
.term:hover { border-top-color: #5a5a5a; }
.term h3 { margin-bottom: 8px; }
.term p { font-size: 15.5px; }
@media (max-width: 900px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .sec-head { margin: 0; position: sticky; top: 100px; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary:hover { color: #fff; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--paper); font-size: 16.5px; font-weight: 520; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--fog); transition: transform .2s ease; }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa details p { padding: 0 40px 24px 0; font-size: 16px; max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* ---------- Final ---------- */
.final { padding: clamp(96px, 13vw, 168px) 0; border-top: 1px solid var(--line); }
.final-in { display: grid; gap: 28px; justify-items: start; }
.final h2 { font-size: clamp(38px, 4.8vw, 64px); max-width: 13em; }
.final-alt { font-size: 15px; color: var(--concrete); }
.final-alt a { color: var(--fog); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.final-alt a:hover { color: var(--paper); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--concrete); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot .brand svg { height: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; color: var(--fog); }
.foot nav a:hover { color: var(--paper); }
.foot-in > span { margin-left: auto; }
@media (max-width: 760px) { .foot-in > span { margin-left: 0; width: 100%; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.calc-in { display: grid; gap: 26px; padding: clamp(24px, 3.4vw, 40px); align-content: start; }
.calc-f { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-f > span, .calc-f legend { display: flex; justify-content: space-between; gap: 12px; padding: 0; font-size: 15px; color: var(--fog); }
.calc-f legend { margin-bottom: 12px; }
.calc-f output { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; --p: 50%; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--paper) var(--p), #2e2e2e var(--p)); }
.calc input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: #2e2e2e; }
.calc input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--paper); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 4px solid var(--night); box-shadow: 0 0 0 1px #4a4a4a; cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 4px solid var(--night); box-shadow: 0 0 0 1px #4a4a4a; cursor: pointer; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; color: var(--fog); transition: border-color .15s, background-color .15s, color .15s; }
.seg input:checked + span { border-color: var(--paper); color: var(--paper); background: var(--night-3); }
.seg input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }
.calc-out { display: grid; align-content: start; gap: 6px; padding: clamp(24px, 3.4vw, 40px); background: var(--night-2); border-left: 1px solid var(--line-2); }
.calc-out > small { font-size: 14px; color: var(--concrete); }
.calc-big { font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--paper); font-weight: 520; letter-spacing: -0.05em; margin: 4px 0 2px; }
.calc-per { font-size: 15px; color: var(--fog); }
.calc-per strong, .calc-half strong { color: var(--paper); font-weight: 600; }
.calc-break { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.calc-break li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.calc-break b { color: var(--paper); font-weight: 560; white-space: nowrap; }
.calc-half { margin-top: 16px; font-size: 14.5px; color: var(--concrete); }
.calc-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.calc-how { margin-top: 18px; font-size: 13.5px; color: var(--concrete); }
.calc-how summary { cursor: pointer; color: var(--fog); }
.calc-how p { margin-top: 10px; line-height: 1.6; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line-2); } }
@media (max-width: 420px) { .seg { grid-template-columns: 1fr; } }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.final-alt { max-width: 40em; line-height: 1.6; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(80px, 10vw, 128px); }
.legal h1 { font-size: clamp(36px, 4.4vw, 52px); }
.legal-date { margin: 12px 0 32px; font-size: 14px; color: var(--concrete); }
.legal h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal a { color: var(--paper); text-underline-offset: 3px; }

/* ---------- Demo ---------- */
.demo-form { display: grid; gap: 14px; max-width: 520px; width: 100%; }
.demo-f { display: grid; gap: 7px; font-size: 14.5px; color: var(--fog); }
.demo-f input, .demo-f textarea { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--night-2); color: var(--paper); font: inherit; font-size: 16px; resize: vertical; }
.demo-f input:focus, .demo-f textarea:focus { outline: none; border-color: var(--concrete); }
.demo-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-note { font-size: 13.5px; color: var(--concrete); }
.demo-empty { color: var(--concrete); font-size: 14.5px; padding: 20px 4px; }
.demo-hero .duo { padding-bottom: 150px; }
.msg u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; }
.notif[hidden] { display: none; }

/* ---------- Ember pass ---------- */
:root { --spark: #e58a66; --spark-2: #d97757; --spark-deep: #b8583b; --glow: rgba(217,119,87,.16); }
::selection { background: rgba(217,119,87,.35); color: #fff; }
.spark-text { background: linear-gradient(180deg, #f6c2a6 0%, var(--spark) 55%, var(--spark-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero: a low ember glow behind the live thread */
.hero-grid { isolation: isolate; }
.hero .duo::before, .hero .life::before { content: ""; position: absolute; z-index: -1; inset: -12% -18% 4% -10%; background: radial-gradient(closest-side, rgba(217,119,87,.26), rgba(217,119,87,.08) 55%, transparent 100%); filter: blur(10px); pointer-events: none; }
.hero .life { position: relative; }
.phone { box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); }
.clock b { color: var(--spark); }
.booked { border-color: rgba(217,119,87,.35); background: rgba(217,119,87,.06); }
.booked::before { background: var(--spark); box-shadow: 0 0 0 4px rgba(217,119,87,.18); }
.js.motion .booked.on::before { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,138,102,.55); } 70% { box-shadow: 0 0 0 9px rgba(229,138,102,0); } 100% { box-shadow: 0 0 0 0 rgba(229,138,102,0); } }
.life .pt.live { background: var(--spark); box-shadow: 0 0 0 4px rgba(217,119,87,.18); }
.notif-top .notif-app { color: var(--fog); }

/* Leaks: the one place the problem gets colour */
.stage .leak { color: #b5b5b5; padding-left: 16px; position: relative; }
.stage .leak::before { content: ""; position: absolute; left: 0; top: calc(14px + .62em); width: 6px; height: 6px; border-radius: 50%; background: var(--spark-2); }
.pipe .stage:hover::after { border-color: var(--spark); }

/* Money */
.calc-big { background: linear-gradient(180deg, #f6c2a6 0%, var(--spark) 60%, var(--spark-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.calc-out { background: radial-gradient(120% 70% at 0% 0%, rgba(217,119,87,.08), transparent 60%), var(--night-2); }
.guarantee .big { color: var(--spark); }
.guarantee { background: radial-gradient(60% 140% at 0% 50%, rgba(217,119,87,.08), transparent 70%), var(--night-2); }

/* Plans: the featured one is lit from the top */
.plan.is-feature { box-shadow: inset 0 1px 0 var(--spark-2); background: linear-gradient(180deg, rgba(217,119,87,.07), transparent 140px), var(--night-2); }
.plan.is-feature .name { color: var(--spark); }
@media (max-width: 900px) { .plan.is-feature { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 var(--spark-2); } }

/* Trades: the trade name as a big quiet watermark */
.who a { position: relative; overflow: hidden; padding-bottom: clamp(120px, 12vw, 160px); }
.who .word { position: absolute; right: -4px; bottom: -0.22em; font-size: clamp(100px, 11vw, 150px); line-height: 1; font-weight: 640; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px #262626; pointer-events: none; transition: -webkit-text-stroke-color .3s; }
.who a:hover .word { -webkit-text-stroke-color: rgba(217,119,87,.45); }
.who h3, .who p, .who .go { position: relative; }
.who a:hover .go { text-decoration-color: var(--spark); }

/* Report */
.sheet-head span { white-space: nowrap; }
.srow:nth-child(3) b { color: var(--spark); }

/* Final call: the ember, big */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::after { content: ""; position: absolute; z-index: -1; right: max(-200px, calc((100vw - var(--wrap)) / 2 - 220px)); top: 50%; width: clamp(420px, 48vw, 680px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, #fbe0d0 0%, #f0a07e 7%, #e58a66 13%, rgba(217,119,87,.55) 24%, rgba(200,100,70,.22) 42%, rgba(184,88,59,.07) 58%, transparent 70%); pointer-events: none; }
.js.motion .final::after { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .8; transform: translateY(-50%) scale(1); } 50% { opacity: 1; transform: translateY(-50%) scale(1.06); } }
@media (max-width: 900px) { .final::after { width: 380px; right: -170px; top: -40px; transform: none; opacity: .6; } .js.motion .final::after { animation: none; } }

/* Demo: a waiting state that looks alive */
.demo-empty { display: flex; align-items: center; gap: 10px; }
.demo-empty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); flex: none; animation: pulse 2.4s ease-out infinite; }

/* Phones: full-width actions */
@media (max-width: 520px) {
  .hero-ctas, .final-ctas, .calc-ctas { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-ctas .btn, .final-ctas .btn, .calc-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .booked::before, .demo-empty::before, .final::after { animation: none !important; } }
.hero { overflow-x: clip; }
html, body { overflow-x: clip; }

.guarantee .g-fine { margin-top: 8px; font-size: 13.5px; color: var(--concrete); max-width: 46em; }
