/* Everstead Insurance, concept site.
   Layout concept: everything sits on the house drawing's isometric grid. Square corners, 30° cut corners,
   30° section edges, mono figures, and hatching for anything not covered. */

:root {
  color-scheme: light;

  --paper: #eef0ea;
  --paper-2: #e2e7df;
  --white: #f9faf6;
  --ink: #0f1f1a;
  --ink-2: #3d4c46;
  --ink-3: #56645e;
  --line: #c9d1c8;
  --line-strong: #8e9b93;
  --ghost: #9eaaa3;
  --grid: rgba(15, 31, 26, 0.075);

  --ever: #12392e;
  --ever-2: #1d4d3f;
  --ever-ink: #e8efe9;
  --ever-ink-2: #b4c8bc;
  --ever-line: rgba(232, 239, 233, 0.18);

  --porch: #ffc94a;
  --porch-deep: #d99e00;
  --error: #8f1d0b;

  --display: "Archivo", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* A 30° cut corner: run 24px, rise 24 × tan 30° */
  --cx: 24px;
  --cy: 13.9px;
  --tilt: 5vw;

  --util-h: 36px;
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 136px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow: 0 1px 2px rgba(15, 31, 26, 0.08), 0 18px 40px -16px rgba(18, 57, 46, 0.32);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: #8e9b93 var(--paper);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

::selection { background: var(--porch); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; border-radius: 0; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s4); top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--s3); }

.wrap {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Shape helpers */
.cut, .quote-card, .claim-start, .help-card, .nope, .who .col-art {
  clip-path: polygon(0 0, calc(100% - var(--cx)) 0, 100% var(--cy), 100% 100%, 0 100%);
}

/* Hatching: the drawing's mark for "not covered" */
.sw { display: inline-block; width: 14px; height: 14px; flex: none; vertical-align: -2px; }
.sw-on { background: var(--ever); }
.sw-off {
  color: var(--ghost);
  border: 1px dashed currentColor;
  background: repeating-linear-gradient(150deg, currentColor 0 1px, transparent 1px 4px);
}

/* Type */
.h1 {
  font-family: var(--display);
  font-weight: 820;
  font-stretch: 80%;
  font-size: clamp(2.8rem, 1rem + 4.2vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 17ch;
  text-wrap: balance;
}
.body { max-width: 56ch; color: var(--ink-2); font-size: 1.0625rem; text-wrap: pretty; }
.h2 + .body { margin-top: var(--s5); }
.fine { font-size: 14px; color: var(--ink-3); }
.sec-head { max-width: 680px; }

/* Buttons: a fill that sweeps in at 30°, never an opacity fade */
.btn {
  --bg: var(--ink); --fg: var(--paper); --fill: var(--porch); --fg-hover: var(--ink); --bd: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  overflow: hidden;
  transition: transform 140ms var(--ease-out), color 180ms ease;
  -webkit-user-select: none; user-select: none;
}
.btn::before {
  content: ""; position: absolute; top: -2px; bottom: -2px; left: -30%; right: -30%; z-index: -1;
  background: var(--fill);
  transform: translateX(-101%) skewX(-30deg);
  transition: transform 340ms var(--ease-out);
}
.btn::after {
  content: ""; width: 8px; height: 8px; flex: none;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 2px;
  transition: transform 220ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--fg-hover); }
  .btn:hover::before { transform: translateX(0) skewX(-30deg); }
  .btn:hover::after { transform: translateX(3px) rotate(45deg); }
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-sm::after { display: none; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); --fg-hover: var(--paper); --bd: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); --fill: var(--ever-2); --fg-hover: var(--white); }
.btn-porch { --bg: var(--porch); --fg: var(--ink); --fill: var(--white); --fg-hover: var(--ink); }

/* Utility bar */
.util { background: var(--ink); color: var(--ever-ink-2); font-size: 13.5px; }
.util-in { min-height: var(--util-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: 6px; }
.util a { color: var(--porch); font-family: var(--mono); font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .util a:hover { text-decoration: underline; } }
.util :focus-visible { outline-color: var(--porch); }

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-stuck { border-bottom-color: var(--ink); }
.nav-in { height: 100%; display: flex; align-items: center; gap: var(--s6); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--display); font-weight: 800;
  font-size: 23px; letter-spacing: -0.045em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: var(--s6); margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 2px;
  transition: background-size 220ms var(--ease-out), color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); background-size: 100% 2px; }
}
.nav-end { display: flex; align-items: center; gap: var(--s3); }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--ink); background: transparent; cursor: pointer;
  position: relative;
  transition: transform 140ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.95); }
