/* Plumbline — marketing site */
body.site {
  --rail: clamp(30px, 5vw, 84px);
  --pad: clamp(20px, 4.2vw, 72px);
  padding-left: var(--rail);
  overflow-x: hidden;
}

/* ── The rail: a story pole down the left margin, with the plumb line hanging in it ── */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 60;
  pointer-events: none;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 12px), repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 60px);
  background-size: 5px 100%, 10px 100%;
  background-position: right top, right top;
  background-repeat: no-repeat;
}
.plumb {
  position: absolute;
  left: calc(50% - 3px);
  top: 0;
  height: var(--drop, 120px);
  width: 0;
  transform-origin: top center;
  will-change: transform, height;
}
.plumb__line {
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--chalk);
}
.plumb__bob {
  position: absolute;
  left: -11px;
  top: 100%;
  width: 22px;
  height: 46px;
  margin-top: -1px;
  filter: drop-shadow(0 3px 3px rgba(18, 22, 27, 0.18));
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
}
.wordmark svg {
  width: 32px;
  height: 32px;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--r);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--board);
}
.nav__links a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--chalk);
  border-radius: 0;
}
.nav__menu {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* ── Type ────────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
  line-height: 0.88;
  letter-spacing: 0.002em;
  font-size: clamp(50px, 6.7vw, 116px);
}
.h1 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: 0.004em;
  font-size: clamp(38px, 4.9vw, 76px);
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  font-size: clamp(26px, 2.5vw, 36px);
}
.h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.label {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  text-wrap: pretty;
}
.prose {
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.prose + .prose {
  margin-top: 14px;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--chalk-deep);
  border-bottom: 1.5px solid var(--chalk-tint);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.link:hover {
  border-color: var(--chalk);
  gap: 12px;
}
.link svg {
  width: 14px;
  height: 14px;
}

/* ── Sections ────────────────────────────────────────── */
.sec {
  padding: clamp(64px, 9vw, 136px) var(--pad);
}
.sec--tight {
  padding-top: clamp(40px, 5vw, 72px);
}
.sec--white {
  background: var(--white);
}
.sec--blue {
  background: var(--chalk);
  color: #fff;
}
.sec--blue .label {
  color: #c5d6f8;
}
.sec--blue .lede,
.sec--blue .prose {
  color: #e2eafb;
}
.sec--ink {
  background: var(--ink);
  color: #f3f4f1;
}
.sec--ink .label {
  color: #98a1ab;
}
.sec--ink .lede {
  color: #c4cad1;
}
.sec__head {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin-bottom: clamp(36px, 4.6vw, 68px);
}
.wrap {
  max-width: 1320px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding: clamp(36px, 5.4vw, 84px) var(--pad) clamp(56px, 7vw, 104px);
  max-width: 1640px;
}
.hero__copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}
.hero h1 span {
  display: block;
}
.snap {
  position: relative;
  display: inline-block;
}
.snap::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -0.09em;
  height: 0.065em;
  background: var(--chalk);
  filter: url(#chalk);
  transform: scaleX(0);
  transform-origin: left;
  animation: snap 0.45s 0.55s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}
