/* ===========================================================
   RATEBOOK 2026 — landing page
   Archetype: cinematic-tech / performance
   Palette sampled from the SJ Developments brand (black + amber)
   =========================================================== */

:root {
  /* Brand — sampled from the SJD quote template */
  --amber: #f5c400;
  --amber-deep: #d9ae00;
  --ink: #0a0a0a;
  --ink-2: #121211;
  --ink-3: #191918;
  --ink-4: #232322;
  --hair: #2e2e2c;
  --white: #fafaf8;
  --grey: #8f8f88;
  --grey-2: #6a6a64;

  /* Light block */
  --paper: #f2f1ed;
  --paper-2: #fbfbf9;
  --paper-hair: #d8d6cf;
  --paper-ink: #14140f;
  --paper-grey: #63625b;

  --measure: 62ch;
  --pad-y: clamp(5rem, 9vw, 9rem);
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1280px;

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* ---------- type primitives ---------- */

.mono {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  font-size: 0.685rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.685rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

.eyebrow--dark {
  color: #8a7300;
}
.eyebrow--dark::before {
  background: #8a7300;
}

/* Display headings. line-height kept >= 1.06 with pad so
   descenders never clip. Emphasis device = amber second clause,
   repeated identically on every heading. */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.038em;
  padding-bottom: 0.08em;
}

h2 {
  font-size: clamp(1.9rem, 3.9vw, 3.1rem);
  line-height: 1.07;
  padding-bottom: 0.06em;
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.am {
  color: var(--amber);
}
.am-d {
  color: #a08600;
}

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.22rem);
  line-height: 1.62;
  color: var(--grey);
  max-width: 56ch;
  margin: 1.6rem 0 0;
}

.lede--dark {
  color: var(--paper-grey);
}

p {
  margin: 0 0 1.1rem;
}
p:last-child {
  margin-bottom: 0;
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

section {
  position: relative;
}

.block {
  padding-block: var(--pad-y);
}

.light {
  background: var(--paper);
  color: var(--paper-ink);
}

.light h1,
.light h2,
.light h3 {
  color: var(--paper-ink);
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--amber);
  color: #191400;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 60;
}

.ticker__track {
  display: inline-flex;
  gap: 0;
  animation: slide 46s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: inline-flex;
  flex: none;
}

.ticker span {
  padding: 0.62rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.ticker span::after {
  content: '◆';
  font-size: 0.5em;
  margin: 0 1.35rem;
  opacity: 0.5;
}

@keyframes slide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.is-stuck {
  border-bottom-color: var(--hair);
  background: rgba(10, 10, 10, 0.92);
}

.nav__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.95rem var(--gut);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  flex: none;
}

.brand svg {
  width: 26px;
  height: 22px;
  flex: none;
}

.brand__txt {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__yr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid rgba(245, 196, 0, 0.4);
  padding: 0.14rem 0.34rem;
  border-radius: 2px;
  margin-left: 0.1rem;
}

.nav__links {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
}

.nav__links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.22s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Switzer', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  padding: 0.86rem 1.5rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s, border-color 0.24s,
    transform 0.24s var(--ease), box-shadow 0.24s;
  white-space: nowrap;
}

.btn__arw {
  transition: transform 0.28s var(--ease);
  display: inline-block;
}

.btn:hover .btn__arw {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--amber);
  color: #14100a;
  border-color: var(--amber);
}

.btn--primary:hover {
  background: #ffd426;
  border-color: #ffd426;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(245, 196, 0, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--hair);
}

