/* ==========================================================================
   Boltmoose — automations showcase
   Shop-drawing system: vellum ground, blueprint hairlines, electric-blue wire,
   yellow live signal. One family (Bricolage Grotesque) + Caveat for the
   margin notes a drawing would carry.
   ========================================================================== */

:root {
  /* ground */
  --vellum:    #e7ebf3;
  --vellum-2:  #dbe2ef;
  --white:     #ffffff;

  /* ink */
  --ink:       #0c1540;
  --ink-2:     #3d4669;
  --ink-3:     #555f8c;

  /* live */
  --live:      #1f36c7;
  --live-deep: #16268f;
  --signal:    #ffe55c;
  --hot:       #d92d4a;
  --blush:     #ffc2cc;

  --rule:      #bdc7e6;
  --rule-soft: #d2daee;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pen:  "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --gutter: clamp(18px, 4.5vw, 48px);
  --max: 1180px;
  --r: 5px;
  --shadow: 3px 3px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--vellum);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 2px; }
.panel :focus-visible, .foot :focus-visible, .hero__stage :focus-visible { outline-color: var(--signal); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); font-weight: 700;
  padding: .7rem 1rem; border-radius: var(--r); text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--tight { max-width: 860px; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }

h1 {
  font-size: clamp(2.6rem, 5.9vw, 4.8rem);
  line-height: 0.93;
  font-variation-settings: "wdth" 78;
  font-stretch: 78%;
}
h2 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.0;
  font-variation-settings: "wdth" 84;
  font-stretch: 84%;
}
h3 { font-size: 1.32rem; line-height: 1.22; letter-spacing: -0.015em; }
h4 { font-size: 1.14rem; line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -0.01em; }

.lede { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; max-width: 32rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 1rem; line-height: 1.5; }

.note { font-family: var(--pen); font-weight: 600; font-size: 1.68rem; line-height: 1.12; color: var(--live); }
.note--hot { color: var(--hot); }
.note--signal { color: var(--signal); }
.note--lg { font-size: 2rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: 1.12rem; line-height: 1;
  padding: 1.1rem 1.6rem;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--signal); color: var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--live); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--live); }
.btn--ink:active { box-shadow: 1px 1px 0 var(--live); }
.btn--ghost { background: transparent; box-shadow: none; border-color: var(--ink); }
.btn--ghost:hover { background: var(--white); box-shadow: 3px 3px 0 var(--ink); }
.btn--sm { padding: .72rem 1.1rem; font-size: 1.02rem; }
.actions { display: flex; align-items: center; gap: 1.1rem 1.4rem; flex-wrap: wrap; }

.textlink { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--live); }
.textlink:hover { text-decoration-color: var(--ink); }

/* ---------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .86rem; font-weight: 700; line-height: 1;
  padding: .45rem .6rem; border-radius: 3px;
  border: 1.5px solid var(--ink);
  background: var(--white); color: var(--ink);
  white-space: nowrap;
}
.chip--basic { background: var(--white); }
.chip--growth  { background: var(--signal); }
.chip--pro     { background: var(--blush); }
.chip--hot     { background: var(--hot); color: var(--white); border-color: var(--hot); }
.chip--quiet   { border-color: var(--rule); color: var(--ink-2); background: transparent; font-weight: 600; }

/* ---------------------------------------------------------------- nav */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--vellum) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--rule);
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand__mark { width: 28px; height: 28px; color: var(--live); flex: none; }
.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 1.06rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--live); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav__cta { flex: none; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav__toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: .45rem;
    background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r);
    padding: .5rem .8rem; font-weight: 700; font-size: .92rem; cursor: pointer;
  }
  .nav__links {
    flex-basis: 100%; order: 3; flex-direction: column; align-items: stretch;
    margin-left: 0; gap: 0; display: none; padding-bottom: 10px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .72rem 0; border-bottom: 1px solid var(--rule-soft); }
  .nav__cta { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(44px, 7vw, 92px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(to right, rgba(31,54,199,.07) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(to bottom, rgba(31,54,199,.07) 0 1px, transparent 1px 28px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }

.hero__grid { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,.94fr); gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.35rem; }
.hero__kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); flex: none; }
.hero__kicker span { font-weight: 700; font-size: .95rem; }

