:root {
  --navy: #071a2f;
  --navy-2: #0c2945;
  --gold: #c9a35a;
  --gold-light: #e4c887;
  --cream: #f6f3ed;
  --white: #ffffff;
  --ink: #10253a;
  --muted: #667382;
  --line: #d9ddd9;
  --green: #2e7465;
  --shadow: 0 24px 70px rgba(7, 26, 47, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.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-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  height: 84px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 43px; height: 43px; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-family: "Libre Baskerville", serif; font-size: 24px; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-mark { line-height: 1; }
.brand-mark { text-indent: 1px; }
.brand-mark { --r: -45deg; }
.brand-mark { color: transparent; position: relative; }
.brand-mark::after { content: "R"; color: var(--gold); position: absolute; transform: rotate(-45deg); }
.brand-copy { display: flex; flex-direction: column; letter-spacing: .11em; }
.brand-copy strong { font-family: "Libre Baskerville", serif; font-size: 16px; }
.brand-copy small { font-size: 8px; color: #ccd3da; margin-top: 4px; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { text-decoration: none; color: #dce2e7; font-size: 14px; }
.site-header nav a:hover { color: var(--gold-light); }
.nav-link { border: 0; background: transparent; color: #dce2e7; padding: 0; cursor: pointer; font-size: 14px; }
.nav-link:hover { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); background: transparent; color: var(--gold-light); padding: 11px 17px; cursor: pointer; }
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.menu-button, .mobile-menu { display: none; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero-copy { padding: clamp(72px, 9vw, 130px) 5vw 56px max(5vw, calc((100vw - 1440px)/2 + 70px)); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 700; color: var(--gold-light); letter-spacing: .19em; }
.eyebrow.gold { color: #947127; }
h1, h2 { font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(45px, 5.25vw, 76px); max-width: 760px; }
h1 em, h2 em { font-weight: 400; color: var(--gold-light); }
.hero-intro { max-width: 650px; color: #c6d0d9; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; margin: 32px 0 35px; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.button { border: 0; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; text-decoration: none; font-weight: 700; cursor: pointer; }
.button-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 26px rgba(201, 163, 90, .15); }
.button-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.text-link { border: 0; background: transparent; color: var(--white); padding: 10px 0; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.3); }
.text-link span { color: var(--gold); margin-left: 7px; }
.trust-row { display: flex; gap: 30px; margin-top: 82px; color: #aab8c4; font-size: 12px; letter-spacing: .06em; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row b { color: var(--gold); font-family: "Libre Baskerville", serif; font-size: 17px; font-weight: 400; }
.hero-visual { position: relative; min-height: 100%; background: linear-gradient(145deg, #0b2947, #071a2f 75%); display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent, #000); }
.blueprint-card { position: relative; width: min(420px, 72%); aspect-ratio: .78; border: 1px solid rgba(201,163,90,.7); padding: 42px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 20px 30px 0 rgba(0,0,0,.13); }
.blueprint-card::before, .blueprint-card::after { content: ""; position: absolute; width: 28px; height: 28px; border-color: var(--gold); }
.blueprint-card::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.blueprint-card::after { bottom: 12px; right: 12px; border-bottom: 1px solid; border-right: 1px solid; }
.roof-line { position: absolute; width: 55%; height: 38%; top: 24%; left: 23%; border-left: 2px solid rgba(228,200,135,.68); border-top: 2px solid rgba(228,200,135,.68); transform: rotate(45deg) skew(-6deg,-6deg); }
.house-line { position: absolute; width: 56%; height: 31%; border: 2px solid rgba(228,200,135,.68); top: 38%; left: 22%; border-top: 0; }
.house-line span { position: absolute; width: 24%; height: 53%; border: 2px solid rgba(228,200,135,.68); bottom: 0; left: 38%; }
.house-line i, .house-line b { position: absolute; width: 18%; height: 23%; border: 2px solid rgba(228,200,135,.68); top: 24%; }
.house-line i { left: 10%; }.house-line b { right: 10%; }
.blueprint-card p { margin: 0; font-size: 21px; letter-spacing: .12em; line-height: 1.5; }
.blueprint-card p strong { color: var(--gold-light); font-family: "Libre Baskerville", serif; font-size: 30px; font-weight: 400; }
.blueprint-card small { margin-top: 17px; color: #94a8b8; letter-spacing: .15em; font-size: 8px; }
.experience-seal { position: absolute; left: 3%; bottom: 11%; width: 128px; height: 128px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.experience-seal strong { font-family: "Libre Baskerville", serif; font-size: 34px; line-height: 1; }
.experience-seal span { font-size: 8px; letter-spacing: .14em; text-align: center; margin-top: 7px; font-weight: 700; }

.library-section { padding: 110px max(5vw, calc((100vw - 1440px)/2 + 70px)) 125px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.section-heading h2, .journey h2 { font-size: clamp(36px, 4vw, 56px); }
.section-heading > p { max-width: 460px; color: var(--muted); line-height: 1.7; margin: 0 0 4px; }
.library-toolbar { margin: 52px 0 32px; padding: 16px; background: var(--white); border: 1px solid #e4e6e2; display: flex; justify-content: space-between; gap: 20px; }
.filter-tabs { display: flex; gap: 6px; }
.filter { border: 0; background: transparent; padding: 12px 16px; color: var(--muted); font-weight: 600; cursor: pointer; }
.filter span { font-size: 10px; margin-left: 6px; color: #9aa3ab; }
.filter.active { background: var(--navy); color: var(--white); }
.filter.active span { color: var(--gold-light); }
.search-box { min-width: 310px; display: flex; align-items: center; gap: 9px; border-left: 1px solid var(--line); padding-left: 22px; }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { min-height: 370px; background: var(--white); border: 1px solid #e1e3df; padding: 26px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.guide-preview { display:block; width:100%; height:145px; object-fit:contain; margin:18px 0 8px; background:#f5f4f0; border:1px solid rgba(195,157,78,.3); }
.guide-card.paid { background: var(--navy-2); color: var(--white); border-color: var(--navy-2); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.badge { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.badge.free { color: var(--green); background: #e8f1ee; }
.badge.paid { color: var(--gold-light); border: 1px solid rgba(228,200,135,.48); }
.guide-number { font-family: "Libre Baskerville", serif; color: #a6afb6; font-size: 14px; }
.guide-card.paid .guide-number { color: #6f8294; }
.guide-icon { margin: 34px 0 24px; width: 52px; height: 52px; color: var(--gold); }
.guide-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.4; fill: none; }
.guide-card h3 { margin: 0 0 13px; font-family: "Libre Baskerville", serif; font-weight: 400; font-size: 22px; line-height: 1.35; }
.guide-card > p { color: var(--muted); line-height: 1.6; font-size: 14px; margin: 0 0 24px; }
.guide-card.paid > p { color: #bac6d1; }
.card-action { margin-top: auto; border: 0; border-top: 1px solid #e2e4e1; background: transparent; padding: 17px 0 0; text-align: left; color: var(--ink); font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; }
.card-action span { color: var(--gold); }
.guide-card.paid .card-action { color: var(--white); border-color: rgba(255,255,255,.14); }
.empty-state { background: var(--white); padding: 50px; text-align: center; border: 1px solid var(--line); }
.empty-state h3 { font-family: "Libre Baskerville", serif; }
.empty-state p { color: var(--muted); }

.journey { background: var(--navy); color: var(--white); padding: 100px max(5vw, calc((100vw - 1440px)/2 + 70px)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: center; }
.journey-copy > p:not(.eyebrow) { color: #bdc8d2; line-height: 1.75; max-width: 520px; margin: 27px 0; }
.journey-copy small { color: #8495a5; display: block; margin-top: 14px; }
.journey-steps { list-style: none; margin: 0; padding: 0; }
.journey-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.journey-steps li:first-child { border-top: 1px solid rgba(255,255,255,.15); }
.journey-steps li > span { width: 45px; height: 45px; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; font-family: "Libre Baskerville", serif; }
.journey-steps strong { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: 20px; }
.journey-steps p { color: #aab7c2; margin: 7px 0 0; line-height: 1.55; }

footer { padding: 55px max(5vw, calc((100vw - 1440px)/2 + 70px)); background: #051321; color: #a9b4be; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px 60px; align-items: center; font-size: 13px; }
.footer-brand { color: var(--white); }
.footer-links { display: flex; gap: 20px; justify-self: end; }
.footer-links a { text-decoration: none; color: #c5ced6; }
footer > small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 13px 20px; justify-self: end; }
.legal-links button, .inline-policy { border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 0 0 2px; color: inherit; cursor: pointer; text-align: left; }
.inline-policy { color: #765b20; font-weight: 700; }

dialog { border: 0; padding: 0; color: var(--ink); box-shadow: 0 35px 100px rgba(0,0,0,.35); max-height: 90vh; }
dialog::backdrop { background: rgba(4,16,28,.78); backdrop-filter: blur(4px); }
.guide-dialog { width: min(720px, calc(100% - 32px)); background: var(--cream); }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 17px; width: 38px; height: 38px; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 25px; cursor: pointer; }
.dialog-hero { padding: 45px 48px 36px; background: var(--navy); color: var(--white); }
.dialog-hero h2 { font-size: clamp(30px, 4vw, 44px); margin: 22px 0 13px; padding-right: 30px; }
.dialog-hero p { color: #bdc8d2; line-height: 1.65; }
.dialog-body { padding: 37px 48px 46px; }
.dialog-body h3 { font-family: "Libre Baskerville", serif; font-size: 20px; }
.dialog-body ul { padding-left: 20px; color: var(--muted); line-height: 1.8; }
.route-box { margin-top: 28px; padding: 23px; border-left: 3px solid var(--gold); background: var(--white); }
.route-box small { color: #947127; font-weight: 700; letter-spacing: .12em; }
.route-box strong { display: block; font-family: "Libre Baskerville", serif; font-size: 19px; margin: 8px 0; }
.route-box p { color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.route-box button { border: 0; background: transparent; padding: 0; font-weight: 700; color: var(--navy); cursor: pointer; }
.route-box button span { color: var(--gold); margin-left: 5px; }

.signup-dialog { width: min(850px, calc(100% - 32px)); background: var(--white); }
.signup-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.signup-panel { padding: 55px 45px; background: var(--navy); color: var(--white); }
.signup-panel h2 { font-size: 37px; }
.signup-panel > p:not(.eyebrow) { color: #bec9d3; line-height: 1.65; }
.signup-panel ul { padding-left: 18px; color: #d7dee4; line-height: 1.9; }
.signup-grid form { padding: 55px 45px 40px; display: flex; flex-direction: column; gap: 18px; }
.signup-grid label:not(.check-label) { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.signup-grid input[type="text"], .signup-grid input[type="email"] { border: 1px solid var(--line); padding: 14px; outline: 0; border-radius: 0; }
.signup-grid input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,163,90,.16); }
.check-label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); line-height: 1.45; font-size: 12px; }
.check-label input { width: 17px; height: 17px; accent-color: var(--navy); }
.form-note { color: #89939c; font-size: 11px; line-height: 1.5; margin: 0; }
.toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; width: min(390px, calc(100% - 50px)); padding: 20px 25px; background: var(--white); border-left: 4px solid var(--gold); box-shadow: var(--shadow); }
.toast strong, .toast span { display: block; }
.toast span { color: var(--muted); margin-top: 4px; font-size: 13px; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .menu-button { display: flex; flex-direction: column; gap: 5px; border: 0; background: transparent; padding: 10px; }
  .menu-button span { width: 25px; height: 1px; background: var(--gold-light); }
  .mobile-menu { position: absolute; top: 84px; left: 0; right: 0; background: var(--navy-2); padding: 20px 24px 26px; flex-direction: column; gap: 17px; box-shadow: var(--shadow); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { text-decoration: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 85px 7vw 70px; }
  .hero-visual { min-height: 540px; }
  .trust-row { margin-top: 60px; }
  .section-heading { align-items: start; flex-direction: column; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }
  footer > small { grid-column: auto; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; padding: 0 18px; }
  .mobile-menu { top: 72px; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; }
  .hero-copy { padding: 70px 22px 55px; }
  h1 { font-size: 43px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { display: grid; gap: 13px; }
  .hero-visual { min-height: 460px; }
  .blueprint-card { width: 78%; padding: 29px; }
  .blueprint-card p strong { font-size: 24px; }
  .experience-seal { width: 100px; height: 100px; left: 4%; bottom: 7%; }
  .library-section { padding: 80px 20px 90px; }
  .section-heading { gap: 24px; }
  .library-toolbar { flex-direction: column; padding: 11px; }
  .filter-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter { padding: 11px 8px; }
  .search-box { min-width: 0; padding: 14px 8px 5px; border-left: 0; border-top: 1px solid var(--line); }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 330px; }
  .journey { padding: 80px 22px; gap: 55px; }
  footer { padding: 48px 22px; }
  .footer-links { flex-direction: column; gap: 11px; }
  .dialog-hero, .dialog-body { padding-left: 25px; padding-right: 25px; }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-panel, .signup-grid form { padding: 43px 27px; }
}

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

.test-ribbon { background: #fff7df; border-bottom: 1px solid #dfc77e; padding: 14px max(5vw, calc((100vw - 1440px)/2 + 70px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.test-ribbon div { display: flex; flex-direction: column; gap: 3px; }
.test-ribbon strong { color: var(--navy); font-size: 13px; letter-spacing: .11em; }
.test-ribbon span { color: #675b3c; font-size: 13px; }
.test-ribbon .button { min-height: 42px; white-space: nowrap; }

.funnel-dialog { width: min(1400px, calc(100% - 24px)); height: min(920px, calc(100vh - 24px)); max-height: none; background: var(--cream); overflow: hidden; }
.funnel-shell { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; }
.funnel-header { min-height: 76px; padding: 12px 28px; background: var(--navy); color: var(--white); display: flex; justify-content: space-between; align-items: center; }
.test-status { display: flex; align-items: center; gap: 20px; }
.test-status span, .test-pill { background: #fff0bf; color: #6b5315; padding: 7px 10px; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.funnel-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); color: white; background: transparent; font-size: 26px; cursor: pointer; }
.funnel-progress { padding: 10px 28px; display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 16px; background: white; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.funnel-progress > div { height: 5px; background: #e8e8e4; overflow: hidden; }
.funnel-progress i { display: block; height: 100%; background: var(--gold); transition: width .25s ease; }
.funnel-stage { overflow-y: auto; padding: clamp(34px, 5vw, 76px); outline: none; }
.funnel-footer { min-height: 62px; padding: 10px 28px; border-top: 1px solid var(--line); background: white; display: grid; grid-template-columns: 160px 1fr 130px; align-items: center; gap: 20px; }
.funnel-footer p { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.funnel-footer button { border: 0; background: transparent; color: var(--navy); font-weight: 700; cursor: pointer; }
.funnel-reset { text-align: right; }
.product-layout, .paid-layout, .checkout-layout, .consult-step { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.product-copy h1 { color: var(--navy); font-size: clamp(40px, 5vw, 68px); }
.product-copy h1 em { color: #967128; }
.funnel-lead { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 720px; }
.benefit-list { list-style: none; padding: 0; margin: 27px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.benefit-list li { padding-left: 27px; position: relative; line-height: 1.5; }
.benefit-list li::before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 800; }
.microcopy { font-size: 12px; color: #7d878f; line-height: 1.55; }
.guide-cover { min-height: 520px; padding: 45px; background: var(--navy); color: white; border: 2px solid var(--gold); box-shadow: 22px 25px 0 #dcd6c8; display: flex; flex-direction: column; }
.guide-cover small { letter-spacing: .15em; color: #b8c5cf; }
.guide-cover h2 { font-size: 34px; margin-top: 60px; }
.guide-cover p { color: #c6d0d9; line-height: 1.6; }
.guide-cover > strong { margin-top: auto; color: var(--gold-light); letter-spacing: .15em; }
.wall-sketch { height: 150px; margin: 28px 0; position: relative; border-bottom: 8px solid #876f4e; }
.wall-sketch span { position: absolute; bottom: 8px; left: 18%; width: 65%; height: 120px; border: 2px solid rgba(228,200,135,.65); }
.wall-sketch i { position: absolute; bottom: 33px; left: 12%; width: 78%; border-top: 4px solid var(--gold); }
.wall-sketch b { position: absolute; bottom: 8px; right: 18%; width: 18%; height: 55%; background: rgba(120,164,184,.38); }

.form-step { max-width: 1060px; margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.form-step h2, .message-step h2, .paid-layout h2, .checkout-layout h2, .delivery-step h2, .consult-step h2 { font-size: clamp(34px, 4vw, 54px); color: var(--navy); }
.form-step > div > p:last-child { color: var(--muted); line-height: 1.7; }
.test-form, .checkout-card { padding: 34px; background: white; border: 1px solid #dddeda; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 19px; }
.test-form > label:not(.privacy-check), .checkout-card > label:not(.privacy-check), .field-row label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; }
.test-form input[type="text"], .test-form input[type="email"], .checkout-card input[type="text"], .checkout-card input[type="email"] { padding: 14px; border: 1px solid #cfd3d2; background: white; }
.test-form fieldset { border: 1px solid var(--line); padding: 19px; }
.test-form legend { padding: 0 8px; font-weight: 700; }
.consent-choice { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin: 12px 0; align-items: start; }
.consent-choice input, .privacy-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.consent-choice span { display: flex; flex-direction: column; gap: 4px; }
.consent-choice small { color: var(--muted); line-height: 1.4; }
.privacy-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.test-form code { background: #eef0ef; padding: 2px 4px; }

.message-step, .delivery-step { max-width: 900px; margin: auto; text-align: center; }
.message-step > p:not(.eyebrow), .delivery-step > p:not(.eyebrow) { max-width: 720px; margin: 18px auto 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.success-mark { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #e6f1ed; color: var(--green); font-size: 38px; margin: 0 auto 25px; }
.system-strip { margin: 35px 0; padding: 25px; background: white; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 1px solid var(--line); }
.system-strip span { display: flex; align-items: center; gap: 9px; text-align: left; }
.system-strip b { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); }

.email-stage { max-width: 1120px; margin: auto; display: grid; grid-template-columns: 280px 1fr; gap: 26px; }
.email-list { padding: 24px; background: var(--navy); color: white; }
.email-tab { width: 100%; padding: 16px 8px; text-align: left; border: 0; border-top: 1px solid rgba(255,255,255,.16); background: transparent; color: #c6d1da; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.email-tab b { color: var(--gold-light); font-size: 11px; }
.email-tab.active { background: rgba(255,255,255,.09); padding-left: 14px; }
.email-preview { background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.email-chrome { padding: 18px 24px; background: #eef0ef; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 12px; }
.email-chrome b { color: var(--ink); font-size: 16px; margin-top: 5px; }
.email-body { padding: 35px 45px; line-height: 1.7; }
.email-brand { color: var(--navy); font-family: "Libre Baskerville", serif; font-weight: 700; letter-spacing: .1em; border-bottom: 2px solid var(--gold); padding-bottom: 15px; margin-bottom: 25px; }
.email-brand small { display: block; font-family: "DM Sans", sans-serif; font-size: 9px; color: var(--muted); margin-top: 4px; }
.email-button { display: inline-block; background: var(--gold); color: var(--navy); padding: 11px 17px; text-decoration: none; font-weight: 700; }
.email-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0 18px; }
.email-body > small { color: var(--muted); }
.stage-actions { max-width: 1120px; margin: 25px auto 0; text-align: right; }

.paid-layout { align-items: start; }
.contents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 30px; }
.contents-grid div { padding: 16px; background: white; border-left: 3px solid var(--gold); display: flex; gap: 12px; }
.contents-grid b { color: #957128; }
.price-card { padding: 42px; background: var(--navy); color: white; text-align: center; border: 2px solid var(--gold); }
.price-card > span { font-size: 11px; letter-spacing: .14em; color: #c5d0d9; }
.price-card > strong { display: block; font-family: "Libre Baskerville", serif; color: var(--gold-light); font-size: 62px; margin: 28px 0 10px; }
.price-card p { color: #c1ccd5; }
.price-card .button { width: 100%; margin: 20px 0 14px; }
.price-card small { color: #a8b4be; }

.checkout-layout { align-items: start; }
.checkout-summary, .checkout-card { max-width: 540px; }
.line-item, .total { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line-item small { color: var(--muted); }
.total strong { font-size: 24px; }
.checkout-summary > p:last-child { color: var(--muted); line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-card input[readonly] { color: #5e6770; background: #f7f7f5; }
.checkout-card h3 { margin: 0; color: var(--navy); font-size: 25px; }
.checkout-card > p, .checkout-card > small { margin: 0; color: var(--muted); line-height: 1.65; }
.checkout-points { margin: 0; padding-left: 20px; color: var(--navy); line-height: 1.75; }
.checkout-card .button { text-align: center; }
.checkout-card button.button { width: 100%; }
.direct-contact { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 13px; }
.direct-contact b { width: 100%; color: var(--navy); }
.direct-contact a { color: var(--navy); font-weight: 700; }
.button-outline-light { border: 1px solid rgba(255,255,255,.65); background: transparent; color: white; text-align: center; }
.button-outline-light:hover { background: white; color: var(--navy); }
.contact-card .button { text-decoration: none; }

.delivery-card { margin: 32px 0 28px; padding: 24px; background: white; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 30px; text-align: left; }
.delivery-card > div { display: flex; flex-direction: column; gap: 6px; }
.delivery-card small { color: #957128; font-weight: 700; }
.delivery-card strong { font-family: "Libre Baskerville", serif; }
.delivery-card span { color: var(--muted); font-size: 12px; }
.button-outline { border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: white; }

.consult-step { align-items: start; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.support-options article { background: white; padding: 25px; border-top: 3px solid var(--gold); }
.support-options span { color: #957128; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.support-options h3 { font-family: "Libre Baskerville", serif; font-size: 21px; }
.support-options p { color: var(--muted); line-height: 1.6; }
.contact-card { background: var(--navy); color: white; padding: 42px; display: flex; flex-direction: column; gap: 15px; border: 2px solid var(--gold); }
.contact-card > strong { font-family: "Libre Baskerville", serif; font-size: 27px; color: var(--gold-light); letter-spacing: .1em; }
.contact-card p { color: #c2cdd6; }
.contact-card a { color: white; }
.contact-card small { color: #99a8b4; margin-top: 20px; }
.completion-note { max-width: 1180px; margin: 28px auto 0; padding: 18px; background: #e6f1ed; border-left: 4px solid var(--green); color: var(--navy); }
.availability-list { display: grid; gap: 16px; margin-top: 28px; }
.availability-list article { padding: 22px; background: white; border-left: 4px solid var(--gold); }
.availability-list h3 { font-family: "Libre Baskerville", serif; margin: 10px 0; font-size: 21px; }
.availability-list p { color: var(--muted); line-height: 1.55; }
.availability { display: inline-flex; padding: 6px 9px; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.availability.development { background: #edf0f2; color: #56616b; }
.availability.available { background: #e7f2ed; color: var(--green); }
.inline-confirmation { padding: 12px; background: #e7f2ed; color: var(--navy); font-size: 13px; }
.paid-followup { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 20px 0; }
.paid-followup b, .paid-followup span { padding: 8px 11px; background: white; border: 1px solid var(--line); font-size: 12px; }
.paid-followup b { background: var(--navy); color: white; }
.policy-dialog { width: min(820px, calc(100% - 28px)); background: white; }
.policy-dialog article { padding: 52px; max-height: 84vh; overflow-y: auto; }
.policy-dialog h2, .consult-dialog h2 { font-size: clamp(32px, 4vw, 48px); color: var(--navy); }
.policy-dialog h3 { margin: 28px 0 8px; font-family: "Libre Baskerville", serif; color: var(--navy); }
.policy-dialog p, .policy-dialog li { line-height: 1.65; color: var(--muted); }
.policy-note { padding: 17px; background: #fff6d9; border-left: 3px solid var(--gold); }
.consult-dialog { width: min(1050px, calc(100% - 28px)); background: var(--cream); }
.consult-modal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; padding: 55px; }
.consult-modal-grid section > p:not(.eyebrow), .consult-modal-grid li { color: var(--muted); line-height: 1.65; }
.consult-modal-grid ul { padding-left: 20px; }
.consult-modal-grid textarea { border: 1px solid #cfd3d2; padding: 14px; resize: vertical; }
.consult-success { margin: 0 55px 45px; padding: 18px; background: #e6f1ed; border-left: 4px solid var(--green); }

@media (max-width: 900px) {
  .test-ribbon { align-items: flex-start; flex-direction: column; }
  .product-layout, .paid-layout, .checkout-layout, .consult-step, .form-step { grid-template-columns: 1fr; }
  .guide-cover { max-width: 520px; width: 100%; justify-self: center; }
  .email-stage { grid-template-columns: 1fr; }
  .email-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 8px; }
  .email-list .eyebrow { grid-column: 1 / -1; }
  .funnel-footer { grid-template-columns: 1fr 1fr; }
  .funnel-footer p { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .funnel-dialog { width: 100%; height: 100%; max-width: none; }
  .funnel-header { padding: 10px 15px; }
  .funnel-header .brand-copy small { display: block; font-size: 7px; }
  .test-status span { display: none; }
  .funnel-stage { padding: 35px 20px; }
  .funnel-progress { padding: 9px 16px; }
  .benefit-list, .contents-grid, .support-options, .system-strip { grid-template-columns: 1fr; }
  .guide-cover { min-height: 440px; padding: 30px; }
  .guide-cover h2 { font-size: 28px; margin-top: 38px; }
  .email-list { grid-template-columns: 1fr; }
  .email-body { padding: 27px 22px; }
  .delivery-card { align-items: stretch; flex-direction: column; }
  .delivery-card .button { width: 100%; }
  .funnel-footer { padding: 8px 14px; }
}

@media (max-width: 980px) {
  .legal-links { justify-self: start; }
  .consult-modal-grid { grid-template-columns: 1fr; padding: 42px 28px; }
}

@media (max-width: 680px) {
  .policy-dialog article { padding: 44px 25px; }
  .consult-modal-grid { padding: 42px 25px; gap: 28px; }
  .consult-success { margin: 0 25px 30px; }
  .paid-followup { justify-content: flex-start; }
}
