/* Sitewell: one stylesheet for the home page, the proposal pages and the 404.
   Palette: navy, amber, near-black, white. Nothing else.
   Type: Lexend 800 (display, the wordmark's voice) + Public Sans (reading). */

/* ---------- Fonts (self-hosted Google Fonts, Latin subset) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("assets/fonts/lexend-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  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: "Public Sans";
  src: url("assets/fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
/* Metric-matched stand-ins so the swap from the fallback doesn't move the page. */
@font-face {
  font-family: "Lexend Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  font-weight: 800;
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Public Sans Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 103%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1F3A;
  --amber: #F5A524;
  --ink: #121212;
  --white: #FFFFFF;
  --navy-soft: rgba(11, 31, 58, .78);   /* secondary text on white, 8.8:1 */
  --white-soft: rgba(255, 255, 255, .82); /* secondary text on navy and near-black */

  --display: "Lexend", "Lexend Fallback", system-ui, sans-serif;
  --text: "Public Sans", "Public Sans Fallback", system-ui, sans-serif;

  /* Five working sizes, plus the one figure in "Why a site". */
  --fs-xl: clamp(4.5rem, 0.6rem + 19vw, 14rem);      /* the commission figure */
  --fs-l: clamp(1.875rem, 1.1rem + 3.15vw, 4rem);     /* h1, section headings, prices */
  --fs-m: clamp(1.25rem, 1rem + 1.05vw, 2.125rem);    /* statements: hero line, steps, result */
  --fs-h3: 1.375rem;                                  /* small headings, calculator figures */
  --fs-body: 1.125rem;                                /* reading */
  --fs-s: 1rem;                                       /* notes, labels, buttons, navigation */

  --gutter: max(clamp(16px, 4.4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
  --maxw: 1312px;
  --section: clamp(80px, 10.5vw, 168px);
  --r-tile: 24px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-press: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--navy);
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font: 400 var(--fs-body)/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--amber); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus, var(--amber));
  outline-offset: 3px;
  border-radius: 6px;
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px; /* taste-skill-ignore: visually-hidden utility, not a rule */
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nowrap, [data-bind="phone"], [data-bind="email"] { white-space: nowrap; }

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 300;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font: 800 1rem/1 var(--display);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* Field colours: each chapter sets its ground, its ink and its focus colour. */
.field-navy { background: var(--navy); color: var(--white); --focus: var(--amber); }
.field-white { background: var(--white); color: var(--navy); --focus: var(--navy); }
.field-amber { background: var(--amber); color: var(--navy); --focus: var(--navy); }
.field-ink { background: var(--ink); color: var(--white); --focus: var(--amber); }