.btn--ghost:hover {
  border-color: var(--grey);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.btn--ghost-d {
  background: transparent;
  color: var(--paper-ink);
  border-color: #c9c7bf;
}
.btn--ghost-d:hover {
  border-color: var(--paper-ink);
  background: rgba(0, 0, 0, 0.035);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn--dark:hover {
  background: #262523;
  border-color: #262523;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.83rem;
}

.nav .btn {
  flex: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 90% at 78% 8%,
      rgba(245, 196, 0, 0.13) 0%,
      rgba(245, 196, 0, 0) 55%
    ),
    radial-gradient(70% 60% at 12% 96%, rgba(245, 196, 0, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* faint technical grid — texture, not decoration-for-its-own-sake */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(85% 75% at 30% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(85% 75% at 30% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy {
  max-width: 34rem;
}

.hero__spec {
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.hero__spec li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__spec li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--amber);
  flex: none;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.2rem;
  align-items: center;
}

.hero__price-note {
  font-size: 0.78rem;
  color: var(--grey-2);
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* product stage */
.stage {
  position: relative;
  perspective: 1900px;
}

.stage__main,
.stage__float {
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 40px 90px -28px rgba(0, 0, 0, 0.9), 0 3px 12px rgba(0, 0, 0, 0.55);
}

.stage__main {
  transform: rotateY(-9deg) rotateX(2.4deg) rotateZ(-0.5deg);
  transform-origin: 100% 50%;
}

.stage__bar {
  background: #1c1b19;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  border-bottom: 1px solid #2a2927;
}

.stage__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b3a37;
  flex: none;
}

.stage__bar i:first-child {
  background: var(--amber);
}

.stage__bar b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #7a7972;
  margin-left: 0.5rem;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot {
  width: 100%;
  height: auto;
  aspect-ratio: 1700 / 1192;
  object-fit: cover;
  object-position: left top;
  background: #fff;
}

.stage__float {
  position: absolute;
  width: 47%;
  right: -3%;
  bottom: -11%;
  transform: rotateY(-9deg) rotateX(2.4deg) translateZ(60px);
  z-index: 3;
}

.stage__float .shot {
  aspect-ratio: 1700 / 1192;
}

.stage__tag {
  position: absolute;
  left: -1.1rem;
  top: -0.85rem;
  z-index: 4;
  background: var(--amber);
  color: #14100a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.42rem 0.7rem;
  border-radius: 2px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.8);
}

/* ---------- trust strip ---------- */

.strip {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--ink-2);
}

.strip__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.55rem var(--gut);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
}

.strip__item {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.strip__n {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--amber);
  line-height: 1;
  flex: none;
}

.strip__l {
  font-size: 0.79rem;
  line-height: 1.32;
  color: var(--grey);
}

/* ---------- problem triplet ---------- */

.sec-head {
  max-width: 46rem;
  margin-bottom: clamp(2.6rem, 5vw, 4.2rem);
}

.trip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-hair);
  border: 1px solid var(--paper-hair);
}

.trip__c {
  background: var(--paper-2);
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
}

.trip__i {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  color: #a08600;
  margin-bottom: 1.1rem;
}

.trip__c h3 {
  margin-bottom: 0.7rem;
}

.trip__c p {
  font-size: 0.93rem;
  color: var(--paper-grey);
  line-height: 1.58;
  margin: 0;
}

/* ---------- sticky feature list (signature moment) ---------- */

.sheets {
  background: var(--paper-2);
  color: var(--paper-ink);
  border-top: 1px solid var(--paper-hair);
}

.sheets h2,
.sheets h3 {
  color: var(--paper-ink);
}

.sheets__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.sheets__list {
  padding-block: var(--pad-y);
}

.sheets__nav {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  counter-reset: sh;
}

.sheets__nav li {
  counter-increment: sh;
  border-top: 1px solid var(--paper-hair);
  padding: 1.05rem 0 1.05rem 0;
  cursor: pointer;
  transition: padding-left 0.35s var(--ease);
  position: relative;
}

.sheets__nav li:last-child {
  border-bottom: 1px solid var(--paper-hair);
}

.sheets__nav li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.sheets__nav li.on {
  padding-left: 1.1rem;
}

.sheets__nav li.on::before {
  transform: scaleY(1);
}

.sheets__hd {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.sheets__nn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: #b3b1a8;
  flex: none;
  transition: color 0.3s;
  padding-top: 0.15rem;
}

.sheets__nav li.on .sheets__nn {
  color: #a08600;
}

.sheets__nt {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #8d8b83;
  transition: color 0.3s;
}

.sheets__nav li.on .sheets__nt {
  color: var(--paper-ink);
}