h1 .tight { display: block; }
.hero__copy .lede { margin-top: 1.4rem; }
.hero__copy .actions { margin-top: 2rem; }
.hero__scribble { margin-top: 1.9rem; display: flex; align-items: flex-start; gap: .7rem; max-width: 30rem; }
.hero__scribble svg { width: 34px; height: 34px; flex: none; color: var(--live); margin-top: 2px; }

/* hero live stage */
.hero__stage {
  background: var(--ink); color: var(--white);
  border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 8px 8px 0 var(--live);
  padding: 1.1rem 1.1rem 1.25rem;
}
.stage__head { display: flex; align-items: center; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.stage__head h2 { font-size: 1.1rem; font-weight: 700; font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: -0.01em; }
.stage__live { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--signal); }
.stage__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); display: block; }
.is-running .stage__live i { animation: blip 1s steps(2, end) infinite; }
@keyframes blip { 50% { opacity: .25; } }

.steps { display: grid; gap: 0; margin-top: .2rem; }
.step { display: grid; grid-template-columns: 66px 20px minmax(0,1fr); align-items: start; gap: .8rem; padding: .95rem 0; }
.step + .step { border-top: 1px dashed rgba(255,255,255,.14); }
.step__t { font-size: .95rem; font-weight: 700; color: var(--signal); padding-top: 1px; font-variant-numeric: tabular-nums; }
.step__pip { position: relative; width: 20px; height: 20px; }
.step__pip i {
  position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); background: var(--ink); z-index: 1;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.01em; }
.step p { font-size: 1.02rem; line-height: 1.5; color: rgba(255,255,255,.82); margin-top: .18rem; }
.step { opacity: .3; transition: opacity .3s ease; }
.step.is-on { opacity: 1; }
.step.is-on .step__pip i { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(255,229,92,.18); }
.stage__foot { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: 1rem; padding-top: .95rem; border-top: 1px solid rgba(255,255,255,.16); }
.stage__foot .small { color: rgba(255,255,255,.6); }
.btn--stage { background: var(--signal); border-color: var(--signal); box-shadow: 3px 3px 0 rgba(255,255,255,.3); }
.btn--stage:hover { box-shadow: 4px 4px 0 rgba(255,255,255,.4); }

/* ---------------------------------------------------------------- in plain terms */
.plain { background: var(--signal); border-block: 2px solid var(--ink); padding-block: clamp(30px, 4vw, 46px); }
.plain__list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1rem, 3vw, 2.4rem); }
.plain__list li {
  font-size: clamp(1.22rem, 1.9vw, 1.5rem); font-weight: 700; line-height: 1.3;
  letter-spacing: -0.015em; text-wrap: balance;
  padding-top: .9rem; border-top: 2px solid var(--ink);
}
@media (max-width: 760px) {
  .plain__list { grid-template-columns: 1fr; gap: .9rem; }
  .plain__list li { padding-top: .75rem; }
}

/* ---- the chain: a charge that travels the wire and lights each pip ---- */
.chain { position: relative; }
.chain__rail, .chain__charge {
  position: absolute; left: calc(66px + .8rem + 8.5px);
  width: 3px; border-radius: 2px; pointer-events: none;
}
.chain__rail { background: rgba(255,255,255,.16); }
.chain__charge {
  height: 0; transition: height 0ms cubic-bezier(.45,.05,.3,1);
  background: linear-gradient(180deg, rgba(255,229,92,.3) 0%, rgba(255,229,92,.75) 45%, var(--signal) 100%);
  box-shadow: 0 0 10px rgba(255,229,92,.45);
}
.chain__spark {
  position: absolute; left: calc(66px + .8rem + 2px);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--signal); opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 5px rgba(255,229,92,.2), 0 0 22px 6px rgba(255,229,92,.55);
  transition: top 0ms cubic-bezier(.45,.05,.3,1), opacity .3s ease;
}
.is-running .chain__spark { opacity: 1; }

