/* Chris Wright | Proposal for Grand American Homes */

:root {
  --bg: #f8f7f1;
  --ink: #10211e;
  --forest: #06332f;
  --forest-2: #0c3d35;
  --accent: #a8e67e;
  --mint: #ddf6d2;
  --slate: #64716d;
  --line: #ccd5cc;
  --dark-line: #52766a;
  --dark-text: #c4d7ce;
  --focus: #58883b;
  --risk: #a53127;
  --paper: #ffffff;

  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-em: Georgia, 'Times New Roman', serif;

  --max: 1320px;
  --pad-x: 5%;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
h1 em, h2 em, p em { font-family: var(--font-em); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
section[id], article[id] { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Labels ---------- */
.eyebrow, .label, .badge, .path__when, .num--sm, .terms dt {
  font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.label, .eyebrow { color: var(--slate); margin: 0 0 12px; }
.label--light { color: var(--dark-text); }

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px var(--pad-x);
  background: rgba(248, 247, 241, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand img { width: 30px; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.bar__links { display: flex; gap: 26px; }
.bar__links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--slate); }
.bar__links a:hover { color: var(--forest); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; background: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover span { transform: translate(2px, -2px); }
.btn--dark { background: var(--forest); color: var(--bg); }
.btn--bright { background: var(--accent); color: var(--forest); border-color: var(--forest); }
.btn--ghost { color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Layout ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad-x); }
.section--flush { padding-top: 32px; }
.panel { margin: 16px; border-radius: 22px; }
.panel--forest { background: var(--forest); color: var(--bg); padding: 68px max(var(--pad-x), calc((100% - var(--max)) / 2 + 3%)); }
.panel--green { background: var(--accent); color: var(--forest); padding: 60px max(var(--pad-x), calc((100% - var(--max)) / 2 + 3%)); }

/* Section heading: number, title, and aside on one row */
.head { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; padding-top: 22px; margin-bottom: 32px; border-top: 1px solid var(--line); }
.head--light { border-color: var(--dark-line); }
.head h2 { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; }
.head--light h2 em { color: var(--accent); }
.head__aside { color: var(--slate); margin: 4px 0 0; }
.head__aside strong { color: var(--forest); font-weight: 600; }
.head + .label { margin-top: 64px; }
.head--light .head__aside { color: var(--dark-text); }
.num { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--slate); margin: 6px 0 0; }
.head--light .num { color: var(--accent); }
.num--sm { display: block; font-size: 11px; margin: 0 0 10px; color: var(--slate); }

.row { display: grid; gap: 16px; }
.row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Cover ---------- */
.cover { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad-x) 24px; }
.sheet { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px 44px 44px; }
.letterhead { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.letterhead__from { display: flex; align-items: center; gap: 14px; }
.letterhead__from img { width: 44px; }
.letterhead__name { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--forest); margin: 0; letter-spacing: -0.01em; }
.letterhead__sub { font-size: 13px; color: var(--slate); margin: 0; }
.letterhead__for { text-align: right; }
.letterhead__for .label { margin-bottom: 6px; }
.letterhead__for img { width: 190px; margin-left: auto; }

.cover__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 36px; }
.cover h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.03em; color: var(--forest); margin-bottom: 32px; }
.cover h1 em { display: block; color: var(--ink); }
.meta { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content; border-top: 2px solid var(--forest); }
.meta div { padding: 14px 22px 0 0; }
.meta div:last-child { padding-right: 0; }
.meta div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.meta dt { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.meta dd { font-weight: 600; font-size: 15px; line-height: 1.4; }
.meta dd span { font-weight: 400; font-size: 13px; color: var(--slate); }
.cover__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }

.intro { margin-top: 16px; }
.note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 56px; background: var(--mint); border-radius: 20px; padding: 36px 44px; }
.note__lead { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; letter-spacing: -0.02em; color: var(--forest); margin: 0; }
.note__lead em { display: block; }
.note__body p { max-width: 64ch; }
.note__sig { font-family: var(--font-em); font-style: italic; font-size: 22px; color: var(--forest); margin: 20px 0 0; }

