/* =========================================================
   Iron Log · Landing page
   Visual language inherited from the prototype: machined
   graphite, mono numerals, engraved labels, one lume accent.
   No gradients-as-decoration. No glows.
   ========================================================= */

:root {
  --ink: #16181c;
  --ink-2: #1c1f24;
  --panel: #20242a;
  --panel-2: #262b32;
  --hair: #333942;
  --hair-soft: #2a2f36;
  --steel: #6b7178;
  --steel-2: #9aa1a9;
  --paper: #e7e3da;
  --paper-dim: #b9b6ad;
  --lume: #e8a13a;
  --lume-dim: #8a6526;
  --blue: #5f8fc7;
  --blue-dim: #3a566f;
  --red: #cf6a55;
  --red-dim: #7e4135;
  --stage: #0e0f12;
  --radius: 6px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 50% -8%, #15171b 0%, var(--stage) 55%) fixed,
    var(--stage);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
button { font: inherit; }
::selection { background: var(--lume); color: #1a140a; }

/* Shared barbell mark, drawn from the app icon */
.page-nav__mark,
.page-mark {
  display: inline-block;
  background: var(--ink) url("./prototype/icon.svg") center / contain no-repeat;
  border: 1px solid var(--hair);
  border-radius: 5px;
  flex-shrink: 0;
}
.page-nav__mark { width: 22px; height: 22px; }
.page-mark { width: 56px; height: 56px; border-radius: 13px; }
.page-mark--lg { width: 84px; height: 84px; border-radius: 19px; border: 0; }

/* =========================================================
   Page chrome
   ========================================================= */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 40px);
  font-size: 12px;
  color: var(--steel-2);
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--hair-soft);
}
.page-nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 14px;
}
.page-nav__meta { display: flex; align-items: center; gap: 10px; }
.page-nav__meta .sep { color: var(--hair); }
.page-nav__link {
  color: var(--lume);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .15s;
}
.page-nav__link:hover { opacity: .7; }

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px) 40px;
}

/* =========================================================
   Shared type / eyebrow / CTA
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel-2);
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--ink-2);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lume);
  position: relative;
}
.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lume);
  opacity: 0;
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0% { transform: scale(0.8); opacity: .55; }
  100% { transform: scale(2.4); opacity: 0; }
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--hair);
  transition: transform .12s var(--ease), background .15s, border-color .15s;
}
.cta:active { transform: translateY(1px); }
.cta--primary {
  background: var(--lume);
  color: #1a140a;
  border-color: var(--lume);
  font-weight: 600;
}
.cta--primary:hover { background: #f0ad48; border-color: #f0ad48; }
.cta--primary svg { stroke: currentColor; }
.cta--ghost {
  background: var(--ink-2);
  color: var(--paper);
}
.cta--ghost:hover { background: var(--panel); border-color: var(--steel); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
}
.hero__left .page-mark { display: block; margin-bottom: 22px; }
.hero__title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 20px 0 24px;
}
.hero__title em { font-style: normal; font-weight: 300; color: var(--lume); }
.hero__lede {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 54ch;
  margin: 0 0 32px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__hint {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--steel);
  margin: 16px 0 0;
}
.hero__stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hair-soft);
}
.hero__stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats span {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--lume);
  letter-spacing: -.02em;
}
.hero__stats small {
  font-size: 12px;
  color: var(--steel-2);
  max-width: 14ch;
  line-height: 1.4;
}

.hero__right { display: flex; flex-direction: column; align-items: center; }
.hero__caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--steel);
  margin: 18px 0 0;
  transition: color .2s;
}

/* =========================================================
   Phone frame
   ========================================================= */