.menu-btn i {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform 220ms var(--ease-out);
}
.menu-btn i:nth-of-type(1) { top: 15px; }
.menu-btn i:nth-of-type(2) { top: 23px; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  padding: var(--s3) max(var(--gutter), env(safe-area-inset-right, 0px)) var(--s5) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: grid;
  animation: menu-in 240ms var(--ease-out);
}
.menu[hidden] { display: none; }
.menu a {
  font-family: var(--display); font-weight: 760;
  font-size: 28px; letter-spacing: -0.035em; text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.menu a:last-child { border-bottom: 0; }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ------------------------------------------------------------------
   Stage: hero + builder share one sticky drawing
------------------------------------------------------------------ */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "hero visual" "builder visual";
  column-gap: clamp(32px, 4vw, 72px);
}
.hero {
  grid-area: hero;
  min-height: calc(100svh - var(--nav-h) - var(--util-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--s7) var(--s9);
}
.h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.h1 .ln > span { display: inline-block; }
.h1 .ln:nth-child(3) > span { box-shadow: inset 0 -0.2em 0 var(--porch); }
.lede { margin-top: var(--s5); max-width: 34ch; font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); color: var(--ink-2); text-wrap: pretty; }
.ctas { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3); }

.visual { grid-area: visual; position: relative; }
.visual-in {
  position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; column-gap: var(--s5);
  padding-block: var(--s4) var(--s6);
}
.board {
  position: absolute; inset: 0 calc(var(--gutter) * -1) 0 -24px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(30deg, var(--grid) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(150deg, var(--grid) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 52% 48%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 52% 48%, #000 35%, transparent 100%);
}
.house { grid-column: 1 / -1; grid-row: 1; align-self: stretch; width: 100%; height: 100%; min-height: 0; position: relative; }
.house-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.legend {
  grid-column: 1; grid-row: 2;
  display: flex; gap: var(--s5); flex-wrap: wrap;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  padding-bottom: var(--s3);
  transition: opacity 300ms ease;
}
.legend span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
[data-mode="hero"] .legend { opacity: 0; }

/* Drawing behaviour */
.house-svg .part polygon, .house-svg .part polyline {
  transition: fill 380ms ease, stroke 380ms ease, stroke-width 200ms ease;
  transition-delay: var(--d, 0ms);
}
.house-svg .part.off polygon { fill: url(#hatch); stroke: var(--ghost); stroke-width: 0.8; stroke-dasharray: 2.5 2; }
.house-svg .part.off.is-line polyline { stroke: var(--ghost); }
.house-svg .part.peek polygon { stroke: var(--porch-deep); stroke-width: 1.8; stroke-dasharray: none; transition-delay: 0ms; }

.house-svg .root { transform-box: view-box; transform-origin: 50% 50%; }
.house-svg .shift, .house-svg .fac, .house-svg .root { transition: transform 900ms var(--ease-in-out), opacity 500ms ease; }
.house-svg .tail { transition: opacity 400ms ease; }

[data-mode="hero"] .house-svg .root { transform: translate(var(--hx, 0px), var(--hy, 0px)) scale(var(--zoom, 1)); }
[data-mode="hero"] .house-svg :is(.L-upper, .N-upper) .shift { transform: translateY(var(--up)); }
[data-mode="hero"] .house-svg :is(.L-roof, .N-roof) .shift { transform: translateY(var(--roof)); }
[data-mode="hero"] .house-svg .tail { opacity: 0; }
[data-mode="build"] .house-svg .fac { opacity: 0; pointer-events: none; transition: transform 600ms var(--ease-out), opacity 360ms ease; }
[data-mode="build"] .house-svg .fac-y { transform: translate(-22px, 13px); }
[data-mode="build"] .house-svg .fac-x { transform: translate(22px, 13px); }

/* Labels on the drawing */
.house-svg .note { transition: opacity 320ms ease; }
.house-svg .note line, .house-svg .note polyline { stroke: var(--ink); stroke-width: 0.8; fill: none; }
.house-svg .note circle { fill: var(--porch); stroke: var(--ink); stroke-width: 0.9; }
.house-svg .note .nm { font-family: var(--display); font-weight: 750; font-size: 11.5px; letter-spacing: -0.02em; fill: var(--ink); }
.house-svg .note .st { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; fill: var(--ever-2); }
.house-svg .note.is-off .st { fill: var(--ink-3); }
.house-svg .note.is-off circle { fill: var(--paper); }
[data-mode="hero"] .house-svg .note-build { opacity: 0; }
[data-mode="build"] .house-svg .note-hero { opacity: 0; }

.house-svg .pop.is-pop { animation: pop 520ms var(--ease-in-out); }
@keyframes pop { 0% { transform: translateY(0); } 35% { transform: translateY(-7px); } 100% { transform: translateY(0); } }

@media (prefers-reduced-motion: no-preference) {
  .house-svg .L { animation: drop 1000ms var(--ease-settle) both; }
  .house-svg .L-back { animation-delay: 80ms; }
  .house-svg .L-ground { animation-delay: 200ms; }
  .house-svg .L-upper { animation-delay: 320ms; }
  .house-svg .L-roof { animation-delay: 440ms; }
  .house-svg .L-front { animation-delay: 260ms; }
  [data-mode="hero"] .house-svg .note-hero { animation: note-in 700ms var(--ease-out) 1100ms both; }
  .h1 .ln > span { animation: rise 900ms var(--ease-out) both; }
  .h1 .ln:nth-child(2) > span { animation-delay: 80ms; }
  .h1 .ln:nth-child(3) > span { animation-delay: 160ms; }
  .lede, .ctas { animation: lift 800ms var(--ease-out) both; }
  .lede { animation-delay: 300ms; }
  .ctas { animation-delay: 380ms; }
}
@keyframes drop { from { transform: translateY(-46px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes note-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(125%); } to { transform: translateY(0); } }
@keyframes lift { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Price card */
.quote-card {
  grid-column: 2; grid-row: 2;
  position: relative; z-index: 1;
  background: var(--ever); color: var(--ever-ink);
  padding: var(--s4) calc(var(--s5) + 8px) var(--s4) var(--s5);
  display: grid; grid-template-columns: auto auto; column-gap: var(--s6); row-gap: 4px; align-items: end;
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: transform 420ms var(--ease-out), opacity 300ms ease, visibility 0s linear 420ms;
}
[data-mode="build"] .quote-card { transform: none; opacity: 1; visibility: visible; transition: transform 420ms var(--ease-out), opacity 300ms ease, visibility 0s; }
.qc-label { grid-column: 1 / -1; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--porch); }
.qc-price { display: flex; align-items: baseline; font-family: var(--mono); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.qc-cur { margin-right: 2px; }
.qc-per { font-family: var(--mono); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ever-ink-2); margin-left: 6px; }
.odo { display: inline-flex; }
.digit { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.reel { display: flex; flex-direction: column; transition: transform 520ms var(--ease-out); }
.reel > span { height: 1em; display: block; text-align: center; min-width: 0.6em; }
.odo-dot { width: 0.4em; text-align: center; }
.qc-sub { font-size: 13px; color: var(--ever-ink-2); line-height: 1.4; max-width: 22ch; padding-bottom: 3px; }

/* Builder: rows read like lines on a schedule */
.builder { grid-area: builder; padding-block: var(--s8) var(--section); }
.covers { margin-top: var(--s7); border-top: 2px solid var(--ink); }
.covers li { border-bottom: 1px solid var(--line); }
.cover-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--s5);
  padding: 20px var(--s3);
  margin-inline: calc(var(--s3) * -1);
  cursor: pointer;
  transition: background-color 140ms ease;
}
@media (hover: hover) and (pointer: fine) { .cover-row:hover { background: var(--white); } }
.cover-text { display: grid; gap: 2px; }
.cover-name { font-family: var(--display); font-weight: 720; font-size: 21px; letter-spacing: -0.03em; }
.cover-desc { font-size: 15px; color: var(--ink-3); max-width: 46ch; }
.cover-limit { margin-top: 5px; font-family: var(--mono); font-size: 12.5px; color: var(--ever-2); }
.cover-price { font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--ink-3); transition: color 200ms ease; }
.cover-row.is-on .cover-price { color: var(--ink); }
.builder .fine { margin-top: var(--s5); max-width: 56ch; }

.switch {
  appearance: none; -webkit-appearance: none; margin: 0;
  position: relative; flex: none;
  width: 48px; height: 26px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: background-color 200ms ease;
}
.switch::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 17px; height: 17px;
  background: var(--ink);
  transition: transform 240ms var(--ease-out), background-color 200ms ease;
}
.switch:checked { background: var(--ever); border-color: var(--ever); }
.switch:checked::before { transform: translateX(22px); background: var(--porch); }
.switch:active::before { transform: scaleX(1.2); transform-origin: left center; }
.switch:checked:active::before { transform: translateX(22px) scaleX(1.2); transform-origin: right center; }
.switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.excess {
  margin-top: var(--s6);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s4) var(--s5);
  padding: var(--s5);
  background: var(--white);
  border: 1px solid var(--line);
}
.excess-title { font-family: var(--display); font-weight: 720; font-size: 21px; letter-spacing: -0.03em; }
.excess-help { margin-top: 2px; font-size: 14.5px; color: var(--ink-3); max-width: 34ch; }

/* Segmented controls */
.seg {
  --n: 2; --i: 0;
  position: relative; display: inline-grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  padding: 3px; background: var(--paper-2); border: 1px solid var(--line);
}
.seg button {
  position: relative; z-index: 1;
  height: 36px; padding: 0 16px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--ink-2);
  transition: color 200ms ease;
}
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { color: var(--paper); }
.seg-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n));
  background: var(--ink);
  transform: translateX(calc(100% * var(--i)));
  transition: transform 320ms var(--ease-out);
}
.excess .seg { width: 330px; }
.excess .seg button { font-family: var(--mono); font-weight: 500; font-size: 14.5px; padding: 0 8px; }