/* First 90 days, under Chris' recommendation */
.first90 { margin-top: 24px; padding: 30px 36px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.first90__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--forest); margin-bottom: 18px; }
.first90__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: f90; }
.first90__steps li { counter-increment: f90; position: relative; padding: 18px 20px 18px 56px; border-radius: 14px; background: var(--mint); }
.first90__steps li::before { content: counter(f90); position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.first90__when { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--forest); }
.first90__steps p { margin: 0; font-size: 14.5px; }
.first90__note { margin: 14px 0 0; font-size: 13.5px; color: var(--slate); }

/* ---------- Risks & pillars ---------- */
.risks li { border: 1px solid var(--dark-line); border-radius: 16px; padding: 22px; }
.risks h3, .pillar h3, .next h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-bottom: 8px; }
.risks p { color: var(--dark-text); font-size: 14.5px; margin: 0; }
.risks .num--sm { color: var(--accent); }

.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pillar p { color: var(--slate); font-size: 14.5px; margin: 0; }
.pillar--stats { background: var(--forest); border-color: var(--forest); color: var(--dark-text); }
.pillar--stats img { width: 40px; margin-bottom: 12px; }
.pillar--stats p { color: var(--dark-text); padding: 7px 0; border-top: 1px solid var(--dark-line); }
.pillar--stats strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 1.1; color: var(--bg); letter-spacing: -0.02em; }
.pillar--stats p { font-size: 13.5px; line-height: 1.35; }

/* ---------- Explainer ---------- */
.explainer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--mint); border-radius: 18px; padding: 28px 34px; margin-top: 16px; }
.explainer__big { font-family: var(--font-head); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -0.015em; color: var(--forest); margin: 0; }
.explainer__text p { font-size: 14.5px; margin-bottom: 8px; }
.explainer__text p:last-child { margin: 0; }
.query { font-family: var(--font-body); font-size: .75em; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 11px; white-space: nowrap; display: inline-grid; vertical-align: 0.12em; }
/* The ghost copy reserves the full width so the sentence never reflows while typing */
.query__ghost, .query__typed { grid-area: 1 / 1; }
.query__ghost { visibility: hidden; }
.query.is-typing .query__typed::after, .query.is-blinking .query__typed::after {
  content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 2px;
  margin-right: -3.5px; background: var(--forest); vertical-align: -0.15em;
}
.query.is-blinking .query__typed::after { animation: caret 1s steps(1) infinite; }
@keyframes caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ---------- Offer & tier cards ---------- */
.offer, .tier { display: flex; flex-direction: column; border-radius: 20px; padding: 28px; }
.offer { background: var(--paper); border: 1px solid var(--line); }
.offer--feature { border: 2px solid var(--forest); }
.head__eyebrow { margin-bottom: 10px; color: var(--forest); }

