:root {
    --paper: #FAFAF8;
    --sand: #F5F3EF;
    --ink: #2D2D2D;
    --muted: #6E6A65;
    --red: #B92B27;
    --red-dark: #94231F;
    --white: #FFFFFF;
    --line: rgba(45, 45, 45, .14);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Lora', serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.compare-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0; color: var(--red); font: 700 .74rem/1.2 'Barlow', sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #F17A74; }
.button-primary, .button-light { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 22px; background: var(--red); color: white; font: 700 .78rem/1.2 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: .22s ease; }
.button-primary:hover { background: var(--ink); transform: translateY(-2px); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: var(--red); color: white; transform: translateY(-2px); }
.button-text { color: var(--ink); font: 600 .85rem/1.3 'Barlow', sans-serif; text-underline-offset: 5px; }

.compare-hero { padding: 148px 0 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.quiz-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .65fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.quiz-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -48px; }
.quiz-intro h1 { max-width: 840px; margin: 0; font: 700 clamp(3.1rem, 6.1vw, 5.7rem)/.93 'Barlow', sans-serif; letter-spacing: -.052em; }
.hero-lead { max-width: 500px; margin: 0 0 6px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.72; }

.quiz-shell { background: white; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(45,45,45,.08); }
.quiz-step-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(260px, .7fr); gap: 22px; align-items: center; padding: 26px 30px; background: var(--ink); color: white; }
.quiz-step-head > span, .result-progress > span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.28); color: #F17A74; font: 700 .76rem/1 'Barlow', sans-serif; }
.quiz-kicker { margin: 0 0 4px; color: rgba(255,255,255,.52); font: 700 .67rem/1.2 'Barlow', sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.quiz-step-head h2 { margin: 0; font: 700 clamp(1.45rem, 2.8vw, 2.3rem)/1.05 'Barlow', sans-serif; letter-spacing: -.025em; }
.quiz-hint { max-width: 330px; margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; line-height: 1.55; }
.task-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.task-group { min-width: 0; padding: 28px 26px 30px; border-right: 1px solid var(--line); }
.task-group:last-child { border-right: 0; }
.task-group h2 { margin: 0 0 14px; color: var(--red); font: 700 .7rem/1.2 'Barlow', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.task-options { display: grid; gap: 8px; }
.task-option { display: grid; grid-template-columns: 1fr auto; gap: 15px; width: 100%; min-height: 49px; align-items: center; padding: 11px 13px; border: 1px solid transparent; border-bottom-color: var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; transition: .18s ease; }
.task-option span { font: 600 .88rem/1.35 'Barlow', sans-serif; }
.task-option b { color: var(--red); font: 500 1rem/1 'Barlow', sans-serif; transition: transform .18s ease; }
.task-option:hover, .task-option:focus-visible, .task-option.is-selected { border-color: var(--ink); background: var(--sand); outline: 0; }
.task-option:hover b, .task-option:focus-visible b { transform: translateX(3px); }
.task-option.is-selected { background: var(--ink); color: white; }
.quiz-proof { display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px 0 30px; }
.quiz-proof p { margin: 0; padding: 0 24px; border-left: 1px solid var(--line); }
.quiz-proof p:first-child { padding-left: 0; border-left: 0; }
.quiz-proof strong, .quiz-proof span { display: block; }
.quiz-proof strong { margin-bottom: 4px; font: 700 .78rem/1.3 'Barlow', sans-serif; }
.quiz-proof span { color: var(--muted); font-size: .73rem; line-height: 1.45; }

.method-strip { padding: 0; border-bottom: 1px solid var(--line); background: white; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.method-grid > div { padding: 28px 30px; border-left: 1px solid var(--line); }
.method-grid > div:last-child { border-right: 1px solid var(--line); }
.method-grid strong { display: block; margin-bottom: 6px; font: 700 .9rem/1.2 'Barlow', sans-serif; }
.method-grid span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.comparator-section, .comparison-section, .faq-section { padding: 94px 0; }
.result-section { scroll-margin-top: 80px; background: var(--sand); }
.result-progress { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; margin-bottom: 42px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.result-progress > span { border-color: var(--ink); color: var(--red); }
.result-progress p { margin: 0; color: var(--muted); font: 500 .82rem/1.4 'Barlow', sans-serif; }
.result-progress p strong { color: var(--ink); }
.result-progress button { min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: 700 .68rem/1 'Barlow', sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.result-progress button:hover { border-color: var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.result-heading { align-items: start; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .faq-layout h2, .workshop-callout h2 { margin: 14px 0 0; font: 700 clamp(2.25rem, 4.8vw, 4.1rem)/.98 'Barlow', sans-serif; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.results-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 24px 0 18px; border-top: 1px solid var(--line); }
.results-head p { margin: 0; color: var(--muted); font: 600 .73rem/1.3 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tool-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; background: white; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(45,45,45,.055); }
.tool-card.is-featured { border-top: 4px solid var(--red); padding-top: 23px; }
.tool-top { display: flex; align-items: center; gap: 14px; }
.tool-mark { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; background: var(--sand); border: 1px solid var(--line); color: var(--red); font: 700 .86rem/1 'Barlow', sans-serif; letter-spacing: -.02em; }
.tool-title { min-width: 0; }
.tool-title h3 { margin: 0; font: 700 1.4rem/1.1 'Barlow', sans-serif; letter-spacing: -.025em; }
.tool-status { display: inline-block; margin-top: 5px; color: var(--muted); font: 600 .69rem/1.2 'Barlow', sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.affiliate-badge { margin-left: auto; align-self: flex-start; padding: 6px 8px; background: #F9ECEA; color: var(--red); font: 700 .64rem/1 'Barlow', sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.task-fit { margin: 22px -26px 0; padding: 17px 26px; background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.task-fit span { display: block; margin-bottom: 5px; color: var(--red); font: 700 .67rem/1.2 'Barlow', sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.task-fit p { margin: 0; color: #4F4B47; font-size: .88rem; line-height: 1.58; }
.tool-price { min-height: 53px; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); font: 600 .87rem/1.45 'Barlow', sans-serif; }
.tool-facts { display: grid; gap: 17px; margin: 22px 0 24px; }
.tool-fact span { display: block; margin-bottom: 5px; color: var(--red); font: 700 .67rem/1.2 'Barlow', sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.tool-fact p { margin: 0; color: #4F4B47; font-size: .88rem; line-height: 1.58; }
.tool-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: auto; }
.tool-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 15px; background: var(--red); color: white; text-decoration: none; font: 700 .73rem/1.2 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.tool-link:hover { background: var(--ink); }
.compare-toggle { min-width: 48px; min-height: 48px; border: 1px solid var(--ink); background: white; color: var(--ink); cursor: pointer; font: 700 1.1rem/1 'Barlow', sans-serif; transition: .2s ease; }
.compare-toggle:hover, .compare-toggle.is-selected { background: var(--ink); color: white; }
.compare-toggle:disabled { opacity: .35; cursor: not-allowed; }
.verified-line { margin: 13px 0 0; color: #8A857F; font: 500 .66rem/1.3 'Barlow', sans-serif; }
.no-script, .comparison-empty { padding: 28px; border: 1px solid var(--line); background: white; color: var(--muted); text-align: center; }

.comparison-section { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: white; }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th { width: 180px; background: #F0EDE8; font: 700 .76rem/1.35 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table td { color: #4F4B47; font-size: .88rem; line-height: 1.55; }
.comparison-table thead th { background: var(--ink); color: white; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.comparison-table thead th:first-child { color: rgba(255,255,255,.6); }
.comparison-table a { color: var(--red); font-family: 'Barlow', sans-serif; font-weight: 700; text-underline-offset: 4px; }

.workshop-callout { padding: 86px 0; background: var(--ink); color: white; }
.callout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.workshop-callout h2 { max-width: 720px; }
.callout-grid > div:last-child p { margin: 0 0 28px; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.75; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font: 700 1rem/1.45 'Barlow', sans-serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 8px; top: 20px; color: var(--red); font: 500 1.45rem/1 'Barlow', sans-serif; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0; padding: 0 44px 23px 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

.compare-footer { padding: 66px 0 28px; background: white; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.footer-grid img { width: 170px; height: auto; }
.footer-grid p { max-width: 320px; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.footer-grid h3 { margin: 0 0 16px; font: 700 .75rem/1.2 'Barlow', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); font: 500 .82rem/1.4 'Barlow', sans-serif; text-decoration: none; }
.footer-grid a:hover { color: var(--red); }
.footer-note { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #8A857F; font: 500 .72rem/1.4 'Barlow', sans-serif; }

.comparison-tray { position: fixed; z-index: 70; right: 24px; bottom: 24px; left: 24px; max-width: 900px; margin: 0 auto; padding: 15px 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.comparison-tray > div:first-child { display: flex; min-width: 0; gap: 14px; align-items: center; }
.comparison-tray strong { font: 700 .78rem/1.2 'Barlow', sans-serif; white-space: nowrap; }
#selected-names { overflow: hidden; color: rgba(255,255,255,.6); font: 500 .74rem/1.2 'Barlow', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.tray-actions { display: flex; gap: 9px; }
.tray-actions a, .tray-actions button { min-height: 38px; padding: 10px 14px; border: 0; cursor: pointer; font: 700 .7rem/1 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.tray-actions a { background: var(--red); color: white; }
.tray-actions button { background: transparent; color: rgba(255,255,255,.7); }

@media (max-width: 980px) {
    .quiz-intro, .callout-grid { grid-template-columns: 1fr; gap: 24px; }
    .quiz-intro .eyebrow { margin-bottom: 0; }
    .quiz-intro .hero-lead { max-width: 700px; }
    .quiz-step-head { grid-template-columns: 50px 1fr; }
    .quiz-hint { grid-column: 2; }
    .task-picker { grid-template-columns: 1fr 1fr; }
    .task-group:nth-child(2) { border-right: 0; }
    .task-group:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
    .task-group:last-child .task-options { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .faq-layout { gap: 40px; }
}

@media (max-width: 720px) {
    .compare-wrap { width: min(100% - 28px, 1160px); }
    .compare-hero { padding: 120px 0 0; }
    .quiz-intro { margin-bottom: 30px; }
    .quiz-intro h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
    .quiz-step-head { grid-template-columns: 44px 1fr; padding: 22px 18px; }
    .quiz-step-head > span { width: 40px; height: 40px; }
    .quiz-hint { grid-column: 1 / -1; }
    .task-picker { grid-template-columns: 1fr; }
    .task-group, .task-group:nth-child(2), .task-group:last-child { grid-column: auto; padding: 24px 18px; border-right: 0; border-top: 1px solid var(--line); }
    .task-group:first-child { border-top: 0; }
    .task-group:last-child .task-options { grid-template-columns: 1fr; }
    .quiz-proof { grid-template-columns: 1fr; padding: 18px 0 24px; }
    .quiz-proof p, .quiz-proof p:first-child { padding: 13px 0; border-top: 1px solid var(--line); border-left: 0; }
    .quiz-proof p:first-child { border-top: 0; }
    .method-grid { grid-template-columns: 1fr; }
    .method-grid > div { padding: 20px 4px; border-left: 0; border-bottom: 1px solid var(--line); }
    .method-grid > div:last-child { border-right: 0; border-bottom: 0; }
    .comparator-section, .comparison-section, .faq-section { padding: 68px 0; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2, .faq-layout h2, .workshop-callout h2 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
    .result-progress { grid-template-columns: 44px 1fr; }
    .result-progress button { grid-column: 2; justify-self: start; }
    .results-head { align-items: flex-start; flex-direction: column; gap: 9px; }
    .product-grid { grid-template-columns: 1fr; }
    .tool-card { padding: 22px; }
    .tool-card.is-featured { padding-top: 19px; }
    .task-fit { margin-right: -22px; margin-left: -22px; padding-right: 22px; padding-left: 22px; }
    .tool-actions { grid-template-columns: 1fr 48px; }
    .workshop-callout { padding: 68px 0; }
    .callout-grid { gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .comparison-tray { right: 10px; bottom: 10px; left: 10px; padding: 12px; }
    #selected-names { display: none; }
}

@media (max-width: 390px) {
    .tool-top { align-items: flex-start; }
    .tool-mark { flex-basis: 48px; width: 48px; height: 48px; }
    .affiliate-badge { padding: 5px 6px; font-size: .58rem; }
}

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