@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --pad: clamp(16px, 2.6vw, 40px);
  --k: #000;
  --k2: #0d0d0c;
  --w: #f5f5f2;
  --mid: #c4c4bf;
  --dim: #94948e;
  --line: rgba(245, 245, 242, .18);
  --o: #e0633b;
  --o-text: #f07a53;
  --paper: #f3f1ec;
  --paper-ink: #111;
  --paper-2: #5c5a55;
  --paper-line: rgba(17, 17, 17, .16);
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--k); color: var(--w); font-family: var(--sans); font-size: 18px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--o-text); outline-offset: 3px; }
[hidden] { display: none !important; }

.pad { padding-inline: var(--pad); }
.skip { position: fixed; z-index: 40; left: 16px; top: -60px; padding: 8px 14px; background: var(--w); color: var(--k); }
.skip:focus { top: 12px; }

#cart { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; }

h1, h2 { font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 7.2rem); line-height: .98; max-width: 13.5em; }
h1 b { color: var(--o-text); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 5.2rem); line-height: 1; max-width: 16em; }
h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

.eyebrow { margin-bottom: 16px; color: var(--o-text); font-size: .9rem; font-weight: 600; }
.eyebrow-dark { color: #b3421e; }
.lede { margin-top: 22px; max-width: 54ch; color: var(--mid); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.lede-flush { margin-top: 0; }
.muted { color: var(--mid); }
.list-title { margin: 32px 0 10px; font-size: 1.05rem; }

.btn { display: inline-block; padding: 15px 24px; border: 1px solid var(--o); background: var(--o); color: var(--k); font-weight: 700; line-height: 1.25; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--w); border-color: var(--w); }
.btn-ghost { background: var(--k); border-color: var(--line); color: var(--w); }
.btn-ghost:hover { background: var(--k); border-color: var(--w); color: var(--w); }
.btn-dark { background: var(--k); border-color: var(--k); color: var(--w); font-size: clamp(1.05rem, 3vw, 1.35rem); overflow-wrap: anywhere; }
.btn-dark:hover { background: #2a1208; border-color: #2a1208; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; pointer-events: auto; }
.link { text-underline-offset: 4px; text-decoration-color: var(--o); font-weight: 600; }
.link:hover { color: var(--o-text); }

/* Top bar */
.top { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 14px; background: var(--k); }
.logo { display: block; }
.logo img { display: block; width: clamp(150px, 16vw, 210px); height: auto; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-left: auto; font-size: .94rem; font-weight: 600; }
.top nav a { text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: var(--o-text); }
.nav-cta { padding: 7px 13px; border: 1px solid var(--line); background: var(--k); font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { border-color: var(--w); }

/* Cart toggle */
.mode { position: fixed; z-index: 20; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--k2); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.mode button { padding: 7px 13px; border: 0; border-radius: 99px; background: transparent; color: var(--dim); font: inherit; cursor: pointer; }
.mode button[aria-pressed=true] { background: var(--o); color: var(--k); }
.mode button#tuned[aria-pressed=true] { background: var(--w); }

/* Hero */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 90px clamp(70px, 9vh, 96px); pointer-events: none; }
.hero > p { margin-top: 16px; max-width: 48ch; color: #d4d4cf; font-size: clamp(1.02rem, 1.4vw, 1.2rem); text-shadow: 0 0 12px #000; }

/* Page heroes: same visual language, a different scene and layout per page */
.page-hero { min-height: 100svh; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); padding-block: 92px clamp(24px, 3vw, 40px); background: var(--k); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 6.2rem); max-width: 14em; }
.page-intro > p { max-width: 46ch; color: var(--mid); font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.scene { position: relative; flex: 1 1 auto; min-height: 280px; margin-inline: calc(var(--pad) * -1); }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.page-hero-top .scene { order: -1; }
.page-hero-top .page-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 64px); align-items: end; }
.page-hero-top h1 { font-size: clamp(2.4rem, 5.2vw, 5.4rem); }

.page-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.page-hero-split .scene { align-self: stretch; margin-inline: 0; min-height: 420px; }
.page-hero-split h1 { font-size: clamp(2.4rem, 5vw, 5.2rem); }
.page-hero-split .page-intro { margin-top: 22px; }

.page-hero-audit .page-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 64px); align-items: end; }
.page-hero-audit .scene { margin-inline: 0; }
.page-hero-audit h1 { font-size: clamp(2.4rem, 5.2vw, 5.4rem); }

.page-hero-center .page-copy { text-align: center; }
.page-hero-center h1 { margin-inline: auto; font-size: clamp(2.5rem, 5.4vw, 5.6rem); }
.page-hero-center .page-intro > p { margin: 12px auto 0; max-width: 70ch; }
.page-hero-center .actions { justify-content: center; margin-top: 18px; }

.hero > .eyebrow { margin: 0 0 12px; color: var(--o-text); font-size: .9rem; }

