/* Homepage redesign (preview) — built from the Website canvas.
   Colors and type follow the "Structured Sales" design system. */
:root {
  --navy: #0F2A52;
  --navy-2: #143561;
  --blue: #2F6FE4;
  --blue-dk: #2556C4;
  --blue-lt: #8FB2F3;
  --orange: #F47A22;
  --orange-lt: #F9A25F;
  --orange-dk: #D4611A;
  --cream: #F7F3EA;
  --cream-line: #E4DCCB;
  --ink: #0F2A52;
  --muted: #56667E;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--orange-lt); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 400; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 50px; color: var(--navy); }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 6px; border: 0; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-blue { background: var(--blue); color: #FFF; } .btn-blue:hover { background: var(--blue-dk); }
.btn-orange { background: var(--orange); color: var(--navy); } .btn-orange:hover { background: var(--orange-lt); }
.btn-white { background: #FFF; color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.hn-header { position: relative; z-index: 20; background: var(--cream); }
body:has(.hn-hero) .hn-header { background: linear-gradient(180deg, var(--cream) 0, #FDFCF9 70px, #FEFDFB 76px); }
.hn-header .wrap { height: 76px; display: flex; align-items: center; gap: 48px; }
.hn-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.hn-logo img { width: 36px; height: 36px; }
.hn-nav { display: flex; align-items: center; gap: 34px; }
.hn-nav a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font-size: 17px; font-weight: 500; }
.hn-nav svg { width: 12px; height: 12px; }
.hn-actions { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.hn-auth { display: contents; }
.hn-actions .login { color: var(--navy); text-decoration: none; font-size: 17px; font-weight: 500; }
.hn-actions .btn { height: 48px; }
.hn-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.hn-hero { position: relative; overflow: hidden; height: 620px; background: linear-gradient(180deg, #FEFDFB 0, #FFF 34px, #FFF 204px, #FCFAF6 324px, var(--cream) 564px, var(--cream) 100%); }
.hn-hero .wrap { position: relative; height: 100%; }
.hn-hero .wrap > div { position: absolute; left: 0; top: 135px; max-width: 520px; }
.hn-hero h1 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 64px; }
.hn-hero .lead { margin: 0; font-size: 20px; line-height: 31px; color: var(--muted); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 26px; font-weight: 600; }
.ticks svg { flex: none; }
.hn-hero .btn { margin-top: 32px; padding: 0 30px; font-size: 18px; }
/* Same 1440 x 620 drawing as the Website canvas, kept centered on wider and narrower screens */
.hn-hero-art { position: absolute; top: 0; left: calc(50% - 720px); width: 1440px; height: 620px; display: block; overflow: visible; }
.iso .top { fill: #FFF } .iso .fl { fill: url(#cFaceLeft) } .iso .fr { fill: url(#cFaceRight) } .iso .cast { fill: #C9BC9F; opacity: .75 }
.iso .skin { fill: #B97A56 } .iso .hair { fill: #24180F } .iso .pants { fill: #C8B48A } .iso .shirt { fill: #F47A22 } .iso .shoe { fill: #14213A }
.iso .sole { fill: #F2F2F2 } .iso .skin2 { fill: #9A6143 } .iso .pants2 { fill: #A8946A } .iso .shirt2 { fill: #D4611A } .iso .laptop { fill: #C9D3E3 } .iso .screen { fill: #14213A }

/* Problem → solution */
.hn-problem { padding: 120px 0 96px; background: linear-gradient(180deg, var(--cream) 0%, #FBF9F4 14%, #FFF 48%); }
.ps-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: center; }
.ps-text { display: flex; flex-direction: column; gap: 24px; }
.ps-toggle { display: flex; gap: 6px; padding: 6px; background: #EFE9DC; border-radius: 14px; }
.ps-seg { flex: 1; height: 52px; border: 0; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; background: transparent; color: var(--muted); transition: background .25s, color .25s; }
.ps-seg[aria-pressed="true"] { background: #FFF; color: var(--navy); box-shadow: 0 2px 8px rgba(15,42,82,.12); }
.ps-copy { margin: 0; min-height: 84px; font-size: 18px; line-height: 28px; color: var(--muted); }
.ps-card { background: #FFF; border-radius: 22px; border-top: 6px solid var(--orange); padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 0 var(--cream-line), 0 18px 40px rgba(15,42,82,.08); transition: border-color .3s; }
.ps-card.is-inst { border-top-color: var(--blue); }
.ps-card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 42px; }
.ps-tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--orange-dk); }
.ps-card.is-inst .ps-tag { color: var(--blue-dk); }
.ps-sub { font-size: 14px; color: var(--muted); }
.ps-chart { position: relative; height: 420px; }
.ps-rail { position: absolute; left: 0; width: 10px; border-radius: 5px; }
.ps-rail.r20 { top: 0; height: 43%; background: var(--orange); }
.ps-rail.r15 { top: 44%; height: 34.5%; background: #C9BC9F; }
.ps-rail.r0 { top: 79.5%; height: 20.5%; background: var(--blue-lt); }
.ps-lab { position: absolute; left: 20px; font-size: 14px; font-weight: 700; }
.ps-line { position: absolute; left: 16px; right: 0; height: 1.5px; }
.ps-bars { position: absolute; left: 60px; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.ps-bar { flex: 0 0 0; height: 0; margin: 0; border-radius: 14px 14px 0 0; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; color: #FFF; font-size: 13px; font-weight: 700; white-space: nowrap; transition: all .5s ease; background: var(--blue); }
.ps-chart.is-lump .ps-bar:first-child { flex-basis: 38%; height: 91%; background: linear-gradient(180deg, var(--orange) 0, var(--orange) 37.5%, var(--navy) 37.5%); }
.ps-chart.is-inst .ps-bar { flex-basis: 20%; height: 46%; margin: 0 2.5%; }
.ps-note { margin: 0; font-size: 13px; line-height: 19px; color: var(--muted); }
.ps-strip { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--navy); border-radius: 22px; padding: 30px 36px; }
.ps-strip h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 36px; color: #FFF; }
.ps-strip p { margin: 0; font-size: 16px; line-height: 24px; color: #C9D3E3; }
.ps-strip-form { display: flex; align-items: flex-end; gap: 14px; flex: none; }
.ps-strip label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #C9D3E3; }
.ps-fld { display: flex; align-items: center; gap: 6px; height: 56px; width: 300px; padding: 0 16px; border-radius: 8px; background: #FFF; }
.ps-fld span { font-size: 20px; font-weight: 600; color: var(--muted); }
.ps-fld input { border: 0; outline: 0; font: inherit; font-size: 20px; font-weight: 600; color: var(--navy); width: 100%; background: transparent; }
.ps-strip .btn { height: 56px; }

/* Strategies compared */
.hn-compare { padding: 140px 0 120px; background: linear-gradient(180deg, #FFF 0%, #E6EEFC 22%, var(--blue-lt) 58%, #2F6BDB 88%, var(--blue-dk) 100%); }
.cmp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
.cmp-card { background: #FFF; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 var(--cream-line), 0 24px 50px rgba(15,42,82,.10); }
.cs-t { width: 100%; border-collapse: collapse; }
.cs-t th, .cs-t td { padding: 13px 20px; text-align: center; font-size: 16px; line-height: 22px; }
.cs-t th:first-child, .cs-t td:first-child { text-align: left; font-weight: 600; width: 300px; }
.cs-t thead th { background: var(--navy); color: #FFF; font-weight: 700; vertical-align: bottom; padding: 20px; }
.cs-t thead th:first-child { font-size: 13px; letter-spacing: .08em; color: #A9C4F2; }
.cs-t tbody tr:nth-child(odd) { background: #FAF8F3; }
.cs-t .sis { background: rgba(244,122,34,.10); border-left: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.cs-t thead .sis { background: var(--orange); color: var(--navy); }
.cs-t .ck { font-size: 20px; font-weight: 700; color: var(--blue); }
.cs-t .sis .ck { color: var(--orange-dk); }
.cs-t .short { display: none; }
.cs-t abbr { text-decoration: none; border: 0; }
.cmp-key { display: none; }
.cmp-note { margin: 18px 0 0; font-size: 13px; color: #FFF; }

/* Scrolling strip */
.hn-strip { height: 130px; background: var(--navy-2); display: flex; align-items: center; overflow: hidden; }
.mq { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.mq-track { display: flex; width: max-content; animation: mq 85s linear infinite; }
.mq-half { display: flex; align-items: center; gap: 24px; padding-right: 24px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }
.mq-badge { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 16px; font-weight: 700; color: #FFF; white-space: nowrap; }
.mq-text { font-family: var(--serif); font-size: 24px; color: #DCE6F7; white-space: nowrap; }
.mq-dv { width: 1px; height: 26px; background: rgba(255,255,255,.18); }

/* Testimonials */
.hn-tst { position: relative; overflow: hidden; padding: 96px 0; background: linear-gradient(180deg, var(--cream) 0%, #FDFCF9 12%, #FFF 30%, #FCFAF6 55%, var(--cream) 85%); }
.tst-main { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 72px; align-items: center; }
.tst-photo { display: block; width: 440px; height: 500px; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(138,66,16,.20); }
.tst-quote { display: flex; flex-direction: column; gap: 26px; }
.tst-quote .label { margin: 0; font-size: 14px; font-weight: 700; }
.tst-mark { font-family: var(--serif); font-size: 120px; line-height: 60px; height: 60px; }
.tst-quote blockquote { margin: 0; font-family: var(--serif); font-size: 38px; line-height: 48px; }
.tst-who strong { display: block; font-size: 18px; }
.tst-who span { font-size: 15px; color: #3D4F68; }
.tst-minis { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tst-mini { margin: 0; background: rgba(255,255,255,.88); border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: stretch; box-shadow: 0 12px 30px rgba(15,42,82,.12); }
.tst-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #DCE1E8; }
.tst-mini > div { display: flex; flex-direction: column; }
.tst-mini blockquote { margin: 0 0 8px; font-family: var(--serif); font-size: 17px; line-height: 24px; }
.tst-mini figcaption { margin-top: auto; font-size: 14px; color: #3D4F68; }
.tst-mini figcaption strong { color: var(--navy); }

/* Quiz */
.hn-quiz { padding: 0; background: linear-gradient(180deg, #FFF 0%, #E6EEFC 22%, var(--blue-lt) 58%, #2F6BDB 88%, var(--blue-dk) 100%); }
.hn-quiz .wrap { min-height: 900px; display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 60px; align-items: center; }
.q-vis { width: 100%; height: auto; max-height: 820px; }
.q-vis * { transform-box: fill-box; }
.q-panel { align-self: start; padding-top: 236px; display: flex; flex-direction: column; gap: 22px; }
.q-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange-dk); }
.q-title { margin: 0; min-height: 100px; font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 50px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 64px; align-content: start; gap: 12px; min-height: 140px; }
.q-opt { display: flex; align-items: center; min-height: 64px; padding: 0 22px; border-radius: 14px; font: inherit; font-size: 18px; font-weight: 600; text-align: left; background: #FFF; border: 2px solid var(--cream-line); color: var(--navy); cursor: pointer; box-shadow: 0 6px 18px rgba(15,42,82,.12); transition: border-color .2s, transform .2s, background .2s; }
.q-opt:hover { border-color: var(--blue); transform: translateY(-2px); }
.q-opt[aria-checked="true"] { border-color: var(--blue); background: #F2F6FE; }
.q-summary { margin: 0; font-size: 18px; line-height: 28px; }
.q-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.q-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.q-form input { height: 52px; padding: 0 14px; border: 1.5px solid #FFF; border-radius: 8px; font: inherit; font-size: 17px; color: var(--navy); background: #FFF; }
.q-form input[name="fname"] { width: 190px; } .q-form input[name="email"] { width: 260px; }
.q-thanks { margin: 0; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.85); font-size: 17px; font-weight: 600; }
.q-error { margin: 0; font-size: 15px; font-weight: 600; color: #8A1C1C; background: #FFF; padding: 10px 14px; border-radius: 10px; }
.q-bar { display: flex; gap: 6px; }
.q-bar span { display: block; height: 6px; border-radius: 3px; flex: 1; max-width: 64px; background: var(--cream-line); transition: background .4s; }
.q-bar span.done { background: var(--blue); } .q-bar span.now { background: var(--orange); }
.q-nav { display: flex; gap: 12px; }
.q-nav .back { background: rgba(255,255,255,.85); border: 1.5px solid #FFF; color: var(--navy); }
.q-nav .restart { background: transparent; color: #FFF; }
[hidden] { display: none !important; }
/* quiz staircase animation */
.cast { opacity: 0; transition: opacity .5s ease .35s; } .cast.on, .cast.base { opacity: 1; }
.hn-quiz .cast { fill: var(--navy); stroke: var(--navy); }
.drop { transform: translateY(-820px); opacity: 0; transform-origin: 50% 100%; }
.drop.on { animation: dropin .6s cubic-bezier(.5,0,.6,1.45) forwards; }
.drop.base { transform: none; opacity: 1; animation: none; }
@keyframes dropin { 0% { transform: translateY(-820px); opacity: 1; } 80% { transform: translateY(6px) scale(1.04,.94); } 100% { transform: none; opacity: 1; } }
.mfront { opacity: 0; transform: scaleX(0); transform-origin: 50% 100%; }
.mback { transform-origin: 50% 100%; transition: transform .25s ease .7s, opacity 0s .95s; }
.done .mback { transform: scaleX(0); opacity: 0; }
.done .mfront { animation: turn .35s ease-out .95s forwards; }
@keyframes turn { 0% { opacity: 1; transform: scaleX(0); } 100% { opacity: 1; transform: scaleX(1); } }
.done .arms { animation: cheer .8s ease-in-out 1.4s infinite; transform-origin: 50% 90%; }
@keyframes cheer { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hopA { animation: hopA .6s ease-out .4s; } .hopB { animation: hopB .6s ease-out .4s; }
@keyframes hopA { 0% { transform: none; } 35% { transform: translateY(-90px) scaleY(1.04); } 80% { transform: translateY(0) scaleY(.92); } 100% { transform: none; } }
@keyframes hopB { 0% { transform: none; } 35% { transform: translateY(-90px) scaleY(1.04); } 80% { transform: translateY(0) scaleY(.92); } 100% { transform: none; } }
.conf { opacity: 0; } .done .conf { animation: conf 1.4s ease-out 1.2s infinite; }
@keyframes conf { 0% { opacity: 1; transform: translate(0,0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@media (prefers-reduced-motion: reduce) { .q-vis * { animation: none !important; transition: none !important; } .drop.on { transform: none; opacity: 1; } .done .mfront { opacity: 1; transform: none; } }

/* Structured sale options */
/* Starts in the quiz section's blue and fades back up to white, so the two sections blend */
.hn-options { padding: 200px 0 72px; background: linear-gradient(180deg, var(--blue-dk) 0, #2F6BDB 24px, var(--blue-lt) 90px, #E6EEFC 150px, #FFF 220px, #FFF 50%, var(--cream) 100%); }
/* Faint isometric grid fading in from the right, with outline blocks (from the Website canvas) */
.hn-options { position: relative; overflow: hidden; }
.hn-options .wrap { position: relative; }
.so-art { position: absolute; top: 104px; left: calc(50% - 720px); width: 1440px; height: 880px; pointer-events: none; }
.so-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 32px; }
.so-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.so-badge { align-self: flex-start; width: max-content; display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 15px; font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.so-cap { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.so-card { text-decoration: none; color: inherit; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 1px 0 var(--cream-line), 0 18px 40px rgba(15,42,82,.08); }
.so-card:hover { transform: translateY(-8px); box-shadow: 0 1px 0 var(--cream-line), 0 30px 60px rgba(15,42,82,.18); }
.so-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; transition: gap .25s ease; }
.so-card:hover .so-more { gap: 14px; }
.so-chart { width: 100%; height: auto; }
.so-note { margin: 32px 0 0; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .so-card, .so-card:hover { transform: none; transition: none; } }

/* Nationwide map (pinned while the page scrolls) */
.hn-map { position: relative; height: 300vh; background: linear-gradient(180deg, var(--cream) 0%, #FFF 22%, #E6EEFC 48%, var(--blue-lt) 76%, #2F6BDB 93%, var(--blue-dk) 100%); }
.map-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.map-pin .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: center; }
.map-art { display: flex; flex-direction: column; gap: 14px; }
.map-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(15,42,82,.22)); }
.map-art .cap { font-size: 12px; color: #8A7F6A; }
.map-steps { position: relative; min-height: 360px; }
.map-step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.map-step.on { opacity: 1; transform: none; pointer-events: auto; }
.map-step .eb { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--orange-dk); }
.map-step h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 48px; }
.map-step p { margin: 0; font-size: 19px; line-height: 30px; color: var(--muted); }
.map-step .row { display: flex; gap: 12px; flex-wrap: wrap; }
.map-pips { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.map-pips span { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(15,42,82,.2); transition: all .3s; }
.map-pips span.on { height: 28px; background: var(--orange); }
.map .st { stroke: #FFF; stroke-width: 1.4; stroke-linejoin: round; }
.map .sh0 { fill: #183563 } .map .sh1 { fill: #1C3B6E } .map .sh2 { fill: #142E57 } .map .sh3 { fill: #22457A }
.map .halo { opacity: .95; transform-box: fill-box; transform-origin: center; transition: opacity .6s; }
.map .core { fill: #FFF; opacity: .95; filter: drop-shadow(0 0 3px #FFF); }
.map .ring { fill: none; stroke: #FFF; stroke-opacity: .35; stroke-width: 1; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.35); opacity: .55; } }
.m3 .halo, .m4 .halo { animation: pulse 2.6s ease-in-out infinite; }
.m4 .core { fill: var(--orange); opacity: 1; }
.fan { --q: clamp(0, calc((var(--p, 0) - var(--t)) * 3), 1); }
.link { --q: clamp(0, calc((var(--p, 0) - var(--t)) * 2.5), 1); fill: none; stroke: #A9C4F2; stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q)); opacity: calc(var(--q) * .55); }
.m4 .link { stroke: var(--orange-lt); }
.rib { fill: none; stroke: #FFF; stroke-width: .9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q)); opacity: calc(.15 + var(--q) * .5); }
.m4 .rib { stroke: var(--orange-lt); }
@media (prefers-reduced-motion: reduce) { .map .halo { animation: none !important; } }

/* Footer */
.hn-footer { position: relative; overflow: hidden; color: #FFF; background: linear-gradient(180deg, var(--blue-dk) 0%, var(--navy-2) 50%, var(--navy) 100%); padding: 80px 0 40px; }
.ft-art { position: absolute; right: -10px; top: 250px; width: 420px; height: 322px; }
.ft-top { position: relative; display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 60px; }
.ft-brand { display: flex; flex-direction: column; gap: 24px; }
.ft-brand .hn-logo { color: #FFF; }
.ft-brand p { margin: 0; font-family: var(--serif); font-size: 46px; line-height: 52px; }
.ft-brand .btn { align-self: flex-start; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 12px; }
.ft-h { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange-lt); }
.ft-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ft-l a, .ft-k { color: #DCE6F7; text-decoration: none; font-size: 16px; }
.ft-l a:hover, .ft-k:hover { color: #FFF; text-decoration: underline; }
.ft-bottom { position: relative; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 14px; }
.ft-bottom .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ft-f { font-size: 13px; line-height: 20px; color: #9FB0C8; }
.ft-disclaimer { margin: 0; font-size: 12px; line-height: 19px; color: #9FB0C8; max-width: 980px; }

/* ── Tablet ── */
@media (max-width: 1180px) {
  .ps-grid, .tst-main, .map-pin .wrap, .ft-top { grid-template-columns: 1fr; }
  .hn-quiz .wrap { grid-template-columns: 1fr 1fr; min-height: 0; padding: 64px 0; }
  .q-panel { padding-top: 0; align-self: center; }
  .hn-nav { display: none; }
  .tst-photo { width: 100%; max-width: 440px; }
  .map-steps { min-height: 300px; }
}

/* ── Phone ── */
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .h2 { font-size: 32px; line-height: 38px; }
  .hn-header .wrap { height: 64px; gap: 12px; }
  .hn-logo { font-size: 18px; } .hn-logo img { width: 30px; height: 30px; }
  .hn-actions { gap: 4px; } .hn-actions .login { display: none; } .hn-actions .btn { height: 38px; padding: 0 14px; font-size: 15px; }
  .hn-menu { display: inline-flex; }
  .hn-header.open .hn-nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; background: var(--cream); border-bottom: 1px solid var(--cream-line); box-shadow: 0 12px 24px rgba(15,42,82,.08); }
  .hn-header.open .hn-nav a { padding: 12px 0; width: 100%; }
  .hn-hero .wrap > div { padding-top: 56px; }
  .hn-hero h1 { font-size: 40px; line-height: 44px; }
  .hn-hero .lead { font-size: 18px; line-height: 27px; }
  .ticks li { font-size: 16px; }
  .hn-hero .btn, .ps-text .btn, .cmp-head .btn, .so-head .btn, .ft-brand .btn { width: 100%; }
  .hn-problem { padding: 56px 0; }
  .ps-grid { gap: 20px; }
  .ps-text { order: -1; gap: 18px; }
  .ps-copy { font-size: 16px; line-height: 25px; min-height: 125px; }
  .ps-card-head { min-height: 61px; }
  .ps-card { padding: 18px 16px 14px; }
  .ps-chart { height: 252px; }
  .ps-lab { font-size: 12px; }
  .ps-bar { font-size: 11px; padding-bottom: 8px; border-radius: 10px 10px 0 0; }
  .ps-strip { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 20px; margin-top: 24px; }
  .ps-strip h3 { font-size: 26px; line-height: 32px; }
  .ps-strip-form { flex-direction: column; align-items: stretch; }
  .ps-fld { width: 100%; }
  .hn-compare { padding: 56px 0; }
  .cmp-head { flex-direction: column; align-items: stretch; gap: 18px; }
  .cmp-card { border-radius: 18px; }
  .cs-t { table-layout: fixed; }
  .cs-t th, .cs-t td { padding: 11px 4px; font-size: 14px; line-height: 18px; }
  .cs-t th:first-child, .cs-t td:first-child { width: 40%; padding-left: 14px; font-size: 13px; line-height: 17px; }
  .cs-t thead th { padding: 14px 4px; font-size: 13px; }
  .cs-t .long { display: none; } .cs-t .short { display: inline; }
  .cs-t .ck { font-size: 18px; }
  .cmp-key { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.92); font-size: 13px; line-height: 18px; }
  .cmp-key strong:first-child { color: var(--orange-dk); }
  .hn-strip { height: 84px; }
  .mq-track { animation-duration: 70s; }
  .mq-half { gap: 18px; padding-right: 18px; }
  .hn-tst { padding: 56px 0; }
  .tst-main { gap: 18px; }
  .tst-photo { height: 380px; border-radius: 24px; }
  .tst-mark { font-size: 90px; line-height: 44px; height: 44px; }
  .tst-quote { gap: 16px; }
  .tst-quote blockquote { font-size: 26px; line-height: 34px; }
  .tst-minis { grid-template-columns: 1fr; margin-top: 24px; }
  .hn-quiz .wrap { grid-template-columns: 1fr; gap: 16px; padding: 48px 0; }
  .q-vis { max-width: 260px; margin: 0 auto; }
  .q-title { font-size: 28px; line-height: 34px; min-height: 68px; }
  .q-opts { grid-template-columns: 1fr; grid-auto-rows: auto; min-height: 254px; gap: 10px; }
  .q-opt { min-height: 56px; font-size: 16px; }
  .q-form { flex-direction: column; align-items: stretch; }
  .q-form input[name="fname"], .q-form input[name="email"] { width: 100%; }
  .hn-options { padding: 150px 0 56px; background: linear-gradient(180deg, var(--blue-dk) 0, #2F6BDB 18px, var(--blue-lt) 64px, #E6EEFC 108px, #FFF 150px, #FFF 50%, var(--cream) 100%); }
  .so-head { flex-direction: column; align-items: stretch; gap: 18px; }
  .so-art { top: 54px; left: auto; right: -40px; }
  .so-grid { grid-template-columns: 1fr; gap: 18px; }
  .so-card { padding: 22px 20px !important; }
  .hn-map { height: 260vh; }
  .map-pin .wrap { gap: 8px; align-content: center; }
  .map-steps { min-height: 340px; }
  .map-step { justify-content: flex-start; gap: 12px; }
  .map-step h3 { font-size: 28px; line-height: 34px; }
  .map-step p { font-size: 16px; line-height: 25px; }
  .map-step .btn { width: 100%; }
  .map-art .cap { display: none; }
  .map-pips { right: auto; left: 50%; top: auto; bottom: 18px; transform: translateX(-50%); flex-direction: row; }
  .map-pips span.on { height: 8px; width: 28px; }
  .hn-footer { padding: 48px 0 32px; }
  .ft-art { display: none; }
  .ft-top { gap: 28px; }
  .ft-brand p { font-size: 34px; line-height: 40px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ft-bottom { margin-top: 32px; }
  .ft-bottom .row { flex-direction: column; align-items: flex-start; }
}

/* Tools dropdown */
.hn-dd { position: relative; }
.hn-dd-menu { position: absolute; top: calc(100% + 14px); left: -24px; z-index: 40; width: 380px; padding: 10px; background: #FFF; border: 1px solid var(--cream-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(15,42,82,.16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hn-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.hn-dd:hover .hn-dd-menu, .hn-dd:focus-within .hn-dd-menu, .hn-dd.open .hn-dd-menu { opacity: 1; visibility: visible; transform: none; }
.hn-dd-btn svg { transition: transform .15s; }
.hn-dd:hover .hn-dd-btn svg, .hn-dd.open .hn-dd-btn svg { transform: rotate(180deg); }
.hn-nav .hn-dd-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; font-size: 16px; }
.hn-nav .hn-dd-menu a:hover, .hn-nav .hn-dd-menu a:focus-visible { background: #F2F6FE; outline: none; }
.dd-ic { width: 34px; height: 34px; flex: none; border-radius: 8px; background: #F2F6FE; display: flex; align-items: center; justify-content: center; }
.dd-t { display: block; font-weight: 700; color: var(--navy); line-height: 21px; }
.dd-d { display: block; margin-top: 2px; font-size: 14px; line-height: 19px; color: #56667E; font-weight: 400; }
.hn-nav .hn-dd-menu .dd-all { margin-top: 4px; padding: 12px; border-top: 1px solid var(--cream-line); border-radius: 0 0 10px 10px; font-weight: 700; color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .hn-dd-menu, .hn-dd-btn svg { transition: none; } }
@media (max-width: 760px) {
  .hn-header.open .hn-dd { width: 100%; }
  .hn-header.open .hn-dd-menu { position: static; width: auto; padding: 0 0 8px 8px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; display: none; }
  .hn-header.open .hn-dd.open .hn-dd-menu { display: block; }
  .hn-header.open .hn-dd:hover .hn-dd-btn svg { transform: none; }
  .hn-header.open .hn-dd.open .hn-dd-btn svg { transform: rotate(180deg); }
  .hn-nav .hn-dd-menu a { padding: 10px 8px; }
  .dd-ic { display: none; }
}
@media (max-width: 1180px) {
  .hn-hero { height: auto; display: flex; flex-direction: column; }
  .hn-hero .wrap { height: auto; order: 1; }
  .hn-hero .wrap > div { position: static; max-width: 560px; padding-top: 72px; }
  .hn-hero-art { position: static; order: 2; width: 1000px; height: auto; margin: -30px 0 0 calc(50% - 746px); }
}
@media (max-width: 760px) {
  .hn-hero .wrap > div { padding-top: 56px; }
  .hn-hero-art { width: 171.4%; margin: -10px 0 0 -94%; }
}
