/* hajec.pro — styles
   Layout: one wide column, bands of light and deep navy; the live before/after
   comparison is the centerpiece, everything else stays quiet around it.
   Colors are tokens. Light values first, dark values below. */

:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #101826;
  --muted: #566073;
  --line: #d8dce3;
  --marigold: #f1b43c;          /* highlighter fill, buttons */
  --marigold-ink: #8a5a00;      /* marigold strong enough for text on light */
  --on-marigold: #1a1406;
  --redline: #d2432a;           /* designer's red pen */
  --deep: #0f1a2b;              /* dark bands */
  --deep-2: #17243a;
  --deep-ink: #eaedf3;
  --deep-muted: #a4aec0;
  --deep-line: #2a3851;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

  --radius: 14px;
  --wrap: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f19;
    --surface: #111a29;
    --ink: #e8ecf3;
    --muted: #9aa4b6;
    --line: #233046;
    --marigold: #f3bc4e;
    --marigold-ink: #f3bc4e;
    --on-marigold: #1a1406;
    --redline: #ff6a4d;
    --deep: #060a12;
    --deep-2: #0f1828;
    --deep-ink: #e8ecf3;
    --deep-muted: #9aa4b6;
    --deep-line: #22304a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f19;
  --surface: #111a29;
  --ink: #e8ecf3;
  --muted: #9aa4b6;
  --line: #233046;
  --marigold: #f3bc4e;
  --marigold-ink: #f3bc4e;
  --on-marigold: #1a1406;
  --redline: #ff6a4d;
  --deep: #060a12;
  --deep-2: #0f1828;
  --deep-ink: #e8ecf3;
  --deep-muted: #9aa4b6;
  --deep-line: #22304a;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 16px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap {
    max-width: calc(var(--wrap) + 64px);
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.mark {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--marigold) 75%, transparent) 58%, color-mix(in srgb, var(--marigold) 75%, transparent) 92%, transparent 92%);
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--marigold); color: var(--on-marigold); }
.btn-primary:hover { background: color-mix(in srgb, var(--marigold) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark .dot { color: var(--marigold-ink); }
.wordmark .tld { font-weight: 500; font-stretch: 100%; color: var(--muted); font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: 0.95rem; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 40px); }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 850;
  max-width: 17ch;
}
.hero-lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--marigold);
}

/* ---------- comparison ---------- */
.compare-wrap { padding-bottom: clamp(56px, 8vw, 96px); }
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent),
    0 30px 60px -30px color-mix(in srgb, var(--ink) 35%, transparent);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.browser-url {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare {
  position: relative;
  height: clamp(520px, 52vw, 620px);
  overflow: hidden;
  container-type: inline-size;
  --pos: 50%;
  user-select: none;
}
.layer { position: absolute; inset: 0; overflow: hidden; }
.layer-after { clip-path: inset(0 0 0 var(--pos)); }
.divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
  z-index: 3;
}
.divider::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -1.5px;
  width: 3px;
  background: var(--marigold);
  box-shadow: 0 0 0 1px color-mix(in srgb, #000 15%, transparent);
}
.handle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--on-marigold);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.handle svg { width: 22px; height: 22px; }
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.compare input[type="range"]:focus-visible ~ .divider .handle { outline: 3px solid var(--ink); outline-offset: 3px; }
.tag {
  position: absolute;
  top: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 26, 43, 0.86);
  color: #f3f4f6;
}
.tag-before { left: 14px; }
.tag-after { right: 14px; background: var(--marigold); color: var(--on-marigold); }
.compare-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: var(--step--1);
  color: var(--muted);
}

/* The two sample sites are pictures of websites, so they keep their own fixed colors in both themes. */