/* ------------------------------------------------------------------
   Who we cover: four columns, one opens
------------------------------------------------------------------ */
.who { padding-block: var(--s8) var(--section); }
.cols {
  --panel: 400px;
  margin-top: var(--s7);
  display: grid;
  grid-template-columns: var(--c0) var(--c1) var(--c2) var(--c3);
  --c0: 1fr; --c1: 1fr; --c2: 1fr; --c3: 1fr;
  gap: 2px; background: var(--ink); border: 2px solid var(--ink);
  height: 660px;
  transition: grid-template-columns 640ms var(--ease-in-out);
}
.cols[data-open="0"] { --c0: 3.3fr; }
.cols[data-open="1"] { --c1: 3.3fr; }
.cols[data-open="2"] { --c2: 3.3fr; }
.cols[data-open="3"] { --c3: 3.3fr; }
.col { position: relative; overflow: hidden; min-width: 0; background: var(--ink); }
.col-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 400ms ease;
  filter: saturate(0.7);
}
.col::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 31, 26, 0.92) 0%, rgba(15, 31, 26, 0.35) 45%, rgba(15, 31, 26, 0.1) 100%);
  transition: opacity 400ms ease;
}
.col.is-open .col-photo { filter: none; }
.col.is-open::after { opacity: 0.45; }
.col-head {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; gap: 4px; justify-items: start; text-align: left;
  padding: var(--s5);
  border: 0; background: transparent; color: var(--white); cursor: pointer;
  transition: transform 640ms var(--ease-in-out);
}
.col.is-open .col-head { transform: translateY(calc(var(--panel) * -1)); cursor: default; right: auto; background: var(--ink); padding: var(--s3) var(--s5); }
.col-name { font-family: var(--display); font-weight: 780; font-size: 26px; letter-spacing: -0.035em; line-height: 1.05; }
.col-from { font-family: var(--mono); font-size: 13px; color: var(--porch); }
.col-head:focus-visible { outline: 2px solid var(--porch); outline-offset: -6px; }
@media (hover: hover) and (pointer: fine) {
  .col:not(.is-open):hover .col-photo { transform: scale(1.04); filter: saturate(0.9); }
}
.col-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: var(--panel);
  background: var(--white);
  padding: var(--s6) clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  transform: translateY(101%);
  transition: transform 640ms var(--ease-in-out);
}
.col.is-open .col-body { transform: none; }
.col-body > * { min-width: 0; }
.col-art {
  position: absolute; right: var(--s5); top: 0; transform: translateY(-62%);
  width: 172px; height: 150px; padding: var(--s3);
  background: var(--paper-2);
  display: grid; place-items: center;
}
.col-art svg { width: 100%; height: 100%; overflow: visible; }
.col-art { opacity: 0; transition: opacity 300ms ease; }
.col.is-open .col-art { opacity: 1; transition-delay: 380ms; }
.col-body h3 { font-family: var(--display); font-weight: 760; font-size: 25px; letter-spacing: -0.035em; line-height: 1.1; max-width: 18ch; }
.col-body > p { margin-top: var(--s2); color: var(--ink-2); font-size: 15.5px; max-width: 50ch; }
.ticks { margin-top: var(--s4); display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: var(--ever); }
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 4px;
  width: 5px; height: 9px; border: solid var(--porch); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.text-link {
  margin-top: auto; padding-top: var(--s4);
  width: fit-content; font-family: var(--display); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 2px;
  transition: background-size 240ms var(--ease-out);
}
.text-link::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { background-size: 35% 2px; } }