@keyframes snap {
  to {
    transform: scaleX(1);
  }
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero__note {
  font-size: 13px;
  color: var(--ink-3);
}

/* mini portal */
.mini {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow), 0 0 0 1px var(--rule);
  overflow: hidden;
}
.mini__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.mini__bar b {
  font-weight: 600;
}
.mini__bar span {
  margin-left: auto;
  color: #98a1ab;
  font-family: var(--f-mono);
  font-size: 11.5px;
}
.mini__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}
.mini__tabs button {
  padding: 12px 6px 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease;
}
.mini__tabs button:hover {
  color: var(--ink);
}
.mini__tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--chalk);
}
.mini__tabs small {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 4px;
}
.mini__list {
  min-height: 292px;
}
.mini__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule-2);
  transition: background 0.12s ease;
}
.mini__row:hover {
  background: var(--chalk-wash);
}
.mini__row b {
  display: block;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini__row small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini__meta {
  text-align: right;
  font-size: 12.5px;
  color: var(--ink-2);
}
.mini__meta .mono {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.mini__track {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: var(--chalk-wash);
  overflow: hidden;
}
.mini__track i {
  display: block;
  height: 100%;
  background: var(--chalk);
}
.mini__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Punch list: his words, closed out ───────────────── */
.punch {
  border-top: 2px solid var(--ink);
}
.punch__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 44px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.tape {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 26px;
  margin-top: 3px;
  background: var(--chalk);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: rotate(-2.5deg);
  clip-path: polygon(0 0, 100% 0, 96% 22%, 100% 44%, 96% 68%, 100% 100%, 0 100%, 4% 72%, 0 48%, 4% 24%);
}
.punch__row:nth-child(even) .tape {
  transform: rotate(1.8deg);
}
.punch__said {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.42;
  font-style: italic;
  color: var(--ink);
  text-wrap: pretty;
}
.punch__said::before {
  content: "\201C";
}
.punch__said::after {
  content: "\201D";
}
.punch__built h3 {
  margin-bottom: 6px;
}
.punch__built p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-bottom: 10px;
}

/* ── Horizons ────────────────────────────────────────── */
.horizons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 40px);
  padding-top: 46px;
}
.horizons::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 3px;
  background: var(--chalk);
  filter: url(#chalk);
  transform-origin: left;
}
.horizon {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
}
.horizon::before {
  content: "";
  position: absolute;
  top: -42px;
  left: 0;
  width: 2px;
  height: 18px;
  background: var(--ink);
}
.horizon--now::after {
  content: "Today";
  position: absolute;
  top: -66px;
  left: 30%;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.horizon__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 0.9;
  text-transform: uppercase;
}
.horizon__q {
  font-weight: 600;
  font-size: 16.5px;
}
.horizon ul {
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.horizon li {
  padding-left: 16px;
  position: relative;
}
.horizon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--chalk);
}
.horizon__count {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ── Job record ──────────────────────────────────────── */
.record {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.sheet {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--rule);
  padding: clamp(20px, 2.2vw, 30px);
}
.sec--white .sheet {
  background: var(--paper);
}
.sheet__h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.record__labor {
  grid-column: span 7;
}
.record__mat {
  grid-column: span 5;
}
.record__sub {
  grid-column: span 5;
}
.record__budget {
  grid-column: span 7;
}
.hours {
  display: grid;
  gap: 16px;
}
.hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) auto;
  gap: 14px;
  align-items: center;
}
.hours__row b {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
.hours__row small {
  color: var(--ink-3);
  font-size: 13px;
}
.hours__bar {
  height: 18px;
  background: var(--board);
  border-radius: 0 4px 4px 0;
}
.sec--white .hours__bar {
  background: var(--rule-2);
}
.hours__bar i {
  display: block;
  height: 100%;
  background: var(--chalk);
  border-radius: 0 4px 4px 0;
}
.hours__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  min-width: 96px;
  text-align: right;
}
.hours__n small {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  margin-left: 4px;
}
.tally {
  display: grid;
}
.tally li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.tally li:last-child {
  border-bottom: 0;
}
.tally .tally__q {
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 46px;
  line-height: 0.85;
}
.tally .tally__q small {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px;
  color: var(--ink-3);
}
.tally b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
}
.tally span {
  font-size: 13.5px;
  color: var(--ink-3);
}
.kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 18px;
  font-size: 14.5px;
}
.kv dt {
  color: var(--ink-3);
}
.kv dd {
  font-weight: 500;
  text-align: right;
}
.bullet {
  display: grid;
  gap: 16px;
}
.bullet__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
}
.bullet__track {
  position: relative;
  height: 16px;
  background: var(--board);
  border-radius: 0 4px 4px 0;
}
.sec--white .bullet__track {
  background: var(--rule-2);
}
.bullet__track i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--chalk);
  border-radius: 0 4px 4px 0;
}
.bullet__track u {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--ink);
}
.bullet__row .mono {
  text-align: right;
  font-size: 13px;
  color: var(--ink-2);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 14px;
  height: 8px;
  background: var(--chalk);
  border-radius: 0 3px 3px 0;
}
.legend u {
  width: 2px;
  height: 12px;
  background: var(--ink);
}