/* Text links inside copy */
.textlink {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.textlink:hover { text-decoration-thickness: 3px; }

/* ---------- The lockup (mark + wordmark, inline SVG <use>) ---------- */
.lockup { display: inline-flex; flex: none; align-items: center; color: inherit; border-radius: 8px; }
.lockup svg { height: 30px; width: auto; aspect-ratio: 991 / 215; }
.on-navy .lockup, .lockup.on-navy {
  --sw-frame: var(--white);
  --sw-bar: var(--amber);
  --sw-dots: var(--navy);
  --sw-word: var(--white);
  --sw-idot: var(--amber);
}
.lockup.on-ink {
  --sw-frame: var(--amber);
  --sw-bar: none;
  --sw-dots: var(--amber);
  --sw-word: var(--white);
  --sw-idot: var(--amber);
}

/* ---------- Buttons: one shape, two styles ---------- */
.btn {
  --bg: var(--amber);
  --fg: var(--navy);
  --bd: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: .32em;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--bd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 800 var(--fs-s)/1 var(--display);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform .16s var(--ease-press), background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: scale(.97); }
.btn-ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.field-amber .btn:not(.btn-ghost) { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); }
@media (hover: hover) {
  .field-navy .btn:not(.btn-ghost):hover,
  .field-ink .btn:not(.btn-ghost):hover { --bg: var(--white); --bd: var(--white); }
  .field-white .btn:not(.btn-ghost):hover { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); }
  .field-amber .btn:not(.btn-ghost):hover { --bg: var(--ink); --bd: var(--ink); }
  .field-navy .btn-ghost:hover,
  .field-ink .btn-ghost:hover { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
  .field-white .btn-ghost:hover,
  .field-amber .btn-ghost:hover { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- The window: the logo's browser window, drawn in CSS ---------- */
/* Proportions follow the mark: amber bar, three dots, a frame that also
   draws the line under the bar. --bh sets the bar height; dots, gaps and
   the inset all scale from it. */
.win {
  --fw: 6px;               /* frame width */
  --bh: 24px;              /* bar height */
  --wr: 18px;              /* outer corner radius */
  --frame: var(--navy);
  --bar: var(--amber);
  --dots: var(--navy);
  display: block;
  border: var(--fw) solid var(--frame);
  border-radius: var(--wr);
  background: var(--frame);
  overflow: hidden;
  color: var(--navy);
  text-decoration: none;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: calc(var(--bh) * .27);
  height: var(--bh);
  padding-inline: calc(var(--bh) * .32);
  background: var(--bar);
  border-bottom: var(--fw) solid var(--frame);
}
.win-bar i {
  flex: none;
  width: calc(var(--bh) * .41);
  height: calc(var(--bh) * .41);
  border-radius: 50%;
  background: var(--dots);
}
.win-label {
  margin-left: calc(var(--bh) * .28);
  font: 700 var(--fs-s)/1 var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-body { display: block; position: relative; background: var(--white); overflow: hidden; }
.win-body picture { display: block; }
.win-body img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* ---------- Header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding-block: 12px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: inherit;
  font: 700 var(--fs-s)/1 var(--text);
  text-decoration: none;
}
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav a.nav-wide, .nav a.btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-title {
  margin-top: clamp(20px, 5vw, 88px);
  font: 800 var(--fs-l)/1.03 var(--display);
  letter-spacing: -0.035em;
  max-width: 24ch;
}
.hero-title .br-wide { display: none; }
.hero-copy { margin-top: clamp(16px, 2.4vw, 32px); }
.hero-line {
  font: 800 var(--fs-m)/1.22 var(--display);
  letter-spacing: -0.02em;
  max-width: 26ch;
}
.hero-proof { margin-top: 14px; max-width: 40ch; color: var(--white-soft); }
.hero-proof strong { color: var(--white); font-weight: 700; }
.hero-copy .actions { margin-top: clamp(22px, 3vw, 36px); }
.callline { margin-top: 18px; font-size: var(--fs-body); color: var(--white-soft); }
.callline a { color: var(--white); }
.hero-stage {
  position: relative;
  margin-top: 36px;
  margin-right: calc(-1 * var(--gutter));
  height: clamp(300px, 46svh, 440px);
  overflow: hidden;
}
.win-hero {
  --fw: 8px;
  --bh: 34px;
  --wr: 24px;
  --frame: var(--white);
  width: calc(100% + 24px);
  border-right-width: 0;
  border-top-right-radius: 0;
  border-bottom-width: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: transform .3s var(--ease-out);
}
.win-hero .win-body { background: var(--navy); }
.win-hero .win-body img { height: auto; }
.win-hero:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .win-hero:hover { transform: translateY(-6px); }
}

/* ---------- Section heads ---------- */
.chapter { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 80px); }
.section-head h2, .chapter-title {
  font: 800 var(--fs-l)/1.03 var(--display);
  letter-spacing: -0.035em;
}
.section-head p { max-width: 44ch; }

