:root {
  --green: #1b3a2f;
  --green-soft: #294c40;
  --copper: #b87333;
  --copper-light: #ce8e52;
  --cream: #f5f2ec;
  --sand: #d9cfc0;
  --sand-light: #ebe4da;
  --ink: #242220;
  --muted: #696560;
  --white: #fffdf9;
  --danger: #8d3f2f;
  --shadow: 0 18px 48px rgba(27, 58, 47, .1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(206, 142, 82, .55); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 20; left: 14px; top: -100px; padding: 10px 14px; color: var(--white); background: var(--copper); }
.skip-link:focus { top: 14px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--copper); font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.035em; }
h1 { max-width: 770px; font-size: clamp(48px, 7vw, 84px); line-height: .98; }
h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; }
h3 { font-size: 25px; line-height: 1.13; }
p, li { line-height: 1.65; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; color: var(--white); background: var(--copper); font-weight: 650; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); background: var(--copper-light); box-shadow: 0 10px 24px rgba(184, 115, 51, .2); }
.button:disabled { cursor: not-allowed; opacity: .6; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.button-secondary { border-color: rgba(27, 58, 47, .2); color: var(--green); background: transparent; }
.button-secondary:hover:not(:disabled) { background: rgba(27, 58, 47, .06); box-shadow: none; }
.button-on-dark { border-color: rgba(255, 255, 255, .25); color: var(--white); background: transparent; }
.button-on-dark:hover { background: rgba(255, 255, 255, .07); box-shadow: none; }
.text-button { padding: 10px 0; border: 0; color: rgba(255, 255, 255, .76); background: none; }
.text-button:hover { color: var(--white); }
.text-link { color: var(--green); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.site-header { color: var(--white); background: var(--green); }
.nav { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; width: min(300px, 62vw); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255, 255, 255, .76); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a:hover { color: var(--white); }

.hero { position: relative; overflow: hidden; padding: 82px 0 76px; color: var(--white); background: var(--green); }
.hero::after { position: absolute; width: 520px; height: 520px; right: -190px; top: -210px; border: 1px solid rgba(206, 142, 82, .22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(206, 142, 82, .035), 0 0 0 160px rgba(206, 142, 82, .02); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr); align-items: center; gap: 70px; }
.hero h1 { color: var(--white); }
.hero-copy { max-width: 660px; margin: 24px 0 30px; color: rgba(255, 255, 255, .74); font-size: 19px; }
.action-row { display: flex; flex-wrap: wrap; gap: 14px; }
.microcopy { margin: 24px 0 0; color: rgba(255, 255, 255, .63); font-size: 13px; }
.microcopy span { margin-right: 7px; color: var(--copper-light); }
.concierge-preview { padding: 28px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 28px; background: rgba(255, 255, 255, .055); box-shadow: 0 28px 80px rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.preview-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: rgba(255, 255, 255, .58); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.preview-meta span:first-child { color: var(--copper-light); }
.concierge-preview h2 { color: var(--white); font-size: 29px; }
.concierge-preview p { margin: 10px 0 22px; color: rgba(255, 255, 255, .66); font-size: 14px; }
.preview-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.preview-choice { min-height: 44px; padding: 12px 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .03); font-size: 12px; text-align: center; transition: border-color .17s ease, color .17s ease, background .17s ease; }
.preview-choice:hover { border-color: var(--copper-light); color: var(--white); background: rgba(184, 115, 51, .16); }
.preview-progress { height: 4px; margin-top: 25px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .13); }
.preview-progress span { display: block; width: 25%; height: 100%; background: var(--copper-light); }

.confidence-strip { border-bottom: 1px solid var(--sand-light); background: var(--white); }
.confidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.confidence-grid p { display: flex; min-height: 88px; align-items: center; justify-content: center; gap: 13px; margin: 0; color: var(--green); font-size: 14px; }
.confidence-grid p + p { border-left: 1px solid var(--sand-light); }
.confidence-grid span { color: var(--copper); font-family: ui-monospace, monospace; font-size: 11px; }
.section { padding: 104px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 52px; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.steps article { padding: 30px 26px; border-top: 1px solid var(--sand); }
.steps article > span { display: block; margin-bottom: 45px; color: var(--copper); font-family: ui-monospace, monospace; font-size: 12px; }
.steps h3 { margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.principle-section { padding: 88px 0; background: var(--sand-light); }
.principle-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 76px; }
.principle-grid blockquote { margin: 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(34px, 4.5vw, 54px); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; }
.principle-grid article { padding: 23px 0; border-top: 1px solid rgba(27, 58, 47, .2); }
.principle-grid article h3 { margin-bottom: 7px; font-size: 21px; }
.principle-grid article p { margin: 0; color: var(--muted); font-size: 14px; }
.closing-cta { padding: 105px 0; text-align: center; }
.closing-cta h2 { max-width: 780px; margin: 0 auto 30px; }
.faq-section { padding: 92px 0; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 75px; }
.faq-list { border-top: 1px solid var(--sand); }
.faq-list details { border-bottom: 1px solid var(--sand); }
.faq-list summary { padding: 22px 36px 22px 0; color: var(--green); font-family: Georgia, serif; font-size: 21px; font-weight: 600; cursor: pointer; }
.faq-list p { max-width: 680px; margin: -5px 0 23px; color: var(--muted); font-size: 14px; }
.guide-teaser { background: var(--white); }
.guide-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.guide-link { display: flex; min-height: 200px; flex-direction: column; padding: 24px; border: 1px solid var(--sand); border-radius: 18px; color: var(--green); background: var(--cream); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.guide-link:hover { transform: translateY(-3px); border-color: var(--copper-light); background: var(--white); }
.guide-link span { margin-bottom: 30px; color: var(--copper); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.guide-link strong { font-family: Georgia, serif; font-size: 24px; line-height: 1.1; }
.guide-link small { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.guide-teaser-more { margin: 30px 0 0; text-align: right; }
.site-footer { padding: 40px 0; color: rgba(255, 255, 255, .68); background: var(--green); font-size: 13px; }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.footer-grid img { width: 260px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-grid a { text-underline-offset: 4px; }
.footer-grid a[aria-current] { color: var(--white); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.analytics-settings { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.analytics-settings:hover { color: var(--white); }
.analytics-consent { position: fixed; z-index: 1000; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; width: min(900px, calc(100% - 32px)); left: 50%; bottom: 16px; padding: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; color: var(--white); background: var(--green); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); transform: translateX(-50%); }
.analytics-consent h2 { color: var(--white); font-size: 24px; }
.analytics-consent p { margin: 7px 0 0; color: rgba(255, 255, 255, .76); font-size: 14px; }
.analytics-consent a { color: var(--white); }
.analytics-consent-actions { display: flex; gap: 10px; }
.analytics-consent .button-secondary { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.contact-email { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 8px; }
.micro-status { min-height: 24px; color: var(--green); font-size: 13px; font-weight: 700; }

.app-view { min-height: 780px; }
.app-topbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; color: var(--white); background: var(--green); }
.app-view::before { position: absolute; z-index: -1; width: 100%; height: 76px; left: 0; top: 0; background: var(--green); content: ""; }
.app-topbar p { margin: 0; font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.quiz { padding-top: 44px; padding-bottom: 90px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.progress-track { height: 4px; margin-bottom: 62px; overflow: hidden; border-radius: 99px; background: var(--sand-light); }
.progress-track span { display: block; width: 33%; height: 100%; border-radius: inherit; background: var(--copper); transition: width .25s ease; }
.question { max-width: 850px; margin: 0 auto; }
.question-intro { margin: 16px 0 34px; color: var(--muted); }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.option { position: relative; min-height: 112px; padding: 20px; border: 1px solid var(--sand); border-radius: 18px; color: var(--green); background: var(--white); text-align: left; transition: transform .17s ease, border-color .17s ease, background .17s ease; }
.option:hover { transform: translateY(-2px); border-color: var(--copper-light); }
.option[aria-pressed="true"] { border-color: var(--copper); background: rgba(184, 115, 51, .08); box-shadow: inset 0 0 0 1px var(--copper); }
.option[aria-pressed="true"] .option-icon { color: var(--white); background: var(--green); }
.option-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 14px; border-radius: 50%; color: var(--copper); background: rgba(184, 115, 51, .1); }
.option strong, .option small { display: block; }
.option small { margin-top: 7px; color: var(--muted); line-height: 1.45; }
.selection-count { margin: 16px 0 0; color: var(--green); font-size: 13px; font-weight: 700; }
.form-error { min-height: 22px; margin: 16px 0 0; color: var(--danger); font-size: 13px; }
.quiz-actions { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; }
.loading-view { padding: 150px 20px; text-align: center; }
.loading-view p { color: var(--muted); }
.spinner { width: 66px; height: 66px; margin: 0 auto 28px; border: 3px solid var(--sand); border-top-color: var(--copper); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results { padding-top: 58px; padding-bottom: 100px; }
.results-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 30px; }
.results-heading > div > p:last-child { color: var(--muted); }
.summary { max-width: 400px; margin: 0; padding: 12px 17px; border: 1px solid var(--sand); border-radius: 999px; background: var(--white); font-size: 12px; }
.notice { margin: 0 0 28px; padding: 16px 18px; border-left: 3px solid var(--copper); color: var(--green); background: rgba(184, 115, 51, .08); font-size: 13px; line-height: 1.55; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alternative-results { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--sand); border-radius: 20px; background: var(--white); }
.alternative-results[hidden] { display: none; }
.alternative-results h3 { margin: 0 0 6px; font-size: 21px; }
.alternative-results p { max-width: 700px; margin: 0; color: var(--muted); font-size: 13px; }
.alternative-results .button { flex: 0 0 auto; }
.product-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--sand); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.product-visual { position: relative; height: 205px; overflow: hidden; background: var(--sand-light); }
.product-image { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; z-index: 2; left: 17px; top: 17px; padding: 7px 10px; border-radius: 99px; color: var(--white); background: var(--green); font-family: ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product-kicker { margin: 0 0 10px; color: var(--copper); font-family: ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.product-body h3 { min-height: 84px; }
.product-description { min-height: 90px; margin: 14px 0 12px; color: var(--muted); font-size: 14px; }
.product-match { min-height: 60px; margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--sand-light); color: var(--green); font-size: 12px; font-weight: 700; line-height: 1.5; }
.product-price { margin: auto 0 18px; color: var(--green); font-family: ui-monospace, monospace; font-size: 18px; font-weight: 700; }
.product-button { width: 100%; }
.ranking-note { display: flex; justify-content: space-between; gap: 30px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.ranking-note p { margin: 0; }
.ranking-note a { color: var(--green); font-weight: 700; white-space: nowrap; }
.feedback-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 30px; margin-top: 32px; padding: 24px; border: 1px solid var(--sand); border-radius: 20px; background: var(--white); }
.feedback-panel h3 { font-size: 22px; }
.feedback-panel p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.rejection-panel { display: grid; gap: 16px; margin-top: 14px; padding: 22px 24px; border: 1px solid var(--sand); border-radius: 20px; background: rgba(248, 241, 231, .55); }
.rejection-panel[hidden], .rejection-other[hidden] { display: none; }
.rejection-panel h3 { margin: 0; font-size: 20px; }
.rejection-panel p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.rejection-options { display: flex; flex-wrap: wrap; gap: 9px; }
.rejection-options button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--sand); border-radius: 999px; color: var(--green); background: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.rejection-options button[aria-pressed="true"] { border-color: var(--copper); background: rgba(184, 115, 51, .12); box-shadow: inset 0 0 0 1px var(--copper); }
.rejection-other { display: grid; gap: 10px; max-width: 680px; }
.rejection-other label { color: var(--green); font-weight: 700; }
.rejection-other label span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; }
.rejection-other textarea { width: 100%; min-height: 76px; padding: 12px; border: 1px solid var(--sand); border-radius: 12px; resize: vertical; font: inherit; }
.rejection-other .button { justify-self: start; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.feedback-actions .button { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.feedback-actions .button[aria-pressed="true"] { border-color: var(--green); color: var(--white); background: var(--green); }
.feedback-message { grid-column: 1 / -1; min-height: 20px; }
.result-actions { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }

.article-page { min-height: 700px; padding: 80px 0 100px; }
.prose { max-width: 820px; }
.prose h1 { max-width: 760px; }
.prose .lead { margin: 24px 0 45px; color: var(--muted); font-size: 20px; }
.prose h2 { margin: 50px 0 14px; font-size: 34px; }
.prose p, .prose li { color: #4f4b47; }
.prose li + li { margin-top: 10px; }
.prose .notice { margin: 35px 0; }
.business-details { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.business-details h2 { margin: 0 0 10px; font-size: 20px; }
.business-details p { margin: 0; line-height: 1.7; }
.source-note { margin: 45px 0 28px; padding-top: 20px; border-top: 1px solid var(--sand); font-size: 13px; }

.guide-index-hero, .guide-hero { padding: 76px 0 70px; color: var(--white); background: var(--green); }
.guide-index-hero h1, .guide-hero h1 { max-width: 900px; color: var(--white); }
.guide-index-hero .lead, .guide-hero .lead { max-width: 790px; margin: 24px 0 30px; color: rgba(255, 255, 255, .74); font-size: 19px; }
.guide-index-groups { padding-top: 82px; padding-bottom: 100px; }
.guide-index-group + .guide-index-group { margin-top: 72px; }
.guide-index-group h2 { margin-bottom: 28px; font-size: 36px; }
.guide-index .guide-link { background: var(--white); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 44px; padding: 0; color: rgba(255, 255, 255, .68); font-size: 12px; list-style: none; }
.breadcrumb li + li::before { margin-right: 8px; content: "›"; }
.breadcrumb a { text-underline-offset: 3px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.guide-actions .text-link { color: var(--white); }
.guide-selection { background: var(--cream); }
.guide-product .product-body h3 { min-height: 56px; }
.guide-product .product-description { min-height: 112px; }
.guide-product .product-match { min-height: 104px; }
.guide-help { padding: 90px 0; background: var(--sand-light); }
.guide-help-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 80px; }
.guide-help-grid > div:first-child > p:not(.eyebrow) { max-width: 520px; margin: 20px 0 28px; color: var(--muted); }
.related-guides { background: var(--white); }
.related-guides .guide-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.admin-body { background: #f1eee8; }
.admin-page { min-height: calc(100vh - 88px); }
.admin-hero { padding: 62px 0 58px; color: var(--white); background: var(--green); }
.admin-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 70px; }
.admin-hero h1 { max-width: 820px; color: var(--white); font-size: clamp(46px, 6vw, 72px); }
.admin-hero .lead { max-width: 800px; margin: 24px 0 0; color: rgba(255, 255, 255, .75); font-size: 18px; }
.admin-safety { padding: 24px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.admin-safety strong { color: var(--copper-light); font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.admin-safety p { margin: 10px 0 0; color: rgba(255, 255, 255, .72); font-size: 14px; }
.admin-content { padding-top: 66px; padding-bottom: 90px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.admin-heading h2 { font-size: clamp(36px, 4.5vw, 52px); }
.admin-status { max-width: 520px; margin: 0; padding: 12px 16px; border-left: 3px solid var(--sand); color: var(--muted); background: rgba(255, 255, 255, .7); font-size: 13px; }
.admin-status[data-tone="success"] { border-color: #3d765e; color: var(--green); }
.admin-status[data-tone="error"] { border-color: var(--danger); color: var(--danger); }
.admin-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0; overflow: hidden; border: 1px solid var(--sand); border-radius: 18px; background: var(--white); }
.admin-summary article { display: flex; min-height: 92px; flex-direction: column; justify-content: center; padding: 18px 22px; }
.admin-summary article + article { border-left: 1px solid var(--sand-light); }
.admin-summary strong { color: var(--green); font-family: Georgia, serif; font-size: 31px; }
.admin-summary span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.admin-summary.analytics-summary { grid-template-columns: repeat(3, 1fr); }
.admin-summary.analytics-summary article:nth-child(4) { border-top: 1px solid var(--sand-light); border-left: 0; }
.admin-summary.analytics-summary article:nth-child(5), .admin-summary.analytics-summary article:nth-child(6) { border-top: 1px solid var(--sand-light); }
.admin-toolbar { display: grid; grid-template-columns: minmax(250px, 1fr) 210px auto; align-items: end; gap: 14px; margin-bottom: 24px; }
.admin-toolbar label > span, .admin-field > span { display: block; margin-bottom: 7px; color: var(--green); font-size: 12px; font-weight: 700; }
.admin-toolbar input, .admin-toolbar select, .admin-field input, .admin-field select, .admin-field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--sand); border-radius: 10px; color: var(--ink); background: var(--white); }
.admin-toolbar .sr-only { width: 1px; min-height: 1px; padding: 0; border: 0; }
.admin-field textarea { min-height: 108px; resize: vertical; }
.admin-field input[readonly] { color: var(--muted); background: var(--sand-light); cursor: not-allowed; }
.admin-toolbar-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.admin-file-button { cursor: pointer; }
.admin-workspace { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: start; gap: 24px; }
.admin-product-panel, .admin-editor { border: 1px solid var(--sand); border-radius: 22px; background: var(--white); box-shadow: 0 14px 38px rgba(27, 58, 47, .06); }
.admin-product-panel { overflow: hidden; }
.admin-editor { padding: 28px; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--sand-light); }
.admin-panel-heading h3 { font-size: 24px; }
.admin-panel-heading > span, .admin-panel-heading div > span { color: var(--muted); font-size: 11px; }
.admin-product-list { max-height: 720px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.admin-product-list li + li { border-top: 1px solid var(--sand-light); }
.admin-product-button { display: grid; width: 100%; grid-template-columns: 1fr auto; gap: 5px 14px; padding: 17px 20px; border: 0; color: var(--ink); background: transparent; text-align: left; }
.admin-product-button:hover { background: var(--cream); }
.admin-product-button[aria-pressed="true"] { background: rgba(184, 115, 51, .1); box-shadow: inset 3px 0 var(--copper); }
.admin-product-button strong { min-width: 0; overflow-wrap: anywhere; color: var(--green); font-size: 14px; line-height: 1.35; }
.admin-product-button span { grid-column: 1; color: var(--muted); font-size: 11px; }
.admin-product-button small { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 5px 7px; border-radius: 999px; color: var(--muted); background: var(--sand-light); font-size: 9px; font-weight: 700; white-space: nowrap; }
.admin-product-button small[data-status="available"], .admin-product-button small[data-status="active"] { color: #285743; background: #e2eee8; }
.admin-product-button small[data-status="unavailable"], .admin-product-button small[data-status="attention"] { color: var(--danger); background: #f4e5e1; }
.admin-editor-heading { align-items: start; margin: -28px -28px 26px; padding: 24px 28px; }
.admin-editor-heading .eyebrow { margin-bottom: 8px; }
.admin-editor-heading h3 { max-width: 480px; font-size: 29px; }
.admin-toggle { display: flex; max-width: 220px; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-toggle input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--copper); }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-link-status[data-kind="direct"] { color: #8a5a20; font-weight: 700; }
.admin-link-status[data-kind="affiliate"] { color: #285743; font-weight: 700; }
.admin-link-status[data-kind="missing"] { color: var(--danger); }
.admin-check-link { color: var(--green); font-weight: 750; text-underline-offset: 3px; }
.admin-image-upload input[type="file"] { padding: 9px; cursor: pointer; }
.admin-image-upload input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border: 0; border-radius: 8px; color: var(--white); background: var(--green); font: inherit; font-weight: 700; cursor: pointer; }
.admin-image-preview { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 18px; margin: 0; padding: 14px; border: 1px solid var(--sand); border-radius: 14px; background: var(--cream); }
.admin-image-preview img { width: 160px; height: 120px; object-fit: cover; border-radius: 10px; background: var(--sand-light); }
.admin-image-preview figcaption { color: var(--muted); font-size: 12px; }
.admin-validation { margin-top: 24px; padding: 17px 19px; border-left: 3px solid var(--copper); background: var(--cream); font-size: 12px; }
.admin-validation > strong { color: var(--green); }
.admin-validation ul { margin: 8px 0; padding-left: 20px; }
.admin-validation .admin-error-list { color: var(--danger); }
.admin-validation .admin-warning-list { color: #76501f; }
.admin-validation .admin-warning-list li + li, .admin-validation .admin-error-list li + li { margin-top: 5px; }
.admin-validation p { margin: 7px 0 0; color: var(--muted); }
.admin-empty { margin: 0; padding: 34px 24px; color: var(--muted); font-size: 14px; }
.admin-handoff { display: grid; grid-template-columns: .8fr 1.2fr auto; align-items: center; gap: 45px; margin-top: 34px; padding: 32px; border: 1px solid var(--sand); border-radius: 22px; background: var(--sand-light); }
.admin-handoff h2 { font-size: 34px; }
.admin-handoff ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: 13px; }
.admin-handoff li + li { margin-top: 7px; }
.product-caution { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--cream); }
.product-caution summary { color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.product-caution p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.product-actions { display: grid; gap: 9px; margin-top: auto; }
.product-actions .button { width: 100%; text-align: center; }
.product-detail-link { display: block; padding: 6px 8px; color: var(--green); font-size: 12px; font-weight: 800; text-align: center; text-decoration: underline; text-decoration-color: var(--copper-light); text-underline-offset: 4px; }
.product-detail-link:hover { text-decoration-color: var(--green); }
.product-choose[aria-pressed="true"] { background: #285743; box-shadow: 0 0 0 3px rgba(40, 87, 67, .18); }
.product-link-unavailable { display: block; padding: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.product-detail-page { min-height: 720px; padding: 38px 0 100px; background: var(--cream); }
.product-breadcrumb { display: flex; gap: 9px; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.product-breadcrumb a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.product-detail { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid var(--sand); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.product-detail-visual { min-height: 680px; background: var(--sand-light); }
.product-detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-copy { padding: clamp(34px, 5vw, 68px); }
.product-detail-copy h1 { margin-top: 10px; font-size: clamp(42px, 5vw, 68px); }
.product-detail-copy .lead { margin: 24px 0 18px; color: var(--muted); font-size: 18px; }
.product-detail-price { margin: 0 0 32px; color: var(--green); font-family: ui-monospace, monospace; font-size: 21px; font-weight: 800; }
.product-detail-copy section { padding: 24px 0; border-top: 1px solid var(--sand-light); }
.product-detail-copy section h2 { margin-bottom: 9px; font-size: 24px; }
.product-detail-copy section p { color: var(--muted); font-size: 14px; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.affiliate-disclosure { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.admin-header-actions { display: flex; align-items: center; gap: 12px; }
.admin-header-actions > span { color: rgba(255, 255, 255, .78); font-size: 12px; }
.admin-auth { display: grid; min-height: calc(100vh - 88px); place-items: center; padding-top: 70px; padding-bottom: 90px; }
.admin-auth-card { width: min(100%, 560px); padding: 38px; border: 1px solid var(--sand); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.admin-auth-card h1 { margin-bottom: 18px; font-size: clamp(38px, 6vw, 56px); }
.admin-auth-card > p:not(.eyebrow, .admin-status) { margin-bottom: 26px; color: var(--muted); }
.admin-login-form { display: grid; gap: 18px; }
.admin-login-form .admin-status { margin-top: 4px; }
.admin-tabs { display: flex; gap: 8px; padding-top: 28px; }
.admin-tabs button { min-height: 42px; padding: 9px 16px; border: 1px solid var(--sand); border-radius: 999px; color: var(--green); background: var(--white); font-weight: 700; cursor: pointer; }
.admin-tabs button[aria-pressed="true"] { border-color: var(--green); color: var(--white); background: var(--green); }
.admin-checkbox-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; padding: 17px; border: 1px solid var(--sand); border-radius: 12px; }
.admin-checkbox-group legend { padding: 0 8px; color: var(--green); font-size: 12px; font-weight: 700; }
.admin-checkbox-group label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; }
.admin-checkbox-group input { width: 17px; min-height: 17px; accent-color: var(--copper); }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.admin-user-form { display: grid; grid-template-columns: 1fr 1fr 220px auto; align-items: end; gap: 14px; margin: 34px 0 20px; }
.admin-subheading { margin-top: 34px; font-size: 25px; }
.admin-users-list { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.admin-users-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--sand); border-radius: 12px; background: var(--white); }
.admin-reset-section { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--sand); }
.admin-reset-section h3 { font-size: 25px; }
.admin-reset-section > p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.admin-reset-form { grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) auto; margin-top: 22px; }
.admin-analytics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 52px; }
.admin-insight-card { min-width: 0; padding: 22px; border: 1px solid var(--sand); border-radius: 18px; background: var(--white); }
.admin-insight-card h3 { margin-bottom: 16px; font-size: 21px; }
.admin-metric-list { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; margin: 0; font-size: 12px; }
.admin-metric-list dt { color: var(--muted); }
.admin-metric-list dd { margin: 0; color: var(--green); font-weight: 800; }
.admin-ranking-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.admin-ranking-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.admin-ranking-list strong { color: var(--green); }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin: 50px 0 18px; }
.admin-section-heading h3 { font-size: 30px; }
.admin-section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; }
.admin-table-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--sand); border-radius: 18px; background: var(--white); }
.admin-section-heading + .admin-table-wrap { margin-top: 0; }
.admin-data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-data-table th, .admin-data-table td { padding: 13px 15px; border-bottom: 1px solid var(--sand-light); text-align: right; }
.admin-data-table th:first-child, .admin-data-table td:first-child { min-width: 260px; text-align: left; }
.admin-data-table th { color: var(--green); background: var(--cream); font-size: 11px; text-transform: uppercase; }
.admin-data-table tbody tr:last-child td { border-bottom: 0; }
.admin-advice-table { min-width: 980px; }
.admin-advice-table th, .admin-advice-table td { vertical-align: top; text-align: left; }
.admin-advice-table th:first-child, .admin-advice-table td:first-child { width: 31%; min-width: 300px; }
.admin-advice-table th:nth-child(2), .admin-advice-table td:nth-child(2) { width: 29%; }
.admin-advice-table td:first-child strong, .admin-advice-table td:first-child span { display: block; }
.admin-advice-table td:first-child span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-advice-table ol { margin: 0; padding-left: 18px; }
.admin-advice-table li + li { margin-top: 4px; }
.admin-advice-table td[data-rating] { font-weight: 800; }
.admin-advice-table td[data-rating="hit"] { color: #285743; }
.admin-advice-table td[data-rating="unsure"] { color: #8a5a20; }
.admin-advice-table td[data-rating="miss"] { color: var(--danger); }

@media (max-width: 900px) {
  .nav-links a { display: none; }
  .hero-grid, .principle-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .concierge-preview { max-width: 570px; }
  .steps, .result-grid { grid-template-columns: 1fr; }
  .steps article { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; }
  .steps article > span { grid-row: span 2; margin: 4px 0 0; }
  .product-card { display: grid; grid-template-columns: 240px 1fr; }
  .product-visual { height: 100%; min-height: 330px; }
  .product-body h3, .product-description { min-height: 0; }
  .product-match { min-height: 0; }
  .options { grid-template-columns: repeat(2, 1fr); }
  .guide-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-help-grid { grid-template-columns: 1fr; gap: 50px; }
  .admin-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .admin-safety { max-width: 600px; }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .admin-toolbar-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-product-list { max-height: 430px; }
  .admin-handoff { grid-template-columns: 1fr; gap: 22px; }
  .admin-user-form { grid-template-columns: 1fr 1fr; }
  .admin-analytics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-reset-form { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-visual { min-height: 420px; max-height: 520px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 78px; }
  .brand { width: 245px; }
  .nav .button { display: none; }
  .hero { padding: 58px 0 54px; }
  h1 { font-size: 49px; }
  .hero-copy { font-size: 17px; }
  .preview-choices { grid-template-columns: repeat(2, 1fr); }
  .action-row .button { width: 100%; }
  .confidence-grid { grid-template-columns: 1fr; }
  .confidence-grid p { min-height: 64px; justify-content: flex-start; }
  .confidence-grid p + p { border-top: 1px solid var(--sand-light); border-left: 0; }
  .section { padding: 72px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .principle-section { padding: 68px 0; }
  .closing-cta { padding: 75px 0; }
  .faq-section { padding: 68px 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid nav { flex-direction: column; gap: 12px; }
  .analytics-consent { grid-template-columns: 1fr; padding: 20px; }
  .analytics-consent-actions { align-items: stretch; flex-direction: column-reverse; }
  .analytics-consent-actions .button { width: 100%; }
  .progress-track { margin-bottom: 44px; }
  .options { grid-template-columns: 1fr; }
  .option { min-height: 92px; }
  .quiz-actions { align-items: stretch; flex-direction: column-reverse; }
  .quiz-actions .button { width: 100%; }
  .results-heading { grid-template-columns: 1fr; align-items: start; }
  .summary { width: fit-content; }
  .product-card { display: flex; }
  .product-visual { height: 210px; min-height: 0; }
  .ranking-note { align-items: flex-start; flex-direction: column; gap: 8px; }
  .feedback-panel { grid-template-columns: 1fr; }
  .alternative-results { align-items: stretch; flex-direction: column; }
  .alternative-results .button { width: 100%; }
  .feedback-message { grid-column: auto; }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
  .article-page { padding: 58px 0 80px; }
  .guide-card-grid, .related-guides .guide-card-grid { grid-template-columns: 1fr; }
  .guide-link { min-height: 0; }
  .guide-link span { margin-bottom: 18px; }
  .guide-teaser-more { text-align: left; }
  .guide-index-hero, .guide-hero { padding: 56px 0 54px; }
  .guide-index-groups { padding-top: 58px; padding-bottom: 76px; }
  .guide-index-group + .guide-index-group { margin-top: 54px; }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-actions .button { width: 100%; }
  .guide-product .product-body h3, .guide-product .product-description, .guide-product .product-match { min-height: 0; }
  .admin-hero { padding: 45px 0; }
  .admin-hero h1 { font-size: 46px; }
  .admin-hero .lead { font-size: 16px; }
  .admin-content { padding-top: 48px; padding-bottom: 65px; }
  .admin-heading { display: block; }
  .admin-status { margin-top: 20px; }
  .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .admin-summary article:nth-child(3) { border-top: 1px solid var(--sand-light); border-left: 0; }
  .admin-summary article:nth-child(4) { border-top: 1px solid var(--sand-light); }
  .admin-summary.analytics-summary { grid-template-columns: repeat(2, 1fr); }
  .admin-summary.analytics-summary article:nth-child(4) { border-left: 1px solid var(--sand-light); }
  .admin-summary.analytics-summary article:nth-child(5) { border-left: 0; }
  .admin-toolbar { grid-template-columns: 1fr; }
  .admin-toolbar-actions { grid-column: auto; }
  .admin-toolbar-actions .button, .admin-toolbar-actions .admin-file-button { width: 100%; }
  .admin-editor { padding: 20px; }
  .admin-editor-heading { align-items: stretch; flex-direction: column; margin: -20px -20px 22px; padding: 22px 20px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .admin-handoff { padding: 25px 20px; }
  .admin-header-actions > span { display: none; }
  .admin-auth { padding-top: 38px; padding-bottom: 60px; }
  .admin-auth-card { padding: 26px 20px; }
  .admin-tabs { overflow-x: auto; }
  .admin-checkbox-group { grid-template-columns: 1fr; }
  .admin-image-preview { grid-template-columns: 1fr; }
  .admin-image-preview img { width: 100%; height: auto; max-height: 280px; }
  .admin-image-preview .button { width: 100%; }
  .admin-user-form { grid-template-columns: 1fr; }
  .admin-analytics-grid { grid-template-columns: 1fr; }
  .admin-section-heading { display: block; }
  .admin-section-heading > p { margin-top: 10px; }
  .product-detail-page { padding-top: 24px; padding-bottom: 64px; }
  .product-detail { border-radius: 20px; }
  .product-detail-visual { min-height: 280px; }
  .product-detail-copy { padding: 28px 22px 34px; }
  .product-detail-actions .button { width: 100%; text-align: center; }
}

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