/* Card previews: a small picture of what each project delivers */
.preview { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; height: 124px; border-radius: 14px; padding: 16px; margin-bottom: 22px; }
.preview + h3 { margin-top: 0; }
.preview__cap { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); }
.preview--brand { background: var(--bg); }
.swatches { display: flex; gap: 6px; height: 56px; }
.swatches span { flex: 1; border-radius: 9px; background: var(--c); }
.swatches .is-light { box-shadow: inset 0 0 0 1px var(--line); }
.preview--seo { background: var(--mint); }
.pins { display: flex; flex-wrap: wrap; gap: 6px; }
.pins span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 4px 8px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 600; color: var(--forest); }
.pins span::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z' fill='%2306332f'/%3E%3C/svg%3E") center / contain no-repeat; }
.preview--plan { background: var(--forest); }
.preview--plan .preview__cap { color: var(--dark-text); }
.roadmap { display: flex; position: relative; padding-top: 4px; }
.roadmap::before { content: ""; position: absolute; top: 13px; left: 16.66%; right: 16.66%; height: 2px; background: var(--dark-line); }
.roadmap li { flex: 1; position: relative; text-align: center; font-size: 13px; font-weight: 600; color: var(--bg); }
.roadmap li::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--forest); }
.roadmap li:last-child::before { background: var(--bg); }
.offer h3, .tier h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; margin: 12px 0 6px; }
.offer__tag, .tier__sub { color: var(--slate); font-size: 14.5px; margin-bottom: 16px; }
.offer__tag { min-height: 2.9em; }
.offer__desc { font-size: 14.5px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.price__num { font-family: var(--font-head); font-size: clamp(30px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.price__per { font-size: 13px; color: var(--slate); }

.checks { margin-bottom: 18px; }
.checks li { position: relative; padding: 6px 0 6px 26px; font-size: 14.5px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2306332f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks--light li { color: var(--dark-text); }
.checks--light li::before { background-color: var(--accent); }

.offer__foot { margin-top: auto; display: grid; gap: 8px; }
.offer__foot p { margin: 0; font-size: 13.5px; line-height: 1.45; border-radius: 12px; padding: 12px 14px; }
.gain { background: var(--forest); color: var(--dark-text); }
.gain b { color: var(--accent); }
.risk { background: var(--bg); border-left: 3px solid var(--risk); }
.risk b { color: var(--risk); }
.value { background: var(--mint); }
.offer__foot .offer__note { color: var(--slate); padding: 4px 2px 0; }

.badge { display: inline-block; align-self: flex-start; margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--forest); color: var(--accent); }
.badge--quiet { background: var(--mint); color: var(--forest); }
.badge--bright { background: var(--accent); color: var(--forest); }
.badge--paper { background: var(--paper); color: var(--forest); }
.badge--outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.badge--muted { background: transparent; color: var(--dark-text); border: 1px solid var(--dark-line); }

.tier--seo { background: var(--mint); color: var(--ink); }
.tier--seo .risk { background: rgba(255, 255, 255, .7); }
.tier--featured { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.tier--dark { background: var(--forest-2); border: 1px solid var(--dark-line); color: var(--bg); }
.tier--dark .tier__sub, .tier--dark .price__per, .tier--dark .tier__term { color: var(--dark-text); }
.tier--dark .checks li strong { color: var(--bg); }
.tier--dark .value { background: rgba(255, 255, 255, .08); color: var(--dark-text); }
.tier--dark .value b { color: var(--accent); }
.tier--dark .risk { background: rgba(255, 255, 255, .05); color: var(--dark-text); }
.tier--dark .risk b { color: var(--bg); }
.plays { background: var(--mint); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.plays__title { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--forest); margin: 0 0 4px; }
.plays__desc { font-size: 13.5px; color: var(--slate); margin: 0 0 10px; }
.plays__list { counter-reset: play; display: grid; gap: 6px; }
.plays__list li { counter-increment: play; position: relative; padding-left: 30px; font-size: 14px; line-height: 1.4; }
.plays__list li::before { content: counter(play); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 11px; display: grid; place-items: center; }
.tier__term { font-size: 13.5px; color: var(--slate); padding: 10px 0; border-top: 1px solid var(--line); margin: 0 0 4px; }
.tier--dark .tier__term { border-color: var(--dark-line); }
.offer__foot .tier__note { color: var(--dark-text); border: 1px solid var(--dark-line); }

.plays-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 20px 32px; align-items: center; margin-top: 16px; padding: 24px 28px; border-radius: 18px; background: var(--forest-2); border: 1px solid var(--dark-line); }
.plays-band__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--accent); margin: 0 0 6px; }
.plays-band__desc { font-size: 14px; color: var(--dark-text); margin: 0; }
.plays-band__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: play; }
.plays-band__list li { counter-increment: play; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14px; line-height: 1.4; color: var(--bg); }
.plays-band__list li::before { content: "0" counter(play); display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--accent); }

.scope { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--dark-line); }
.scope__title { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent); margin: 0 0 8px; }
.scope__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
.scope__list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.45; color: var(--dark-text); }
.scope__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.offer__eta { margin: -4px 0 12px; font-size: 13px; font-weight: 600; color: var(--forest); }

.fineprint { font-size: 13.5px; color: var(--slate); margin: 18px 0 0; }
.fineprint a { color: var(--forest); }
.swipe-hint { display: none; font-size: 12.5px; color: var(--slate); margin: 0 0 10px; }
.panel--forest .swipe-hint { color: var(--dark-text); }
.panel__fine { color: var(--dark-text); font-size: 13.5px; margin: 16px 0 0; }