/* ------------------------------------------------------------------
   Claims
------------------------------------------------------------------ */
.claims {
  background: var(--ever); color: var(--ever-ink);
  clip-path: polygon(0 var(--tilt), 100% 0, 100% 100%, 0 100%);
  padding-block: calc(var(--section) + var(--tilt)) var(--section);
}
.claims ::selection { background: var(--porch); color: var(--ink); }
.claims :focus-visible { outline-color: var(--porch); }
.claims .body { color: var(--ever-ink-2); }
.claims-top {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.claims-photo {
  aspect-ratio: 5 / 4; background: var(--ever-2); overflow: hidden;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.claims-photo img { width: 100%; height: 100%; object-fit: cover; }
.handler {
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--ever-line);
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s4); align-items: center;
}
.handler img { width: 88px; height: 88px; object-fit: cover; object-position: 72% 30%; }
.handler figcaption { display: grid; gap: 2px; }
.handler strong { font-family: var(--display); font-weight: 720; font-size: 18px; letter-spacing: -0.02em; }
.handler span { font-size: 15px; color: var(--ever-ink-2); max-width: 40ch; }

.axis { position: relative; margin-top: var(--s9); view-timeline-name: --axis; }
.axis-scale { position: relative; height: 70px; }
.axis-cap {
  position: absolute; top: 0; left: var(--x);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ever-ink-2);
}
.axis-line { position: absolute; left: 0; right: 0; top: 32px; height: 2px; background: var(--ever-line); }
.axis-fill { position: absolute; inset: 0; background: var(--porch); transform-origin: left; }
.axis-break {
  position: absolute; left: 50%; top: -9px; width: 16px; height: 20px; transform: translateX(-50%);
  background: var(--ever);
}
.axis-break::before, .axis-break::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ever-ink-2); transform: skewX(-30deg);
}
.axis-break::before { left: 3px; }
.axis-break::after { right: 3px; }
.tick {
  position: absolute; top: 44px; left: var(--x); transform: translateX(-50%);
  font-family: var(--mono); font-size: 11.5px; color: var(--ever-ink-2);
}
.tick-first { transform: none; }
.tick::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 7px; background: var(--ever-ink-2); }
.tick-first::before { left: 0; }
.mark {
  position: absolute; top: 27px; left: var(--x); width: 12px; height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--porch); box-shadow: 0 0 0 3px var(--ever);
}
.axis-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.axis-leaders polyline { fill: none; stroke: var(--ever-ink-2); stroke-width: 1; opacity: 0.55; }
.axis-events {
  margin-top: 84px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4);
}
.axis-events li { padding-top: var(--s4); border-top: 1px solid var(--ever-line); }
.axis-events time { font-family: var(--mono); font-size: 13px; color: var(--porch); }
.axis-events h3 { margin-top: 4px; font-family: var(--display); font-weight: 720; font-size: 19px; letter-spacing: -0.025em; line-height: 1.2; }
.axis-events p { margin-top: 6px; color: var(--ever-ink-2); font-size: 14.5px; line-height: 1.5; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .axis-fill { animation: grow-x linear both; animation-timeline: --axis; animation-range: entry 70% cover 65%; }
  }
}
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.claim-start {
  margin-top: var(--s8);
  padding: var(--s6) calc(var(--s6) + 10px) var(--s6) var(--s6);
  background: var(--ever-2);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s5) var(--s6); align-items: center;
}
.claim-start h3 { font-family: var(--display); font-weight: 760; font-size: 26px; letter-spacing: -0.035em; }
.claim-start-copy p { margin-top: 6px; color: var(--ever-ink-2); font-size: 16px; max-width: 54ch; }
.claim-facts {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5);
  padding-top: var(--s5); border-top: 1px solid var(--ever-line);
}
.claim-facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--porch); }
.claim-facts dd { margin-top: 4px; font-size: 15px; color: var(--ever-ink); line-height: 1.4; }