/* ---------- Demos ---------- */
.demo-row {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-inline: calc(-1 * var(--gutter));
  padding: 8px var(--gutter) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.demo-row::-webkit-scrollbar { display: none; }
.demo-row:focus-visible { outline-offset: -3px; }
.demo {
  position: relative;
  flex: 0 0 auto;
  width: min(64vw, 270px);
  scroll-snap-align: start;
}
.demo .win { transition: transform .3s var(--ease-out); }
.demo .win-body { aspect-ratio: 400 / 866; }
.demo-name {
  margin-top: 18px;
  font: 800 var(--fs-body)/1.2 var(--display);
  letter-spacing: -0.02em;
}
.demo-where { margin-top: 6px; font-size: var(--fs-s); color: var(--navy-soft); }
.demo-line { margin-top: 10px; font-size: var(--fs-s); line-height: 1.5; }
.demo-open {
  display: inline-block;
  margin-top: 12px;
  font: 700 var(--fs-s)/1.3 var(--text);
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.demo-open::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.demo-open:focus-visible { outline: none; }
.demo-open:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 4px; }
@media (hover: hover) {
  .demo:hover .win { transform: translateY(-6px); }
  .demo:hover .demo-open { text-decoration-thickness: 3px; }
}
.demo-note { margin-top: 28px; font-size: var(--fs-s); color: var(--navy-soft); }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: clamp(28px, 4vw, 52px); margin-top: clamp(36px, 5vw, 72px); }
.step { display: grid; grid-template-columns: 2.1ch 1fr; column-gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.step-n { font: 800 var(--fs-l)/0.86 var(--display); letter-spacing: -0.04em; }
.step-text {
  font: 800 var(--fs-m)/1.2 var(--display);
  letter-spacing: -0.02em;
  max-width: 25ch;
  padding-top: .1em;
}

/* ---------- Pricing ---------- */
.tiles { display: grid; gap: 12px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--r-tile);
}
.tile-claim { background: var(--navy); color: var(--white); }
.tile-site { background: var(--amber); color: var(--navy); }
.tile-care { background: var(--ink); color: var(--white); }
.tile h3 { font: 800 var(--fs-h3)/1.15 var(--display); letter-spacing: -0.02em; max-width: 18ch; }
.tile-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  margin-bottom: 6px;
}
.price-num { font: 800 var(--fs-l)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-from { font: 800 var(--fs-h3)/1 var(--display); letter-spacing: -0.02em; }
.price-per { font: 700 var(--fs-s)/1.3 var(--text); }
.tile-claim .price-num, .tile-care .price-num { color: var(--amber); }
.tile p { max-width: 36ch; }
.tile-list { list-style: none; display: grid; gap: 10px; }
.tile-list li { padding-left: 22px; position: relative; }
.tile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--amber);
}
.extras {
  display: grid;
  gap: 18px;
  margin-top: clamp(36px, 4vw, 56px);
}
.extras h3 { font: 800 var(--fs-h3)/1.15 var(--display); letter-spacing: -0.02em; }
.extra-list { list-style: none; display: grid; gap: 14px; }
.extra {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 20px;
  align-items: baseline;
}
.extra b { font-weight: 700; }
.extra-price { font: 800 var(--fs-h3)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.extra p { grid-column: 1 / -1; margin-top: 4px; color: var(--navy-soft); }
.own { margin-top: clamp(28px, 3vw, 40px); max-width: 46ch; }
.pricing .actions { margin-top: 24px; }

/* ---------- Why a site ---------- */
.why-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.why-grid .calc { margin-top: clamp(20px, 3vw, 24px); }
.why-figure {
  display: block;
  font: 800 var(--fs-xl)/0.82 var(--display);
  letter-spacing: -0.055em;
  color: var(--amber);
  white-space: nowrap;
  margin-left: -0.04em;
}
.why-head {
  display: block;
  margin-top: clamp(14px, 2vw, 28px);
  font: 800 var(--fs-m)/1.2 var(--display);
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.why-copy p { max-width: 46ch; color: var(--white-soft); }
.why-copy p + p { margin-top: 20px; }
.why-copy p strong { color: var(--white); }
.calc { display: grid; gap: 28px; align-content: start; }
.calc-title { font: 800 var(--fs-h3)/1.15 var(--display); letter-spacing: -0.02em; }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 6px; }
.calc-field label { font-weight: 700; }
.calc-field output {
  font: 800 var(--fs-h3)/1 var(--display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}
.calc-field input { grid-column: 1 / -1; }
.calc-result {
  font: 800 var(--fs-m)/1.22 var(--display);
  letter-spacing: -0.02em;
}
.calc-result strong { color: var(--amber); font-weight: 800; white-space: nowrap; }
.calc-note { font-size: var(--fs-s); color: var(--white-soft); max-width: 44ch; }
.no-js .calc-field { display: none; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}
input[type="range"]:focus-visible { outline-offset: 2px; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: var(--white);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  margin-top: -12px;
  border: 5px solid var(--navy);
  border-radius: 50%;
  background: var(--amber);
  transition: transform .15s var(--ease-press);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: var(--white);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 5px solid var(--navy);
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy p { margin-top: 22px; max-width: 40ch; }
.win-about {
  --fw: 12px;
  --bh: 46px;
  --wr: 34px;
  width: 100%;
  max-width: 520px;
}
.win-about .win-body { padding: clamp(24px, 4vw, 40px); display: grid; gap: 6px; }
.card-name { font: 800 var(--fs-m)/1.1 var(--display); letter-spacing: -0.03em; }
.card-role { color: var(--navy-soft); }
.card-phone {
  margin-top: 18px;
  font: 800 var(--fs-m)/1.05 var(--display);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.card-phone a, .card-email a { text-decoration: none; border-radius: 6px; }
.card-phone a:hover, .card-email a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.card-email { font-weight: 700; overflow-wrap: anywhere; }
.win-about .actions { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-foot { padding-block: clamp(64px, 9vw, 128px) 40px; }
.site-foot .lockup svg { height: clamp(48px, 7vw, 96px); }
.foot-grid { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 72px); }
.foot-grid p { color: var(--white-soft); }
.foot-grid a { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-grid .foot-place { color: var(--white); font: 800 var(--fs-h3)/1.3 var(--display); letter-spacing: -0.02em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal { margin-top: 48px; font-size: var(--fs-s); color: var(--white-soft); }
.site-foot .actions { margin-top: 28px; }

/* ---------- Phone call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--white);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .32s var(--ease-out), visibility 0s linear .32s;
}
.callbar.is-on { transform: none; visibility: visible; transition: transform .32s var(--ease-out); }
.callbar .btn { flex: 1 1 0; min-height: 50px; }
@media (max-width: 599px) {
  .site-foot { padding-bottom: calc(48px + 72px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .card-email [data-bind="email"] { white-space: normal; }
}
@media (min-width: 600px) {
  .callbar { display: none; }
}
@media (max-width: 599px) {
  .actions .btn { flex: 1 1 auto; }
}

/* ---------- Proposal pages ---------- */
.p-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding-block: 12px; }
.p-top .btn { min-height: 46px; padding: 0 18px; }
.p-head { padding-block: clamp(20px, 4vw, 56px) clamp(44px, 6vw, 88px); }
.p-head-grid { display: grid; gap: 32px; align-items: center; }
.p-kicker { font-weight: 700; color: var(--amber); }
.p-head h1 {
  margin-top: 12px;
  font: 800 var(--fs-l)/1.04 var(--display);
  letter-spacing: -0.035em;
  max-width: 22ch;
}
.p-head h1 span { display: block; margin-top: 10px; font-size: .52em; line-height: 1.15; letter-spacing: -0.02em; color: var(--amber); }
.p-head h1 span.script { display: inline; margin: 0; font-size: 1em; color: inherit; letter-spacing: inherit; }
.p-for { margin-top: 18px; max-width: 54ch; color: var(--white-soft); }
.p-for a { color: var(--white); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.p-head .actions { margin-top: 26px; }
.p-shot { display: none; }
.p-body { padding-block: clamp(44px, 6vw, 88px); }
.p-grid { display: grid; gap: 40px; }
.p-col > section + section { margin-top: 36px; }
.proposal h2 { font: 800 var(--fs-h3)/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.proposal ul { padding-left: 1.15em; display: grid; gap: 8px; }
.proposal li::marker { color: var(--navy); }
.proposal .helps { padding: 24px; border-radius: var(--r-tile); background: var(--amber); }
.proposal .payback { padding: 24px; border-radius: var(--r-tile); background: var(--navy); color: var(--white); }
.proposal .payback li::marker { color: var(--amber); }
.proposal .payback b { color: var(--amber); }
.proposal .payback p { margin-bottom: 8px; }
.proposal .price {
  display: block;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-tile);
  background: var(--navy);
  color: var(--white);
}
.proposal .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.proposal .row + .row,
.proposal .founding + .row,
.proposal .note-box + .row { margin-top: 22px; }
.proposal .row b { font-size: 1.125rem; }
.proposal .amt {
  font: 800 var(--fs-m)/1 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.proposal .amt small { font: 700 var(--fs-s)/1 var(--text); letter-spacing: 0; margin-left: 2px; }
.proposal .price .amt { color: var(--amber); }
.proposal .price .amt small { color: var(--white); }
.proposal .note { margin-top: 4px; font-size: var(--fs-s); line-height: 1.45; }
.proposal .price .note { color: var(--white-soft); }
.proposal .addons .note { color: var(--navy-soft); }
.proposal .founding,
.proposal .note-box {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--amber);
  color: var(--navy);
  font-size: var(--fs-s);
}
.proposal .addons { display: block; }
.proposal .pay { margin-top: 18px; }
.pay-intro { margin-top: 40px; font-weight: 700; }
.pay-intro + .pay { margin-top: 14px; }
.pay-note { margin-top: 14px; font-size: var(--fs-s); color: var(--navy-soft); }
.pay-note a { color: var(--navy); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.p-kicker-line { display: block; margin-bottom: 6px; color: var(--amber); font-weight: 700; }
.proposal .pay + section, .proposal .pay-note + section { margin-top: 40px; }
@media (max-width: 599px) {
  .p-body { font-size: 1rem; line-height: 1.5; }
  .p-col > section + section { margin-top: 30px; }
  .proposal .helps, .proposal .payback { padding: 20px; }
}
.proposal .pay .btn { flex: 1 1 220px; }
.p-sign { padding-block: 32px 8px; display: grid; gap: 8px; font-size: var(--fs-s); color: var(--navy-soft); }
.p-sign strong { color: var(--navy); }
.p-sign a { color: var(--navy); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; }
.lost-body { display: grid; align-content: center; gap: 28px; padding-block: 40px 96px; }
.win-empty { --fw: 12px; --bh: 44px; --wr: 32px; --frame: var(--white); width: min(100%, 320px); }
.win-empty .win-body { height: 180px; background: var(--navy); }
.lost h1 { font: 800 var(--fs-l)/1.03 var(--display); letter-spacing: -0.035em; max-width: 18ch; }
.lost p { max-width: 40ch; color: var(--white-soft); }

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
  .lockup svg { height: 34px; }
  .demo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 24px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .demo { width: auto; max-width: 300px; }
  .demo-note { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-care { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .lockup svg { height: 38px; }
  .nav { gap: 8px; }
  .nav a.nav-wide { display: inline-flex; }
  .nav a.btn { display: inline-flex; margin-left: 12px; min-height: 48px; }

  .hero { min-height: min(100svh, 1000px); display: flex; flex-direction: column; }
  .hero > .wrap:last-child { flex: 1; display: flex; flex-direction: column; }
  .hero-title { max-width: none; }
  .hero-title .br-wide { display: inline; }
  .hero-body {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    margin-top: clamp(28px, 3vw, 48px);
    min-height: 420px;
  }
  .hero-copy { grid-column: 1 / span 5; margin-top: 0; }
  .hero-stage {
    grid-column: 6 / -1;
    margin: 8px calc(-1 * max(var(--gutter), (100vw - var(--maxw)) / 2)) 0 0;
    height: auto;
    min-height: 0;
  }
  .win-hero { --fw: 10px; --bh: 40px; --wr: 28px; position: absolute; top: 0; left: 0; bottom: -64px; width: max(calc(100% + 40px), 860px); display: flex; flex-direction: column; }
  .win-hero .win-body { flex: 1; min-height: 0; }
  .win-hero .win-body picture, .win-hero .win-body img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .section-head h2 { grid-column: 1 / span 7; }
  .section-head p { grid-column: 9 / -1; }


  .steps { gap: 44px; }
  .step:nth-child(2) { margin-left: 24%; }
  .step:nth-child(3) { margin-left: 48%; }

  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
  .tile-care { grid-column: auto; }
  .extras { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .extras h3 { grid-column: 1 / span 4; }
  .extra-list { grid-column: 5 / -1; }

  .why-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .why-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 40px; }
  .why-title .why-head { max-width: 16ch; margin-top: 0; padding-bottom: .5em; }
  .why-copy { grid-column: 1 / span 6; }
  .why-grid .calc { grid-column: 8 / -1; margin-top: 0; }

  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .about-copy { grid-column: 1 / span 6; }
  .win-about { grid-column: 8 / -1; justify-self: end; }

  .foot-grid { grid-template-columns: 1.3fr 1fr 1.2fr .8fr; align-items: start; }
  .foot-nav { flex-direction: column; align-items: flex-start; gap: 0; margin-top: -10px; }

  .callbar { display: none; }
  .demo-note { display: none; }

  .p-head-grid { grid-template-columns: minmax(0, 1fr) 420px; }
  .p-shot { display: block; --fw: 8px; --bh: 32px; --wr: 22px; --frame: var(--white); }
  .p-shot .win-body { aspect-ratio: 1280 / 800; }
  .p-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .p-side { position: sticky; top: 24px; }
}

@media (min-width: 1200px) {
  .demo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .demo:hover .win, .win-hero:hover { transform: none; }
}

/* ---------- Print: proposals print cleanly ---------- */
@media print {
  .skip, .callbar, .p-top .btn, .p-head .actions, .pay, .site-foot { display: none !important; }
  .field-navy, .field-ink { background: #fff; color: #000; }
  .proposal .price, .proposal .payback { border: 2px solid var(--navy); }
}