/* ---------- Compare (collapsible) ---------- */
.compare-wrap { margin-top: 16px; background: var(--forest-2); border: 1px solid var(--dark-line); border-radius: 16px; }
.compare-wrap summary { cursor: pointer; list-style: none; padding: 16px 22px; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; }
.compare-wrap summary::-webkit-details-marker { display: none; }
.compare-wrap summary::after { content: "+"; font-size: 22px; color: var(--accent); transition: transform .25s var(--ease); }
.compare-wrap[open] summary::after { transform: rotate(45deg); }
.table-wrap { overflow-x: auto; margin: 0 12px 12px; border-radius: 12px; background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; color: var(--ink); }
.compare th, .compare td { padding: 11px 18px; border-top: 1px solid var(--line); text-align: center; }
.compare thead th { border-top: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--forest); vertical-align: bottom; }
.compare thead th span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--slate); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare td { color: var(--forest); font-weight: 600; }
.compare .is-hl { background: var(--mint); }
.compare .no { display: inline-block; width: 14px; height: 2px; background: var(--line); overflow: hidden; text-indent: -999px; vertical-align: middle; }

/* ---------- Path + builder ---------- */
.rec { margin-top: 40px; }
.rec__title { font-size: 22px; font-weight: 600; color: var(--forest); margin-bottom: 14px; }
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: p; }
.path li { position: relative; display: grid; gap: 2px; padding: 18px 22px 18px 58px; background: var(--mint); counter-increment: p; }
.path li:first-child { border-radius: 16px 0 0 16px; }
.path li:last-child { border-radius: 0 16px 16px 0; background: var(--forest); color: var(--bg); }
.path li + li { border-left: 2px solid var(--bg); }
.path li::before { content: counter(p); position: absolute; left: 20px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.path li:last-child::before { background: var(--accent); color: var(--forest); }
.path__when { color: var(--slate); }
.path li:last-child .path__when { color: var(--dark-text); }
.path strong { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.path__price { font-size: 14px; }
.path li:last-child .path__price { color: var(--accent); }

.builder { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.builder__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.builder fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.builder legend { padding: 0; }
.builder__note { grid-column: 1 / -1; align-self: end; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--slate); }
.opt {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  min-height: 60px; padding: 11px 16px; margin-bottom: 8px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.opt:hover { border-color: var(--forest); }
.opt:has(input:checked) { background: var(--mint); border-color: var(--forest); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); }
.opt__text strong { display: block; font-weight: 600; font-size: 14.5px; }
.opt__text small { display: block; color: var(--slate); font-size: 12.5px; line-height: 1.35; }
.opt__price { font-family: var(--font-head); font-weight: 600; color: var(--forest); white-space: nowrap; font-size: 14.5px; }
.opt.is-included { cursor: default; border-style: dashed; }
.builder__comped { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.builder__comped legend { float: left; width: 100%; grid-column: 1 / -1; }
.opt--comped { cursor: default; background: var(--mint); border-color: var(--mint); }
.opt--comped:hover { border-color: var(--mint); }
.opt__icon { width: 18px; height: 18px; border-radius: 50%; background: var(--forest); color: var(--accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.opt--comped .opt__price { font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.summary__comped { padding-top: 8px; margin-top: 4px; border-top: 1px dashed var(--dark-line); }
.summary__comped strong { color: var(--accent); font-size: 16px; }
.opt.is-included .opt__price { text-decoration: line-through; color: var(--slate); }
.opt.is-required { cursor: default; }
.opt.is-required .opt__text small { color: var(--forest); font-weight: 600; }

.summary { background: var(--forest); color: var(--bg); border-radius: 20px; padding: 26px 28px; display: flex; flex-direction: column; }
.summary__items { margin-bottom: 12px; }
.summary__items li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--dark-line); font-size: 14px; color: var(--dark-text); }
.summary__items li span:last-child { color: var(--bg); white-space: nowrap; }
.summary__totals { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); margin-bottom: 12px; }
.summary__totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--dark-text); font-size: 14px; }
.summary__totals strong { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--bg); }
.summary__monthly strong { font-size: 26px; color: var(--accent); }
.summary__note { font-size: 13px; color: var(--dark-text); margin: 0 0 12px; }
.summary__note:empty { display: none; }
.summary .btn { margin-top: auto; }
.summary__fine { font-size: 12.5px; color: var(--dark-text); margin: 10px 0 0; text-align: center; }

/* ---------- Billing + FAQ ---------- */
.billing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.terms { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 10px 28px; }
.terms div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.terms div + div { border-top: 1px solid var(--line); }
.terms dt { color: var(--forest); padding-top: 3px; }
.terms dd { font-size: 14.5px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 36px 14px 0; position: relative;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 9px; font-size: 22px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); font-size: 14.5px; padding-bottom: 14px; margin: 0; }