.phone {
  --phone-w: 340px;
  width: var(--phone-w);
  max-width: 88vw;
}
.phone--hero { --phone-w: 320px; }
.phone--featured { --phone-w: 360px; }
.phone__bezel {
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2e34, #111317);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 40px 90px -34px rgba(0,0,0,.85),
    0 0 0 1px #000;
}
.phone__screen {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  background: var(--ink);
  height: 680px;
  display: flex;
  flex-direction: column;
}
.phone--featured .phone__screen { height: 720px; }
.phone--hero .phone__screen { height: 600px; }

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px;
  color: var(--paper-dim);
  flex-shrink: 0;
}
.status__time { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.status__icons { display: flex; gap: 7px; align-items: center; }
.status__icons svg { fill: var(--paper-dim); }

/* engraved label */
.etch {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
}
.etch--live { color: var(--lume); }
.etch--blue { color: var(--blue); }

/* Screen body inside the phone */
.mock {
  flex: 1;
  padding: 8px 18px 18px;
  overflow: hidden;
}
.mock--scroll { overflow: hidden; }

.mock-face { padding: 12px 2px 16px; }
.mock-face__row { display: flex; justify-content: space-between; align-items: center; }
.mock-face__date {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-top: 8px;
  color: var(--paper);
}
.mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}
.mock-foot {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: .02em;
  line-height: 1.5;
  margin: 12px 0 0;
}

/* runway meter */
.runway-meter { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.runway-meter__track {
  flex: 1; height: 4px; border-radius: 3px;
  background: var(--hair-soft); overflow: hidden;
}
.runway-meter__fill {
  display: block; height: 100%; width: 0; background: var(--lume);
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}

/* blueprint block */
.bp {
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  background: var(--ink-2);
  margin-bottom: 12px;
  overflow: hidden;
}
.bp__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px 8px;
}
.bp__name { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.bp__ref { font-family: var(--mono); font-size: 10px; color: var(--steel); letter-spacing: .03em; }
.bp__rows { padding: 0 8px 8px; }

/* set row */
.row {
  display: grid;
  grid-template-columns: 26px 1fr 1fr 16px;
  align-items: center;
  gap: 6px;
  padding: 9px 6px;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background .14s;
}
.row + .row { border-top: 1px solid var(--hair-soft); }
.row:hover { background: rgba(255,255,255,.02); }
.row__tick {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid var(--steel);
  justify-self: center;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s, background .18s;
}
.row__tick svg { width: 10px; height: 10px; opacity: 0; transition: opacity .18s; stroke: var(--ink); }
.num {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
  position: relative;
  padding: 2px 0;
}
.num .unit { font-size: 10px; color: var(--steel); margin-left: 3px; letter-spacing: 0; }
.num::after {
  content: "";
  position: absolute;
  left: 0; right: 30%; bottom: -1px; height: 1px;
  background: repeating-linear-gradient(to right, var(--hair) 0 3px, transparent 3px 6px);
  opacity: .7;
}

/* penciled */
.row--ghost .num { color: var(--paper-dim); opacity: .42; }
.row--ghost .num .unit { opacity: .8; }
/* base (interactive demo) rows render penciled until struck */
#hero-runway .row .num,
#demo-runway .row .num { color: var(--paper-dim); opacity: .42; }
#hero-runway .row .num .unit,
#demo-runway .row .num .unit { opacity: .8; }

/* struck */
.row--struck { background: rgba(232,161,58,.05); }
.row--struck .row__tick { border-color: var(--lume); background: var(--lume); }
.row--struck .row__tick svg { opacity: 1; }
.row--struck .num { color: var(--paper) !important; opacity: 1 !important; }
.row--struck .num::after { opacity: 0; }
.row--pr .num { color: var(--lume) !important; }

@keyframes detent { 0% { transform: scale(.99); } 55% { transform: scale(1.012); } 100% { transform: none; } }
.row--snap { animation: detent .2s ease; }

/* tab bar (static, decorative) */
.tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(20,22,26,.86);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  padding: 9px 6px 12px;
  flex-shrink: 0;
}
.tabbar__btn {
  background: none; border: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 6px 0;
  color: var(--steel);
}
.tabbar__btn svg { stroke: var(--steel); }
.tabbar__btn.is-active svg { stroke: var(--lume); }