/* ── Capture cards ───────────────────────────────────── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.capture {
  display: grid;
  gap: 14px;
  align-content: start;
}
.capture svg {
  width: 44px;
  height: 44px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.capture .accent {
  stroke: var(--chalk);
}
.capture p {
  font-size: 15px;
  color: var(--ink-2);
}
.flow {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 13.5px;
}
.flow dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.flow dd {
  font-weight: 500;
  margin-bottom: 6px;
}

/* ── Playbook step card ──────────────────────────────── */
.stepcard {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow), 0 0 0 1px var(--rule);
  overflow: hidden;
}
.stepcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-3);
}
.stepcard__body {
  padding: 22px 20px 8px;
  display: grid;
  gap: 16px;
}
.stepcard__title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}
.why {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 15px;
}
.why dt {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.why dd {
  color: var(--ink-2);
}
.checks {
  display: grid;
  border-top: 1px solid var(--rule);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule-2);
  font-size: 15px;
}
.checks li:last-child {
  border-bottom: 0;
}
.box {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.box--on {
  background: var(--chalk);
  box-shadow: none;
}
.box--on::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.box--miss {
  box-shadow: inset 0 0 0 2px var(--mark);
}
.checks .pill {
  margin-left: auto;
}
.hold {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 20px;
  background: var(--mark-wash);
  color: var(--mark-ink);
  font-size: 14.5px;
  font-weight: 500;
}
.hold svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* ── Modules ─────────────────────────────────────────── */
.modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}
.module {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  min-height: 190px;
}
.module__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.module p {
  font-size: 14.5px;
  color: #dbe5fa;
}
.module .pill {
  justify-self: start;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.module--first {
  background: #fff;
  color: var(--ink);
}
.module--first p {
  color: var(--ink-2);
}
.module--first .pill {
  background: var(--chalk-wash);
  color: var(--chalk-ink);
}

/* ── Before / after ──────────────────────────────────── */
.shift {
  border-top: 2px solid var(--ink);
}
.shift__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 40px);
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
}
.shift__row--head {
  padding: 12px 0;
}
.shift__row b {
  font-weight: 600;
}
.shift__row p {
  color: var(--ink-2);
}
.shift__row p.now {
  color: var(--ink);
}
.sec--ink .shift {
  border-top-color: #f3f4f1;
}
.sec--ink .shift__row {
  border-bottom-color: #2c333b;
}
.sec--ink .shift__row p {
  color: #a9b1ba;
}
.sec--ink .shift__row p.now {
  color: #fff;
}

/* ── CTA + footer ────────────────────────────────────── */
.cta {
  display: grid;
  gap: 26px;
  justify-items: start;
}
.cta .display {
  font-size: clamp(48px, 7vw, 120px);
}
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 48px var(--pad) 56px;
  background: var(--ink);
  color: #a9b1ba;
  font-size: 14px;
  border-top: 1px solid #2c333b;
}
.foot .wordmark {
  color: #fff;
  margin-bottom: 12px;
}
/* The line under the name in the logo, with its rule either side */
.foot .foot__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #d5dae0;
}
.foot__tag::before,
.foot__tag::after {
  content: "";
  flex: 0 1 20px; /* the rules give way first on a narrow phone, so the words never clip */
  height: 1px;
  background: #7f8892;
}
.foot h4 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7f8892;
  font-weight: 500;
  margin-bottom: 12px;
}
.foot li {
  margin-bottom: 8px;
}
.foot a:hover {
  color: #fff;
}
.foot p {
  max-width: 46ch;
}

/* ── Sub-page hero ───────────────────────────────────── */
.phero {
  display: grid;
  gap: 24px;
  padding: clamp(48px, 6.4vw, 104px) var(--pad) clamp(40px, 5vw, 72px);
  max-width: 1280px;
}
.phero .display {
  font-size: clamp(46px, 6.4vw, 108px);
}