.breakup { position: relative; z-index: 1; height: 150vh; pointer-events: none; }
.breakup p { position: sticky; top: 38svh; padding-inline: 16px; font-size: clamp(2rem, 5.4vw, 5.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-align: center; text-shadow: 0 0 30px #000, 0 0 10px #000; }
.breakup em { color: var(--o-text); font-style: normal; }

/* Content */
.solid { position: relative; z-index: 2; background: var(--k); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-alt { background: var(--k2); }
.section-flush { padding-top: 0; }

.rows { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.rows li { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); gap: 10px 24px; align-items: center; padding-block: clamp(18px, 2.2vw, 30px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: padding-left .25s, color .2s; }
.rows li::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--o); transform: translateY(101%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.rows span { color: var(--dim); font-size: .9rem; font-weight: 600; }
.rows h3 { font-size: clamp(1.5rem, 3.1vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.rows p { color: var(--mid); font-size: 1rem; }
.rows h3 a { text-decoration: none; }
.rows h3 a::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) {
  .rows li:hover { padding-left: 18px; color: var(--k); }
  .rows li:hover::before { transform: none; }
  .rows li:hover span, .rows li:hover p { color: var(--k); }
}

.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(32px, 4vw, 56px); border: 1px solid var(--line); background: var(--line); }
.offer { display: flex; flex-direction: column; min-height: 280px; padding: clamp(20px, 2.4vw, 32px); background: var(--k); }
.offer h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.offer p { margin-block: 12px 24px; color: var(--mid); font-size: 1rem; }
.offer a { margin-top: auto; font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--o); }
.offer a:hover { color: var(--o-text); }
.offer-main { grid-column: 1 / -1; min-height: 0; background: var(--o); color: var(--k); }
.offer-main h3 { font-size: clamp(2rem, 4.4vw, 4.4rem); letter-spacing: -.04em; }
.offer-main p { max-width: 52ch; color: var(--k); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.offer-main a { text-decoration-color: var(--k); }
.offer-main a:hover { color: var(--k); text-decoration-thickness: 3px; }

.audit-grid, .hosting-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.audit-grid > div:first-child, .hosting-grid > div:first-child { position: sticky; top: 90px; }
.audit-grid .btn, .hosting-grid .btn { margin-top: 28px; }
.audit-grid > div > .list-title:first-child { margin-top: 0; }
.ticks { margin-top: 0; }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); color: var(--mid); font-size: 1rem; }
.ticks li::before { content: "+"; position: absolute; left: 2px; color: var(--o-text); font-weight: 700; }
.ticks strong { color: var(--w); font-weight: 700; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.fit li { padding-block: 5px; color: var(--mid); font-size: 1rem; line-height: 1.35; }

/* Sample report */
.paper { padding-block: clamp(64px, 9vw, 120px); background: var(--paper); color: var(--paper-ink); }
.table-wrap { margin-top: clamp(28px, 4vw, 48px); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { padding-bottom: 14px; color: var(--paper-2); font-size: .9rem; text-align: left; }
th { padding: 10px 14px 10px 0; border-bottom: 2px solid var(--paper-ink); font-size: .8rem; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
td:first-child { color: var(--paper-2); }
.pill { display: inline-block; padding: 1px 9px; border: 1px solid var(--paper-ink); font-size: .85rem; font-weight: 700; }
.pill-high { background: #b3421e; border-color: #b3421e; color: #fff; }

/* Hosting */
.qa { margin: 0; border-top: 1px solid var(--line); }
.qa > div { padding-block: clamp(20px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.qa dt { font-size: clamp(1.4rem, 2.3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.qa dd { margin: 10px 0 0; max-width: 56ch; color: var(--mid); font-size: 1rem; }
.qa-note { margin-top: 20px; color: var(--dim); font-size: .95rem; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.two .list-title:first-of-type { margin-top: 32px; }
.agency { margin-top: 32px; padding-top: 4px; border-top: 1px solid var(--line); }
.agency .link { display: inline-block; margin-top: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--o-text); font-size: 1.3rem; line-height: 1.1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 20px; max-width: 60ch; color: var(--mid); font-size: 1rem; }

/* Contact */
.contact { padding-block: clamp(72px, 11vw, 150px); background: var(--o); color: var(--k); }
.contact h2 { max-width: 15em; font-size: clamp(2.5rem, 7vw, 7.2rem); line-height: .98; }
.contact p { margin-block: 22px 30px; max-width: 50ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px; color: var(--dim); font-size: .9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--w); }
.foot .legal { flex-basis: 100%; margin: 0; font-size: .8rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.steps li { padding-top: 18px; border-top: 2px solid var(--o); }
.steps span { color: var(--o-text); font-size: .9rem; font-weight: 700; }
.steps h3 { margin-top: 12px; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; }
.steps p { margin-top: 10px; color: var(--mid); font-size: 1rem; }

@media (max-width: 960px) {
  .audit-grid, .hosting-grid, .two, .page-hero-split, .page-hero-top .page-copy, .page-hero-audit .page-copy { grid-template-columns: minmax(0, 1fr); }
  .page-hero { min-height: 0; }
  .page-hero-split { display: flex; }
  .scene, .page-hero-split .scene { flex: none; height: clamp(300px, 52vw, 460px); min-height: 0; }
  .audit-grid > div:first-child, .hosting-grid > div:first-child { position: static; }
  .rows li { grid-template-columns: 44px minmax(0, 1fr); }
  .rows p { grid-column: 2; }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { min-height: 240px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 100px; }
  .page-hero { padding-top: 104px; }
  .top { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px 8px; }
  .top nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 12px; font-size: .86rem; }
  .nav-cta { margin-left: auto; padding: 5px 11px; font-size: .86rem; }
  .offers, .fit { grid-template-columns: minmax(0, 1fr); }
  .offer { min-height: 0; }
  .offer p { margin-bottom: 18px; }
  .hero { padding-bottom: 66px; }
  .actions .btn { width: 100%; text-align: center; }

  table, caption, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody { border-top: 2px solid var(--paper-ink); }
  tr { display: grid; grid-template-columns: 24px auto auto 1fr; gap: 8px 10px; align-items: center; padding-block: 15px; border-bottom: 1px solid var(--paper-line); }
  td { padding: 0; border: 0; }
  td:nth-child(2) { grid-column: 2 / -1; }
  td:nth-child(3) { grid-column: 2; color: var(--paper-2); font-size: .9rem; }
  td:last-child { color: var(--paper-2); font-size: .9rem; }
  td:last-child::before { content: "Effort: "; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rows li, .rows li::before, .btn { transition: none; }
}