/* console (System Report) */
.console {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #101216;
  padding: 15px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--paper-dim);
  white-space: pre-wrap;
}
.console .c-head { color: var(--lume); letter-spacing: .04em; }
.console .c-dim { color: var(--steel); }
.console .c-blue { color: var(--blue); }
.console .c-hi { color: var(--paper); }
.console .c-rule { color: var(--hair); }
.console .c-tag { color: var(--lume); letter-spacing: .1em; font-weight: 600; }
.console .c-tag--blue { color: var(--blue); }
.console .c-tag--steel { color: var(--steel); }
.console .cursor {
  display: inline-block; width: 7px; height: 13px; background: var(--lume);
  vertical-align: -2px; animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* block (Patterns) */
.block {
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 14px 15px;
  margin-bottom: 14px;
}
.block__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
}
.cal__cell { aspect-ratio: 1; border-radius: 2px; background: var(--panel); }
.cal__cell[data-lvl="0"] { background: #1b1e23; }
.cal__cell[data-lvl="1"] { background: var(--lume-dim); opacity: .55; }
.cal__cell[data-lvl="2"] { background: var(--lume-dim); }
.cal__cell[data-lvl="3"] { background: var(--lume); }
.cal__legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.cal__scale {
  width: 60px; height: 8px; border-radius: 2px;
  background: linear-gradient(to right, #1b1e23, var(--lume-dim), var(--lume));
}
.vol { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.vol__bar { flex: 1; background: var(--hair); border-radius: 2px 2px 0 0; min-height: 3px; }
.vol__bar--now { background: var(--blue); }
.obs { list-style: none; padding: 0; margin: 0; }
.obs li {
  padding: 11px 0 11px 16px;
  border-top: 1px solid var(--hair-soft);
  font-size: 13px;
  color: var(--paper-dim);
  line-height: 1.5;
  position: relative;
}
.obs li:first-child { border-top: 0; }
.obs li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--lume);
}
.obs .mono { font-family: var(--mono); color: var(--paper); }

/* lift detail */
.field--select-mock {
  font-family: var(--mono); font-size: 14px; color: var(--paper);
  background: var(--ink-2); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 11px 13px; margin-bottom: 16px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat {
  border: 1px solid var(--hair-soft); border-radius: var(--radius);
  background: var(--ink-2); padding: 12px;
}
.stat .etch { display: block; }
.stat__v { font-family: var(--mono); font-size: 22px; font-weight: 400; margin-top: 8px; letter-spacing: -.02em; }
.stat__v .unit { font-size: 11px; color: var(--steel); margin-left: 2px; }
.stat--best .stat__v { color: var(--lume); }
.trendline { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin: 6px 0 4px; }
.trendline__bar { flex: 1; background: var(--hair); border-radius: 2px 2px 0 0; min-height: 3px; }
.trendline__bar--peak { background: var(--blue); }
.histlist { list-style: none; padding: 0; margin: 6px 0 0; }
.histlist li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-top: 1px solid var(--hair-soft);
  font-family: var(--mono); font-size: 13px;
}
.histlist li .when { color: var(--steel); font-size: 11px; }

/* archive */
.entry {
  border: 1px solid var(--hair-soft); border-radius: var(--radius);
  background: var(--ink-2); margin-bottom: 10px; overflow: hidden;
}
.entry__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 14px;
}
.entry__date { font-family: var(--mono); font-size: 14px; color: var(--paper); }
.entry__meta { font-family: var(--mono); font-size: 10.5px; color: var(--steel); letter-spacing: .04em; }
.entry__body { padding: 0 14px 12px; }
.entry__ex { padding: 8px 0; border-top: 1px solid var(--hair-soft); }
.entry__ex-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.entry__ex-sets { font-family: var(--mono); font-size: 12px; color: var(--paper-dim); letter-spacing: .02em; }

/* =========================================================
   Interactive demo section
   ========================================================= */
.demo {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hair-soft);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.demo__title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 18px 0 18px;
}
.demo__title em { font-style: normal; font-weight: 300; color: var(--lume); }
.demo__lede { font-size: 15.5px; line-height: 1.6; color: var(--paper-dim); max-width: 42ch; margin: 0; }

.demo-runway {
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--ink);
  padding: 18px 18px 20px;
}
.demo-runway__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}
.demo__foot {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: .02em;
  margin: 18px 0 0;
  text-align: center;
}
.demo__foot strong { color: var(--paper); font-weight: 600; }