.sheets__nd {
  font-size: 0.9rem;
  color: var(--paper-grey);
  line-height: 1.55;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-left: 2.35rem;
  transition: max-height 0.45s var(--ease), opacity 0.35s, margin-top 0.4s var(--ease);
}

.sheets__nav li.on .sheets__nd {
  max-height: 9rem;
  opacity: 1;
  margin-top: 0.55rem;
}

.sheets__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 3rem;
}

.sheets__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1700 / 1192;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--paper-hair);
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.35);
}

.sheets__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transform: scale(1.014);
  transition: opacity 0.55s var(--ease), transform 0.75s var(--ease);
}

.sheets__frame img.on {
  opacity: 1;
  transform: scale(1);
}

.sheets__cnt {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: var(--ink);
  color: var(--amber);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.32rem 0.55rem;
  border-radius: 2px;
  z-index: 3;
}

/* ---------- maths chain ---------- */

.chain {
  max-width: 940px;
  margin: 0 auto;
}

.chain__row {
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.92rem 0;
  border-bottom: 1px solid var(--hair);
}

.chain__row:first-of-type {
  border-top: 1px solid var(--hair);
}

.chain__i {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  color: var(--grey-2);
  letter-spacing: 0.08em;
}

.chain__l {
  font-size: 0.97rem;
  color: #cfcec8;
}

.chain__l small {
  display: block;
  font-size: 0.78rem;
  color: var(--grey-2);
  margin-top: 0.15rem;
}

.chain__v {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: right;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.chain__row--key {
  background: rgba(245, 196, 0, 0.06);
  padding-inline: 0.85rem;
  margin-inline: -0.85rem;
}

.chain__row--key .chain__l,
.chain__row--key .chain__v {
  color: var(--amber);
  font-weight: 700;
}

.chain__row--total {
  background: var(--amber);
  color: #14100a;
  padding: 1.05rem 0.85rem;
  margin-inline: -0.85rem;
  border-bottom: none;
}

.chain__row--total .chain__i {
  color: rgba(20, 16, 10, 0.55);
}

.chain__row--total .chain__l {
  color: #14100a;
  font-weight: 700;
  font-size: 1.02rem;
}

.chain__row--total .chain__v {
  color: #14100a;
  font-weight: 800;
  font-size: 1.3rem;
}

.chain__note {
  max-width: 62ch;
  margin-left: max(0px, calc(50% - 470px));
  margin-right: 0;
  margin-top: 1.5rem;
  font-size: 0.83rem;
  color: var(--grey-2);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- verdict card ---------- */

.verdict {
  max-width: 940px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.verdict__c {
  background: var(--ink-2);
  padding: 1.25rem 1.15rem;
}

.verdict__k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 0.55rem;
}

.verdict__v {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.verdict__c--hit {
  background: var(--amber);
}
.verdict__c--hit .verdict__k {
  color: rgba(20, 16, 10, 0.6);
}
.verdict__c--hit .verdict__v {
  color: #14100a;
  font-weight: 800;
}

/* ---------- split (two column feature) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--rev .split__media {
  order: -1;
}

.split__media {
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: #fff;
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.85);
}

.light .split__media {
  border-color: var(--paper-hair);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.32);
}

.split__media .shot {
  aspect-ratio: 1700 / 1192;
}

.rules {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.rules li {
  padding: 0.78rem 0 0.78rem 1.7rem;
  border-bottom: 1px solid var(--hair);
  font-size: 0.94rem;
  color: #cfcec8;
  position: relative;
  line-height: 1.55;
}

.light .rules li {
  border-bottom-color: var(--paper-hair);
  color: #3d3c35;
}

.rules li:first-child {
  border-top: 1px solid var(--hair);
}
.light .rules li:first-child {
  border-top-color: var(--paper-hair);
}

.rules li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.28rem;
  width: 9px;
  height: 2px;
  background: var(--amber);
}

.light .rules li::before {
  background: #a08600;
}

.rules b {
  color: var(--white);
  font-weight: 600;
}
.light .rules b {
  color: var(--paper-ink);
}

/* ---------- comparison table ---------- */

.swipe-hint {
  display: none;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-grey);
  margin: 0 0 0.6rem;
}

@media (max-width: 720px) {
  .swipe-hint {
    display: block;
  }
}

.cmp-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--paper-hair);
  background: var(--paper-2);
}