/* ------------------------------------------------------------------
   Policy schedule
------------------------------------------------------------------ */
.facts { padding-block: var(--section); }
.schedule { margin-top: var(--s7); background: var(--white); border: 2px solid var(--ink); }
.sched-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3) var(--s6);
  background: var(--ink); color: var(--paper);
  padding: var(--s4) var(--s6);
}
.sched-title { font-family: var(--display); font-weight: 780; font-size: 22px; letter-spacing: -0.035em; }
.sched-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
.sched-meta div { display: flex; gap: 8px; font-family: var(--mono); font-size: 12.5px; }
.sched-meta dt { color: var(--porch); text-transform: uppercase; letter-spacing: 0.06em; }
.sched-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sched-sec { padding: var(--s6); }
.sched-sec + .sched-sec { border-left: 1px solid var(--line); }
.sched-sec h3 {
  display: grid; gap: 2px;
  font-family: var(--display); font-weight: 760; font-size: 24px; letter-spacing: -0.035em;
  padding-bottom: var(--s4); border-bottom: 2px solid var(--ink);
}
.sched-sec h3 span { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.sched-sec dl { display: grid; gap: var(--s4); padding-top: var(--s5); }
/* Each row: label, dotted leader, figure, like a printed schedule */
.sched-sec dl div {
  display: flex; align-items: flex-end; justify-content: space-between;
  background: radial-gradient(circle, var(--line-strong) 0.9px, transparent 1.3px) repeat-x 0 calc(100% - 5px) / 6px 6px;
}
.sched-sec dt { font-size: 15px; color: var(--ink-2); line-height: 1.35; background: var(--white); padding-right: 8px; }
.sched-sec dd {
  flex: none; background: var(--white); padding-left: 8px;
  font-family: var(--mono); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; line-height: 1.35;
}
.sched-foot { padding: var(--s4) var(--s6); border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* Small print */
.print { padding-bottom: var(--section); }
.doc { margin-top: var(--s7); background: var(--white); border: 2px solid var(--ink); }
.doc-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3); border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 2px; }
.tabs button {
  height: 40px; padding: 0 18px;
  border: 1px solid transparent; background: transparent; cursor: pointer;
  font-family: var(--display); font-weight: 680; font-size: 15px; color: var(--ink-2);
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}
.tabs button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { border-color: var(--ink); color: var(--ink); } }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.doc-body {
  padding: clamp(28px, 5vw, 64px);
  min-height: clamp(300px, 34vw, 400px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
  transition: filter 170ms ease, opacity 170ms ease, transform 170ms ease;
}
.doc-body.is-swapping { filter: blur(6px); opacity: 0.2; transform: translateY(4px); }
.doc-main { display: grid; gap: var(--s5); }
.doc-title { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.doc-text {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.35rem);
  line-height: 1.18; letter-spacing: -0.03em;
  max-width: 30ch; text-wrap: pretty;
}
.doc-text.is-typical {
  font-family: var(--text); font-weight: 400;
  font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.6; letter-spacing: 0; color: var(--ink-2);
  max-width: 68ch;
}
.doc-count { font-family: var(--mono); font-size: 13.5px; color: var(--ever-2); }
.doc-alt { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); display: grid; gap: var(--s3); }
.doc-alt-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.doc-alt-text { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 52ch; }