/* =========================================================
   App-accurate mocks: lift board + per-lift stepper entry
   Ported from the prototype so the landing matches the app.
   ========================================================= */
.lift-glyph {
  display: block; width: 18px; height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--g) center / contain no-repeat;
  mask: var(--g) center / contain no-repeat;
}

/* date · time header used on the Today screen */
.mk-head { padding: 4px 2px 0; }
.mk-date {
  font-family: var(--mono); font-size: 26px; font-weight: 500;
  letter-spacing: -.01em; color: var(--paper); line-height: 1.1;
}
.mk-day {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-2);
}
.mk-back {
  display: inline-block; margin: 14px 0 2px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--steel);
}
.mk-back:hover { color: var(--lume); }

.mk-dayrow {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 2px 10px;
}
.mk-dayrow__name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--paper); }
.mk-dayrow__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: var(--steel); text-transform: uppercase;
}

/* The board: a grid of lift tiles */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board-tile {
  position: relative;
  border: 1px solid var(--hair-soft); border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color .14s, background .14s, transform .08s;
}
.board-tile:hover { border-color: var(--hair); background: var(--panel); }
.board-tile:active { transform: scale(.985); }
.board-tile__open {
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  width: 100%; background: none; border: 0; padding: 14px; min-height: 152px;
  color: inherit; font: inherit;
}
.board-tile__menu {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border: 0; background: none;
  color: var(--steel); font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; cursor: pointer;
}
.board-tile__menu:hover { color: var(--steel-2); background: var(--panel); }
.board-tile__icon {
  width: 56px; height: 56px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--hair-soft); color: var(--steel-2);
}
.board-tile:hover .board-tile__icon { color: var(--lume); border-color: var(--lume-dim); }
.board-tile__icon .lift-glyph { width: 32px; height: 32px; }
.board-tile__name {
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  color: var(--paper); line-height: 1.25; margin-bottom: auto;
}
.board-tile__meta {
  font-family: var(--mono); font-size: 11px; color: var(--steel-2);
  letter-spacing: .02em; margin-top: 8px;
}
.board-tile__ref {
  font-family: var(--mono); font-size: 10px; color: var(--steel);
  letter-spacing: .03em; margin-top: 3px;
}
.board-tile.is-done {
  border-color: var(--lume-dim); background: rgba(232,161,58,.06);
}
.board-tile.is-done .board-tile__icon { color: var(--lume); border-color: var(--lume-dim); }
.board-tile.is-done .board-tile__meta { color: var(--lume); }

/* Per-lift stepper screen */
.entry-head { display: flex; align-items: center; gap: 12px; margin: 14px 2px 16px; }
.entry-head__icon {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--hair-soft); color: var(--lume);
}
.entry-head__icon .lift-glyph { width: 26px; height: 26px; }
.entry-head__name { font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--paper); }
.entry-head__ref {
  font-family: var(--mono); font-size: 10.5px; color: var(--steel);
  letter-spacing: .03em; margin-top: 3px;
}

.eset {
  border: 1px solid var(--hair-soft); border-radius: var(--radius);
  background: var(--ink-2); padding: 16px 14px 14px;
}
.eset__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.eset__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel-2);
}
.eset__ctrls {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hair-soft); border-radius: 8px;
  background: var(--ink); overflow: hidden;
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 18px 10px 14px;
}
.step + .step { border-left: 1px solid var(--hair-soft); }
.step__val {
  font-family: var(--mono); font-size: 40px; font-weight: 400; color: var(--lume);
  letter-spacing: -.01em;
  display: flex; align-items: baseline; justify-content: center;
}
.step__val .unit { font-size: 13px; color: var(--steel); margin-left: 3px; letter-spacing: 0; }
.step__pm { display: flex; gap: 8px; }
.step__btn {
  width: 54px; height: 40px; border: 1px solid var(--hair-soft); border-radius: 7px;
  background: var(--ink-2); cursor: pointer; color: var(--steel-2);
  font-family: var(--mono); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s, border-color .12s;
}
.step__btn:hover { color: var(--lume); border-color: var(--lume-dim); }
.step__btn:active { background: rgba(232,161,58,.12); }