/* ── Compare table ───────────────────────────────────── */
.compare {
  display: grid;
  border-top: 2px solid var(--ink);
}
.compare__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 40px);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
}
.compare__row > :first-child {
  font-weight: 600;
}
.compare__row > :nth-child(2) {
  color: var(--ink-3);
}
.compare__row > :nth-child(3) {
  color: var(--ink);
  padding-left: 14px;
  box-shadow: inset 3px 0 0 var(--chalk);
}
.compare__row--head {
  padding: 12px 0;
}

/* ── Annotated step ──────────────────────────────────── */
.anno {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.anno__notes {
  display: grid;
  gap: 22px;
  counter-reset: n;
}
.anno__notes li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  counter-increment: n;
}
.anno__notes li::before {
  content: counter(n, upper-alpha);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 13px;
}
.anno__notes b {
  display: block;
  font-weight: 600;
}
.anno__notes span {
  color: var(--ink-2);
  font-size: 15px;
}
.key {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  flex: none;
}

/* ── Hold points list ────────────────────────────────── */
.holds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
  border-top: 2px solid var(--ink);
}
.holds li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.holds svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--mark);
}
.holds b {
  display: block;
  font-weight: 600;
}
.holds span {
  font-size: 15px;
  color: var(--ink-2);
}

/* ── Loop ────────────────────────────────────────────── */
.loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: s;
}
.loop li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 26px 30px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--rule);
  counter-increment: s;
}
.loop li::before {
  content: counter(s);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.8;
  color: var(--chalk);
}
.loop li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 38px;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transform: rotate(45deg);
}
.loop p {
  font-size: 15px;
  color: var(--ink-2);
}
.loop__back {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.loop__back svg {
  width: 28px;
  height: 28px;
  color: var(--chalk);
  flex: none;
}

/* ── Ramp timeline ───────────────────────────────────── */
.ramp {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  padding-top: 40px;
}
.ramp::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 3px;
  background: var(--chalk);
  filter: url(#chalk);
}
.ramp li {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
}
.ramp li::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  width: 2px;
  height: 18px;
  background: var(--ink);
}
.sec--ink .ramp li::before {
  background: #fff;
}
.ramp__when {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 38px;
  line-height: 0.9;
  text-transform: uppercase;
}
.ramp p {
  font-size: 15px;
  color: var(--ink-2);
}
.sec--ink .ramp p {
  color: #b5bcc4;
}

.ramp--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ramp__tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hub-wrap {
  padding: clamp(16px, 2.4vw, 36px);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--rule);
}
.hub .node {
  fill: var(--paper);
  stroke: var(--rule);
}
.hub .node--first {
  fill: var(--ink);
  stroke: var(--ink);
}
.hub .core {
  fill: var(--chalk);
}
.hub .wire {
  stroke: var(--chalk);
  stroke-width: 2;
  fill: none;
}
.hub .name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  fill: var(--ink);
}
.hub .who {
  font-size: 12.5px;
  fill: var(--ink-3);
}
.hub .on-dark {
  fill: #fff;
}
.hub .on-dark-2 {
  fill: #c5d6f8;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ticks {
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--chalk);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.ticks--later li {
  color: var(--ink-2);
}
.ticks--later li::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
}
.ticks--later li::after {
  display: none;
}
.ticks small {
  display: block;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 2.2vw, 30px);
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--rule);
}
.sec--white .card {
  background: var(--paper);
}
.card p,
.card li {
  font-size: 15px;
  color: var(--ink-2);
}
.card ul {
  display: grid;
  gap: 8px;
}
.card li {
  padding-left: 16px;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--chalk);
}
.card--blue {
  background: var(--chalk);
  color: #fff;
  box-shadow: none;
}
.card--blue p,
.card--blue li {
  color: #e2eafb;
}
.card--blue li::before {
  background: #fff;
}
.card__price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 54px;
  line-height: 0.9;
}
.card__price small {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  margin-left: 6px;
}

/* ── Module detail rows (platform page) ──────────────── */
.mod {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 56px);
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}
.mod:first-child {
  border-top: 2px solid var(--ink);
}
.mod__name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mod h4 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.mod ul {
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.mod li {
  padding-left: 16px;
  position: relative;
}
.mod li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  background: var(--chalk);
}
.mod p {
  font-size: 15.5px;
  color: var(--ink-2);
}