table.cmp {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

table.cmp th,
table.cmp td {
  padding: 0.82rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--paper-hair);
  vertical-align: top;
}

table.cmp thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 2px solid var(--amber);
  position: sticky;
  top: 0;
}

table.cmp thead th.is-us {
  background: var(--amber);
  color: #14100a;
  font-weight: 700;
}

table.cmp tbody th {
  font-weight: 500;
  color: var(--paper-grey);
  font-size: 0.85rem;
  width: 27%;
}

table.cmp td.is-us {
  background: rgba(245, 196, 0, 0.13);
  font-weight: 600;
  color: var(--paper-ink);
}

table.cmp tbody tr:last-child th,
table.cmp tbody tr:last-child td {
  border-bottom: none;
}

.cmp__cite {
  font-size: 0.76rem;
  color: var(--paper-grey);
  margin-top: 1rem;
  line-height: 1.6;
}

.cmp__cite a {
  color: #8a7300;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ---------- for / not for ---------- */

.forwho {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--paper-hair);
  border: 1px solid var(--paper-hair);
}

.forwho__c {
  background: var(--paper-2);
  padding: clamp(1.7rem, 2.8vw, 2.4rem);
}

.forwho__c--no {
  background: #eceae4;
}

.forwho h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.forwho h3 span {
  width: 22px;
  height: 22px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex: none;
}

.forwho__c--yes h3 span {
  background: var(--amber);
  color: #14100a;
}
.forwho__c--no h3 span {
  background: #c9c7bf;
  color: #4a4941;
}

