:root {
  --navy: #17233c;
  --blue: #2c6bed;
  --blue-dark: #1749b4;
  --gold: #e8a83e;
  --ivory: #f7f5f0;
  --slate: #5e6877;
  --line: #dfe4ec;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(23, 35, 60, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.6; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; left: 16px; top: -60px; background: var(--navy); color: white; padding: 10px 14px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(223,228,236,.8); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 255px; display: block; }
.desktop-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; }
.desktop-nav a { text-decoration: none; padding: 26px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover, .desktop-nav a:focus { color: var(--blue); border-color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button { border: 0; background: transparent; cursor: pointer; padding: 9px; }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-button { display: none; width: 42px; }
.menu-button span { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
.mobile-nav { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: white; text-decoration: none; font-weight: 800; cursor: pointer; transition: .2s ease; box-shadow: 0 8px 22px rgba(44,107,237,.2); }
.button:hover, .button:focus { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 13px; }
.button-secondary { background: white; color: var(--navy); border-color: var(--line); box-shadow: none; }
.button-secondary:hover, .button-secondary:focus { background: var(--ivory); color: var(--navy); border-color: #cdd4df; }
.button-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); box-shadow: none; }
.button-gold:hover, .button-gold:focus { background: #f0b955; border-color: #f0b955; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.full-width { width: 100%; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fbfaf7 0%, #f3f6fb 57%, #eaf0fb 100%); }
.hero::after { content: ""; position: absolute; right: -180px; top: -260px; width: 620px; height: 620px; border: 1px solid rgba(44,107,237,.11); border-radius: 50%; box-shadow: inset 0 0 0 90px rgba(44,107,237,.025), inset 0 0 0 180px rgba(44,107,237,.02); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 650px; align-items: center; gap: 72px; padding-block: 80px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-family: Manrope, Inter, sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow-light { color: #91b4ff; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 730px; font-size: clamp(45px, 5.3vw, 72px); letter-spacing: -.045em; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 20px; }
.hero-lede { max-width: 710px; margin: 0 0 30px; font-size: 19px; color: var(--slate); }
.hero-search { display: flex; align-items: center; max-width: 720px; min-height: 62px; border: 1px solid #ccd5e3; border-radius: 15px; background: white; box-shadow: 0 14px 40px rgba(23,35,60,.09); overflow: hidden; }
.hero-search svg { width: 22px; margin-left: 20px; fill: none; stroke: var(--slate); stroke-width: 2; flex: 0 0 auto; }
.hero-search input { min-width: 0; flex: 1; height: 60px; padding: 0 14px; border: 0; outline: 0; color: var(--navy); font-size: 16px; }
.hero-search button { align-self: stretch; padding: 0 22px; border: 0; background: var(--navy); color: white; font-weight: 800; cursor: pointer; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 30px; align-items: center; color: var(--slate); font-size: 13px; }
.search-suggestions button { border: 0; border-bottom: 1px dashed #9ca8b8; background: transparent; padding: 0; cursor: pointer; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.signature { margin: 24px 0 0; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: .08em; color: var(--navy); }
.hero-visual { display: flex; justify-content: center; }
.radar-card { position: relative; width: min(100%, 480px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(44,107,237,.16) 0 2px, transparent 3px), rgba(255,255,255,.45); background-size: 26px 26px; }
.radar-ring { position: absolute; border: 1px solid rgba(44,107,237,.24); border-radius: 50%; }
.ring-1 { inset: 8%; }.ring-2 { inset: 21%; }.ring-3 { inset: 34%; }
.radar-line { position: absolute; width: 46%; height: 2px; left: 50%; top: 50%; transform-origin: left; transform: rotate(-38deg); background: linear-gradient(90deg, var(--blue), transparent); }
.radar-line::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 7px rgba(232,168,62,.2); }
.piano-panel { position: relative; z-index: 2; width: 72%; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); }
.piano-panel h2 { font-size: 30px; margin-bottom: 9px; }
.piano-panel p { margin: 0 0 20px; color: var(--slate); font-size: 14px; }
.mini-badge { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 999px; background: #eaf0ff; color: var(--blue-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.match-bars span { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; margin: 10px 0; font-size: 12px; }
.match-bars b { font-weight: 700; }
.match-bars i { height: 7px; background: #e9edf3; border-radius: 999px; overflow: hidden; }
.match-bars i::after { content: ""; display: block; width: var(--score); height: 100%; background: linear-gradient(90deg, var(--blue), #6e9cff); border-radius: inherit; }
.floating-note { position: absolute; z-index: 3; padding: 10px 13px; border-radius: 11px; background: var(--navy); color: white; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.note-a { left: 3%; top: 24%; }.note-b { right: 0; bottom: 20%; background: var(--gold); color: var(--navy); }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { padding: 24px 36px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; }.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-family: Manrope, sans-serif; font-size: 14px; }
.trust-grid span { color: var(--slate); font-size: 13px; }

.section { padding: 96px 0; }
.section-soft { background: var(--ivory); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--slate); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; white-space: nowrap; }
.text-link span { margin-left: 5px; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.path-card { position: relative; min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; transition: .2s ease; overflow: hidden; }
.path-card::after { content: "→"; position: absolute; right: 24px; bottom: 20px; color: var(--blue); font-size: 22px; transition: .2s ease; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8d3e4; }
.path-card:hover::after { right: 18px; }
.path-card p { margin: 0; color: var(--slate); }
.path-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 12px; background: #edf2ff; color: var(--blue); font-family: Manrope, sans-serif; font-weight: 800; }
.budget-grid { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #ddd8ce; border-radius: 18px; overflow: hidden; background: white; }
.budget-grid button { min-height: 175px; padding: 24px; border: 0; border-right: 1px solid #e5e0d7; background: white; text-align: left; cursor: pointer; transition: .2s ease; }
.budget-grid button:last-child { border-right: 0; }
.budget-grid button:hover { background: #f0f4ff; }
.budget-grid strong, .budget-grid span { display: block; }
.budget-grid strong { margin-bottom: 14px; font-family: Manrope, sans-serif; font-size: 19px; }
.budget-grid span { color: var(--slate); font-size: 13px; }

.finder-feature { background: white; }
.finder-panel { display: grid; grid-template-columns: 1fr .85fr; background: var(--navy); color: white; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.finder-copy { padding: 62px; }
.finder-copy h2 { color: white; }
.finder-copy > p { max-width: 580px; color: #c8d4ea; font-size: 18px; }
.finder-copy ul { display: grid; gap: 8px; padding-left: 20px; margin: 24px 0 30px; color: #e9eef8; }
.finder-copy small { display: block; margin-top: 14px; color: #9daac0; }
.finder-preview { min-height: 440px; padding: 54px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #21365f, #2d63ce); }
.progress-dots { display: flex; gap: 8px; margin-bottom: 28px; }
.progress-dots i { width: 34px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.25); }
.progress-dots i.active { background: var(--gold); }
.question-label { color: #b9ccf6; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.finder-preview h3 { margin: 13px 0 24px; font-size: 28px; }
.preview-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-options span { padding: 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.06); font-weight: 700; font-size: 14px; }
.preview-options .selected { border-color: var(--gold); background: rgba(232,168,62,.18); }

.pick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pick-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.pick-card > span { color: var(--gold); font-family: Manrope, sans-serif; font-size: 14px; font-weight: 800; }
.pick-card h3 { margin-top: 35px; font-size: 22px; }
.pick-card p { color: var(--slate); }
.pick-card a, .guide-card a { color: var(--blue); font-weight: 800; text-decoration: none; }
.compare-panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.compare-panel > div:first-child p:last-child { color: var(--slate); font-size: 18px; }
.compare-box { display: grid; grid-template-columns: 1fr 50px 1fr; gap: 10px; padding: 30px; border: 1px solid #ddd8ce; border-radius: var(--radius); background: white; box-shadow: 0 15px 40px rgba(23,35,60,.06); }
.compare-box label { grid-row: 1; color: var(--slate); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.compare-box label[for="piano-b"] { grid-column: 3; }
.fake-select { grid-row: 2; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--slate); }
.versus { grid-column: 2; grid-row: 2; display: grid; place-items: center; font-family: Manrope, sans-serif; font-weight: 800; color: var(--blue); }
.compare-box .button { grid-column: 1 / -1; margin-top: 12px; }
.compare-box small { grid-column: 1 / -1; text-align: center; color: var(--slate); }
.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.guide-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card > span, .guide-card > div > span { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.guide-card p { color: var(--slate); }
.featured-guide { grid-column: span 3; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; padding: 0; overflow: hidden; background: var(--navy); color: white; }
.featured-guide > div:last-child { padding: 46px; }
.featured-guide p { color: #c8d4ea; }
.guide-art { min-height: 330px; display: grid; place-items: center; background: linear-gradient(135deg, #edf2ff, #cddafe); }
.keys { width: 78%; height: 115px; border-radius: 10px; background: repeating-linear-gradient(90deg,#fff 0 39px,#17233c 40px 42px); border: 5px solid var(--navy); box-shadow: var(--shadow); transform: rotate(-8deg); }

.method-section { padding: 100px 0; background: var(--navy); color: white; }
.method-heading { max-width: 720px; margin-bottom: 45px; }
.method-heading > p:last-child { color: #c8d4ea; font-size: 18px; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.method-grid article { padding: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.method-grid span { color: var(--gold); font-family: Manrope, sans-serif; font-weight: 800; }
.method-grid h3 { margin-top: 28px; font-size: 25px; }
.method-grid p { color: #c8d4ea; }

.site-footer { padding: 65px 0 25px; background: #0e1729; color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 50px; }
.footer-logo { width: 260px; filter: brightness(0) invert(1); }
.footer-grid p { max-width: 410px; color: #9eabc1; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { margin-bottom: 8px; font-family: Manrope, sans-serif; }
.footer-grid a { color: #aeb9cb; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8ba0; font-size: 13px; }

.finder-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(8,18,38,.35); color: var(--navy); }
.finder-dialog::backdrop { background: rgba(11,20,37,.72); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: 34px 44px 42px; }
.dialog-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef1f5; font-size: 25px; cursor: pointer; }
.dialog-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.dialog-brand img { width: 35px; }
.quiz-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; color: var(--slate); font-size: 12px; font-weight: 800; }
.quiz-progress > div { flex: 1; height: 7px; background: #e8ecf2; border-radius: 999px; overflow: hidden; }
.quiz-progress i { display: block; width: 20%; height: 100%; background: var(--blue); border-radius: inherit; transition: .3s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeSlide .25s ease; }
.quiz-step > p:not(.eyebrow):not(.privacy-note) { color: var(--slate); }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.quiz-options button { min-height: 62px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 13px; background: white; text-align: left; font-weight: 700; cursor: pointer; transition: .15s ease; }
.quiz-options button:hover, .quiz-options button.selected { border-color: var(--blue); background: #edf2ff; color: var(--blue-dark); }
.preview-result-card { margin: 24px 0; padding: 22px; border-radius: 16px; background: var(--ivory); border: 1px solid #e2ddd4; }
.preview-result-card span, .preview-result-card strong { display: block; }
.preview-result-card span { color: var(--slate); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.preview-result-card strong { margin: 8px 0; font-family: Manrope, sans-serif; font-size: 22px; }
.preview-result-card p { margin: 0; color: var(--slate); }
.report-includes { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.report-includes span { width: 100%; color: var(--slate); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.report-includes b { padding: 7px 10px; border-radius: 999px; background: #edf2ff; color: var(--blue-dark); font-size: 12px; }
.back-link { display: block; margin: 16px auto 0; border: 0; background: transparent; color: var(--slate); cursor: pointer; }
.email-step label:not(.checkbox-row) { display: block; margin: 20px 0 7px; font-size: 13px; font-weight: 800; }
.email-step input[type="email"] { width: 100%; height: 56px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; outline: 0; }
.email-step input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(44,107,237,.12); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 22px; color: var(--slate); font-size: 13px; }
.checkbox-row input { margin-top: 4px; }
.privacy-note { color: var(--slate); font-size: 11px; text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; }
.success-step { text-align: center; padding: 25px 0 15px; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: #dff4e7; color: #148247; font-size: 36px; font-weight: 800; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 0 20px 20px; }
  .mobile-nav a { padding: 11px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 700; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 30px; padding-block: 70px; }
  .hero-copy { max-width: 850px; }
  .hero-visual { display: none; }
  .budget-grid { grid-template-columns: repeat(2,1fr); }
  .budget-grid button { border-bottom: 1px solid #e5e0d7; }
  .budget-grid button:last-child { grid-column: span 2; }
  .finder-panel { grid-template-columns: 1fr; }
  .finder-preview { min-height: 360px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 205px; }
  .header-actions .button-small, .icon-button { display: none; }
  .hero-grid { padding-block: 58px; }
  h1 { font-size: 43px; }
  .hero-lede { font-size: 17px; }
  .hero-search { min-height: 58px; }
  .hero-search button { display: none; }
  .hero-ctas { flex-direction: column; }
  .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading .text-link { display: block; margin-top: 18px; }
  .path-grid, .pick-grid, .guide-grid, .method-grid { grid-template-columns: 1fr; }
  .budget-grid { grid-template-columns: 1fr; }
  .budget-grid button, .budget-grid button:last-child { grid-column: auto; border-right: 0; }
  .finder-copy { padding: 38px 28px; }
  .finder-preview { padding: 36px 28px; }
  .compare-panel { grid-template-columns: 1fr; gap: 30px; }
  .compare-box { grid-template-columns: 1fr; }
  .compare-box label, .compare-box label[for="piano-b"], .fake-select, .versus { grid-column: 1; grid-row: auto; }
  .versus { padding: 4px; }
  .featured-guide { grid-column: auto; grid-template-columns: 1fr; }
  .guide-art { min-height: 230px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { display: block; }
  .dialog-shell { padding: 28px 20px 34px; }
  .quiz-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