/* hub diagram */
.hub {
  width: 100%;
  max-width: 980px;
  height: auto;
}
.hub text {
  font-family: var(--f-body);
}

/* chain of events */
.chain {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--chalk);
  margin-left: 8px;
}
.chain li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0 16px 28px;
}
.chain li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 21px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--chalk);
  box-shadow: 0 0 0 4px var(--paper);
}
.sec--white .chain li::before {
  box-shadow: 0 0 0 4px var(--white);
}
.chain b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.chain span {
  color: var(--ink-2);
}

/* ── Calculator ──────────────────────────────────────── */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow), 0 0 0 1px var(--rule);
  overflow: hidden;
}
.calc__in {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 2.6vw, 38px);
}
.calc__out {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 38px);
  background: var(--ink);
  color: #fff;
}
.field {
  display: grid;
  gap: 8px;
}
.field__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.field__top output {
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--chalk-deep);
}
.field small {
  font-size: 13px;
  color: var(--ink-3);
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--chalk) var(--fill, 50%), var(--rule) var(--fill, 50%));
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--rule);
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--chalk);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--chalk), 0 2px 4px rgba(0, 0, 0, 0.2);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--chalk);
  border-radius: 50%;
  background: #fff;
}
.calc__big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(60px, 6.6vw, 104px);
  line-height: 0.85;
}
.calc__big small {
  display: block;
  margin-top: 10px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: #b5bcc4;
}
.calc__rows {
  display: grid;
  border-top: 1px solid #2c333b;
}
.calc__rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #2c333b;
  font-size: 15px;
  color: #c4cad1;
}
.calc__rows b {
  font-family: var(--f-mono);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}
.calc__note {
  font-size: 13px;
  color: #8f98a2;
}

/* questions */
.qs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
  border-top: 2px solid var(--ink);
}
.qs li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.qs b {
  display: block;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}
.qs span {
  font-size: 15px;
  color: var(--ink-2);
}