/* ---------- Close ---------- */
.close__top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.close h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; max-width: 16ch; }
.next li { background: rgba(255, 255, 255, .45); border-radius: 16px; padding: 22px; }
.next p { margin: 0; font-size: 14.5px; }
.next .num--sm { color: var(--forest); }

.footer { max-width: var(--max); margin: 0 auto; padding: 32px var(--pad-x) 44px; display: grid; gap: 6px; font-size: 13.5px; color: var(--slate); }
.footer p { margin: 0; }
.footer a { color: var(--forest); }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--forest); font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; }
.footer__brand img { width: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Email composer modal ---------- */
@property --glow { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.mail[hidden], .mail__compose[hidden], .mail__done[hidden] { display: none; }
.mail { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.mail__backdrop {
  position: absolute; inset: 0; background: rgba(6, 51, 47, .74);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .4s cubic-bezier(.22, 1, .36, 1);
}
.mail.is-open .mail__backdrop { opacity: 1; }
.mail__card {
  position: relative; width: min(660px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  opacity: 0; transform: translate3d(0, 20px, 0) scale(.97);
  transition: opacity .4s cubic-bezier(.22, 1, .36, 1) .05s, transform .55s cubic-bezier(.22, 1, .36, 1) .05s;
  will-change: transform, opacity;
}
.mail.is-open .mail__card { opacity: 1; transform: none; }
.mail.is-closing .mail__card { opacity: 0; transform: translate3d(0, 12px, 0) scale(.98); transition: opacity .22s ease-in, transform .22s ease-in; }
.mail.is-closing .mail__backdrop { opacity: 0; transition: opacity .3s ease-in .05s; }

/* A slow comet of light traces the edge of the card */
.mail__glow {
  position: absolute; inset: -2px; border-radius: 24px; z-index: 0;
  background: conic-gradient(from var(--glow), transparent 0 62%, rgba(168, 230, 126, .1) 70%, var(--accent) 80%, rgba(168, 230, 126, .1) 88%, transparent 94%);
  animation: glow 5s linear infinite;
  opacity: 0; transition: opacity .8s ease .45s;
}
.mail.is-open .mail__glow { opacity: 1; }
@keyframes glow { to { --glow: 360deg; } }

.mail__compose, .mail__done { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; }
.mail__compose { background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .32), 0 0 60px rgba(168, 230, 126, .12); max-height: inherit; display: flex; flex-direction: column; }
.mail__top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--forest); color: var(--bg); }
.mail__dots { display: flex; gap: 6px; }
.mail__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--dark-line); }
.mail__dots i:nth-child(2) { background: var(--mint); }
.mail__dots i:nth-child(3) { background: var(--accent); }
.mail__title { flex: 1; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--dark-text); }
.mail__x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--bg); font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.mail__x:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.mail__form { display: flex; flex-direction: column; min-height: 0; overflow: auto; }
.mail__field { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 46px; padding: 6px 22px; border-bottom: 1px solid var(--line); }
.mail.is-open .mail__field { animation: rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.mail.is-open .mail__field:nth-child(1) { animation-delay: .2s; }
.mail.is-open .mail__field:nth-child(2) { animation-delay: .25s; }
.mail.is-open .mail__field:nth-child(3) { animation-delay: .3s; }
.mail.is-open .mail__field:nth-child(4) { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
.mail__label { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--slate); }
.mail__to { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 4px 12px 4px 6px; justify-self: start; border-radius: 999px; background: var(--mint); font-size: 14px; font-weight: 600; color: var(--forest); }
.mail__to img { width: 22px; }
.mail__to small { font-weight: 400; color: var(--slate); }
.mail__input { width: 100%; min-height: 36px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.mail__input:focus { outline: none; }
.mail__field:focus-within { background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
.mail__subject { font-size: 15px; font-weight: 600; color: var(--ink); }
.mail__body { min-height: 250px; padding: 18px 22px; border: 0; resize: vertical; background: var(--paper); font: inherit; font-size: 15px; line-height: 1.65; color: var(--ink); }
.mail__body:focus { outline: none; box-shadow: inset 3px 0 0 var(--accent); }
.mail__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mail__error { margin: 0 22px 10px; padding: 10px 14px; border-radius: 10px; background: #fbeceb; color: var(--risk); font-size: 14px; }
.mail__error a { color: var(--risk); font-weight: 600; }
.mail__actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.mail__fine { margin: 0; font-size: 12.5px; color: var(--slate); }
.mail__fine a { color: var(--forest); }
.mail__send { position: relative; flex-shrink: 0; overflow: hidden; }
.mail__plane { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.mail__send:hover .mail__plane { transform: translate(3px, -3px) rotate(-8deg); }
.mail__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(248, 247, 241, .35); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mail.is-sending .mail__plane { display: none; }
.mail.is-sending .mail__spinner { display: inline-block; }
.mail.is-sending .mail__send { pointer-events: none; opacity: .9; }
.mail.is-error .mail__compose { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* Sent: the message folds up and flies off, then the confirmation lands */
.mail.is-sent .mail__compose { animation: flyaway .75s cubic-bezier(.6, -.2, .7, .3) forwards; }
@keyframes flyaway {
  30% { transform: scale(.96) rotate(1deg); }
  100% { transform: translate(55%, -130%) rotate(-12deg) scale(.35); opacity: 0; }
}
.mail.is-sent .mail__glow { opacity: 0; transition: opacity .3s; }
.mail__done { padding: 44px 40px 40px; background: var(--forest); color: var(--bg); text-align: center; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); animation: land .6s cubic-bezier(.16, 1.2, .3, 1) both; }
@keyframes land { from { opacity: 0; transform: translateY(30px) scale(.9); } }
.mail__check { position: relative; width: 104px; height: 104px; margin: 0 auto 22px; }
.mail__check svg { width: 100%; height: 100%; }
.mail__ring { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 277; stroke-dashoffset: 277; transform: rotate(-90deg); transform-origin: center; animation: draw .7s .25s var(--ease) forwards; }
.mail__tick { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .4s .85s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mail__burst { position: absolute; inset: 0; }
.mail__burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--accent); opacity: 0; animation: burst .8s 1.05s var(--ease) forwards; }
.mail__burst i:nth-child(even) { width: 6px; height: 6px; margin: -3px; background: var(--mint); }
.mail__burst i:nth-child(1) { --r: 0deg; } .mail__burst i:nth-child(2) { --r: 36deg; } .mail__burst i:nth-child(3) { --r: 72deg; }
.mail__burst i:nth-child(4) { --r: 108deg; } .mail__burst i:nth-child(5) { --r: 144deg; } .mail__burst i:nth-child(6) { --r: 180deg; }
.mail__burst i:nth-child(7) { --r: 216deg; } .mail__burst i:nth-child(8) { --r: 252deg; } .mail__burst i:nth-child(9) { --r: 288deg; }
.mail__burst i:nth-child(10) { --r: 324deg; }
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--r)) translateY(0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--r)) translateY(-78px) scale(.4); }
}
.mail__done-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin-bottom: 10px; }
.mail__done-title em { color: var(--accent); display: block; }
.mail__done-sub { color: var(--dark-text); margin-bottom: 22px; }
.mail__done > *:not(.mail__check) { animation: rise .5s var(--ease) both; }
.mail__done-title { animation-delay: .95s !important; }
.mail__done-sub { animation-delay: 1.05s !important; }
.mail__recap { animation-delay: 1.15s !important; }
.mail__done .btn { animation-delay: 1.25s !important; }
.mail__recap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 26px; }
.mail__recap div { padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); }
.mail__recap dt { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dark-text); margin-bottom: 4px; }
.mail__recap dd { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--bg); }
body.is-locked { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .cover__body { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1180px) {
  .row--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar__links { display: none; }
}

@media (max-width: 1050px) {
  .head { grid-template-columns: 44px minmax(0, 1fr); }
  .head__aside { grid-column: 2; margin-top: 12px; }
  .cover__body, .note, .explainer, .billing, .plays-band { grid-template-columns: 1fr; }
    .first90__steps, .scope__list { grid-template-columns: 1fr; }
  .plays-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover__body { gap: 28px; }
  .explainer { gap: 14px; }
  .row--3 { grid-template-columns: 1fr; }
  .risks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .builder { grid-template-columns: 1fr; }
  .offer__tag { min-height: 0; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .panel { margin: 10px; border-radius: 17px; }
  .panel--forest, .panel--green { padding: 52px 6%; }
  .section { padding: 52px 6%; }
  .section--flush { padding-top: 24px; }
  .cover { padding: 16px 10px 10px; }
  .sheet { padding: 22px 20px 24px; border-radius: 17px; }
  .letterhead { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 18px; }
  .letterhead__for { text-align: left; }
  .letterhead__for img { margin-left: 0; width: 170px; }
  .cover__body { padding-top: 22px; }
  .cover h1 { font-size: clamp(32px, 9vw, 42px); margin-bottom: 22px; }
  .meta { grid-template-columns: 1fr; }
  .meta div, .meta div + div { padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .note,     .head { grid-template-columns: 1fr; }
  .head .num { margin-bottom: 8px; }
  .head__aside { grid-column: 1; }
  .explainer { padding: 22px; }
  .query { white-space: normal; }
  .bar { padding: 8px 12px; gap: 8px; }

  .btn--sm { padding: 0 14px; }

  /* Short card rows scroll sideways on phones instead of stacking */
  .row--4, .row--5, .next, .offers, .tiers, .risks {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-right: -6%; padding-right: 6%; padding-bottom: 8px; scrollbar-width: thin;
  }
  .row--4 > li, .row--5 > li, .next > li, .risks > li { flex: 0 0 78%; scroll-snap-align: start; }
  .offers > *, .tiers > * { flex: 0 0 88%; scroll-snap-align: start; }
  .tiers { padding-top: 4px; padding-left: 4px; margin-left: -4px; }
  .swipe-hint { display: block; }

  .path { grid-template-columns: 1fr; }
  .path li:first-child { border-radius: 16px 16px 0 0; }
  .path li:last-child { border-radius: 0 0 16px 16px; }
  .path li + li { border-left: 0; border-top: 2px solid var(--bg); }
  .builder__form { grid-template-columns: 1fr; padding: 18px; }
  .builder__comped { grid-template-columns: 1fr; }
  .plays-band { padding: 20px; }
  .plays-band__list { grid-template-columns: 1fr; }
  .terms { padding: 6px 20px; }
  .terms div { grid-template-columns: 1fr; gap: 2px; }
  .faq { padding: 18px 20px 4px; }
  .close__top { flex-direction: column; align-items: flex-start; }
  .close__top .btn { width: 100%; }
  .offer, .tier { padding: 24px 20px; }
  .mail { padding: 10px; align-items: end; }
  .mail__field { grid-template-columns: 64px minmax(0, 1fr); padding: 6px 16px; }
  .mail__body { min-height: 200px; padding: 14px 16px; }
  .mail__actions { flex-direction: column-reverse; align-items: stretch; padding: 14px 16px; }
  .mail__done { padding: 34px 20px 24px; }
  .mail__recap { grid-template-columns: 1fr; }
  .preview { height: auto; min-height: 118px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .mail *, .mail *::before, .mail *::after { animation: none !important; }
  .mail__ring, .mail__tick { stroke-dashoffset: 0; }
  .mail__burst { display: none; }
}

/* ---------- Print / Save as PDF ---------- */
@media print {
  @page { margin: 12mm; }
  body { background: #fff; font-size: 11.5px; }
  .mail, .bar, .skip, .btn, .summary__fine, .compare-wrap, .builder__form fieldset:not(.builder__comped), .builder__note { display: none !important; }
  .builder__form { grid-template-columns: 1fr !important; }
  .panel { margin: 0 0 10px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section, .cover { padding: 10px 0; max-width: none; }
  .builder { grid-template-columns: 1fr; }
  .risks li, .pillar, .note, .summary, .terms div, .next li, .opt, .checks li, .first90__steps li { break-inside: avoid; }
  /* Printed pages are phone-width, so undo the swipe rows and show every card */
  .swipe-hint { display: none !important; }
  .row--4, .row--5, .next, .offers, .tiers, .risks {
    display: grid !important; overflow: visible !important; margin-right: 0 !important; padding: 0 !important; gap: 10px !important;
  }
  .risks, .next { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .offers, .tiers { grid-template-columns: 1fr !important; }
  .row--4 > li, .row--5 > li, .next > li, .risks > li, .offers > *, .tiers > * { flex: none !important; width: auto !important; }
  }