.eset__strike {
  width: 100%; margin-top: 16px; height: 58px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: none; border: 1px solid var(--hair); color: var(--steel-2);
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .14s, border-color .14s, color .14s;
}
.eset__strike .tick {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
}
.eset__strike .tick svg { width: 11px; height: 11px; opacity: 0; }
.eset__strike:hover { border-color: var(--lume-dim); color: var(--paper-dim); }
.eset--struck { background: rgba(232,161,58,.05); border-color: var(--lume-dim); }
.eset--struck .eset__strike { background: var(--lume); border-color: var(--lume); color: var(--ink); }
.eset--struck .eset__strike .tick { border-color: var(--ink); background: var(--ink); }
.eset--struck .eset__strike .tick svg { opacity: 1; stroke: var(--lume); }

/* "Done · back to lifts" primary CTA used at the bottom of the stepper screen */
.eset-done {
  width: 100%; margin-top: 16px; height: 46px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--lume); border: 1px solid var(--lume); color: #1a140a;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .03em;
}
.eset-done:hover { background: #f0ad48; border-color: #f0ad48; }

/* Demo container: drop the dark inner card so the board breathes */
#demo-runway.demo-runway { padding: 22px 22px 26px; }
#demo-runway .demo-runway__head { padding-bottom: 16px; margin-bottom: 14px; }

/* =========================================================
   Features
   ========================================================= */
.features {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hair-soft);
}
.features__head { margin-bottom: 48px; }
.features__title,
.audience__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 18px 0 0;
}
.features__title em,
.audience__title em { font-style: normal; font-weight: 300; color: var(--lume); }
.features__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--ink);
  padding: 28px 26px 30px;
}
.feature__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--hair);
  border-radius: 9px;
  color: var(--lume);
  margin-bottom: 18px;
}
.feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 10px; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--paper-dim); margin: 0; }

/* =========================================================
   Bands (screen showcases)
   ========================================================= */
.band {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hair-soft);
}
.band--feature {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.band__num,
.pair-item__head .band__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lume);
  display: block;
  margin-bottom: 14px;
}
.band__caption h2,
.pair-item__head h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}
.band__caption p,
.pair-item__head p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-dim);
  margin: 0;
  max-width: 40ch;
}
.band__notes {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--hair-soft);
  max-width: 40ch;
}
.band__notes li {
  padding: 11px 0;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 13px;
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  font-family: var(--mono);
  letter-spacing: .01em;
}
.band__notes li::before {
  content: "";
  width: 10px; height: 1px;
  background: var(--lume);
  margin-right: 14px;
  flex-shrink: 0;
}
.band--feature .phone { justify-self: center; }

.pair-item__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lume);
  padding: 4px 10px;
  border: 1px solid var(--lume-dim);
  border-radius: 999px;
  margin-bottom: 14px;
}
.pair-item__pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lume);
}

.band--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}
.pair-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.pair-item__head { width: 100%; max-width: 440px; }

/* =========================================================
   Audience
   ========================================================= */
.audience {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hair-soft);
}
.audience__head { margin-bottom: 48px; }
.audience__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.persona-card {
  border: 1px solid var(--hair-soft);
  border-radius: var(--radius);
  background: var(--ink-2);
  padding: 26px 24px 24px;
}
.persona-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
}
.persona-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 14px 0 12px; }
.persona-card p { font-size: 14px; line-height: 1.6; color: var(--paper-dim); margin: 0 0 18px; }
.persona-card__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lume);
  border: 1px solid var(--lume-dim);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-block;
}

/* =========================================================
   Closing CTA
   ========================================================= */