/* "Before": the kind of site people are stuck with */
.old {
  height: 100%;
  background-color: #b9b9b9;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 6px, transparent 6px 12px);
  font-family: "Times New Roman", Times, serif;
  color: #222;
  padding: 26px 18px;
}
.old-table {
  max-width: 640px;
  margin: 0 auto;
  background: #fffbe0;
  border: 4px outset #d8d8d8;
  padding: 14px 16px 18px;
  text-align: center;
}
.old h3 {
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  font-stretch: normal;
  letter-spacing: 0;
  font-size: 1.7rem;
  color: #cc0000;
  text-shadow: 2px 2px 0 #ffcc00;
  font-weight: 700;
  line-height: 1.15;
}
.old-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #000080;
  color: #ffff00;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 10px 0;
  padding: 3px 0;
}
.old-marquee span { display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.old-nav { font-size: 0.95rem; margin: 6px 0 12px; }
.old-nav a { color: #0000ee; }
.old-img {
  width: 150px; height: 84px;
  margin: 8px auto;
  border: 2px inset #ccc;
  background: #ddd;
  color: #777;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
}
.old p { font-size: 0.78rem; color: #8a8a8a; line-height: 1.35; max-width: 34em; margin: 8px auto; }
.old .old-counter {
  display: inline-block;
  font-family: "Courier New", monospace;
  background: #000;
  color: #00ff00;
  padding: 2px 8px;
  font-size: 0.8rem;
  margin-top: 6px;
}
.old .old-small { font-size: 0.68rem; color: #999; }
.old .old-hours { font-size: 0.7rem; color: #9a9a9a; margin-top: 12px; }

/* red-pen notes on the old site */
.redline { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.note {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.05;
  color: #d2432a;
  max-width: 11ch;
  transform: rotate(-4deg);
}
.note::before {
  content: "";
  position: absolute;
  inset: -6px -10px;
  border: 2.5px solid #d2432a;
  border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
  opacity: 0.85;
}
.n1 { top: 22%; left: 3%; }
.n2 { top: 52%; left: 2%; transform: rotate(3deg); }
.n3 { bottom: 6%; left: 30%; transform: rotate(-2deg); }
@container (max-width: 640px) {
  .n2 { display: none; }
  .n1 { top: 30%; }
  .note { font-size: 1.05rem; }
}

/* "After": the redesign */
.new {
  height: 100%;
  background: #fbf8f3;
  color: #1d2b22;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
}
.new-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(16px, 4cqw, 40px);
  padding-top: 54px;
}
.new-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.new-logo i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #1f5f3f;
  display: block;
  box-shadow: inset 0 0 0 5px #fbf8f3, inset 0 0 0 7px #1f5f3f;
}
.new-links { display: flex; gap: 22px; font-size: 0.9rem; color: #4c5a50; }
.new-hero {
  margin: 0 clamp(16px, 4cqw, 40px);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 100% 0%, #2c7a52 0%, #1f5f3f 45%, #163f2b 100%);
  color: #fbf8f3;
  padding: clamp(22px, 5cqw, 48px);
  display: grid;
  gap: 14px;
}
.new-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(251, 248, 243, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}
.new-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8ee0a9; }
.new-hero h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 115%;
  letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 6cqw, 3.2rem);
  line-height: 1;
}
.new-hero p { color: rgba(251, 248, 243, 0.8); max-width: 34em; font-size: 0.95rem; }
.new-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.new-cta span {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f1b43c;
  color: #1a1406;
}
.new-cta span + span { background: transparent; color: #fbf8f3; box-shadow: inset 0 0 0 1.5px rgba(251, 248, 243, 0.5); }
.new-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px clamp(16px, 4cqw, 40px);
}
.new-tile {
  background: #ffffff;
  border: 1px solid #e8e1d4;
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;
}
.new-tile b { display: block; font-size: 0.95rem; }
.new-tile small { color: #6b766d; font-size: 0.8rem; }
@container (max-width: 640px) {
  .new-links { display: none; }
  .new-tiles { grid-template-columns: 1fr; gap: 8px; }
  .new-tile:nth-child(3) { display: none; }
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { display: grid; gap: 12px; align-content: start; position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--marigold-ink);
  font-weight: 600;
  position: absolute;
  top: 0;
  left: 0;
}
.step::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 34px;
  right: -28px;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { right: 0; }
.step h3 { font-size: var(--step-2); font-weight: 800; }
.step p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .step::after { right: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- included ---------- */
.included { border-top: 1px solid var(--line); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.split .section-head { margin-bottom: 0; position: sticky; top: 100px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--line);
}
.checklist svg { width: 22px; height: 22px; color: var(--marigold-ink); margin-top: 3px; grid-row: span 2; }
.checklist b { font-weight: 600; }
.checklist span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- money (dark band) ---------- */
.money { background: var(--deep); color: var(--deep-ink); }
.money .eyebrow { color: var(--deep-muted); }
.money .section-head p { color: var(--deep-muted); }
.money-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .money-grid { grid-template-columns: 1fr; } }
.calc {
  background: var(--deep-2);
  border: 1px solid var(--deep-line);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 18px;
}
.calc label { font-weight: 600; }
.calc-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  border: 1px solid var(--deep-line);
  border-radius: 12px;
  padding: 0 14px;
  max-width: 260px;
}
.calc-input span { color: var(--deep-muted); font-family: var(--font-mono); }
.calc input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--deep-ink);
  font: 600 1.4rem/1 var(--font-mono);
  padding: 14px 0;
}
.calc input:focus { outline: none; }
.calc-input:focus-within { border-color: var(--marigold); }
.calc-rows { display: grid; gap: 0; border-top: 1px solid var(--deep-line); }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--deep-line);
  color: var(--deep-muted);
}
.calc-row output {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--deep-ink);
  font-weight: 600;
}
.calc-row.big output { font-size: var(--step-2); color: var(--marigold); }
.calc-note { font-size: var(--step--1); color: var(--deep-muted); }

