/* THE BOAT / Adventurer field guide. Existing design tokens are authoritative. */
.ad-page { padding: 0 24px 64px; color: var(--ink); }
.ad-page [hidden] { display: none !important; }
.ad-page :is(button, a, input, textarea, summary):focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.ad-page :is(h1, h2, h3, p) { margin: 0; }
.ad-page h1 { font-size: clamp(25px, 3.8vw, 40px); font-weight: 700; line-height: 1.55; letter-spacing: -.04em; }
.ad-page h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; line-height: 1.6; letter-spacing: -.025em; }
.ad-page h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.ad-page p { font-size: 14px; line-height: 1.9; }
.ad-page .tb-btn { min-height: 44px; height: auto; white-space: normal; text-align: center; padding: 12px 18px; line-height: 1.6; }
.ad-page .tb-btn svg { flex: 0 0 auto; }
.ad-page .tb-btn:active { transform: translateY(1px); }
.ad-page :is(.tb-input, .tb-textarea) { font-size: 16px; min-height: 44px; }
.ad-page .ad-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.6; color: var(--ink-2); }
.ad-page .ad-caption { color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.ad-page .ad-muted { color: var(--ink-2); margin-top: 10px; }
.ad-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; }
.ad-nowrap { white-space: nowrap; display: inline-block; }
.ad-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-height: 64px; font-size: 11px; color: var(--ink-2); }
.ad-breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.ad-page-heading { margin: 22px 0 36px; }
.ad-page-heading h1 { margin: 12px 0; }
.ad-page-heading > p:not(.ad-eyebrow) { color: var(--ink-2); }
.ad-page-heading > .tb-btn { margin-top: 24px; }
.ad-section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.ad-section > .ad-eyebrow { margin-bottom: 8px; }
.ad-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.ad-section-heading .ad-eyebrow { margin-bottom: 8px; }
.ad-text-link { min-height: 44px; color: var(--brand-strong); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ad-text-link svg { flex: 0 0 auto; }
.ad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-status:empty { display: none; }
.ad-status:not(:empty) { position: fixed; z-index: 90; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 40px); background: var(--navy); color: var(--on-navy); padding: 12px 20px; border-radius: var(--radius-sm); font-size: 13px; }
.ad-form-error { padding: 12px 16px; border: 1px solid var(--poor); border-radius: var(--radius-sm); color: var(--poor); background: var(--poor-tint); margin-top: 16px !important; }
.ad-bottom-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.ad-bottom-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.ad-about { padding: 22px 0; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-about summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.ad-about summary::-webkit-details-marker { display: none; }
.ad-about[open] summary svg { transform: rotate(180deg); }
.ad-about div { max-width: 740px; }
.ad-about div p { color: var(--ink-2); font-size: 12px; margin: 16px 0 0; }
.ad-about a { text-decoration: underline; }
/* Original nautical seal: no external image or display font required. */
.ad-emblem { position: relative; width: 220px; aspect-ratio: 1; display: grid; place-items: center; color: var(--ink); flex: 0 0 auto; }
.ad-emblem::before { content: ''; position: absolute; inset: 13%; border: 1px solid currentColor; border-radius: 50%; opacity: .55; }
.ad-emblem::after { content: ''; position: absolute; inset: 20%; border: 1px solid currentColor; transform: rotate(45deg); opacity: .35; }
.ad-emblem-orbit { position: absolute; inset: 0; border: 1px solid currentColor; border-radius: 50%; opacity: .25; }
.ad-emblem-orbit::before, .ad-emblem-orbit::after { content: ''; position: absolute; top: 50%; left: -6%; width: 112%; border-top: 1px solid currentColor; }
.ad-emblem-orbit::after { transform: rotate(90deg); }
.ad-emblem-symbol { display: grid; place-items: center; width: 33%; height: 33%; }
.ad-emblem-symbol svg { width: 100%; height: 100%; stroke-width: 1.3; }
.ad-emblem-north { font-size: 11px; position: absolute; top: 3%; letter-spacing: .08em; }
.ad-emblem-asset { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); z-index: 1; }
.ad-emblem-asset + .ad-emblem-symbol { visibility: hidden; }
.ad-emblem-asset[hidden] + .ad-emblem-symbol { visibility: visible; }
.ad-emblem--illustrated::before, .ad-emblem--illustrated::after,
.ad-emblem--illustrated .ad-emblem-orbit, .ad-emblem--illustrated .ad-emblem-north { display: none; }
.ad-emblem--small { width: 90px; }
.ad-emblem--small .ad-emblem-north { font-size: 11px; top: 1%; }
.ad-emblem--tiny { width: 46px; }
.ad-emblem--tiny .ad-emblem-north, .ad-emblem--tiny .ad-emblem-orbit { display: none; }
.ad-type-badge { display: inline-flex; gap: 7px; align-items: center; min-height: 32px; font-size: 12px; color: var(--brand-strong); }
a.ad-type-badge { min-height: 44px; }
.ad-crosslink { display: flex; gap: 16px; align-items: center; padding: 24px; background: var(--brand-tint); color: var(--ink); margin: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-crosslink > svg { flex: 0 0 auto; color: var(--brand-strong); }
.ad-crosslink > div { flex: 1; min-width: 0; }
.ad-crosslink p { font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
/* Landing and quiz. */
.ad-hero { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.ad-hero-copy { padding: 40px 32px; }
.ad-hero .ad-hero-title { margin: 28px 0 12px; color: var(--brand-strong); font-weight: 700; font-size: 14px; }
.ad-hero h1 { font-size: clamp(25px, 3vw, 33px); }
.ad-hero .ad-hero-description { margin-top: 24px; color: var(--ink-2); max-width: 470px; line-height: 2; }
.ad-start-actions { margin-top: 30px; }
.ad-start-actions .tb-btn { width: 100%; max-width: 360px; }
.ad-start-actions p { font-size: 11px; color: var(--ink-2); margin-top: 10px; }
.ad-start-actions p span { margin: 0 5px; color: var(--line-strong); }
.ad-hero-chart { background: var(--navy); color: var(--on-navy); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 28px 24px; min-height: 420px; overflow: hidden; }
.ad-hero-chart .ad-emblem { color: var(--on-navy); width: min(64%, 220px); margin: 45px 0; }
.ad-hero-party { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; width: 100%; gap: 9px; padding: 48px 0 28px; }
.ad-hero-party-portrait { min-width: 0; margin: 0; }
.ad-hero-party-portrait:nth-child(2) { transform: translateY(-24px); z-index: 2; }
.ad-hero-party .ad-emblem { width: 100%; max-width: none; margin: 0; color: var(--on-navy); }
.ad-hero-chart .ad-hero-party .ad-emblem,
.ad-discovery-art .ad-hero-party .ad-emblem { width: 100%; max-width: none; margin: 0; }
.ad-hero-party figcaption { color: var(--on-navy-2); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.8; margin-top: 12px; }
.ad-chart-caption, .ad-hero-coordinates { display: flex; gap: 12px; justify-content: space-between; width: 100%; font-size: 11px; letter-spacing: .1em; color: var(--on-navy-2); }
.ad-chart-caption { padding-bottom: 18px; border-bottom: 1px solid var(--on-navy-line); }
.ad-hero-coordinates { padding-top: 18px; border-top: 1px solid var(--on-navy-line); }
.ad-promise-strip { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ad-promise-strip p { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 700; }
.ad-promise-strip svg { color: var(--brand-strong); flex: 0 0 auto; }
.ad-type-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ad-type-preview a { padding-top: 8px; }
.ad-type-preview .ad-emblem { width: 100%; max-width: 200px; margin: 0 0 20px; }
.ad-type-preview h3 { margin-bottom: 8px; }
.ad-type-preview p { color: var(--ink-2); font-size: 12px; }
.ad-resume { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.ad-resume p { color: var(--ink-2); font-size: 12px; margin-bottom: 8px; }
.ad-invitation { display: flex; gap: 14px; padding: 18px 20px; margin-bottom: 22px; background: var(--brand-tint); border: 1px solid var(--brand-tint-2); }
.ad-invitation > svg { color: var(--brand-strong); flex: 0 0 auto; margin-top: 4px; }
.ad-invitation p { font-size: 13px; }
.ad-invitation p + p { color: var(--ink-2); margin-top: 4px; }
.ad-quiz { max-width: 660px; margin: 16px auto; background: var(--surface); border: 1px solid var(--line); padding: 32px 40px; }
.ad-quiz-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 26px; }
.ad-quiz-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.ad-quiz-top .ad-caption { font-size: 11px; }
.ad-progress-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
#ad-question-progress { font-weight: 700; }
#ad-time-left { color: var(--ink-2); }
.ad-quiz progress { display: block; width: 100%; height: 4px; border: none; background: var(--surface-2); color: var(--brand); accent-color: var(--brand); }
.ad-quiz progress::-webkit-progress-bar { background: var(--surface-2); }
.ad-quiz progress::-webkit-progress-value { background: var(--brand); }
.ad-quiz progress::-moz-progress-bar { background: var(--brand); }
.ad-quiz .ad-question-number { margin: 28px 0 12px; color: var(--brand-strong); }
.ad-quiz h2 { font-size: 23px; line-height: 1.8; min-height: 84px; }
.ad-quiz h2:focus { outline: none; }
.ad-quiz .ad-first-question-hint { margin: 0 0 20px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.ad-choices { margin: 24px 0; padding: 0; border: 0; display: grid; gap: 10px; }
.ad-choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; background: var(--surface); }
.ad-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ad-choice-mark { width: 19px; height: 19px; border: 1px solid var(--line-strong); border-radius: 50%; flex: 0 0 auto; }
.ad-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); font-weight: 700; color: var(--brand-strong); }
.ad-choice input:checked + .ad-choice-mark { background: var(--brand); border: 5px solid var(--brand-tint); outline: 1px solid var(--brand); }
.ad-choice:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.ad-quiz-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ad-quiz-controls #ad-next { min-width: 145px; }
.ad-quiz-controls button:disabled { opacity: .5; cursor: not-allowed; }
.ad-quiz .ad-quiz-save-note { margin-top: 24px; color: var(--ink-2); font-size: 11px; }
.ad-discovery { display: grid; grid-template-columns: 1fr 1.35fr; background: var(--surface); border: 1px solid var(--line); }
.ad-discovery-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 50px; min-height: 360px; background: var(--navy); color: var(--on-navy); padding: 40px; }
.ad-discovery-art .ad-emblem { color: var(--on-navy); max-width: 80%; }
.ad-discovery-art--portraits { padding: 40px 24px; gap: 24px; }
.ad-discovery-art--portraits .ad-hero-party .ad-emblem { max-width: none; }
.ad-edition { font-size: 11px; letter-spacing: .12em; color: var(--on-navy-2); }
.ad-discovery-copy { padding: 40px; }
.ad-discovery-copy h2 { margin: 14px 0 20px; }
.ad-discovery-copy p { color: var(--ink-2); }
.ad-discovery-copy .ad-lead { color: var(--ink); font-size: 20px; margin-bottom: 16px; font-weight: 700; }
.ad-discovery-copy .tb-btn { margin: 26px 0 8px; display: flex; max-width: 270px; }
/* Results read like a field guide, with one navy identity card. */
.ad-result-hero { display: grid; grid-template-columns: 1.6fr 1fr; background: var(--navy); color: var(--on-navy); padding: 40px; min-height: 350px; gap: 30px; }
.ad-result-heading { display: flex; flex-direction: column; justify-content: center; }
.ad-result-brand { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; min-height: 44px; color: var(--on-navy); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.ad-result-brand span { font-size: 17px; letter-spacing: 0; }
.ad-result-heading .ad-eyebrow { color: var(--on-navy-2); }
.ad-result-heading .ad-result-intro { font-size: 12px; margin: 28px 0 12px; color: var(--on-navy-2); }
.ad-result-hero h1 { font-size: clamp(31px, 4vw, 46px); line-height: 1.4; }
.ad-result-hero .ad-result-tagline { margin: 20px 0 28px; font-size: 15px; line-height: 1.8; }
.ad-secondary { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--on-navy-line); padding-top: 12px; }
.ad-secondary > span { color: var(--on-navy-2); font-size: 11px; }
.ad-secondary .ad-type-badge { color: var(--on-navy); }
.ad-result-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 32px; }
.ad-result-art .ad-emblem { width: 250px; max-width: 100%; color: var(--on-navy); }
.ad-result-actions { display: flex; gap: 12px; padding: 24px 0 0; }
.ad-result-next { display: grid; gap: 18px; padding: 24px 20px; margin-top: 20px; background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: var(--radius-sm); }
.ad-result-next > div { min-width: 0; }
.ad-result-next[data-ad-save-retry] { margin-bottom: 20px; }
.ad-result-next h2 { margin: 6px 0 10px; font-size: 21px; line-height: 1.6; }
.ad-result-next p:not(.ad-eyebrow, .ad-saved-label) { color: var(--ink-2); font-size: 13px; line-height: 1.85; }
.ad-result-next .tb-btn { width: 100%; font-size: 14px; min-height: 52px; }
.ad-result-next-action { display: grid; gap: 9px; align-content: center; }
.ad-result-next-action .ad-caption { text-align: center; font-size: 12px; }
.ad-result-next .ad-saved-label { display: flex; align-items: center; gap: 7px; color: var(--brand-strong); font-size: 13px; font-weight: 700; }
.ad-saved-label svg { flex-shrink: 0; }
.ad-retake { display: grid; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ad-retake h2 { font-size: 20px; }
.ad-retake p { margin-top: 8px; color: var(--ink-2); font-size: 13px; }
.ad-retake .tb-btn { align-self: center; min-height: 48px; }
.ad-retake-note { margin-top: 20px; padding: 16px; background: var(--brand-tint); border-left: 3px solid var(--brand); }
.ad-retake-note strong { font-size: 14px; }
.ad-retake-note p { margin-top: 6px; color: var(--ink-2); font-size: 12px; }
.ad-landing-save-note { margin-top: 22px !important; }
.ad-result-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; }
.ad-style-prose { white-space: pre-line; margin-top: 20px !important; line-height: 2.15 !important; }
.ad-field-notes { padding-top: 40px; }
.ad-note { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.ad-note h2, .ad-manual h2 { font-size: 20px; margin: 8px 0 16px; }
.ad-behaviors { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ad-behaviors li { display: flex; gap: 10px; font-size: 13px; line-height: 1.9; }
.ad-behaviors li svg { flex: 0 0 auto; color: var(--brand-strong); margin-top: 3px; }
.ad-plain-list { padding-left: 18px; margin: 0; display: grid; gap: 10px; font-size: 13px; line-height: 1.9; }
.ad-manual { background: var(--surface-2); padding: 24px; border-left: 3px solid var(--brand); }
.ad-manual p:not(.ad-eyebrow) { font-size: 13px; margin-top: 12px; }
.ad-axes { margin: 24px 0 0; display: grid; gap: 20px; }
.ad-axis dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 13px; }
.ad-axis-en { color: var(--ink-2); font-weight: 400; font-size: 11px; }
.ad-axis dd { margin: 5px 0; }
.ad-axis-reading { display: flex; align-items: center; gap: 14px; }
.ad-axis-bar { height: 5px; background: var(--line); flex: 1; }
.ad-axis-bar > span { display: block; height: 100%; background: var(--brand); }
.ad-axis-value { font-size: 15px; width: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.ad-axis p { font-size: 11px; color: var(--ink-2); }
.ad-private-note { margin-top: 24px; padding: 20px; display: flex; gap: 12px; background: var(--surface-2); }
.ad-private-note svg { flex: 0 0 auto; margin-top: 4px; }
.ad-private-note p { font-size: 13px; }
.ad-private-note a { display: block; color: var(--brand-strong); text-decoration: underline; padding-top: 8px; }
.ad-recommendations { margin: 24px 0 14px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.ad-recommendation { display: flex; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ad-recommendation:nth-child(odd) { padding-right: 24px; }
.ad-recommendation:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.ad-recommendation > div { flex: 1; }
.ad-recommendation > svg { flex: 0 0 auto; color: var(--brand-strong); }
.ad-recommendation-number { font-size: 11px; color: var(--ink-2); align-self: flex-start; padding-top: 4px; font-variant-numeric: tabular-nums; }
.ad-recommendation p { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.ad-recommendation-main { display: block; }
.ad-recommendation-main h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ad-recommendation-main h3 svg { flex: 0 0 auto; color: var(--brand-strong); }
.ad-recommendation .ad-text-link { margin-top: 8px; font-size: 12px; }
.ad-quest { margin: 36px 0 0; padding: 28px; border: 1px solid var(--line-strong); display: flex; gap: 20px; align-items: flex-start; background: var(--surface); }
.ad-quest > div:first-child { color: var(--brand-strong); padding-top: 3px; }
.ad-quest > div:nth-child(2) { flex: 1; }
.ad-quest h2 { margin: 8px 0; font-size: 20px; }
.ad-quest p:not(.ad-eyebrow) { color: var(--ink-2); font-size: 13px; }
.ad-quest-label { font-size: 11px; border: 1px solid var(--line-strong); padding: 4px 10px; white-space: nowrap; }
.ad-share-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-top: 24px; }
.ad-share-panel { margin-top: 20px; padding: 22px 18px; border: 1px solid var(--line-strong); border-top: 3px solid var(--brand); background: var(--surface); border-radius: var(--radius-sm); scroll-margin-top: 84px; }
.ad-share-heading h2 { font-size: 22px; }
.ad-share-heading > p { margin: 8px 0; font-size: 15px; font-weight: 700; }
.ad-share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.ad-share-buttons .tb-btn { width: 100%; min-height: 48px; padding: 12px 10px; font-size: 13px; }
.ad-share-buttons #ad-share-native { grid-column: 1 / -1; }
.ad-share-restriction { margin-top: 10px !important; color: var(--ink-2); }
.ad-share-panel > .ad-caption { margin-top: 10px; }
.ad-share-details { margin-top: 18px; border-top: 1px solid var(--line); }
.ad-share-details summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.ad-share-details summary::-webkit-details-marker { display: none; }
.ad-share-details[open] summary svg { transform: rotate(180deg); }
.ad-share-details .ad-share-layout { margin-top: 12px; }
.ad-account-actions { display: grid; gap: 10px; margin-top: 18px; }
.ad-account-actions .tb-btn { min-height: 48px; }
.ad-account-share-note { margin: 12px 0 0 !important; color: var(--ink-2); font-size: 13px !important; }
.ad-insights { padding: 30px 0; border-bottom: 1px solid var(--line); }
.ad-insights-hook { font-size: 18px !important; font-weight: 700; margin: 12px 0 18px !important; }
.ad-insight-habits { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.ad-insight-habits li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.9; }
.ad-insight-habits svg { flex: 0 0 auto; margin-top: 5px; color: var(--brand-strong); }
.ad-insights-details { margin-top: 20px; }
.ad-insights-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; min-height: 48px; font-weight: 700; font-size: 14px; cursor: pointer; }
.ad-insights-details section { margin-top: 22px; padding: 18px; background: var(--surface-2); border-left: 3px solid var(--brand); }
.ad-insights-details h3 { margin-bottom: 10px; }
.ad-insights-details p + p { margin-top: 10px; }
.ad-insights-details .ad-caption { margin-top: 12px; }
.ad-share-card { padding: 28px 20px; background: var(--navy); color: var(--on-navy); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; aspect-ratio: 1; }
.ad-share-card .ad-emblem { color: var(--on-navy); margin-bottom: 24px; }
.ad-share-card .ad-eyebrow { color: var(--on-navy-2); font-size: 11px; }
.ad-share-card strong { font-size: clamp(20px, 2.2vw, 25px); margin: 12px 0; }
.ad-share-card p:not(.ad-eyebrow) { font-size: 11px; color: var(--on-navy-2); }
.ad-share-card > span { font-weight: 700; font-size: 11px; letter-spacing: .1em; margin-top: 28px; color: var(--on-navy-2); }
.ad-share-preview { margin: 0; align-self: start; }
.ad-share-preview-image { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.ad-share-preview figcaption { margin-top: 10px; color: var(--ink-2); font-size: 12px; line-height: 1.7; }
.ad-share-tools { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ad-share-tools textarea { width: 100%; resize: vertical; line-height: 1.8; margin: 8px 0 14px; padding: 12px 16px; }
.ad-share-tools .ad-caption { margin-top: 10px; }
.ad-invite-section { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px; background: var(--brand-tint); border-top: 1px solid var(--brand-tint-2); border-bottom: 1px solid var(--brand-tint-2); }
.ad-invite-section h2 { margin: 10px 0 12px; }
.ad-invite-section p:not(.ad-eyebrow) { color: var(--ink-2); font-size: 13px; }
.ad-invite-actions { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
#ad-invite-output { display: grid; gap: 10px; }
#ad-invite-output .tb-input { width: 100%; min-width: 0; }
.ad-relationship-list { margin-top: 24px; }
.ad-relationship { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ad-relationship > div:not(.ad-emblem) { flex: 1; }
.ad-relationship h3 { font-size: 14px; }
.ad-relationship p { color: var(--ink-2); font-size: 12px; margin-top: 6px; }
.ad-relationship-label { color: var(--ink-2); font-size: 11px; max-width: 165px; text-align: right; }
.ad-all-relations summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 13px; color: var(--brand-strong); font-weight: 700; cursor: pointer; list-style: none; margin-top: 10px; }
.ad-all-relations[open] summary svg { transform: rotate(180deg); }
.ad-save-result { text-align: center; background: var(--surface); padding: 36px; border: 1px solid var(--line); margin: 40px 0 0; }
.ad-save-result h2 { margin: 10px 0 14px; }
.ad-save-result > p:not(.ad-eyebrow) { max-width: 590px; margin: 0 auto 22px; color: var(--ink-2); }
.ad-save-result > .ad-caption { margin-top: 12px !important; margin-bottom: 0 !important; }
.ad-save-result .ad-actions { justify-content: center; }
.ad-version { margin-top: 20px !important; }
/* Catalog, privacy and comparison. */
.ad-catalog { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 44px; }
.ad-catalog-entry { padding: 32px 0; border-top: 1px solid var(--line-strong); scroll-margin-top: 80px; }
.ad-catalog-top { display: flex; align-items: flex-start; justify-content: space-between; margin: 0 6px 22px; }
.ad-catalog-top .ad-emblem { width: 168px; }
.ad-catalog-number { font-size: 11px; letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ad-catalog-entry .ad-catalog-tagline { font-weight: 700; margin: 10px 0 16px; color: var(--ink); }
.ad-catalog-entry > p { font-size: 13px; color: var(--ink-2); line-height: 2; }
.ad-catalog-entry details { margin-top: 20px; }
.ad-catalog-entry summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; color: var(--brand-strong); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.ad-catalog-entry details p { background: var(--surface-2); font-size: 13px; padding: 12px 16px; }
.ad-account-result { display: flex; gap: 28px; align-items: center; background: var(--navy); color: var(--on-navy); padding: 32px; }
.ad-account-result > div:not(.ad-emblem) { flex: 1; }
.ad-account-result .ad-emblem { color: var(--on-navy); }
.ad-account-result .ad-eyebrow { color: var(--on-navy-2); }
.ad-account-result h2 { margin: 8px 0; }
.ad-account-result .ad-type-badge { color: var(--on-navy-2); margin-top: 8px; }
.ad-account-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.ad-account-secondary > span { font-size: 11px; color: var(--on-navy-2); }
.ad-account-secondary .ad-type-badge { margin-top: 0; }
.ad-settings { max-width: 760px; margin: auto; scroll-margin-top: 84px; }
.ad-toggle-row { display: flex; gap: 20px; min-height: 100px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.ad-toggle-row > span:first-child { flex: 1; }
.ad-toggle-row strong { font-size: 14px; line-height: 1.8; }
.ad-toggle-row small { display: block; font-size: 12px; line-height: 1.9; color: var(--ink-2); margin-top: 6px; }
.ad-toggle-row input { position: absolute; opacity: 0; right: 0; width: 44px; height: 44px; }
.ad-switch { width: 44px; height: 26px; border-radius: 20px; background: var(--ink-3); padding: 3px; flex: 0 0 auto; }
.ad-switch::after { content: ''; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); }
.ad-toggle-row input:checked + .ad-switch { background: var(--brand); }
.ad-toggle-row input:checked + .ad-switch::after { transform: translateX(18px); }
.ad-toggle-row input:focus-visible + .ad-switch { outline: 3px solid var(--brand); outline-offset: 4px; }
.ad-settings form > .ad-caption { margin: 20px 0; }
.ad-settings .ad-actions { margin-top: 24px; }
.ad-settings #ad-privacy-status .ad-text-link { display: flex; }
.ad-next-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.ad-next-actions a { display: grid; grid-template-columns: 1fr 22px; gap: 10px; border-bottom: 1px solid var(--line-strong); padding: 24px 0; }
.ad-next-actions a > :is(strong, span) { grid-column: 1; }
.ad-next-actions a > svg:first-child { color: var(--brand-strong); margin-bottom: 8px; }
.ad-next-actions a > svg:last-child { grid-column: 2; grid-row: 2; }
.ad-next-actions strong { font-size: 16px; }
.ad-next-actions span { font-size: 12px; color: var(--ink-2); }
.ad-empty { text-align: center; max-width: 660px; margin: 20px auto; padding: 36px 0; }
.ad-empty .ad-emblem { margin: 0 auto 38px; width: 150px; color: var(--brand-strong); }
.ad-empty h1, .ad-empty h2 { margin: 14px 0; }
.ad-empty p { color: var(--ink-2); }
.ad-empty .tb-btn { margin: 28px 0 14px; }
.ad-empty .ad-text-link { display: flex; justify-content: center; margin: 8px 0 20px; }
.ad-compat-heading { text-align: center; padding: 36px 28px; background: var(--navy); color: var(--on-navy); }
.ad-compat-heading .ad-eyebrow { color: var(--on-navy-2); }
.ad-compat-heading .ad-compat-names { margin: 24px 0 10px; font-size: 14px; }
.ad-compat-heading h1 { font-size: clamp(24px, 3vw, 32px); max-width: 720px; margin: auto; }
.ad-party-pair { display: flex; align-items: center; justify-content: center; gap: 45px; margin: 40px auto 30px; }
.ad-party-pair > div { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 200px; }
.ad-party-pair .ad-emblem { color: var(--on-navy); margin-bottom: 12px; }
.ad-party-pair .ad-emblem--illustrated { width: 150px; }
.ad-party-pair > div > span { font-size: 12px; color: var(--on-navy-2); }
.ad-party-pair strong { font-size: 16px; }
.ad-pair-plus { font-size: 30px; color: var(--on-navy-2); }
.ad-compat-heading .ad-compat-category { font-size: 21px; font-weight: 700; padding: 22px 0 14px; border-top: 1px solid var(--on-navy-line); }
.ad-compat-heading .ad-caption { color: var(--on-navy-2); }
.ad-compat-score { display: block; font-size: 40px; font-variant-numeric: tabular-nums; }
.ad-compat-score small { font-size: 13px; color: var(--on-navy-2); }
.ad-compat-reasons { margin-top: 22px; display: grid; gap: 16px; }
.ad-compat-reasons p { display: flex; gap: 14px; }
.ad-compat-reasons svg { color: var(--brand-strong); flex: 0 0 auto; margin-top: 3px; }
.ad-fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); margin: 24px 0 16px; }
.ad-fit-grid > div { padding: 24px; }
.ad-fit-grid > div + div { border-left: 1px solid var(--line); }
.ad-fit-grid span { font-size: 13px; font-weight: 700; }
.ad-fit-grid strong { display: block; font-size: 36px; font-variant-numeric: tabular-nums; margin: 14px 0; }
.ad-fit-grid small { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.ad-fit-grid .ad-fit-missing { font-size: 20px; line-height: 1.8; padding: 7px 0; }
.ad-fit-grid p { font-size: 12px; color: var(--ink-2); }
.ad-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; gap: 24px; }
.ad-role-grid > div { padding: 24px; border-left: 3px solid var(--brand); background: var(--surface-2); }
.ad-role-grid span { font-size: 12px; color: var(--ink-2); }
.ad-role-grid h3 { font-size: 21px; margin: 8px 0; }
.ad-role-grid p { font-size: 12px; }
.ad-role-grid + .ad-caption { margin-top: 16px; }
.ad-frictions { margin: 24px 0 0; padding-left: 20px; display: grid; gap: 16px; font-size: 14px; line-height: 2; }
@media (hover: hover) {
  .ad-choice:hover { border-color: var(--brand); }
  .ad-type-preview a:hover h3, .ad-recommendation:hover h3, .ad-next-actions a:hover strong { color: var(--brand-strong); }
}
@media (min-width: 761px) {
  .ad-share-panel { padding: 26px 28px; }
  .ad-share-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ad-share-buttons #ad-share-native { grid-column: auto; }
  .ad-account-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-result-next { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); align-items: center; gap: 28px; padding: 28px 32px; }
  .ad-retake { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
}
@media (max-width: 760px) {
  .ad-page { padding-right: 20px; padding-left: 20px; }
  .ad-hero { grid-template-columns: 1fr; }
  .ad-hero-copy { padding: 30px; }
  .ad-hero-chart { min-height: 220px; padding: 18px 24px; }
  .ad-hero-chart .ad-emblem { width: 120px; margin: 22px 0; }
  .ad-chart-caption, .ad-hero-coordinates { font-size: 11px; padding: 0; border: 0; }
  .ad-promise-strip { gap: 12px; }
  .ad-promise-strip p { flex-direction: column; gap: 8px; font-size: 11px; flex: 1; text-align: center; }
  .ad-type-preview { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .ad-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ad-section-heading .ad-text-link { font-size: 12px; }
  .ad-result-hero { padding: 28px; gap: 22px; grid-template-columns: 1.5fr 1fr; }
  .ad-result-heading .ad-eyebrow { font-size: 11px; }
  .ad-result-art .ad-emblem { width: 180px; }
  .ad-result-hero .ad-result-tagline { font-size: 13px; }
  .ad-result-hero h1 { font-size: 30px; }
  .ad-result-art .ad-edition { font-size: 11px; text-align: center; }
  .ad-result-layout { gap: 28px; grid-template-columns: 1.3fr 1fr; }
  .ad-share-layout { grid-template-columns: 1fr 1.5fr; gap: 20px; }
  .ad-share-card { padding: 20px 16px; }
  .ad-share-card strong { font-size: 20px; }
  .ad-share-card .ad-emblem { width: 72px; }
  .ad-invite-section { padding: 28px; gap: 24px; }
  .ad-account-result { flex-wrap: wrap; gap: 22px; }
  .ad-account-result > a { width: 100%; }
  .ad-fit-grid > div { padding: 18px; }
  .ad-crosslink { flex-wrap: wrap; padding: 20px; }
  .ad-crosslink > a { margin-left: 44px; }
}
@media (max-width: 540px) {
  .ad-page { padding: 0 16px 40px; }
  .ad-breadcrumb { min-height: 52px; }
  .ad-page-heading { margin-top: 12px; }
  .ad-hero { display: flex; flex-direction: column; }
  .ad-hero-copy { padding: 20px; }
  .ad-hero .ad-hero-title { margin-top: 14px; margin-bottom: 8px; }
  .ad-hero h1 { font-size: clamp(23px, 6vw, 30px); line-height: 1.65; }
  .ad-hero .ad-hero-description { font-size: 13px; margin-top: 14px; }
  .ad-hero-chart { min-height: 180px; order: -1; }
  .ad-hero-chart .ad-emblem { width: 95px; margin: 16px; }
  .ad-hero-chart .ad-hero-party { max-width: 360px; padding: 24px 0 4px; gap: 12px; }
  .ad-hero-chart .ad-hero-party .ad-emblem { width: 100%; margin: 0; }
  .ad-hero-party-portrait:nth-child(2) { transform: translateY(-14px); }
  .ad-hero-party figcaption { margin-top: 8px; }
  .ad-start-actions { margin-top: 18px; }
  .ad-start-actions .tb-btn { padding: 14px; font-size: 14px; }
  .ad-start-actions p { font-size: 11px; }
  .ad-promise-strip { padding: 22px 0; gap: 8px; }
  .ad-promise-strip p { font-size: 11px; }
  .ad-type-preview .ad-emblem { width: 100%; max-width: 185px; margin-bottom: 16px; }
  .ad-type-preview h3 { font-size: 14px; }
  .ad-type-preview p { font-size: 12px; }
  .ad-section { padding: 30px 0; }
  .ad-quiz { padding: 22px 18px; margin: 8px auto; }
  .ad-quiz-top { display: block; padding-bottom: 22px; }
  .ad-quiz-top .ad-caption { display: none; }
  .ad-quiz h2 { font-size: 21px; min-height: 110px; }
  .ad-quiz .ad-question-number { margin-top: 24px; }
  .ad-choice { padding: 12px 14px; font-size: 13px; min-height: 52px; gap: 12px; }
  .ad-choices { gap: 9px; margin: 20px 0; }
  .ad-quiz-controls .tb-btn { padding: 10px 12px; }
  .ad-quiz-controls #ad-next { min-width: 126px; }
  .ad-quiz .ad-quiz-save-note { margin-top: 20px; }
  .ad-discovery { grid-template-columns: 1fr; }
  .ad-discovery-art { min-height: 210px; padding: 26px; gap: 24px; }
  .ad-discovery-art .ad-emblem { width: 120px; }
  .ad-discovery-copy { padding: 26px; }
  .ad-discovery-copy h2 { font-size: 25px; }
  .ad-discovery-copy .ad-lead { font-size: 19px; }
  .ad-discovery-copy .tb-btn { max-width: none; }
  .ad-desktop-break { display: none; }
  .ad-result-hero { grid-template-columns: 1fr; padding: 26px 22px; gap: 24px; }
  .ad-result-art { grid-row: 1; gap: 0; }
  .ad-result-art .ad-emblem { width: 136px; }
  .ad-result-art .ad-edition { display: none; }
  .ad-result-heading { align-items: center; text-align: center; }
  .ad-result-brand { justify-content: center; }
  .ad-result-heading .ad-eyebrow { font-size: 11px; }
  .ad-result-heading .ad-result-intro { margin: 10px 0 8px; }
  .ad-result-hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .ad-result-hero .ad-result-tagline { margin: 16px 0 20px; }
  .ad-secondary { justify-content: center; gap: 10px; width: 100%; }
  .ad-result-actions { gap: 8px; }
  .ad-result-actions .tb-btn { flex: 1; padding: 12px 9px; font-size: 12px; }
  .ad-result-actions svg { width: 16px; }
  .ad-result-layout { grid-template-columns: 1fr; gap: 0; }
  .ad-field-notes { padding-top: 28px; }
  .ad-note { padding-bottom: 24px; margin-bottom: 24px; }
  .ad-recommendations { grid-template-columns: 1fr; }
  .ad-recommendation:nth-child(n) { padding: 20px 0; border-left: 0; }
  .ad-quest { padding: 22px 18px; gap: 14px; margin-top: 28px; }
  .ad-quest > div:first-child svg { width: 24px; }
  .ad-quest-label { display: none; }
  .ad-quest h2 { font-size: 18px; }
  .ad-share-layout { grid-template-columns: 1fr; }
  .ad-share-card { max-width: 280px; width: 100%; margin: auto; }
  .ad-share-card .ad-emblem { width: 85px; }
  .ad-share-card strong { font-size: 25px; }
  .ad-share-tools .ad-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ad-share-tools .ad-actions .tb-btn { font-size: 12px; padding: 12px 10px; }
  .ad-share-tools .ad-actions .tb-btn:first-child { grid-column: 1 / -1; }
  .ad-invite-section { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; margin-top: 28px; }
  .ad-invite-section h2 br { display: none; }
  .ad-invite-actions .tb-btn { font-size: 13px; }
  .ad-relationship { gap: 12px; flex-wrap: wrap; }
  .ad-relationship > div:not(.ad-emblem) { flex-basis: calc(100% - 60px); }
  .ad-relationship-label { margin-left: 58px; text-align: left; max-width: none; }
  .ad-save-result { padding: 28px 20px; margin-top: 28px; }
  .ad-save-result h2 { font-size: 21px; }
  .ad-save-result .tb-btn { width: 100%; font-size: 13px; }
  .ad-save-result > p:not(.ad-eyebrow) { font-size: 13px; }
  .ad-bottom-links { gap: 8px 20px; }
  .ad-bottom-links a { font-size: 12px; }
  .ad-catalog { grid-template-columns: 1fr; gap: 0; }
  .ad-account-result { padding: 24px 20px; gap: 18px; }
  .ad-account-result .ad-emblem { width: 64px; }
  .ad-account-result h2 { font-size: 22px; }
  .ad-account-result p { font-size: 12px; }
  .ad-account-result .ad-eyebrow { font-size: 11px; }
  .ad-toggle-row { gap: 16px; }
  .ad-next-actions { grid-template-columns: 1fr; gap: 0; }
  .ad-empty { padding: 20px 0; }
  .ad-empty h1 { font-size: 26px; }
  .ad-compat-heading { padding: 28px 20px; }
  .ad-compat-heading h1 { font-size: 25px; }
  .ad-party-pair { gap: 12px; margin-top: 28px; }
  .ad-party-pair > div { flex: 1; min-width: 0; width: auto; }
  .ad-party-pair .ad-emblem { width: 78px; }
  .ad-party-pair .ad-emblem--illustrated { width: 110px; max-width: 100%; }
  .ad-party-pair strong { font-size: 13px; }
  .ad-party-pair > div > span { font-size: 11px; }
  .ad-pair-plus { font-size: 20px; }
  .ad-compat-heading .ad-compat-category { font-size: 18px; }
  .ad-fit-grid { grid-template-columns: 1fr; }
  .ad-fit-grid > div { display: grid; grid-template-columns: 1fr auto; padding: 20px; column-gap: 16px; align-items: center; }
  .ad-fit-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ad-fit-grid strong { font-size: 29px; margin: 0; }
  .ad-fit-grid p { grid-column: 1 / -1; margin-top: 8px; }
  .ad-fit-grid .ad-fit-missing { font-size: 18px; padding: 0; }
  .ad-role-grid { grid-template-columns: 1fr; gap: 16px; }
  .ad-role-grid > div { padding: 20px; }
  .ad-crosslink > a { margin: 0; width: 100%; }
}
@media (max-width: 350px) {
  .ad-page { padding-left: 12px; padding-right: 12px; }
  .ad-hero-copy { padding: 22px 16px; }
  .ad-hero h1 { font-size: 22px; }
  .ad-hero-copy > .ad-eyebrow { font-size: 11px; }
  .ad-quiz { padding: 20px 14px; }
  .ad-quiz h2 { font-size: 19px; }
  .ad-quiz-controls #ad-next { min-width: 115px; }
  .ad-party-pair .ad-emblem { width: 65px; }
  .ad-party-pair .ad-emblem--illustrated { width: 95px; }
  .ad-account-result { gap: 14px; padding: 22px 16px; }
  .ad-account-result .ad-emblem { width: 52px; }
  .ad-account-result h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-page *, .ad-page *::before, .ad-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