/* ── Media on the site ───────────────────────────────── */
.band {
  padding: 0 var(--pad) clamp(44px, 6vw, 96px);
  max-width: 1640px;
}
.film--wide {
  aspect-ratio: 21 / 9;
}
.film__cap {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 3.4vw, 56px);
  padding-left: clamp(40px, 9vw, 160px);
  background: linear-gradient(to left, rgba(12, 15, 19, 0.86) 0%, rgba(12, 15, 19, 0.62) 55%, rgba(12, 15, 19, 0) 100%);
  color: #fff;
  line-height: 1.4;
}
.film__quote {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 3.3vw, 54px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.film__note {
  font-size: clamp(15px, 1.2vw, 18px);
  color: #d5dae0;
}
.film__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 130px);
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(18, 22, 27, 0.72);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__inline {
  color: var(--chalk-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--chalk-tint);
}
.hero__inline:hover {
  text-decoration-color: var(--chalk);
}
.btn--line {
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--line:hover {
  background: rgba(255, 255, 255, 0.12);
}
.record--top {
  margin-bottom: 18px;
  align-items: stretch;
}
.film--job {
  grid-column: span 7;
  aspect-ratio: 3 / 2;
  box-shadow: 0 0 0 1px var(--rule);
}
.record__job {
  grid-column: span 5;
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: start;
}
.record__job .kv {
  width: 100%;
}
.record__lesson {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 3px 0 0 var(--chalk);
  font-size: 15px;
  color: var(--ink-2);
}
.record__lesson b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.photo {
  display: grid;
  gap: 12px;
  margin: 0;
  align-content: start;
}
.photo img {
  border-radius: 10px;
}
.photo .ph {
  border-radius: 10px;
}
.photo figcaption {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
  max-width: 56ch;
}
.photo--ba {
  width: 100%;
  margin-top: 8px;
}
.capture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.capture-grid .photo .ph {
  aspect-ratio: 4 / 4.6;
}
.grid-22 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stepcard__photo {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--paper);
}
.stepcard__photo figcaption {
  font-size: 13.5px;
  color: var(--ink-2);
}
.stepcard__photo b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.phero--media {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  max-width: 1640px;
}
.phero--media .display {
  font-size: clamp(44px, 5.4vw, 92px);
}
.phero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.proofs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.proofs figure {
  display: grid;
  gap: 8px;
  margin: 0;
}
.proofs figcaption {
  font-size: 13.5px;
  font-weight: 600;
}
.chain__lead {
  display: grid;
  gap: 20px;
  justify-items: start;
  position: sticky;
  top: 96px;
}
.card--photo {
  padding-top: 0;
  overflow: hidden;
}
.card__photo {
  display: block;
  margin: 0 calc(-1 * clamp(20px, 2.2vw, 30px)) 6px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav__demo {
  display: none;
}
.foot__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 14px;
  border-radius: var(--r);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #3a424b;
}
.foot__share:hover {
  box-shadow: inset 0 0 0 1px #8a939d;
}
.foot__share svg {
  width: 14px;
  height: 14px;
}
.totop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(18, 22, 27, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.totop.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.totop:hover {
  background: var(--chalk);
}
.totop svg {
  width: 18px;
  height: 18px;
}

/* ── The cycle (home) ────────────────────────────────── */
.cycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 52px);
  counter-reset: c;
}
.cycle li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 22px 26px;
  border-top: 3px solid var(--chalk);
  background: #1a2027;
  counter-increment: c;
}
.cycle li + li {
  border-left: 1px solid #2c333b;
}
.cycle li::before {
  content: counter(c);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: #8f98a2;
}
.cycle li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 30px;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: #1a2027;
  border-top: 1px solid #2c333b;
  border-right: 1px solid #2c333b;
  transform: rotate(45deg);
}
.cycle p {
  font-size: 15px;
  color: #b5bcc4;
}
.added__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: 10px;
  background: #f3f4f1;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.added__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6);
}
.added__card .label {
  color: var(--chalk-deep);
}
.added__card p {
  font-size: 15px;
  color: var(--ink-2);
}
.added__card .link {
  justify-self: start;
  margin-top: 4px;
}
.fineprint {
  margin-top: 22px;
  font-size: 13.5px;
  color: #8f98a2;
  max-width: 78ch;
}
.mini__meta .status {
  font-size: 12px;
  padding: 3px 9px 3px 7px;
}