/* Exclusions */
.nope-wrap { padding-bottom: var(--section); }
.nope {
  background: var(--ink); color: var(--paper);
  padding: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 72px) clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px);
}
.nope .body { color: #bccac2; }
.nope-key { margin-top: var(--s6); display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: #bccac2; }
.nope .sw-off { color: var(--porch); }
.nope-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: rgba(232, 239, 233, 0.16); border: 1px solid rgba(232, 239, 233, 0.16);
}
.nope-list li { background: var(--ink); padding: var(--s5); display: grid; align-content: start; gap: 6px; }
.nope-list .sw { width: 22px; height: 22px; margin-bottom: var(--s2); }
.nope-list h3 { font-family: var(--display); font-weight: 720; font-size: 19px; letter-spacing: -0.025em; }
.nope-list p { font-size: 14.5px; color: #bccac2; }

/* Included */
.included { padding-bottom: var(--section); }
.bento {
  margin-top: var(--s7);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(300px, auto) minmax(300px, auto) auto;
  gap: 2px; background: var(--ink); border: 2px solid var(--ink);
}
.cell { position: relative; overflow: hidden; padding: var(--s6); display: flex; flex-direction: column; background: var(--white); }
.cell h3 { font-family: var(--display); font-weight: 760; font-size: 25px; letter-spacing: -0.035em; line-height: 1.12; }
.cell p { margin-top: var(--s3); font-size: 16px; color: var(--ink-2); max-width: 42ch; }
.cell-storm { grid-row: span 2; background: var(--ever); color: var(--ever-ink); min-height: 600px; justify-content: flex-end; }
.cell-storm p { color: var(--ever-ink-2); }
.isobars { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell-copy { position: relative; z-index: 1; max-width: 40ch; }
.cell-storm::after {
  content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(to top, var(--ever) 30%, rgba(18, 57, 46, 0));
}
.cell-phone { grid-column: 2 / span 2; background: var(--porch); }
.cell-phone p { color: #3a3a24; max-width: 52ch; }
.phone {
  margin-top: auto; padding-top: var(--s6);
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(2.2rem, 1.2rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -0.05em;
  text-decoration: none; width: fit-content;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 3px;
  transition: background-size 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .phone:hover { background-size: 100% 3px; } }
.cell-photo { padding: 0; margin: 0; background: var(--ink); min-height: 300px; }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-photo figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1; max-width: calc(100% - 24px);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12.5px; padding: 10px 14px;
}
.cell-new { background: var(--white); }
.mini-iso { height: 120px; margin: calc(var(--s3) * -1) 0 var(--s4); display: flex; align-items: center; }
.mini-iso svg { height: 100%; width: auto; overflow: visible; }
.cell-change {
  grid-column: 1 / -1;
  flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s7);
  background: var(--paper-2);
}
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); max-width: 640px; }
.tags li { font-family: var(--mono); font-size: 13.5px; padding: 9px 14px; border: 1.5px solid var(--ink); background: var(--white); }

/* Customer story */
.voice {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  padding-bottom: var(--s8);
}
.voice-photo { grid-column: 1; grid-row: 1; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.voice-photo img { width: 100%; height: 100%; object-fit: cover; }
.voice-quote {
  grid-column: 2; grid-row: 1;
  position: relative; z-index: 1;
  margin-left: calc(var(--s9) * -1);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 48px);
}
.voice-quote::before {
  content: ""; position: absolute; left: -2px; top: -2px; width: 56px; height: 8px; background: var(--porch);
}
.voice-quote p {
  font-family: var(--display); font-weight: 680;
  font-size: clamp(1.45rem, 1rem + 1.4vw, 2.1rem);
  line-height: 1.16; letter-spacing: -0.03em; text-wrap: pretty;
}
.voice-quote footer { margin-top: var(--s5); display: grid; gap: 2px; font-size: 15px; }
.voice-quote footer strong { font-family: var(--display); }
.voice-quote footer span { color: var(--ink-3); }

/* Reviews */
.reviews { padding-bottom: var(--section); }
.reviews-title { display: flex; align-items: center; gap: var(--s4); font-weight: 400; }
.reviews-score { font-family: var(--display); font-weight: 820; font-stretch: 80%; font-size: clamp(3.2rem, 2rem + 3.4vw, 4.8rem); letter-spacing: -0.03em; line-height: 1; }
.reviews-meta { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); font-family: var(--text); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--porch-deep); }
.marquee {
  margin-top: var(--s6); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: var(--s4); width: max-content; padding-inline: var(--gutter); }
