/* Fonts are stored with the site, so visitors' browsers don't contact Google */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand colors */
  --ink: #0B0B0F;
  --paper: #ECE9E2;
  --graphite: #97949C;
  --ember: #FF4A1C;
  --ember-hover: #FF6A42;
  --mist: #E4E4E7;
  --steel: #5B616B;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* Dark theme (default): Ink with glossy Ember */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: var(--graphite);
  --line: rgba(236, 233, 226, 0.14);
  --line-strong: rgba(236, 233, 226, 0.28);
  --grid-major: rgba(236, 233, 226, 0.055);
  --grid-minor: rgba(236, 233, 226, 0.022);
  --accent: var(--ember);
  --on-accent: var(--ink);
  --header-bg: rgba(11, 11, 15, 0.86);
  --lift-shadow: rgba(0, 0, 0, 0.9);

  --btn-fill:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.12) 46%,
      rgba(255, 255, 255, 0) 52%,
      rgba(0, 0, 0, 0.12) 100%),
    var(--ember);
  --btn-fill-hover:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.12) 46%,
      rgba(255, 255, 255, 0) 52%,
      rgba(0, 0, 0, 0.12) 100%),
    var(--ember-hover);
  --btn-text: var(--ink);
  --btn-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  --btn-shine: rgba(255, 255, 255, 0.55);
  --btn-streak: rgba(255, 255, 255, 0.3);
  --btn-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 12px 30px -14px rgba(255, 74, 28, 0.8);
  --btn-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 16px 36px -14px rgba(255, 74, 28, 0.95);
  --btn-shadow-active:
    inset 0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 6px 18px -12px rgba(255, 74, 28, 0.8);
}