.step__pip i { transform: scale(.82); }
.step.is-on .step__pip i { animation: pop .42s cubic-bezier(.2,1.5,.4,1) forwards; }
@keyframes pop {
  0%   { transform: scale(.82); box-shadow: 0 0 0 0 rgba(255,229,92,.55); }
  55%  { transform: scale(1.32); box-shadow: 0 0 0 11px rgba(255,229,92,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 5px rgba(255,229,92,.18); }
}

.step { opacity: .22; transform: translateY(5px); transition: opacity .34s ease, transform .34s ease; }
.step.is-on { opacity: 1; transform: none; }

.step__num { font-variant-numeric: tabular-nums; color: var(--signal); font-weight: 700; }

.stage__live b { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.4em; display: inline-block; }
.stage__live.is-done { color: #7ae2b4; }
.stage__live.is-done i { background: #7ae2b4; }
[data-chain-done] { opacity: 0; transition: opacity .5s ease; }
[data-chain-done].is-in { opacity: 1; }

@media (max-width: 520px) {
  .chain__rail, .chain__charge { left: calc(66px + .8rem + 8.5px); }
}

/* ---------------------------------------------------------------- band / section */
.band { padding-block: clamp(54px, 8vw, 104px); }
.pagehead + .band { padding-top: clamp(34px, 4.5vw, 62px); }
.band--paper { background: var(--white); border-block: 1.5px solid var(--rule); }
.band--ink { background: var(--ink); color: var(--white); }
.band--ink .lede, .band--ink .muted { color: rgba(255,255,255,.72); }
.band--ink .chip--quiet { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.75); }

.head { max-width: 46rem; }
.head__rule { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.head__rule span { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.head__rule::after { content: ""; flex: 1; height: 0; border-top: 1.5px solid var(--rule); }
.band--ink .head__rule::after { border-color: rgba(255,255,255,.26); }
.head .lede { margin-top: 1.1rem; }

/* ---------------------------------------------------------------- the wire */
.wire { position: relative; margin-top: clamp(2.4rem, 5vw, 4rem); }
.wire__track { position: absolute; left: 0; top: 0; bottom: 0; width: 46px; pointer-events: none; }
.wire__track svg { width: 46px; height: 100%; overflow: visible; }
.wire__line { stroke: rgba(255,255,255,.2); stroke-width: 3; fill: none; }
.wire__live { stroke: var(--signal); stroke-width: 3; fill: none; stroke-linecap: round; }

.wire__stages { list-style: none; margin: 0; padding: 0 0 0 clamp(60px, 7vw, 86px); display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.stage {
  position: relative;
  border: 1.5px solid rgba(255,255,255,.2); border-radius: 6px;
  background: rgba(255,255,255,.035);
  padding: 1.25rem 1.4rem;
  display: grid; grid-template-columns: 118px minmax(0,1fr) auto; gap: .4rem 1.2rem; align-items: baseline;
  transition: border-color .35s ease, background .35s ease, transform .35s ease;
}
.stage__when { font-weight: 700; font-size: 1.05rem; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; transition: color .35s ease; }
.stage__body h3 { font-size: 1.32rem; }
.stage__body p { font-size: 1.1rem; line-height: 1.55; color: rgba(255,255,255,.82); margin-top: .35rem; max-width: 40rem; }
.stage > .chip { align-self: center; }
.stage::before {
  content: ""; position: absolute; left: clamp(-46px, -4.4vw, -40px); top: 1.5rem;
  width: clamp(28px, 4vw, 40px); height: 2px; background: rgba(255,255,255,.2);
  transition: background .35s ease;
}
.stage::after {
  content: ""; position: absolute; left: clamp(-56px, -5.6vw, -50px); top: calc(1.5rem - 5px);
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); background: var(--ink);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.stage.is-live { border-color: rgba(255,229,92,.5); background: rgba(255,229,92,.06); }
.stage.is-live .stage__when { color: var(--signal); }
.stage.is-live::before { background: var(--signal); }
.stage.is-live::after { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 6px rgba(255,229,92,.14); }

@media (max-width: 720px) {
  .stage { grid-template-columns: minmax(0,1fr); }
  .stage > .chip { justify-self: start; margin-top: .5rem; }
  .wire__stages { padding-left: 44px; }
  .stage::before { left: -30px; width: 26px; }
  .stage::after { left: -40px; }
}

/* ---------------------------------------------------------------- modules (the 13) */
.group { margin-top: clamp(2.6rem, 5vw, 4.2rem); }
.group__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: .85rem; border-bottom: 2px solid var(--ink); }
.group__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-variation-settings: "wdth" 88; font-stretch: 88%; letter-spacing: -0.02em; }
.group__head p { margin-left: auto; font-size: 1.05rem; color: var(--ink-2); }

.mods { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }
.mod { grid-column: span 3; display: flex; flex-direction: column; }
.mod--wide { grid-column: span 6; }
.mod--half { grid-column: span 3; }
.mod--third { grid-column: span 2; }
@media (max-width: 900px) { .mod, .mod--half, .mod--third, .mod--wide { grid-column: span 6; } }

.card {
  background: var(--white);
  border: 2px solid var(--ink); border-radius: 7px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex; flex-direction: column; gap: .85rem; height: 100%;
}
.card__top { display: flex; align-items: flex-start; gap: .8rem; }
.card__top h4 { flex: 1; font-size: 1.24rem; }
.card__does { font-size: 1.08rem; color: var(--ink-2); line-height: 1.55; }
.card__why { font-family: var(--pen); font-weight: 600; font-size: 1.42rem; line-height: 1.2; color: var(--live); }
.card__demo { margin-top: .1rem; }

/* demo shell */
.demo {
  border: 1.5px solid var(--rule); border-radius: 6px;
  background: var(--vellum);
  padding: .95rem;
  position: relative;
}
.demo--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.demo__bar { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; }
.demo__bar .small { color: var(--ink-3); }
.demo--ink .demo__bar .small { color: rgba(255,255,255,.55); }
.run {
  display: inline-flex; align-items: center; gap: .45rem; flex: none; white-space: nowrap;
  min-height: 44px;
  background: var(--ink); color: var(--white);
  border: 1.5px solid var(--ink); border-radius: 4px;
  padding: .5rem .85rem; font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.run:hover { background: var(--live); border-color: var(--live); }
.run[aria-disabled="true"] { opacity: .45; cursor: default; }
.demo--ink .run { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.demo--ink .run:hover { background: var(--white); border-color: var(--white); }

/* ---- phone frame */
.phone {
  background: var(--ink); border-radius: 18px; border: 2px solid var(--ink);
  padding: .55rem .5rem .7rem; max-width: 282px; margin-inline: auto;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: .1rem .5rem .45rem; font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.phone__screen { background: #10194a; border-radius: 12px; padding: .5rem; min-height: 168px; display: flex; flex-direction: column; gap: .45rem; }

.notif {
  background: var(--white); color: var(--ink); border-radius: 10px; padding: .55rem .6rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(-14px) scale(.97);
  transition: opacity .34s ease, transform .34s cubic-bezier(.2,.9,.3,1.1);
}
.notif.is-in { opacity: 1; transform: none; }
.notif__top { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 700; color: var(--ink-2); }
.notif__top i { width: 14px; height: 14px; border-radius: 3px; background: var(--live); flex: none; }
.notif__top time { margin-left: auto; font-variant-numeric: tabular-nums; }
.notif strong { display: block; font-size: 1rem; margin-top: .22rem; letter-spacing: -0.01em; }
.notif span { display: block; font-size: .92rem; color: var(--ink-2); line-height: 1.42; }
.notif__act { display: flex; gap: .35rem; margin-top: .5rem; }
.notif__act b { font-size: .74rem; font-weight: 700; padding: .28rem .5rem; border-radius: 4px; background: var(--signal); }
.notif__act b:last-child { background: var(--vellum-2); }

/* sms bubbles */
.sms { display: flex; flex-direction: column; gap: .4rem; }
.bub {
  max-width: 86%; padding: .55rem .7rem; border-radius: 13px; font-size: .95rem; line-height: 1.42;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.bub.is-in { opacity: 1; transform: none; }
.bub--in { align-self: flex-start; background: rgba(255,255,255,.14); color: #fff; border-bottom-left-radius: 4px; }
.bub--out { align-self: flex-end; background: var(--signal); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 500; }
.bub--miss { align-self: stretch; max-width: 100%; background: rgba(217,45,74,.18); border: 1px solid rgba(217,45,74,.55); color: #ffd3da; text-align: center; font-weight: 700; border-radius: 8px; }
.bub time { display: block; font-size: .68rem; opacity: .75; margin-top: .2rem; font-variant-numeric: tabular-nums; }

.ringing { animation: ring .45s ease-in-out 5; }
@keyframes ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

/* ---- quote calculator */
.calc { display: grid; gap: .8rem; }
.calc__fields { display: grid; gap: .8rem; }
.mod--wide .calc__fields { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem 1rem; align-items: start; }
.mod--wide .total { margin-top: .2rem; }
.calc__tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.calc__tabs button {
  background: var(--white); border: 1.5px solid var(--rule); border-radius: 4px;
  min-height: 44px; padding: .5rem .85rem; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.calc__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.field { display: grid; gap: .3rem; }
.field > label, .field > span.lab { font-size: .95rem; font-weight: 700; color: var(--ink-2); }
.field select, .field input[type="number"] {
  font: inherit; font-size: 1.05rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 4px; padding: .5rem .55rem; width: 100%;
}
.field__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.field__val { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: var(--vellum-2); border: 1.5px solid var(--ink); border-radius: 99px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; background: var(--signal); border: 2px solid var(--ink); border-radius: 50%; }
input[type="range"]::-moz-range-track { height: 6px; background: var(--vellum-2); border: 1.5px solid var(--ink); border-radius: 99px; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--signal); border: 2px solid var(--ink); border-radius: 50%; }

.opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.opt { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); border: 1.5px solid var(--rule); border-radius: 4px; min-height: 44px; padding: .5rem .75rem; font-size: 1rem; font-weight: 600; cursor: pointer; }
.opt input { accent-color: var(--live); margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--signal); }

.total { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--ink); padding-top: .7rem; }
.total__lab { font-size: .98rem; font-weight: 700; color: var(--ink-2); max-width: 15rem; line-height: 1.35; }
.total__num { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 84; }
.total__num.is-bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: translateY(-3px) scale(1.03); color: var(--live); } }

/* ---- email card */
.mail { background: var(--white); border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; }
.demo--ink .mail { border-color: rgba(255,255,255,.25); }
.mail__head { padding: .55rem .7rem; border-bottom: 1px solid var(--rule-soft); background: var(--vellum); }
.mail__head b { display: block; font-size: .9rem; letter-spacing: -0.01em; }
.mail__head span { font-size: .78rem; color: var(--ink-2); }
.mail__body { padding: .7rem; display: grid; gap: .45rem; color: var(--ink); }
.mail__body p { font-size: .98rem; line-height: 1.5; opacity: 0; transform: translateY(5px); transition: opacity .3s ease, transform .3s ease; }
.mail__body p.is-in { opacity: 1; transform: none; }
.mail__sum { background: var(--vellum); border-left: 3px solid var(--live); padding: .45rem .55rem; font-size: .85rem; }
.mail__sum b { font-variant-numeric: tabular-nums; }

/* ---- booking grid */
.cal { display: grid; gap: .5rem; }
.cal__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.cal__col { display: grid; gap: .35rem; }
.cal__col > b { font-size: .78rem; text-align: center; padding-bottom: .15rem; border-bottom: 1.5px solid var(--rule); }
.slot {
  background: var(--white); border: 1.5px solid var(--rule); border-radius: 4px;
  min-height: 44px; padding: .5rem .2rem; font-size: .95rem; font-weight: 700; cursor: pointer; text-align: center;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.slot:hover:not([disabled]) { border-color: var(--ink); transform: translateY(-1px); }
.slot[disabled] { opacity: .3; cursor: default; text-decoration: line-through; }
.slot.is-picked { background: var(--signal); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.confirm {
  display: grid; gap: .25rem; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--signal);
  padding: .55rem .65rem; font-size: .86rem;
  max-height: 0; opacity: 0; padding-block: 0; border-width: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, padding .35s ease, border-width .2s ease;
}
.confirm.is-in { max-height: 160px; opacity: 1; padding-block: .55rem; border-width: 1.5px; }
.confirm b { font-size: .92rem; }

/* ---- nudge timeline */
.nudge { display: grid; gap: 0; }
.nrow { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: .7rem; padding: .55rem 0; align-items: start; opacity: .28; transition: opacity .35s ease; }
.nrow + .nrow { border-top: 1px dashed var(--rule); }
.nrow.is-on { opacity: 1; }
.nrow b { font-size: .92rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.nrow.is-on b { color: var(--live); }
.nrow p { font-size: .98rem; line-height: 1.45; }
.nrow--win p { font-weight: 700; }
.nrow--win.is-on { background: var(--signal); margin-inline: -.3rem; padding-inline: .3rem; border-radius: 4px; }

/* ---- stars / review */
.stars { display: flex; gap: .2rem; }
.stars svg { width: 22px; height: 22px; color: var(--rule); transition: color .2s ease, transform .2s ease; }
.demo--ink .stars svg { color: rgba(255,255,255,.22); }
.stars svg.is-on, .demo--ink .stars svg.is-on { color: var(--signal); transform: scale(1.08); }
.review { background: var(--white); border: 1.5px solid var(--ink); border-radius: 5px; padding: .6rem .65rem; color: var(--ink); opacity: 0; transform: translateY(10px) rotate(-.6deg); transition: opacity .35s ease, transform .4s cubic-bezier(.2,.9,.3,1.1); }
.review.is-in { opacity: 1; transform: rotate(-.6deg); }
.review p { font-size: .86rem; line-height: 1.4; margin-top: .3rem; }
.review__who { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; }
.review__who i { width: 22px; height: 22px; border-radius: 50%; background: var(--blush); border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: .7rem; font-style: normal; flex: none; }
.ratebox { display: flex; align-items: center; gap: .7rem; margin-top: .6rem; }
.ratebox strong { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ---- seasonal dial */
.seasons { display: flex; gap: .35rem; flex-wrap: wrap; }
.seasons button { background: var(--white); border: 1.5px solid var(--rule); border-radius: 4px; min-height: 44px; padding: .5rem .85rem; font-weight: 700; font-size: 1rem; cursor: pointer; }
.seasons button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.season__out { margin-top: .7rem; display: grid; gap: .4rem; }
.season__out .bub--out { align-self: stretch; max-width: 100%; }

/* ---- gbp post */
.post { background: var(--white); border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; }
.post__img { height: 86px; background: linear-gradient(135deg, var(--live) 0%, var(--live-deep) 60%, var(--ink) 100%); position: relative; }
.post__img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 8px, transparent 8px 16px); }
.post__img b { position: absolute; left: .6rem; bottom: .5rem; color: var(--signal); font-family: var(--pen); font-size: 1.3rem; font-weight: 600; }
.post__body { padding: .6rem .65rem; }
.post__body h5 { margin: 0; font-size: .9rem; font-weight: 700; letter-spacing: -0.01em; }
.post__body p { font-size: .83rem; color: var(--ink-2); line-height: 1.4; margin-top: .2rem; }
.post__meta { display: flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 700; color: var(--ink-3); margin-top: .5rem; }
.post.is-swap { animation: swap .45s ease; }
@keyframes swap { 0% { opacity: 0; transform: translateX(14px); } 100% { opacity: 1; transform: none; } }
.ticks { display: flex; gap: .25rem; margin-top: .55rem; max-width: 108px; }
.ticks i { flex: 1; height: 3px; background: var(--rule); border-radius: 2px; }
.ticks i.is-on { background: var(--live); }

/* ---- report table */
.report { display: grid; gap: 0; }
.rrow { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: .7rem; align-items: center; padding: .55rem 0; font-size: .98rem; }
.rrow + .rrow { border-top: 1px solid var(--rule-soft); }
.rrow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow b { font-variant-numeric: tabular-nums; font-weight: 800; }
.rrow em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--live); font-variant-numeric: tabular-nums; }
.rrow em.down { color: var(--hot); }

/* ---- monitor */
.mon { display: grid; gap: .45rem; }
.mrow { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: .6rem; align-items: center; font-size: .98rem; }
.mrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.mrow.is-ok i { background: #19a974; box-shadow: 0 0 0 4px rgba(25,169,116,.18); }
.mrow b { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .85rem; }
.mrow.is-ok b { color: var(--ink); }
.demo--ink .mrow.is-ok b { color: var(--white); }
.heart { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: .5rem; }
.heart i { flex: 1; background: var(--live); border-radius: 1px; height: 20%; transition: height .3s ease; }

/* ---- inbox */
.inbox { display: grid; gap: 0; }
.irow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .6rem; align-items: center; padding: .5rem 0; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.irow + .irow { border-top: 1px solid var(--rule-soft); }
.irow.is-in { opacity: 1; transform: none; }
.irow b { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.irow span { font-size: .92rem; color: var(--ink-2); }
.counter { font-size: .85rem; font-weight: 700; }
.counter b { font-variant-numeric: tabular-nums; }

/* ---- deposit flip */
.flip { perspective: 900px; }
.flip__inner { position: relative; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,.1,.2,1); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { backface-visibility: hidden; background: var(--white); border: 1.5px solid var(--ink); border-radius: 5px; padding: .7rem; color: var(--ink); }
.flip__face--back { position: absolute; inset: 0; transform: rotateY(180deg); display: grid; gap: .3rem; align-content: center; }
.qline { display: flex; justify-content: space-between; font-size: .86rem; padding: .22rem 0; font-variant-numeric: tabular-nums; }
.qline--sum { border-top: 1.5px solid var(--ink); margin-top: .25rem; padding-top: .4rem; font-weight: 800; font-size: .98rem; }
.receipt { text-align: center; }
.receipt svg { width: 34px; height: 34px; margin-inline: auto; color: #19a974; }
.receipt b { display: block; font-size: 1.3rem; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.receipt span { font-size: .84rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- numbers band */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem clamp(1.2rem,3vw,2.6rem); margin-top: clamp(2rem,4vw,3rem); }
.fig { border-top: 2px solid var(--ink); padding-top: .85rem; }
.band--ink .fig { border-color: rgba(255,255,255,.3); }
.fig b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: .92; font-variation-settings: "wdth" 80; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.fig p { font-size: 1.08rem; line-height: 1.5; margin-top: .55rem; max-width: 22rem; }

/* ---------------------------------------------------------------- trades */
.tradelist { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: clamp(1.8rem,3.5vw,2.8rem); }
.trade { background: var(--white); border: 2px solid var(--ink); border-radius: 7px; box-shadow: var(--shadow); padding: 1.15rem 1.2rem 1.3rem; display: grid; gap: .8rem; align-content: start; }
.trade > h3 { font-size: 1.28rem; font-variation-settings: "wdth" 90; font-stretch: 90%; }
.trade__lede { font-family: var(--pen); font-weight: 600; font-size: 1.45rem; line-height: 1.16; color: var(--live); }
.trade dl { display: grid; gap: .55rem; align-content: start; }
.trade dt { font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.trade dd { margin: 0; }
.trade dd ul { display: grid; gap: .3rem; align-content: start; }
.trade dd li { position: relative; padding-left: 1.15rem; font-size: 1.02rem; line-height: 1.5; }
.trade dd li::before { content: ""; position: absolute; left: 0; top: .52em; width: 7px; height: 7px; border: 1.5px solid var(--live); border-radius: 50%; }
.trade dd li.runs::before { border-radius: 1px; background: var(--signal); border-color: var(--ink); }
.formula { background: var(--vellum); border: 1.5px dashed var(--rule); border-radius: 5px; padding: .6rem .7rem; }
.formula b { font-size: .8rem; display: block; color: var(--ink-2); }
.formula ul { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .35rem; }
.formula li { font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.trade dd ul.searches { display: flex; flex-wrap: wrap; gap: .3rem; }
.trade dd .searches li::before { content: none; }
.trade dd .searches li { font-size: .82rem; background: var(--vellum); border: 1px solid var(--rule); border-radius: 99px; padding: .25rem .6rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1rem,2vw,1.5rem); margin-top: clamp(1.8rem,3.5vw,2.6rem); align-items: start; }
.plan { background: var(--white); border: 2px solid var(--ink); border-radius: 7px; box-shadow: var(--shadow); padding: 1.3rem; display: grid; gap: .85rem; align-content: start; position: relative; }
.plan--basic { background: var(--white); }
.plan--growth { background: var(--signal); }
.plan--pro { background: var(--blush); }
.plan__flag { position: absolute; top: -.85rem; left: 1.1rem; background: var(--ink); color: var(--white); font-size: .76rem; font-weight: 700; padding: .3rem .55rem; border-radius: 3px; }
.plan h3 { font-size: 1.5rem; font-variation-settings: "wdth" 88; font-stretch: 88%; }
.plan__for { font-size: 1.08rem; color: var(--ink-2); line-height: 1.55; }
.plan--growth .plan__for, .plan--pro .plan__for { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.price { display: flex; align-items: baseline; gap: .4rem; }
.price b { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 82; font-stretch: 82%; }
.price span { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.price__then { font-size: 1.02rem; line-height: 1.4; color: var(--ink-2); margin-top: -.35rem; }
.price__then b { color: var(--ink); }
.plan ul { display: grid; gap: .45rem; }
.plan li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: .55rem; font-size: 1.05rem; line-height: 1.5; }
.plan li svg { width: 16px; height: 16px; margin-top: .18em; color: var(--live); }
.billing { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; margin-top: 1.4rem; box-shadow: var(--shadow); }
.billing button { background: var(--white); border: 0; padding: .6rem 1rem; font-weight: 700; font-size: .93rem; cursor: pointer; }
.billing button + button { border-left: 2px solid var(--ink); }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.matrix-wrap { overflow-x: auto; margin-top: clamp(2rem,4vw,3rem); border: 2px solid var(--ink); border-radius: 7px; background: var(--white); }
table.matrix { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 1.04rem; }
.matrix th, .matrix td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--rule-soft); }
.matrix thead th { background: var(--ink); color: var(--white); font-size: .88rem; position: sticky; top: 0; }
.matrix tbody th { font-weight: 600; width: 46%; }
.matrix td { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.matrix tr.grouprow th { background: var(--vellum); font-weight: 800; font-size: .86rem; }
.matrix svg.yes { width: 17px; height: 17px; color: var(--live); margin-inline: auto; }
.matrix .no { color: var(--ink-3); }

/* ---------------------------------------------------------------- faq */
.faq { margin-top: clamp(1.6rem,3vw,2.4rem); border-top: 2px solid var(--ink); max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; font-weight: 700; font-size: 1.18rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.35rem; width: 11px; height: 11px; border-right: 2.5px solid var(--live); border-bottom: 2.5px solid var(--live); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 1.1rem; max-width: 52rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- form */
.form { display: grid; gap: 1rem; background: var(--white); border: 2px solid var(--ink); border-radius: 7px; box-shadow: var(--shadow); padding: clamp(1.2rem,3vw,2rem); }
.form__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px,1fr)); gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .98rem; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1.12rem; background: var(--vellum);
  border: 1.5px solid var(--ink); border-radius: 4px; padding: .65rem .7rem; width: 100%;
}
.form textarea { min-height: 110px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--ink-2); }
.form__ok { display: none; background: var(--signal); border: 1.5px solid var(--ink); border-radius: 5px; padding: .8rem; font-weight: 700; }
.form__ok.is-in { display: block; }

/* ---------------------------------------------------------------- cta */
.cta { background: var(--live); color: var(--white); padding-block: clamp(50px,7vw,90px); }
.cta h2 { max-width: 24ch; }
.cta p { margin-top: 1rem; max-width: 34rem; color: rgba(255,255,255,.88); font-size: 1.3rem; line-height: 1.5; }
.cta .actions { margin-top: 2rem; }
.cta .btn--ghost { color: var(--white); border-color: var(--white); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: 3px 3px 0 rgba(255,255,255,.4); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--white); padding-block: clamp(42px,6vw,72px) 2rem; }
.foot .brand__mark { color: var(--signal); }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__about p { margin-top: .8rem; font-size: 1.04rem; color: rgba(255,255,255,.74); max-width: 30ch; line-height: 1.5; }
.foot h2 { font-size: .88rem; font-weight: 700; font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--signal); }
.foot ul { margin-top: .7rem; display: grid; gap: .45rem; }
.foot ul a { font-size: 1.04rem; color: rgba(255,255,255,.85); text-decoration: none; }
.foot ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot__base { margin-top: clamp(2rem,4vw,3rem); padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.18); display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; font-size: .86rem; color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------------- page head */
.pagehead { padding-top: clamp(38px,6vw,70px); padding-bottom: clamp(30px,4vw,52px); }
.pagehead h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 20ch; }
.pagehead .lede { margin-top: 1.3rem; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .step, .nrow, .irow { opacity: 1 !important; transform: none !important; }
  .step__pip i { transform: scale(1) !important; }
  .chain__spark { display: none; }
  [data-chain-done] { opacity: 1 !important; }
  .notif, .bub, .mail__body p, .review, .confirm { opacity: 1 !important; transform: none !important; }
  .confirm { max-height: 160px; padding-block: .55rem; border-width: 1.5px; }
}