.marquee-track.is-running { animation: marquee 70s linear infinite; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--s4) / 2)); } }
.review {
  width: 320px; flex: none;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink);
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s4); justify-content: space-between;
}
.review p { font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.review span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
  .review { scroll-snap-align: start; }
}

/* FAQ */
.faq { padding-bottom: var(--section); }
.faq-grid {
  margin-top: var(--s7);
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start;
}
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding: 22px 0;
  font-family: var(--display); font-weight: 680; font-size: 21px; letter-spacing: -0.025em; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); transition: background-color 200ms ease; }
.faq-list summary i::before, .faq-list summary i::after {
  content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: var(--ink);
  transition: transform 300ms var(--ease-out);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--porch); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover i { background: var(--porch); } }
.faq-a { padding: 0 var(--s8) var(--s5) 0; }
.faq-a p { color: var(--ink-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}
.help-card { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--ever); color: var(--ever-ink); }
.help-card :focus-visible { outline-color: var(--porch); }
.help-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 45% 62%; }
.help-in { padding: var(--s6); }
.help-card h3 { font-family: var(--display); font-weight: 760; font-size: 25px; letter-spacing: -0.035em; }
.help-in > p { margin-top: 6px; color: var(--ever-ink-2); font-size: 15.5px; }
.help-card dl { margin-top: var(--s5); }
.help-card dl > div { padding-block: var(--s4); border-top: 1px solid var(--ever-line); }
.help-card dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--porch); }
.help-card dd { margin-top: 4px; display: grid; gap: 2px; }
.help-card dd a, .help-card dd strong {
  font-family: var(--mono); font-weight: 600; font-size: 21px; letter-spacing: -0.03em;
  text-decoration: none; width: fit-content;
}
@media (hover: hover) and (pointer: fine) { .help-card dd a:hover { text-decoration: underline; } }
.help-card dd span { font-size: 14px; color: var(--ever-ink-2); }

