:root {
  color-scheme: light;
  --paper: #f2efe8;
  --paper-2: #e7e2d7;
  --ink: #17212a;
  --muted: #59636b;
  --line: #b9b4a8;
  --orange: #c44f2d;
  --orange-dark: #94391f;
  --blue: #205b78;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(26, 34, 39, .14);
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23,33,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,33,42,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f0a68d; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23,33,42,.16);
  background: rgba(242,239,232,.9);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 36px; height: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; transform: rotate(-3deg); }
.brand-mark i { display: block; border: 2px solid var(--ink); background: var(--white); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(6) { background: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.button):hover { color: var(--orange-dark); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); padding: 10px 18px; text-decoration: none; font-weight: 800; background: var(--white); box-shadow: 4px 4px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary { color: var(--white); background: var(--orange); }

.hero { padding: clamp(76px, 10vw, 138px) 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 900; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }
h1, h2, h3 { margin-top: 0; line-height: 1.03; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(52px, 7.4vw, 92px); font-weight: 700; }
h1 em { color: var(--orange-dark); font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 0 0 34px; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.text-link { font-weight: 800; text-underline-offset: 4px; }
.trust-line { margin-top: 34px; color: var(--muted); font-size: 13px; font-weight: 700; }

.quote-board { position: relative; padding: 20px; }
.quote-board::before { content: ""; position: absolute; inset: -22px 14px 18px -18px; border: 2px solid var(--blue); transform: rotate(2deg); }
.quote-paper { position: relative; z-index: 1; border: 1px solid #c8c1b5; padding: clamp(24px, 4vw, 42px); background: var(--white); box-shadow: var(--shadow); transform: rotate(-1deg); }
.quote-top { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 18px; }
.quote-top strong { font-family: var(--serif); font-size: 24px; }
.status { align-self: start; color: #236044; border: 1px solid #77aa91; background: #e5f1e9; padding: 5px 9px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.quote-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 0; color: var(--muted); font-size: 12px; }
.quote-meta b { display: block; color: var(--ink); font-size: 14px; }
.measure { border-top: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.measure span { color: var(--muted); font-size: 12px; }
.measure b { font-size: 14px; }
.total { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-family: var(--serif); font-size: 32px; }
.pencil { position: absolute; right: -38px; bottom: 14px; width: 140px; height: 12px; background: var(--orange); border: 2px solid var(--ink); transform: rotate(-32deg); }
.pencil::after { content: ""; position: absolute; right: -20px; top: -2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 20px solid var(--ink); }

.band { border-block: 1px solid var(--line); background: var(--ink); color: var(--white); }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { min-height: 104px; padding: 25px 24px; border-left: 1px solid rgba(255,255,255,.18); }
.band-item:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.band-item b { display: block; color: #ef8c6f; font-family: var(--serif); font-size: 27px; }
.band-item span { font-size: 13px; color: #d8dadd; }

.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: end; margin-bottom: 54px; }
.section h2 { margin-bottom: 0; font-size: clamp(42px, 5.4vw, 66px); }
.section-intro { max-width: 590px; margin: 0; color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; min-height: 320px; border: 1px solid var(--line); padding: 32px; background: rgba(255,253,248,.72); }
.step::before { content: attr(data-step); position: absolute; top: 22px; right: 24px; color: var(--paper-2); font-family: var(--serif); font-size: 76px; line-height: 1; font-weight: 800; }
.step-icon { position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 58px; border: 2px solid var(--ink); color: var(--white); background: var(--blue); font-size: 22px; font-weight: 900; transform: rotate(-2deg); }
.step h3 { position: relative; font-size: 22px; }
.step p { position: relative; color: var(--muted); margin-bottom: 0; }

.feature-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--white); box-shadow: 12px 12px 0 var(--paper-2); }
.feature-copy { padding: clamp(34px, 6vw, 76px); }
.feature-copy h2 { margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; }
.checks li { position: relative; border-top: 1px solid var(--line); padding: 18px 0 18px 34px; font-weight: 750; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 900; }
.field-notes { min-height: 550px; padding: 50px; color: var(--white); background: var(--blue); display: flex; flex-direction: column; justify-content: center; }
.note { width: min(320px, 100%); padding: 22px; color: var(--ink); background: #fffbdf; box-shadow: 8px 8px 0 rgba(23,33,42,.28); transform: rotate(2deg); }
.note + .note { align-self: flex-end; margin-top: -10px; background: #f4c9b8; transform: rotate(-2deg); }
.note small { text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.note strong { display: block; margin: 12px 0 6px; font-family: var(--serif); font-size: 26px; }

.cta { padding: 0 0 112px; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr auto; gap: 40px; align-items: center; padding: clamp(44px, 7vw, 76px); color: var(--white); background: var(--orange-dark); }
.cta-card::after { content: "SQ"; position: absolute; right: 10%; bottom: -70px; color: rgba(255,255,255,.07); font-family: var(--serif); font-size: 240px; font-weight: 900; }
.cta-card h2 { position: relative; z-index: 1; margin-bottom: 14px; max-width: 760px; }
.cta-card p { position: relative; z-index: 1; margin: 0; color: #f8d9cf; }
.cta-card .button { position: relative; z-index: 1; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0 42px; }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; align-items: center; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-underline-offset: 4px; }

.legal { max-width: 820px; padding: 86px 0 110px; }
.legal h1 { font-size: clamp(48px, 7vw, 74px); }
.legal .lede { color: var(--muted); font-size: 20px; }
.legal h2 { margin-top: 50px; margin-bottom: 14px; font-size: 30px; }
.legal h3 { margin-top: 30px; font-size: 19px; }
.legal p, .legal li { color: #39444c; }
.legal li + li { margin-top: 8px; }
.legal .updated { color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 900; }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero-grid, .section-head, .feature-panel, .cta-card { grid-template-columns: 1fr; }
  .quote-board { max-width: 620px; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .band-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.18); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 250px; }
  .step-icon { margin-bottom: 44px; }
  .cta-card .button { justify-self: start; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .nav { min-height: 64px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-links .button { min-height: 42px; padding: 8px 12px; box-shadow: none; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .quote-board { padding: 8px; }
  .quote-board::before, .pencil { display: none; }
  .quote-paper { padding: 22px; }
  .band .wrap { width: 100%; }
  .band-item { padding: 22px 18px; }
  .section { padding: 82px 0; }
  .field-notes { min-height: 480px; padding: 28px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