.terms { display: grid; gap: 0; border-top: 1px solid var(--deep-line); }
.term {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--deep-line);
}
.term h3 { font-size: var(--step-1); font-weight: 750; font-stretch: 110%; }
.term p { color: var(--deep-muted); grid-column: 1 / -1; font-size: 0.97rem; }
.term .price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--marigold);
  white-space: nowrap;
  align-self: center;
}
@media (max-width: 480px) {
  .term { grid-template-columns: 1fr; }
  .term .price { white-space: normal; }
}

/* ---------- ownership ---------- */
.own-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .own-grid { grid-template-columns: 1fr; } }
.own-points { display: grid; gap: 18px; margin-top: 28px; }
.own-points div { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--marigold); }
.own-points b { font-weight: 600; }
.own-points span { color: var(--muted); }
.terminal {
  background: #0c1320;
  color: #dfe5ee;
  border-radius: 16px;
  padding: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.75;
  overflow: hidden;
  border: 1px solid #1f2b3f;
  min-width: 0;
}
.terminal-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #1f2b3f;
  margin-bottom: 14px;
}
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3851; display: block; }
.terminal pre { margin: 0; padding: 0 20px; overflow-x: auto; font: inherit; }
.t-dim { color: #7d8aa0; }
.t-ok { color: #8ee0a9; }
.t-acc { color: #f3bc4e; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }
.about-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  max-width: 900px;
}
.monogram {
  width: clamp(84px, 12vw, 128px);
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 50%;
  background: var(--deep);
  color: var(--marigold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}
.about-card h2 { font-size: var(--step-3); font-weight: 800; margin: 10px 0 18px; }
.about-card p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; max-width: 38rem; }
.about-card p + p { margin-top: 14px; }
@media (max-width: 560px) { .about-card { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 44rem; }

/* ---------- contact ---------- */
.contact { background: var(--deep); color: var(--deep-ink); }
.contact .eyebrow { color: var(--deep-muted); }
.contact-inner { display: grid; gap: 24px; max-width: 760px; }
.contact h2 { font-size: var(--step-4); font-weight: 850; }
.contact p { color: var(--deep-muted); font-size: var(--step-1); }
.email-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.email {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 0.9rem + 0.8vw, 1.35rem);
  color: var(--deep-ink);
  background: var(--deep-2);
  border: 1px solid var(--deep-line);
  border-radius: 12px;
  padding: 12px 18px;
  user-select: all;
  text-decoration: none;
  overflow-wrap: anywhere;
  min-width: 0;
}
.contact .btn-ghost { color: var(--deep-ink); border-color: var(--deep-line); }
.contact .btn-ghost:hover { border-color: var(--deep-ink); }
.send-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--deep-muted); }
.send-list li { display: flex; gap: 10px; }
.send-list li::before { content: "→"; color: var(--marigold); font-family: var(--font-mono); }

