@font-face{font-family:"Manrope Variable";src:url("/assets/manrope.woff2") format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Space Grotesk Variable";src:url("/assets/space.woff2") format("woff2");font-weight:300 700;font-display:swap}
/* Provisional neutral tokens. Replace here when the visual identity is approved. */
:root {
  --page: #f8f7f5;
  --paper: #fff;
  --soft: #efedf0;
  --wash: #eae6ef;
  --stroke: #dedbe1;
  --ink: #1c1922;
  --muted: #5c5664;
  --night: #201c28;
  --night-text: #f9f7fc;
  --night-muted: #c8c0d1;
  --plot: #d5c8e5;
  --focus: #665476;
  --alert: #7f2137;
  --radius: 18px;
  --heading: "Space Grotesk Variable", "Segoe UI", sans-serif;
  --body: "Manrope Variable", "Segoe UI", sans-serif;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--page);color:var(--ink);font:500 1rem/1.55 var(--body)}
a {color:inherit;text-underline-offset:.23em}
button,input,textarea,select {font:inherit;color:inherit}
img {display:block;max-width:100%;height:auto}
svg {flex-shrink:0;vertical-align:middle}
h1,h2,h3,p,figure {margin:0}
h1,h2,h3 {font-family:var(--heading);line-height:1.05;letter-spacing:-.04em}
h1 {font-size:clamp(2.9rem,8vw,5.4rem)}
h2 {font-size:clamp(1.65rem,4vw,2.75rem)}
h3 {font-size:1.2rem}
:focus-visible {outline:3px solid var(--focus);outline-offset:3px}
:disabled {opacity:.6}
.container {width:min(100% - 2rem, 1200px);margin-inline:auto}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus {position:fixed;z-index:5;top:.5rem;left:.5rem;background:var(--paper);padding:.75rem}
.muted {color:var(--muted)}
.site-header {background:var(--paper);border-bottom:1px solid var(--stroke)}
.header-inner {min-height:70px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.3rem}
.brand {display:inline-flex;justify-self:start;align-items:center;gap:.55rem;text-decoration:none;font:700 1.77rem/1 var(--heading);letter-spacing:-.065em;width:max-content}
.brand-mark {display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--night);color:var(--night-text)}
.brand-dot {color:var(--focus);margin-left:-.49rem}
.header-inner nav {display:flex;justify-content:space-between;align-items:center;grid-row:2;grid-column:1/-1;border-top:1px solid var(--stroke);gap:.5rem}
.header-inner nav a {text-decoration:none;font-size:.92rem;font-weight:800;padding:.6rem .3rem}
.header-inner nav a:hover,.text-link:hover,.back:hover {text-decoration:underline}
.admin-link {display:inline-flex;align-items:center;gap:.5rem;min-height:42px;padding:0 .65rem;border:1px solid var(--stroke);border-radius:9px;text-decoration:none;font-size:.82rem;font-weight:800}
.admin-link > span:not(.sr-only) {display:none}
.demo-banner {background:var(--wash);border-bottom:1px solid var(--stroke);font-size:.83rem}
.demo-banner .container {display:flex;align-items:center;gap:.65rem;min-height:43px;padding-block:.5rem}
.hero {display:grid;gap:1.7rem;padding:2.65rem 0 3.25rem}
.hero-copy {display:flex;flex-direction:column;justify-content:center}
.eyebrow {display:flex;align-items:center;gap:.5rem;color:var(--muted);font-weight:800;font-size:.69rem;letter-spacing:.14em}
.hero h1 {font-size:clamp(3.6rem,12vw,7.35rem);letter-spacing:-.075em;line-height:.91;margin:1rem 0 1.15rem}
.hero h1 span {color:var(--focus)}
.hero-copy > p {color:var(--muted);font-size:clamp(1rem,1.7vw,1.27rem);max-width:34ch}
.hero-actions {display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.3rem}
.button {display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:45px;padding:.58rem 1rem;border-radius:9px;border:1px solid transparent;text-decoration:none;font-size:.88rem;font-weight:800;cursor:pointer;width:fit-content}
.button.primary {background:var(--night);color:var(--night-text);border-color:var(--night)}
.button.primary:hover {background:#3b3047}
.button.secondary {background:var(--paper);border-color:var(--stroke)}
.button.secondary:hover,.chip:hover,.admin-link:hover {background:var(--wash)}
.button.small {min-height:36px;padding:.35rem .7rem;font-size:.8rem}
.chart {display:flex;flex-direction:column;justify-content:center;gap:.9rem;background:var(--night);color:var(--night-text);padding:1.2rem;border-radius:var(--radius);min-width:0;box-shadow:0 12px 30px #231b2920}
.chart figcaption {display:flex;justify-content:space-between;align-items:flex-start;gap:.7rem}
.chart h2 {font-size:clamp(1.36rem,3vw,2.05rem);margin-top:.38rem}
.chart-kicker {display:flex;align-items:center;gap:.42rem;letter-spacing:.14em;font-size:.62rem;color:var(--night-muted);font-weight:800}
.signal {width:7px;height:7px;background:var(--plot);border-radius:50%}
.chart-badge {border:1px solid #746a80;border-radius:100px;padding:.22rem .55rem;font-size:.69rem;white-space:nowrap;color:var(--night-muted)}
.chart-total {display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap}
.chart-total strong {font:700 clamp(1.5rem,3.2vw,2.15rem)/1 var(--heading);letter-spacing:-.045em}
.chart-total span,.x-axis,.y-axis {color:var(--night-muted);font-size:.62rem}
.plot-wrap {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.6rem}
.y-axis {display:flex;flex-direction:column;justify-content:space-between;height:112px;line-height:1}
.plot {display:block;height:112px;width:100%;overflow:visible}
.x-axis {display:flex;justify-content:space-between;margin-top:.4rem}
.grid-line {stroke:#574c61;stroke-width:1;vector-effect:non-scaling-stroke}
.plot-line {fill:none;stroke:var(--plot);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.plot-fill {fill:#a38eb72c}
.plot-point {fill:var(--plot)}
.chart-link {display:flex;justify-content:space-between;align-items:center;gap:.6rem;border-top:1px solid #544a5e;padding-top:.72rem;font-size:.82rem;font-weight:800;text-decoration:none}
.chart-link:hover {text-decoration:underline}
.chart.empty {min-height:260px;align-items:center;text-align:center}
.chart.empty p {color:var(--night-muted)}
.catalog {scroll-margin-top:1rem;padding-bottom:2.5rem}
.section-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1.15rem}
.section-heading h2 {margin-top:.42rem}
.catalog > .comparison-grid {margin-bottom:2rem}
.hero .official-stores {padding:0}
.hero .official-stores > .comparison-grid {margin-bottom:0}
.header-inner:has(nav:last-child) {grid-template-columns:1fr auto}
.header-inner:has(nav:last-child) nav {grid-column:auto}
@media(max-width:590px) {
  .header-inner:has(nav:last-child) {grid-template-columns:1fr}
  .header-inner:has(nav:last-child) nav {grid-column:1;flex-wrap:wrap}
}
.text-link,.back {display:inline-flex;align-items:center;gap:.42rem;font-size:.84rem;font-weight:800;text-decoration:none}
.filter-panel {display:flex;flex-direction:column;gap:.9rem;border-top:1px solid var(--stroke);padding-top:1rem;margin-bottom:1.25rem}
.filters {display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.chip {display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--stroke);border-radius:100px;background:var(--paper);padding:.3rem .68rem;font-size:.75rem;line-height:1.35;text-decoration:none;font-weight:800}
.filters .chip {min-height:35px}
.chip.selected {background:var(--wash);border-color:var(--wash)}
.search-form {display:flex;gap:.45rem;align-items:stretch;flex-wrap:wrap}
.search-form label {min-width:0}
.search-field {display:flex;align-items:center;gap:.5rem;flex:1 0 100%;background:var(--paper);border:1px solid var(--stroke);border-radius:9px;padding:0 .6rem}
.search-field input {min-height:40px;width:100%;border:0;background:none;font-size:.82rem}
.search-form select {min-height:42px;max-width:100%;font-size:.78rem}
.search-form .button {min-height:42px;padding-inline:.65rem}
select,input:not([type=checkbox]),textarea {border:1px solid var(--stroke);border-radius:9px;background:var(--paper);padding:.55rem .66rem}
.search-field input {border:0;padding-inline:0}
.offer-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,254px),1fr));gap:1rem}
.offer-card {min-width:0;overflow:hidden;border:1px solid var(--stroke);border-radius:var(--radius);background:var(--paper);transition:box-shadow .2s}
.offer-card:hover {box-shadow:0 9px 20px #251c3015}
.card-picture {display:block;position:relative;background:var(--soft)}
.card-picture img,.card-picture .placeholder {width:100%;aspect-ratio:16/10;object-fit:cover}
.placeholder {display:grid;place-items:center;background:var(--soft);color:var(--focus)}
.score-tag {position:absolute;top:.75rem;left:.75rem;display:inline-flex;align-items:center;gap:.28rem;padding:.32rem .56rem;border-radius:8px;
  background:var(--paper);box-shadow:0 2px 6px #15121722;font-size:.75rem}
.score-tag b {font:700 1rem/1 var(--heading)}
.score-tag span {color:var(--muted)}
.card-content {padding:.95rem}
.card-meta {display:flex;justify-content:space-between;align-items:center;gap:.4rem;color:var(--muted);font-size:.68rem;font-weight:800}
.market {display:inline-flex;align-items:center;gap:.3rem;color:var(--ink);font-size:.75rem;font-weight:800}
.market span {display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--wash)}
.card-content h3 {margin-top:.55rem}
.card-content h3 a {text-decoration:none}
.card-content h3 a:hover {text-decoration:underline}
.variant {font-size:.78rem;margin-top:.25rem}
.card-bottom {display:flex;justify-content:space-between;align-items:flex-end;gap:.4rem;margin-top:.78rem}
.price {display:block;font:700 clamp(1.45rem,3vw,1.8rem)/1 var(--heading);letter-spacing:-.06em}
.price-note {display:flex;align-items:center;gap:.25rem;margin-top:.38rem;color:var(--muted);font-size:.67rem;font-weight:800}
.icon-button {display:grid;place-items:center;width:43px;height:43px;border:1px solid var(--stroke);border-radius:9px}
.icon-button:hover {background:var(--wash)}
.coupon-callout {display:flex;flex-wrap:wrap;align-items:center;gap:.85rem;background:var(--wash);border-radius:var(--radius);padding:1.1rem;margin-bottom:3rem}
.callout-icon {display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--paper)}
.coupon-callout h2 {font-size:1.4rem}
.coupon-callout p {font-size:.83rem;color:var(--muted);margin-top:.25rem}
.coupon-callout .button {margin-left:auto}
.empty-state {text-align:center;margin-block:1rem 2rem;border:1px dashed var(--stroke);border-radius:var(--radius);padding:2.2rem 1rem;background:var(--paper)}
.empty-state p {margin:.65rem 0}
.site-footer {border-top:1px solid var(--stroke);background:var(--paper)}
.footer-inner {display:grid;gap:1rem;padding-block:1.65rem;font-size:.83rem;align-items:center}
.footer-inner p {color:var(--muted);margin-top:.4rem}
.footer-inner > a {font-weight:800}
.inner-page {padding-block:2.5rem 4rem;min-height:61vh}
.page-heading {margin-block:0 1.8rem}
.page-heading h1,.detail-copy h1 {margin:.65rem 0 .7rem}
.page-heading p {max-width:66ch;color:var(--muted)}
.back {margin-bottom:1.2rem}
.detail-grid,.comparison-grid,.admin-grid {display:grid;gap:1rem}
.detail-image {display:grid;align-items:center;background:var(--soft);border-radius:var(--radius);overflow:hidden;min-height:170px}
.detail-image img {width:100%}
.detail-image .placeholder {min-height:220px}
.detail-copy {padding:.2rem 0;align-self:center}
.detail-copy h1 {font-size:clamp(2.25rem,6vw,4.45rem)}
.detail-price {display:block;font:700 clamp(2.2rem,5vw,3.7rem)/1.1 var(--heading);letter-spacing:-.065em;margin:.8rem 0 .2rem}
.detail-copy .muted {margin-top:.5rem}
.analysis-grid {margin-top:2rem}
.score-panel,.result-card,.admin-box {padding:1.15rem;border:1px solid var(--stroke);background:var(--paper);border-radius:var(--radius);min-width:0}
.score-panel > *:not(:last-child) {margin-bottom:.6rem}
.score-number {font:700 3.4rem/1 var(--heading)}
.score-number small {font-size:1.2rem;color:var(--muted)}
.parts {list-style:none;padding:0;margin:.8rem 0}
.parts li {display:flex;justify-content:space-between;gap:.5rem;border-top:1px solid var(--stroke);padding:.38rem 0;font-size:.87rem}
.history {margin-top:1.25rem;padding:.8rem 0}
summary {cursor:pointer;font-weight:800}
table {border-collapse:collapse;width:100%;font-size:.82rem;margin-top:.75rem}
td,th {text-align:left;padding:.55rem .25rem;border-bottom:1px solid var(--stroke)}
.comparison {margin-bottom:2rem}
.comparison-grid {margin-top:.85rem}
.result-card {display:flex;flex-wrap:wrap;align-items:center;gap:.7rem}
.result-card .price,.result-card > p,.result-card > h2 {width:100%}
.result-card .price {margin-top:.3rem}
.result-card .muted {font-size:.85rem}
.coupon-card {align-content:start}
.coupon-card h2 {font-size:1.6rem}
.copy {display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;width:100%}
.copy code {overflow-wrap:anywhere;background:var(--soft);padding:.5rem}
.copy [role=status] {font-size:.8rem}
.prose {max-width:75ch}
.prose h2 {font-size:1.7rem;margin:1.3rem 0 .45rem}
.prose li {margin:.5rem 0}
.admin-heading,.queue-item {display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.38rem;margin-bottom:1rem}
.stats div {border:1px solid var(--stroke);background:var(--paper);border-radius:12px;padding:.7rem;font-size:.74rem}
.stats strong {display:block;font:700 1.65rem/1 var(--heading);margin-bottom:.3rem}
.integrations {margin-bottom:1rem}
.integrations h2 {display:flex;align-items:center;gap:.4rem;font-size:1.4rem;margin-bottom:.45rem}
.integrations p {font-size:.88rem;color:var(--muted)}
.admin-box summary svg {margin:0 .28rem}
.admin-list {margin-top:1.6rem}
.admin-list h2 {font-size:1.65rem;margin-bottom:.7rem}
.queue-item {margin:.6rem 0}
.queue-actions {display:flex;gap:.4rem;flex-wrap:wrap}
.queue-actions details {width:100%;font-size:.83rem}
.form-stack {display:grid;gap:.65rem;margin-top:.65rem;font-size:.86rem}
.form-stack label {display:grid;min-width:0;gap:.26rem;font-weight:800}
.form-stack .check {display:flex;align-items:flex-start;font-weight:500}
.form-stack input:not([type=checkbox]),.form-stack select,.form-stack textarea {width:100%;min-width:0}
.form-stack input[type=checkbox] {margin-top:.27rem;accent-color:var(--focus)}
.notice {background:var(--wash);padding:.7rem 1rem;margin-bottom:1rem;border-radius:9px}
.notice.error {color:var(--alert)}
.login-box {max-width:440px}
@media (min-width:560px) {
  .container {width:min(100% - 3.5rem, 1200px)}
  .search-field {flex:1 1 210px}
  .comparison-grid,.admin-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-inner {grid-template-columns:1fr 1.5fr auto;gap:1.3rem}
}
@media (min-width:640px) {
  .header-inner {grid-template-columns:1fr auto auto;gap:1.4rem}
  .header-inner nav {grid-column:auto;grid-row:auto;border:0;gap:1.25rem}
  .admin-link > span:not(.sr-only) {display:inline}
  .admin-link .sr-only {display:none}
}
@media (min-width:740px) {
  .hero {grid-template-columns:1fr 1fr;gap:1.6rem;padding-top:3.6rem}
  .hero h1 {font-size:clamp(4.5rem,8.5vw,7.35rem)}
  .chart {padding:1.65rem}
  .plot,.y-axis {height:140px}
  .chart-total span,.x-axis,.y-axis {font-size:.69rem}
  .detail-grid {grid-template-columns:1fr 1fr;gap:1.65rem}
  .offer-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .coupon-callout {padding:1.3rem 1.8rem}
}
@media (min-width:1040px) {
  .container {width:min(100% - 6rem, 1200px)}
  .hero {gap:2.6rem;grid-template-columns:1fr 1.05fr;padding-block:3.9rem}
  .filter-panel {flex-direction:row;align-items:center;justify-content:space-between}
  .search-form {flex-wrap:nowrap}
  .search-field {flex:0 0 152px}
  .hero-actions {margin-top:1.6rem}
  .plot,.y-axis {height:151px}
}
@media (max-width:400px) {
  .hero-actions > .button {flex:1 0 100%}
  .admin-heading h1 {font-size:2.65rem}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {transition:none!important}
}