/* ── Reveal ──────────────────────────────────────────── */
.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .rv.is-in {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero,
  .phero--media,
  .capture-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cycle {
    grid-template-columns: minmax(0, 1fr);
  }
  .cycle li + li {
    border-left: 0;
  }
  .cycle li:not(:last-child)::after {
    right: auto;
    left: 28px;
    top: auto;
    bottom: -8px;
    transform: rotate(135deg);
  }
  .film--job,
  .record__job {
    grid-column: 1 / -1;
  }
  .capture-grid .photo .ph {
    aspect-ratio: 16 / 9;
  }
  .chain__lead {
    position: static;
  }
  .display {
    font-size: clamp(50px, 11vw, 104px);
  }
  .horizons,
  .grid-4,
  .modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .horizons {
    row-gap: 56px;
  }
  .horizon:nth-child(n + 3)::before {
    display: none;
  }
  .record__labor,
  .record__mat,
  .record__sub,
  .record__budget {
    grid-column: 1 / -1;
  }
  .grid-3,
  .loop {
    grid-template-columns: minmax(0, 1fr);
  }
  .loop li:not(:last-child)::after {
    right: auto;
    left: 44px;
    top: auto;
    bottom: -9px;
    transform: rotate(135deg);
  }
  .ramp {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
    padding-left: 26px;
    gap: 30px;
  }
  .ramp::before {
    left: 3px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }
  .ramp li::before {
    top: 14px;
    left: -24px;
    width: 14px;
    height: 2px;
  }
  .mod {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .anno,
  .calc,
  .grid-2,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1080px) {
  .film--wide {
    aspect-ratio: 16 / 9;
  }
  .film__cap {
    width: 62%;
    padding-left: clamp(24px, 6vw, 80px);
  }
}
@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px var(--pad) 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open .nav__links {
    display: flex;
  }
  .nav__menu {
    display: block;
  }
  .nav .btn {
    display: none;
  }
  .nav__demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    background: var(--chalk);
    color: #fff !important;
    font-weight: 600 !important;
  }
  .nav__demo:hover {
    background: var(--chalk-deep) !important;
  }
  .nav__demo svg {
    width: 14px;
    height: 14px;
  }
  .nav__demo--tour {
    background: transparent;
    color: var(--ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
  .nav__demo--tour:hover {
    background: var(--board) !important;
  }
}
@media (max-width: 760px) {
  .film--wide {
    aspect-ratio: auto;
    display: grid;
  }
  .film--wide video {
    aspect-ratio: 4 / 3;
  }
  .film--wide .film__btn {
    bottom: auto;
    top: 14px;
  }
  .film__cap {
    position: static;
    width: auto;
    padding: 22px 20px 24px;
    background: var(--ink);
  }
  .film__tag {
    position: static;
    max-width: none;
    width: auto;
    border-radius: 0;
    padding: 10px 14px;
    background: var(--ink);
  }
  .film--job {
    aspect-ratio: auto;
    display: grid;
  }
  .film--job video {
    aspect-ratio: 3 / 2;
  }
  .film--job .film__btn {
    bottom: auto;
    top: 14px;
  }
  .grid-22 {
    grid-template-columns: minmax(0, 1fr);
  }
  .proofs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stepcard__photo {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .nav__demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    background: var(--chalk);
    color: #fff !important;
    font-weight: 600 !important;
  }
  .nav__demo:hover {
    background: var(--chalk-deep) !important;
  }
  .nav__demo svg {
    width: 14px;
    height: 14px;
  }
  .nav__demo--tour {
    background: transparent;
    color: var(--ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
  .nav__demo--tour:hover {
    background: var(--board) !important;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px var(--pad) 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open .nav__links {
    display: flex;
  }
  .nav__menu {
    display: block;
  }
  .nav .btn {
    display: none;
  }
  .punch__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .horizons,
  .grid-4,
  .modules,
  .holds,
  .qs {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizons {
    padding-top: 0;
    padding-left: 22px;
    row-gap: 38px;
  }
  .horizons::before {
    left: 3px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }
  .horizon::before,
  .horizon:nth-child(n + 3)::before {
    display: block;
    top: 16px;
    left: -20px;
    width: 12px;
    height: 2px;
  }
  .horizon--now::after {
    position: static;
    justify-self: start;
    order: -1;
  }
  .hours__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .hours__bar {
    grid-column: 1 / -1;
    order: 3;
  }
  .bullet__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .bullet__track {
    grid-column: 1 / -1;
    order: 3;
  }
  .shift__row,
  .compare__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .shift__row--head,
  .compare__row--head {
    display: none;
  }
  .compare__row > :nth-child(2)::before {
    content: "A record-keeping app: ";
    font-weight: 600;
  }
  .shift__row p:not(.now)::before {
    content: "Today: ";
    font-weight: 600;
  }
  .foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-wrap {
    display: none;
  }
  .chain li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .why {
    grid-template-columns: minmax(0, 1fr);
  }
  .tally li {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}

/* ── Plans and prices ─────────────────────────────────── */
.prices {
  display: grid;
  gap: 18px;
}
.price {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 6px;
  padding: 26px 24px 24px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--r) * 2);
  background: var(--white);
  box-shadow: var(--shadow);
}
.sec--white .price {
  background: var(--paper);
  box-shadow: none;
}
.price--pick {
  border-color: var(--chalk);
  box-shadow: 0 0 0 1px var(--chalk), var(--shadow);
}
.sec--white .price--pick {
  box-shadow: 0 0 0 1px var(--chalk);
}
.price header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price__n {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 0;
  color: var(--ink-3);
}
.price__n b {
  font-family: var(--f-display);
  font-size: 58px;
  font-weight: 800;
  line-height: 0.95;
  color: var(--ink);
}
.price__who {
  margin: 8px 0 6px;
  color: var(--ink-2);
}
.price__list,
.every,
.allow__costs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price__list li,
.every li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}
.price__list svg,
.every svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--ok);
}
.price .btn {
  margin-top: 16px;
  justify-content: center;
}
.prices__note {
  margin-top: 22px;
  max-width: 78ch;
  color: var(--ink-3);
  font-size: 14.5px;
}
/* Apple's own "Download on the App Store" badge, as Apple supplies it */
.prices__store { margin-top: 16px; }
.appbadge { display: inline-block; line-height: 0; }
.appbadge img { height: 48px; width: auto; }
.every {
  display: grid;
  gap: 2px 40px;
  font-size: 17px;
}
.allow {
  display: grid;
  gap: 18px;
}
.allow__card {
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--r) * 2);
  background: var(--white);
}
.allow__costs {
  margin-top: 10px;
}
.allow__costs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--rule-2);
}
.allow__costs li:first-child {
  border-top: 0;
}
.allow__costs b {
  white-space: nowrap;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
}
.allow__fine {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14.5px;
}
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.packs .pack {
  display: grid;
  justify-items: start;
  padding: 14px;
  border-radius: var(--r);
  background: var(--paper);
}
.packs .pack b {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.packs .pack span {
  color: var(--ink-3);
  font-size: 13.5px;
}
.packs .pack em {
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
}
.faq {
  display: grid;
  gap: 26px 40px;
}
.faq p {
  margin-top: 6px;
  color: var(--ink-2);
}
@media (min-width: 820px) {
  .prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .every,
  .allow,
  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
}
.foot__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── The contractor directory ── */
.stars {
  color: #e0a100;
  letter-spacing: 1px;
  white-space: nowrap;
}
.stars i {
  font-style: normal;
  color: #d5d9de;
}
.revs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.rev header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.rev p {
  margin-top: 6px;
  white-space: pre-line;
}
.rev__reply {
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--chalk, #1f5fd6);
  background: rgba(31, 95, 214, 0.06);
  border-radius: 0 10px 10px 0;
}
.rev__reply b {
  font-size: 13.5px;
}
.dir__find {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-bottom: 28px;
}
.dir__find input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--white);
  font: inherit;
}
.dir__find input:focus {
  outline: 2px solid var(--chalk);
  outline-offset: 1px;
}
.dir__grid {
  display: grid;
  gap: 18px;
}
.dircard {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--r) * 2);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.dircard:hover {
  border-color: var(--chalk);
}
.dircard__where,
.co__where {
  color: var(--ink-2);
}
.dircard__about {
  color: var(--ink-2);
  font-size: 15px;
}
.co__rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.co__rate span:last-child,
.dir__none {
  color: var(--ink-3);
}
.co__facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--ink-2);
}
.co__facts b {
  margin-right: 6px;
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--ink);
}
.co__facts--sm {
  margin-top: 8px;
  gap: 4px 18px;
  font-size: 13.5px;
}
.co__facts--sm b {
  font-size: 18px;
}
.co {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 18px 0;
}
.co .display {
  margin-bottom: 6px;
}
.co__reach {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.co__revs {
  margin-top: 40px;
  max-width: 760px;
}
.co__revs .rev {
  padding-top: 18px;
  border-top: 1px solid var(--rule-2);
}
.rev header span {
  color: var(--ink-3);
  font-size: 14px;
}
.dir__fine {
  margin-top: 26px;
  max-width: 78ch;
  color: var(--ink-3);
  font-size: 14.5px;
}
.dir__empty {
  max-width: 560px;
  padding: 28px;
  border: 1px dashed var(--rule);
  border-radius: calc(var(--r) * 2);
}
.dir__empty p {
  margin-top: 8px;
  color: var(--ink-2);
}
@media (min-width: 820px) {
  .dir__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
[data-dir-hero][hidden] {
  display: none;
}

/* sign-ups closed until Plumbline is approved (2026-11-02): the old Sign up buttons show this instead */
.is-soon { cursor: default; pointer-events: none; opacity: 0.7; }