.forwho ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forwho li {
  font-size: 0.92rem;
  color: var(--paper-grey);
  padding: 0.5rem 0;
  line-height: 1.55;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.forwho li:last-child {
  border-bottom: none;
}

/* ---------- maker ---------- */

.maker {
  background: var(--ink-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.maker__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.card-id {
  border: 1px solid var(--hair);
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.card-id__hd {
  background: var(--amber);
  color: #14100a;
  padding: 0.75rem 1.1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-id__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1.1rem;
  border-bottom: 1px solid var(--ink-4);
  font-size: 0.85rem;
}

.card-id__row:last-child {
  border-bottom: none;
}

.card-id__k {
  color: var(--grey-2);
  flex: none;
}

.card-id__v {
  color: var(--white);
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--paper-hair);
}

.faq details {
  border-bottom: 1px solid var(--paper-hair);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 2.6rem 1.2rem 0;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  position: relative;
  transition: color 0.22s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: #7d6800;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 11px;
  height: 2px;
  background: #a08600;
  transform: translateY(-50%);
}

.faq summary::before {
  content: '';
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 11px;
  height: 2px;
  background: #a08600;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.32s var(--ease), opacity 0.32s;
}

.faq details[open] summary::before {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq__body {
  overflow: hidden;
}

.faq__inner {
  padding: 0 2.6rem 1.4rem 0;
  font-size: 0.94rem;
  color: var(--paper-grey);
  line-height: 1.62;
  max-width: 66ch;
}

.faq__inner a {
  color: #8a7300;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- offer ---------- */

.offer {
  background: var(--ink-2);
  color: var(--white);
  border-top: 1px solid var(--hair);
}

.offer__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.offer__lede {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  color: var(--grey);
  max-width: 46ch;
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

/* the buy box inverts to amber so it is the brightest thing on screen */
.offer__box {
  background: var(--amber);
  color: #14100a;
  border-radius: 4px;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  box-shadow: 0 30px 80px -26px rgba(245, 196, 0, 0.28);
}

.offer__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.offer__amt {
  font-size: clamp(3rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #14100a;
}

.offer__per,
.offer__box .mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20, 16, 10, 0.62) !important;
}

.offer__inc {
  list-style: none;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
}

.offer__inc li {
  font-size: 0.89rem;
  color: #2b2409;
  padding: 0.44rem 0 0.44rem 1.5rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(20, 16, 10, 0.1);
}

.offer__inc li:last-child {
  border-bottom: none;
}

.offer__inc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.88rem;
  width: 7px;
  height: 7px;
  background: #14100a;
}

.offer__box .btn {
  width: 100%;
  justify-content: center;
  padding-block: 1rem;
  font-size: 1rem;
}

.offer__fine {
  font-size: 0.75rem;
  color: rgba(20, 16, 10, 0.66);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.55;
}

/* ---------- closer ---------- */

.closer {
  background: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  text-align: center;
}

.closer__k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.closer__mark {
  width: 90vw;
  max-width: 1180px;
  margin: 0 auto;
  display: block;
  height: auto;
  max-height: 34vh;
}

.closer__mark text {
  fill: var(--amber);
  font-family: 'Switzer', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.closer__sub {
  font-size: 0.92rem;
  color: var(--grey-2);
  margin-top: clamp(1.2rem, 2.5vw, 2rem);
  padding-inline: var(--gut);
  line-height: 1.6;
}

/* ---------- footer ---------- */

.foot {
  background: #050505;
  border-top: 1px solid var(--hair);
  padding-block: 2.8rem 2.2rem;
  font-size: 0.83rem;
  color: var(--grey-2);
}

.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.foot h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 0.9rem;
  font-weight: 500;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.foot a {
  color: var(--grey-2);
  text-decoration: none;
  transition: color 0.22s;
}

.foot a:hover {
  color: var(--amber);
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.foot__brand svg {
  width: 24px;
  height: 20px;
}

.foot__brand b {
  font-size: 0.98rem;
  font-weight: 800;
}

.foot__legal {
  border-top: 1px solid #1c1b19;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.76rem;
  line-height: 1.6;
}

/* ---------- sticky dock ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  transform: translateY(105%);
  transition: transform 0.42s var(--ease);
}

.dock.on {
  transform: translateY(0);
}

.dock__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dock__t {
  min-width: 0;
}

.dock__n {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock__d {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  color: var(--grey-2);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock__p {
  margin-left: auto;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--amber);
  flex: none;
  font-variant-numeric: tabular-nums;
}

/* ---------- scroll reveal ---------- */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
  .hero__copy {
    max-width: 36rem;
  }
  .stage__main {
    transform: none;
  }
  .stage__float {
    transform: none;
    width: 44%;
    right: -1%;
    bottom: -8%;
  }
  .stage {
    perspective: none;
    margin-bottom: 3rem;
  }
  .sheets__in {
    grid-template-columns: 1fr;
  }
  .sheets__sticky {
    position: sticky;
    height: auto;
    padding-block: 0 0;
    order: -1;
    padding-top: var(--pad-y);
  }
  .sheets__list {
    padding-top: 2.4rem;
  }
  .maker__in,
  .offer__in,
  .split {
    grid-template-columns: 1fr;
  }
  .split--rev .split__media {
    order: 0;
  }
  .strip__in {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__in {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav__links {
    display: none;
  }
  .trip,
  .forwho {
    grid-template-columns: 1fr;
  }
  .stage__tag {
    left: 0.5rem;
    top: -0.7rem;
  }
  .stage__float {
    width: 54%;
    right: -2%;
    bottom: -7%;
  }
  .chain__row {
    grid-template-columns: 1.7rem 1fr;
    row-gap: 0.25rem;
  }
  .chain__v {
    grid-column: 2;
    text-align: left;
  }
  .foot__in {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .dock__d {
    display: none;
  }
  .closer__mark {
    max-height: 20vh;
  }
  body {
    padding-bottom: 4.2rem;
  }
}

@media (max-width: 420px) {
  .strip__in {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* prevent grid/flex track blowout from long unbreakable strings */
.hero__in > *,
.sheets__in > *,
.split > *,
.offer__in > *,
.maker__in > *,
.stage,
.stage__main,
.stage__bar {
  min-width: 0;
}

.stage__bar b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