.site-footer {
  background: var(--deep);
  color: var(--deep-muted);
  border-top: 1px solid var(--deep-line);
  font-size: var(--step--1);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 28px;
}
.site-footer .wordmark { color: var(--deep-ink); font-size: 1.1rem; }
.site-footer .wordmark .tld { color: var(--deep-muted); font-size: 0.9rem; }
.site-footer .wordmark .dot { color: var(--marigold); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.24s; }
  @keyframes rise { from { transform: translateY(14px); opacity: 0.001; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .old-marquee span { animation: none; padding-left: 0; }
  .btn, .faq summary::after { transition: none; }
}

/* ---------- contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  background: var(--deep-2);
  border: 1px solid var(--deep-line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 32px);
}
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--deep-ink); }
.field .opt { font-weight: 400; color: var(--deep-muted); font-size: 0.85rem; margin-left: 4px; }
.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--deep-ink);
  background: var(--deep);
  border: 1px solid var(--deep-line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--deep-muted) 70%, transparent); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--marigold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--marigold) 25%, transparent);
}
.field.invalid input { border-color: var(--redline); }
.field .err { color: var(--redline); font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form-foot .btn { border: 0; }
.form-status { color: var(--deep-muted); font-size: 0.95rem; min-width: 0; flex: 1 1 220px; }
.form-status.ok { color: var(--marigold); }
.form-status.bad { color: var(--redline); }
.contact-form.sent .field,
.contact-form.sent .form-foot .btn { display: none; }
.contact-form.sent .form-status { font-size: var(--step-1); color: var(--deep-ink); }

/* HubSpot form embed: HubSpot draws the form in its own frame, so this is just the card around it */
.hs-form-wrap {
  display: block;
  background: #ffffff;
  border-color: var(--deep-line);
  padding: clamp(6px, 1.2vw, 14px);
  min-height: 560px;
  overflow: hidden;
}
.hs-form-wrap .hs-form-frame { min-height: 540px; }
.hs-fallback { color: #566073; font-size: 1rem; padding: 24px; }

/* ---------- motion layer ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}

.typer { text-transform: none; letter-spacing: 0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.55em; }
.typer .prompt { color: var(--marigold-ink); }
.typer .typed { color: var(--ink); font-weight: 600; }
.caret {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: -0.4em;
  background: var(--marigold);
  vertical-align: text-bottom;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--marigold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* highlighter swipe on the headline */
.mark { background-repeat: no-repeat; background-size: 100% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .mark { animation: swipe 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.55s both; }
  @keyframes swipe { from { background-size: 0% 100%; } }
}

/* steps: connector lines fill in order */
.step::after {
  background:
    linear-gradient(var(--marigold), var(--marigold)) left center / 0% 100% no-repeat,
    var(--line);
  transition: background-size 0.7s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.steps.lit .step::after { background-size: 100% 100%, auto; }

/* scroll reveal (only applied by script to things below the fold at load) */
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

/* checklist hover: the check draws itself */
.checklist li { transition: background-color 0.2s ease; }
.checklist li:hover svg path { animation: draw 0.45s ease both; }
.checklist svg path { stroke-dasharray: 26; stroke-dashoffset: 0; }
@keyframes draw { from { stroke-dashoffset: 26; } }

/* terminal typing cursor */
.t-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  background: #f3bc4e;
  vertical-align: text-bottom;
  animation: blink 1.05s steps(1) infinite;
}

/* calculator number tick */
.calc-row output { transition: color 0.3s ease; }
.calc-row output.tick { color: var(--marigold); }

/* buttons: light sweep on hover */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }
}

@media (prefers-reduced-motion: reduce) {
  .caret, .t-cursor { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
  .step::after { transition: none; }
}

/* footer link to the client preview page (/preview) */
.footer-preview-link { color: var(--deep-muted); text-decoration: none; }
.footer-preview-link:hover { color: var(--deep-ink); text-decoration: underline; }