/* Light theme: light gray with glossy chrome */
html[data-theme="light"] {
  color-scheme: light;
  --bg: var(--mist);
  --fg: var(--ink);
  --muted: #55535C;
  --line: rgba(11, 11, 15, 0.13);
  --line-strong: rgba(11, 11, 15, 0.26);
  --grid-major: rgba(11, 11, 15, 0.07);
  --grid-minor: rgba(11, 11, 15, 0.03);
  --accent: var(--steel);
  --on-accent: #F7F7F8;
  --header-bg: rgba(228, 228, 231, 0.86);
  --lift-shadow: rgba(30, 32, 38, 0.35);

  --btn-fill: linear-gradient(180deg,
    #FFFFFF 0%,
    #EDEFF2 20%,
    #CDD1D7 47%,
    #A2A8B1 52%,
    #BCC1C8 70%,
    #E4E7EB 100%);
  --btn-fill-hover: linear-gradient(180deg,
    #FFFFFF 0%,
    #F4F5F7 20%,
    #D9DCE1 47%,
    #B0B5BE 52%,
    #CACED4 70%,
    #EEF0F3 100%);
  --btn-text: var(--ink);
  --btn-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  --btn-shine: rgba(255, 255, 255, 0.85);
  --btn-streak: rgba(255, 255, 255, 0.6);
  --btn-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(11, 11, 15, 0.2),
    0 12px 26px -14px rgba(11, 11, 15, 0.55);
  --btn-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(11, 11, 15, 0.28),
    0 16px 32px -14px rgba(11, 11, 15, 0.6);
  --btn-shadow-active:
    inset 0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(11, 11, 15, 0.28),
    0 6px 16px -12px rgba(11, 11, 15, 0.5);
}

/* Smooth color change while switching themes */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease, stroke 0.35s ease, box-shadow 0.35s ease !important;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  white-space: nowrap;
  clip-path: inset(50%);
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 14px;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { clip-path: none; }

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

h1, h2, h3 { margin: 0; font-weight: 400; }

h1, h2 {
  font-family: var(--serif);
  letter-spacing: -0.01em;
  line-height: 1.04;
}

h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

p { margin: 0; }

.lede {
  color: var(--muted);
  font-size: 1.1875rem;
  max-width: 34em;
}

/* Buttons */
.button {
  --gx: 30%;
  --gy: -20%;
  --sheen: 40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  white-space: nowrap;
  background: var(--btn-fill);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  text-shadow: var(--btn-text-shadow);
  border-radius: 4px;
  box-shadow: var(--btn-shadow);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(140px circle at var(--gx) var(--gy), var(--btn-shine), rgba(255, 255, 255, 0) 62%),
    linear-gradient(112deg,
      rgba(255, 255, 255, 0) calc(var(--sheen) - 16%),
      var(--btn-streak) var(--sheen),
      rgba(255, 255, 255, 0) calc(var(--sheen) + 16%));
  transition: opacity 0.18s ease;
}
.button:hover {
  background: var(--btn-fill-hover);
  box-shadow: var(--btn-shadow-hover);
}
.button:active {
  transform: scale(0.97);
  box-shadow: var(--btn-shadow-active);
}

/* Light and dark switch */
.theme-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease;
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.theme-toggle:hover { border-color: var(--fg); }
.theme-toggle:active svg { transform: rotate(-30deg) scale(0.9); }
.button:active::after { opacity: 0.55; }

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.text-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--accent); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-mark {
  flex: none;
  display: block;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--fg);
  position: relative;
}
.wordmark-mark::after {
  content: "";
  position: absolute;
  right: -1.5px;
  bottom: -1.5px;
  width: 9px;
  height: 9px;
  background: var(--accent);
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
}
.site-nav a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:not(.button):hover { color: var(--fg); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
.hero-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.drawing { position: relative; margin: 0; }
.drawing svg { width: 100%; height: auto; }
.drawing figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

.d-line { fill: none; stroke: var(--fg); stroke-width: 1.25; stroke-opacity: 0.55; }
.d-faint { fill: none; stroke: var(--fg); stroke-width: 1; stroke-opacity: 0.22; stroke-dasharray: 3 4; }
.d-dim { fill: none; stroke: var(--accent); stroke-width: 1.25; }
.d-label { fill: var(--accent); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.d-dot { fill: var(--muted); }

.build { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .draw .d-line,
  .draw .d-dim {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.1s ease-out forwards;
  }
  .draw .d-dim { animation-delay: 0.9s; }
  .draw .d-label { opacity: 0; animation: appear 0.4s ease-out 1.5s forwards; }
  .draw .build { animation: appear 0.9s ease-out 2.1s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .build { opacity: 1; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Sections */
.section {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 112px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .lede { font-size: 1.0625rem; }

/* Fit: who it's for */
.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg);
}
.fit > div { padding: clamp(24px, 3.5vw, 40px); }
.fit > div + div { border-left: 1px solid var(--line); }
.fit h3 { margin-bottom: 18px; }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
}
.fit .not li { color: var(--muted); }
.fit .not li::before { background: var(--muted); }

/* Inside: the folder plan */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--bg);
}
.plan-tree {
  padding: clamp(24px, 3.5vw, 40px);
  border-right: 1px solid var(--line);
  font-size: 1rem;
}
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { margin-left: 11px; padding-left: 20px; border-left: 1px solid var(--line-strong); }
.tree li { padding: 5px 0; }
.tree .folder { font-weight: 600; }
.tree .file { color: var(--muted); }
.tree .file b { color: var(--fg); font-weight: 500; }

.plan-notes { margin: 0; padding: 0; list-style: none; }
.plan-notes li {
  padding: 22px clamp(24px, 3.5vw, 40px);
  border-bottom: 1px solid var(--line);
}
.plan-notes li:last-child { border-bottom: 0; }
.plan-notes h3 { margin-bottom: 6px; }
.plan-notes p { color: var(--muted); }

/* Steps */
.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.phase { padding: clamp(24px, 3vw, 34px); background: var(--bg); }
.phase p { color: var(--muted); }
.phase + .phase { border-left: 1px solid var(--line); }
.phase-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.phase-head h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.phase-head span { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }

/* Costs */
.costs {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--bg);
}
.costs th, .costs td {
  text-align: left;
  vertical-align: top;
  padding: 20px clamp(18px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.costs th { font-weight: 600; width: 34%; }
.costs td { color: var(--muted); }
.costs td strong { color: var(--fg); font-weight: 600; display: block; }
.costs tr:last-child th, .costs tr:last-child td { border-bottom: 0; }

/* Story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
}
.story blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
}
.story-body p + p { margin-top: 1em; }
.story-body p { color: var(--muted); max-width: 36em; }
.story-body .sign { color: var(--fg); margin-top: 1.4em; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); max-width: 820px; }
.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-size: 1.125rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--muted);
  padding: 0 0 24px;
  max-width: 40em;
}

/* Final call */
.final { text-align: left; }
.final-box {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}
.final-box h2 { margin-bottom: 16px; }
.final-box p { color: var(--muted); max-width: 32em; }
.price {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 18px;
}

/* Footer: drawing title block */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.title-block {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 0.875rem;
}
.title-block > div { padding: 16px 18px; }
.title-block > div + div { border-left: 1px solid var(--line); }
.title-block dt { color: var(--muted); margin-bottom: 4px; }
.title-block dd { margin: 0; }
.title-block a { text-decoration: none; }
.title-block a:hover { color: var(--accent); }
.footer-legal {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 62em;
}

/* Hover: things grow slightly, text gets slightly bolder */
.site-nav a:not(.button),
.text-link { display: inline-block; }

.lift,
.wordmark,
.site-nav a:not(.button),
.text-link,
.faq summary {
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lift { position: relative; background: var(--bg); }

h1, h2, h3, blockquote, .price, .costs th, .faq summary {
  -webkit-text-stroke: 0 currentColor;
  transition: -webkit-text-stroke-width 0.2s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.w {
  display: inline-block;
  position: relative;
  -webkit-text-stroke: 0 currentColor;
  transition: transform 0.14s ease, color 0.14s ease, -webkit-text-stroke-width 0.14s ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: scale(1.05); }
  .theme-toggle:hover { transform: scale(1.1); }
  .button:active { transform: scale(0.97); }
  .wordmark:hover,
  .site-nav a:not(.button):hover,
  .text-link:hover { transform: scale(1.06); }
  .lift:hover { transform: scale(1.015); z-index: 2; box-shadow: 0 0 0 1px var(--line-strong), 0 22px 44px -26px var(--lift-shadow); }
  .drawing.lift:hover { transform: scale(1.02); box-shadow: none; }
  .faq summary:hover { transform: scale(1.012); transform-origin: left center; -webkit-text-stroke-width: 0.35px; }

  h1:hover, h2:hover, blockquote:hover, .price:hover { -webkit-text-stroke-width: 0.018em; }
  h3:hover, .costs th:hover { -webkit-text-stroke-width: 0.35px; }
  .phase-head h3:hover { -webkit-text-stroke-width: 0.025em; }

  .w:hover {
    z-index: 1;
    transform: scale(1.05);
    color: var(--fg);
    -webkit-text-stroke-width: 0.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover, .button:active, .theme-toggle:hover,
  .wordmark:hover, .site-nav a:not(.button):hover, .text-link:hover,
  .lift:hover, .faq summary:hover, .w:hover { transform: none; }
}

/* Responsive */
@media (max-width: 920px) {
  .hero .wrap,
  .section-head,
  .story,
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan-tree { border-right: 0; border-bottom: 1px solid var(--line); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase + .phase { border-left: 0; border-top: 1px solid var(--line); }
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-block > div:nth-child(3) { border-left: 0; }
  .title-block > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-nav a:not(.button) { display: none; }
  .fit { grid-template-columns: minmax(0, 1fr); }
  .fit > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .final-box { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; }
  .costs th, .costs td { display: block; width: auto; }
  .costs th { border-bottom: 0; padding-bottom: 4px; }
  .costs td { padding-top: 0; }
  .title-block { grid-template-columns: minmax(0, 1fr); }
  .title-block > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.drawing.lift { background: transparent; }

@media (max-width: 380px) {
  .wordmark { font-size: 1.25rem; gap: 8px; }
  .site-header .wrap { gap: 10px; }
  .site-header .button-small { padding: 0 12px; }
  .hero-actions .button { white-space: normal; }
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  font-size: 0.9375rem;
}
.footer-links a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-links a:hover { text-decoration-color: var(--accent); }

/* Legal pages: terms and privacy */
.legal { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.legal .wrap > * { max-width: 44rem; }
.legal h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  margin-bottom: 14px;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}
.legal .lede { margin-bottom: 8px; }
.legal h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin: 48px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal p { color: var(--muted); }
.legal p + p { margin-top: 0.9em; }
.legal ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.legal li {
  position: relative;
  color: var(--muted);
  padding-left: 26px;
  margin-bottom: 8px;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
}
.legal ul + p { margin-top: 0.9em; }

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-links a:hover { transform: none; }
}