/* Quote band */
.quote {
  background: var(--porch); color: var(--ink);
  clip-path: polygon(0 0, 100% var(--tilt), 100% 100%, 0 100%);
}
.quote ::selection { background: var(--ink); color: var(--porch); }
.quote-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: calc(clamp(72px, 9vw, 112px) + var(--tilt)) clamp(72px, 9vw, 112px);
}
.quote .body { color: #3a3a24; }
.pc-form { margin-top: var(--s7); max-width: 540px; display: grid; gap: var(--s2); }
.pc-form label { font-family: var(--display); font-weight: 720; font-size: 15px; }
.pc-row { display: flex; gap: 0; }
.pc-row input {
  flex: 1; min-width: 0;
  height: 58px; padding: 0 20px;
  border: 2px solid var(--ink); border-right: 0;
  border-radius: 0;
  background: #fffaeb;
  color: var(--ink);
  font: 500 18px/1 var(--mono); letter-spacing: 0.02em; text-transform: uppercase;
  caret-color: var(--ink);
  transition: box-shadow 160ms ease;
}
.pc-row input::placeholder { color: #6e6a55; font-family: var(--text); font-weight: 500; letter-spacing: 0; text-transform: none; }
.pc-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.pc-row .btn { height: 58px; }
.pc-help { font-size: 14px; color: #3a3a24; }
.pc-msg { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.pc-form.is-error input { border-color: var(--error); }
.pc-form.is-error .pc-msg { color: var(--error); }
.pc-form.is-ok .pc-msg { color: var(--ever); }
.quote-photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--ever); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.foot { background: var(--ink); color: #dfe7df; padding-block: var(--s9) var(--s7); }
.foot :focus-visible { outline-color: var(--porch); }
.foot-top { display: flex; justify-content: space-between; gap: var(--s7); flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand p { margin-top: var(--s4); font-size: 15px; color: #a9b8b0; }
.brand-foot { color: var(--white); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: var(--s7); }
.foot-cols h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--porch); margin-bottom: var(--s3); }
.foot-cols a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; width: fit-content; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { text-decoration: underline; } }
.foot-legal { margin-top: var(--s9); padding-top: var(--s5); border-top: 1px solid #263830; display: grid; gap: var(--s2); }
.foot-legal p { font-size: 13.5px; color: #9aaba1; max-width: 90ch; }
.foot-legal p:last-child { margin-top: var(--s2); color: #c3cfc8; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "visual" "builder";
  }
  .hero { min-height: 0; padding-block: var(--s7) var(--s5); }
  .visual {
    position: sticky; top: var(--nav-h); z-index: 5;
    align-self: start;
    background: var(--paper);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    border-bottom: 1.5px solid var(--ink);
  }
  .visual-in { position: relative; top: auto; height: min(50svh, 540px); padding-block: var(--s2); grid-template-rows: minmax(0, 1fr); }
  .legend { grid-area: 1 / 1 / 2 / -1; align-self: start; position: absolute; left: 0; top: var(--s2); padding: 0; font-size: 11.5px; gap: var(--s3); }
  .quote-card { position: absolute; bottom: var(--s3); right: 0; padding: var(--s3) var(--s5) var(--s3) var(--s4); grid-template-columns: auto; }
  .qc-price { font-size: 30px; }
  .qc-sub { display: none; }
  .builder { padding-top: var(--s7); }
  .cols { grid-template-columns: minmax(0, 1fr); height: auto; transition: none; }
  .col { min-height: 132px; }
  .col.is-open { min-height: 0; }
  .col-photo { position: absolute; height: 100%; }
  .col.is-open .col-photo { position: relative; height: 240px; }
  .col.is-open::after { height: 240px; opacity: 0.7; }
  .col-head { padding: var(--s4) var(--s5); }
  .col.is-open .col-head { transform: none; bottom: auto; top: 160px; }
  .col-body { position: relative; height: auto; transform: none; transition: none; }
  .col-body[inert] { display: none; }
  .col-art { width: 132px; height: 112px; transform: translateY(-58%); }
  .col-body h3 { max-width: calc(100% - 140px); }
  .claims-top { grid-template-columns: minmax(0, 1fr); }
  .claims-photo { aspect-ratio: 16 / 10; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .axis-scale, .axis-leaders { display: none; }
  .axis { margin-top: var(--s8); }
  .axis-events { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 2px solid var(--porch); padding-left: var(--s5); }
  .axis-events li { border-top: 0; padding: 0 0 var(--s6); position: relative; }
  .axis-events li::before {
    content: ""; position: absolute; left: calc(var(--s5) * -1 - 8px); top: 4px; width: 12px; height: 12px;
    transform: rotate(45deg); background: var(--porch); box-shadow: 0 0 0 3px var(--ever);
  }
  .axis-events li:last-child { padding-bottom: 0; }
  .sched-grid { grid-template-columns: minmax(0, 1fr); }
  .sched-sec + .sched-sec { border-left: 0; border-top: 1px solid var(--line); }
  .doc-body { grid-template-columns: minmax(0, 1fr); }
  .doc-alt { display: none; }
  .nope { grid-template-columns: minmax(0, 1fr); }
  .nope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .cell-storm { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .cell-phone { grid-column: 1 / -1; }
  .voice { grid-template-columns: minmax(0, 1fr); }
  .voice-photo { grid-row: 1; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .voice-quote { grid-column: 1; grid-row: 2; margin: calc(var(--s8) * -1) var(--s5) 0; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .help-card { position: relative; top: auto; }
  .quote-in { grid-template-columns: minmax(0, 1fr); }
  .quote-photo { aspect-ratio: 16 / 10; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .menu-btn { display: inline-block; }
}

@media (max-width: 700px) {
  .house-svg .note { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .util-r { display: none; }
  .hero { padding-top: var(--s6); }
  .ctas .btn { flex: 1 1 auto; }
  .visual-in { height: 42svh; }
  .cover-row { column-gap: var(--s3); padding-block: 16px; }
  .cover-name { font-size: 19px; }
  .cover-desc { font-size: 14px; }
  .cover-price { font-size: 14.5px; }
  .excess { grid-template-columns: minmax(0, 1fr); padding: var(--s4); }
  .excess .seg { width: 100%; }
  .doc-bar { flex-direction: column; align-items: stretch; }
  .tabs { justify-content: space-between; }
  .tabs button { flex: 1; padding: 0 10px; }
  .seg { width: 100%; }
  .claim-start { grid-template-columns: minmax(0, 1fr); padding: var(--s5) calc(var(--s5) + 8px) var(--s5) var(--s5); }
  .claim-start .btn { width: 100%; }
  .claim-facts { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .sched-bar, .sched-sec, .sched-foot { padding-inline: var(--s4); }
  .sched-sec dt { font-size: 14px; }
  .sched-sec dd { font-size: 14.5px; }
  .nope-list { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell { padding: var(--s5); }
  .cell-storm { min-height: 400px; }
  .voice-quote { margin-inline: var(--s3); }
  .faq-list summary { font-size: 18.5px; padding: 18px 0; }
  .faq-a { padding-right: 0; }
  .review { width: 280px; }
  .pc-row { flex-direction: column; }
  .pc-row input { flex: none; border-right: 2px solid var(--ink); border-bottom: 0; }
  .pc-row .btn { width: 100%; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
}