.closing {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--hair-soft);
}
.closing__inner { max-width: 600px; }
.install-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.install-icon__tile {
  width: 84px; height: 84px;
  border-radius: 19px;
  display: grid; place-items: center;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
}
.install-icon__label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--paper-dim);
}
.closing__title {
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 18px 0 18px;
}
.closing__title em { font-style: normal; font-weight: 300; color: var(--lume); }
.closing__lede { font-size: 16px; line-height: 1.55; color: var(--paper-dim); margin: 0 0 32px; }
.closing__steps {
  border-top: 1px solid var(--hair-soft);
  margin-bottom: 32px;
}
.install-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-soft);
}
.install-step__num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lume);
}
.install-step p { font-size: 14px; line-height: 1.5; color: var(--paper-dim); margin: 0; }
.install-step strong { color: var(--paper); font-weight: 600; }
.closing__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.page-foot {
  padding: 48px 0 8px;
  border-top: 1px solid var(--hair-soft);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
.page-foot__brand {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.page-foot__tag { font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: .03em; }
.page-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.page-foot__cols h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--steel);
  margin: 0 0 10px;
  font-weight: 500;
}
.page-foot__cols p { font-size: 13px; line-height: 1.6; color: var(--paper-dim); margin: 0; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-revealed { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero,
  .demo,
  .band--feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .demo__stage { max-width: 480px; }
  .band--feature .band__caption,
  .band--feature .phone { margin: 0 auto; }
  .band--pair { grid-template-columns: 1fr; gap: 64px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .audience__grid { grid-template-columns: 1fr; gap: 14px; }
  /* Lead with the copy, then show the runway beneath it.
     Stats hold a 3-up grid so they stay aligned. */
  .hero { gap: 36px; }
  .hero__right { margin-top: 4px; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 460px;
  }
  .hero__stats small { max-width: none; }
}
@media (max-width: 640px) {
  .features__grid { grid-template-columns: 1fr; }
  .page-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-foot__cols { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-top: clamp(32px, 8vw, 56px); }
  .hero__title { font-size: clamp(38px, 11vw, 56px); }
  .hero__stats { gap: 12px; }
  .hero__stats span { font-size: 27px; }
  .phone--hero { --phone-w: 300px; }
  .page-nav__meta .sep,
  .page-nav__meta span:last-child { display: none; }
}

/* =========================================================
   Beta signup form (hero + closing)
   Adapted to the machined-graphite palette: hairline borders,
   mono engraved labels, one lume accent on the active state.
   ========================================================= */
.page-nav__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-2);
  background: var(--ink-2);
  white-space: nowrap;
}

.signup-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.signup-form__head { margin: 0; }
.signup-form__title {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
}
.signup-form__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.signup-form__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.signup-form__row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .16s, background-color .16s;
}
.signup-form__row input[type="email"]::placeholder { color: var(--steel); }
.signup-form__row input[type="email"]:focus {
  border-color: var(--lume);
  background: var(--ink-2);
}
.signup-form__row button { white-space: nowrap; }
.signup-form__segment {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.signup-form__segment legend {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
  width: 100%;
}
.signup-form__segment legend span {
  text-transform: none;
  letter-spacing: 0;
  color: var(--steel);
  opacity: .8;
  margin-left: 4px;
}
.signup-form__segment label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--paper-dim);
  cursor: pointer;
  background: var(--ink-2);
  transition: border-color .16s, background-color .16s, color .16s;
}
.signup-form__segment label:hover { border-color: var(--steel); color: var(--paper); }
.signup-form__segment input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.signup-form__segment label:has(input[type="radio"]:checked) {
  background: var(--lume);
  color: #1a140a;
  border-color: var(--lume);
}
.signup-form__thanks {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--hair);
  font-size: 14px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.signup-form__thanks strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
}
.signup-form.is-submitted .signup-form__head,
.signup-form.is-submitted .signup-form__row,
.signup-form.is-submitted .signup-form__segment { display: none; }
.signup-form.is-submitted .signup-form__thanks { display: block !important; }
.signup-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hero variant: framed panel so the form reads as a defined zone. */
.signup-form--hero-boxed {
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--ink-2);
  margin-top: 8px;
}
/* Closing variant: a touch wider, centered under the install steps. */
.signup-form--closing {
  max-width: 560px;
  margin: 26px auto 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Stack the form row on narrow phones: email first, button below. */
@media (max-width: 520px) {
  .signup-form__row { flex-direction: column; }
  .signup-form__row button { width: 100%; justify-content: center; }
}

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