:root {
  --ink: #17233c;
  --ink-soft: #33415f;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --green: #25634f;
  --green-soft: #e7f0ec;
  --copper: #b94612;
  --copper-dark: #8f320b;
  --copper-soft: #f7e5d9;
  --muted: #52606d;
  --line: #d9d1c3;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(23, 35, 60, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1240px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.eyebrow { display: block; color: var(--copper-dark); font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { font-family: Manrope, "Segoe UI", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 980px; margin: .65rem 0 1.25rem; font-size: clamp(2.65rem, 6.7vw, 5.6rem); }
h2 { margin: .6rem 0 1rem; font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
h3 { font-size: 1.35rem; }
.lead, .hero-copy { max-width: 780px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.4rem); }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(1rem, calc((100% - 1240px) / 2)); border-bottom: 1px solid var(--line); background: rgba(247, 243, 234, .97); backdrop-filter: blur(10px); }
.brand { font-weight: 850; letter-spacing: -.02em; text-decoration: none; }
.brand span { display: inline-grid; place-items: center; margin-right: .35rem; padding: .28rem .42rem; border-radius: 6px; background: var(--ink); color: #fff; font-size: .78rem; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 1.25rem; }
.site-header nav a { font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--copper-dark); }
.nav-cta { padding: .65rem 1rem; border-radius: 8px; background: var(--copper); color: #fff !important; }
.menu-button { display: none; min-height: 44px; border: 1px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); font-weight: 800; }
.hero { padding: clamp(4rem, 8vw, 7rem) 0 4rem; }
.hero-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-workshop { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); align-self: center; }
.hero-workshop img { display: block; width: 100%; height: auto; }
.hero-workshop figcaption, .office-scene figcaption { padding: .65rem .9rem; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.office-scene { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.office-scene figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); }
.office-scene img { display: block; width: 100%; height: auto; }
.manufacturer-price { border-top: 1px solid var(--line); padding: 1rem 0; margin-top: .8rem; }
.manufacturer-price .price { margin: .15rem 0; font-size: 1.9rem; line-height: 1.2; font-weight: 700; }
.manufacturer-price .price small { font-size: 1rem; }
.price-origin { font-weight: 600; font-size: .82rem; }
.price-variant, .manufacturer-price > small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: .2rem; }
@media (max-width: 760px) { .office-scene { grid-template-columns: 1fr; gap: 1.2rem; } }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .72rem 1.1rem; border: 2px solid transparent; border-radius: 9px; cursor: pointer; font-weight: 850; line-height: 1.2; text-align: center; text-decoration: none; }
.button.primary { background: var(--copper); color: #fff; }
.button.primary:hover { background: var(--copper-dark); }
.button.secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.wide { width: 100%; margin-top: 1rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; padding: 0; list-style: none; color: var(--muted); font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: .4rem; color: var(--green); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading > p { max-width: 360px; color: var(--muted); }
.need-grid, .category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.need-grid a, .category-card { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.need-grid a { border-top: 4px solid var(--copper); font-family: Manrope, system-ui, sans-serif; font-size: 1.1rem; font-weight: 850; }
.need-grid span, .category-card p { display: block; margin-top: .35rem; color: var(--muted); font-family: "Source Sans 3", system-ui, sans-serif; font-size: .95rem; font-weight: 500; }
.need-grid a:hover, .category-card:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.category-card { min-height: 240px; padding: 2rem; }
.category-count, .profile-label, .usage-pill { display: inline-flex; width: fit-content; padding: .28rem .58rem; border-radius: 999px; font-size: .78rem; font-weight: 850; }
.category-count, .profile-label { background: var(--copper-soft); color: var(--copper-dark); }
.usage-pill { background: var(--green-soft); color: var(--green); }
.category-card h3 { margin: 2.4rem 0 .5rem; font-size: 1.8rem; }
.category-card .text-link { display: inline-block; margin-top: 1.2rem; color: var(--copper-dark); font-weight: 850; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-grid > *, .product-layout > *, .decision-summary > *, .evidence-layout > * { min-width: 0; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product-card:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.product-visual { position: relative; display: block; background: #fff; text-decoration: none; }
.product-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.visual-caption { position: absolute; right: .55rem; bottom: .45rem; max-width: 75%; padding: .2rem .35rem; background: rgba(255, 253, 248, .9); color: var(--muted); font-size: .68rem; }
.product-card-body { padding: 1.2rem; }
.card-kickers { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-type { margin: .9rem 0 .1rem; color: var(--muted); font-size: .83rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { margin: .2rem 0 .55rem; overflow-wrap: anywhere; }
.product-card h3 a { text-decoration: none; }
.card-verdict { min-height: 3.2em; margin: 0 0 1rem; color: var(--ink-soft); }
.score-inline { display: grid; grid-template-columns: auto 1fr; gap: .05rem .65rem; align-items: baseline; padding: .85rem; border: 1px solid #c9ddd4; border-radius: 10px; background: var(--green-soft); }
.score-inline strong { color: var(--green); font-size: 1.7rem; line-height: 1; }
.score-inline strong span { font-size: .75rem; }
.score-inline > span { color: var(--green); font-size: .86rem; font-weight: 800; }
.score-inline small { grid-column: 1 / -1; color: var(--muted); }
.feature-list { display: grid; gap: .4rem; padding: 0; list-style: none; }
.feature-list li::before, .key-facts li::before { content: "✓"; margin-right: .45rem; color: var(--green); font-weight: 900; }
.card-caveat { padding: .7rem; border-left: 3px solid var(--copper); background: #fbf3ed; color: var(--muted); font-size: .9rem; }
.card-actions { display: grid; gap: .65rem; }
.analysis-link { font-weight: 800; text-align: center; }
.compare-check { display: flex; min-height: 44px; align-items: center; gap: .6rem; margin-top: .8rem; font-size: .9rem; }
.compare-check input { width: 22px; min-height: 22px; margin: 0; }
.affiliate-note { color: var(--muted); font-size: .8rem; }
.explain { padding: 5rem 0; background: var(--ink); color: #fff; }
.split { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.explain p { color: #dce2ee; }
.text-link { font-weight: 850; }
.score-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.score-card.compact { margin: 1.25rem 0; border: 1px solid var(--line); box-shadow: none; }
.score-value { font-family: Manrope, system-ui, sans-serif; font-size: clamp(3rem, 7vw, 5rem); font-weight: 850; line-height: 1; }
.score-value span { color: var(--muted); font-size: 1rem; }
.coverage { margin: .8rem 0; padding: .55rem .7rem; border-radius: 8px; background: var(--green-soft); color: var(--green); font-weight: 800; }
.score-method-link { display: block; margin-top: .7rem; font-weight: 800; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; color: var(--muted); font-size: .88rem; }
.catalogue-meta { margin: 1.2rem 0 2.4rem; color: var(--muted); }
.top-picks { margin: 3rem 0 4rem; }
.catalogue-tools { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 1rem; align-items: end; margin: 1.5rem 0 .7rem; padding: 1rem; border-block: 1px solid var(--line); }
label { font-weight: 750; }
input, select { display: block; width: 100%; min-height: 48px; margin-top: .35rem; padding: .6rem .7rem; border: 1px solid #8b96a3; border-radius: 8px; background: #fff; color: var(--ink); }
.check { display: flex; min-height: 48px; align-items: center; gap: .55rem; }
.check input { width: 22px; min-height: 22px; margin: 0; }
.results-status { color: var(--muted); font-weight: 800; }
.catalogue-note { margin-top: 3rem; padding: 1.2rem; border: 1px solid var(--line); background: var(--surface); }
.compare-bar { position: sticky; bottom: 1rem; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: .9rem 1rem; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 18px 45px rgba(23, 35, 60, .28); }
.compare-bar[hidden] { display: none; }
[data-compare-names] { color: #dce2ee; font-size: .82rem; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.product-page h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.product-hero-figure { margin: 0; }
.product-hero-image { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-hero-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.key-facts { display: grid; gap: .35rem; padding: 0; list-style: none; font-weight: 750; }
.decision-summary { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; margin: 4rem 0; }
.decision-summary > div { padding: 1.4rem; border-top: 4px solid var(--copper); background: var(--surface); }
.decision-summary h2 { font-size: 1.45rem; }
.evidence-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); margin: 4rem 0; }
.facts > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; text-transform: capitalize; }
.facts dd { max-width: 58%; margin: 0; overflow-wrap: anywhere; text-align: right; }
.source-list { display: grid; gap: 1rem; padding-left: 1.25rem; }
.source-list small { display: block; color: var(--muted); }
.alternatives { margin-top: 5rem; }
.final-cta { margin-top: 4rem; padding: 2rem; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center; }
.comparison-table { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overscroll-behavior-inline: contain; }
table { width: 100%; min-width: 780px; border-collapse: collapse; }
th, td { min-width: 170px; padding: 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; text-align: left; vertical-align: top; }
th:first-child { min-width: 180px; }
thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); }
thead th img { width: 150px; aspect-ratio: 4 / 3; margin-bottom: .5rem; object-fit: contain; }
thead th strong, thead th span { display: block; }
thead th span { color: var(--muted); font-size: .78rem; }
.difference-toggle { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; }
.difference-toggle input { width: 22px; min-height: 22px; margin: 0; }
.assistant { max-width: 1100px; }
.assistant-form { display: grid; gap: 1rem; margin-top: 2rem; }
.assistant-form fieldset { margin: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.assistant-form legend { padding: 0 .4rem; font: 850 1.15rem Manrope, system-ui, sans-serif; }
.assistant-form legend span { color: var(--copper-dark); font-size: .75rem; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.choice-grid input { grid-row: 1 / 3; width: 22px; min-height: 22px; margin: .15rem 0 0; }
.choice-grid small { color: var(--muted); }
.assistant-note, .notice, .empty-state { margin: 1.5rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 5px solid var(--copper); border-radius: 10px; background: var(--surface); }
.empty-state { padding: 3rem; text-align: center; }
.prose { max-width: 850px; }
.comparison-analysis { margin-top: 4rem; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(1rem, calc((100% - 1240px) / 2)); border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); }
.site-footer nav { align-items: flex-start; flex-wrap: wrap; }
.login-page { display: grid; min-height: 100vh; place-items: center; }
.login-shell { width: min(480px, calc(100% - 2rem)); }
.login-shell > .brand { display: block; margin-bottom: 1rem; }
.login-card { padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.login-card h1 { font-size: 2.6rem; }
.login-form { display: grid; gap: 1rem; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-summary { grid-template-columns: 1fr 1fr; }
  .decision-summary > div:first-child { grid-column: 1 / -1; }
  .catalogue-tools { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  .menu-button { display: inline-flex; align-items: center; padding: .55rem .8rem; }
  .site-header nav { display: none; width: 100%; align-items: stretch; flex-direction: column; gap: .2rem; padding-top: .6rem; }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { min-height: 44px; padding: .55rem; }
  .hero-content, .split, .product-layout, .evidence-layout, .decision-summary, .category-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-workshop { min-height: 0; }
  .decision-summary > div:first-child { grid-column: auto; }
  .need-grid, .choice-grid, .choice-grid.three, .catalogue-tools { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; }
  .product-visual img { aspect-ratio: 3 / 4; }
  .visual-caption { position: static; display: block; max-width: none; padding: .35rem; }
  .card-verdict { min-height: 0; }
  .compare-bar { bottom: max(.5rem, env(safe-area-inset-bottom)); display: grid; }
  .compare-bar .button { width: 100%; }
  .facts > div { display: grid; gap: .25rem; }
  .facts dd { max-width: 100%; text-align: left; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 1.25rem, 1240px); }
  .site-header { padding: .75rem; }
  .brand { max-width: 220px; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); overflow-wrap: anywhere; }
  .product-card { display: block; }
  .product-visual img { aspect-ratio: 4 / 3; }
  .actions { display: grid; }
  .button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
