/* Catalog Top 2026 */
:root {
  --paper: #F1F3EE;
  --surface: #FFFFFF;
  --ink: #18212B;
  --muted: #56616B;
  --line: #D3D9D0;
  --blue: #2638C8;
  --blue-dark: #1A2894;
  --gold: #F0B429;
  --gold-soft: #FBEBC0;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius-s: 8px;
  --radius-m: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: var(--radius-s); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 760; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; font-variation-settings: "opsz" 48; }
h3 { font-size: 1.18rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

.lede { font-size: 1.22rem; line-height: 1.55; max-width: 40ch; }
.meta, .small { font-family: var(--display); font-size: .92rem; }
.meta, .muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 760; font-size: 1.14rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-year { font-weight: 450; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 22px; font-family: var(--display); font-size: .98rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero h1 { margin: 0; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.6rem); text-wrap: balance; }
.hero-side .lede { margin-bottom: .7em; }
.notice { display: flex; gap: 12px; align-items: center; margin: 40px 0 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-s); font-family: var(--display); font-size: .98rem; line-height: 1.45; }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--display); font-size: .92rem; color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; line-height: 1.2; }
.chip:hover { background: var(--gold-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- ranked chart ---------- */
.chart { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 5.2rem 60px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row[hidden] { display: none; }

.rank, .bignum { font-family: var(--display); font-weight: 800; color: var(--ink); line-height: .9; font-variation-settings: "opsz" 96; letter-spacing: -0.04em; }
.rank { font-size: 4.4rem; text-align: center; }
.rank span, .bignum span { background: linear-gradient(transparent 56%, var(--gold) 56%, var(--gold) 90%, transparent 90%); padding: 0 .1em; }

.tile { display: grid; place-items: center; background: var(--ink); color: var(--gold); flex: none; }
.tile svg { width: 58%; height: 58%; }
.tile-m { width: 60px; height: 60px; border-radius: 16px; }
.tile-l { width: 72px; height: 72px; border-radius: 19px; }
.tile-s { width: 40px; height: 40px; border-radius: 11px; }

.row-body h3 { font-size: 1.5rem; margin: 0 0 2px; font-weight: 720; }
.row-body h3 a { color: var(--ink); text-decoration: none; }
.row-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.row-cat { font-family: var(--display); font-size: .93rem; color: var(--muted); margin: 0 0 6px; }
.row-tag { margin: 0; max-width: 58ch; }
.row-end { display: flex; align-items: center; gap: 22px; }

.score { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--display); }
.score strong { font-size: 1.9rem; font-weight: 760; letter-spacing: -0.02em; }
.score span { font-size: .78rem; line-height: 1.25; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 620; font-size: .98rem; line-height: 1.2; color: #fff; background: var(--blue); border: 2px solid var(--blue); border-radius: 10px; padding: 10px 18px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.link-button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.stores-stacked { flex-direction: column; margin: 16px 0; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 18px 10px 14px; background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; font-family: var(--display); }
.store:hover { background: var(--blue); color: #fff; }
.store svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: .74rem; opacity: .82; }
.store strong { font-size: 1.08rem; font-weight: 680; }

/* ---------- method + faq ---------- */
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
.method-grid p { max-width: 54ch; }
.criteria { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.criteria div { border-top: 2px solid var(--ink); padding: 12px 0 20px; }
.criteria dt { font-family: var(--display); font-weight: 680; font-size: 1.08rem; margin-bottom: 4px; }
.criteria dd { margin: 0; color: var(--muted); }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 56px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { font-family: var(--display); font-weight: 620; font-size: 1.1rem; padding: 16px 32px 16px 0; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 18px; max-width: 62ch; }

/* ---------- app page ---------- */
.crumbs { padding-top: 22px; font-family: var(--display); font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

.app-hero { padding: 30px 0 0; border-bottom: 1px solid var(--line); }
.app-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; }
.bignum { font-size: clamp(7rem, 17vw, 13rem); margin-top: -.06em; }
.app-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-title h1 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.app-sub { margin: 4px 0 0; font-family: var(--display); color: var(--muted); }
.app-hero .lede { max-width: 44ch; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 16px 20px 22px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.facts dt { font-family: var(--display); font-size: .84rem; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.3; }
.facts-score { font-size: 1.6rem; font-weight: 760; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 44px; padding-bottom: 32px; }
.article { max-width: 68ch; }
.article h2 { margin-top: 1.9em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; }

.feature-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.feature-list li { padding-left: 18px; border-left: 3px solid var(--gold); }
.feature-list strong { display: block; font-family: var(--display); font-weight: 660; font-size: 1.05rem; }
.feature-list span { color: var(--ink); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 22px 8px; }
.pc h3 { margin: 0 0 10px; font-size: 1.05rem; }
.pc ul { list-style: none; padding: 0; }
.pc li { position: relative; padding-left: 26px; margin-bottom: 10px; line-height: 1.45; }
.pc li::before { position: absolute; left: 0; top: 0; font-family: var(--display); font-weight: 760; }
.pc-pro li::before { content: "+"; color: #1F7A4D; }
.pc-con li::before { content: "\2212"; color: #A33A2A; }

.plain, .tips { padding-left: 1.2em; }
.plain li, .tips li { margin-bottom: 6px; }
.tips li::marker { color: var(--gold); content: "\25A0  "; font-size: .8em; }

.aside { position: sticky; top: 20px; align-self: start; }
.glance { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius-s); padding: 22px 22px 8px; }
.glance-title { font-size: 1.25rem; }
.glance .store { width: 100%; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 2px solid var(--ink); padding-top: 22px; padding-bottom: 22px; }
.pager-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); font-family: var(--display); }
.pager-link small { color: var(--muted); font-size: .86rem; }
.pager-link strong { font-size: 1.25rem; font-weight: 700; }
.pager-link:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.pager-next { text-align: right; }

.more { padding-top: 18px; padding-bottom: 24px; }
.more h2 { font-size: 1.3rem; }
.more-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.more-list a { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); text-decoration: none; font-family: var(--display); line-height: 1.2; }
.more-list a:hover { border-color: var(--ink); }
.more-list span { display: flex; flex-direction: column; min-width: 0; }
.more-list small { color: var(--muted); font-size: .8rem; }

.disclaimer { font-family: var(--display); font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding: 18px 0 40px; margin: 0; max-width: 90ch; }

/* ---------- prose pages ---------- */
.page-head { padding-top: 56px; padding-bottom: 12px; }
.page-head .lede { max-width: 52ch; }
.prose { max-width: 70ch; padding-bottom: 64px; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose li { margin-bottom: 8px; }
.columns { columns: 2; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-s); padding: 22px 24px 8px; margin: 8px 0 12px; }
.contact-label { font-family: var(--display); color: var(--muted); font-size: .9rem; margin: 0; }
.contact-email { font-family: var(--display); font-size: clamp(1.2rem, 3.6vw, 1.8rem); font-weight: 700; margin: 0 0 .4em; word-break: break-word; }
.contact-email a { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D9DEE3; font-family: var(--display); font-size: .95rem; padding-top: 48px; }
.site-footer a, .site-footer .link-button { color: #FFFFFF; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid p { max-width: 46ch; line-height: 1.55; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark rect:first-child { fill: #26313D; }
.footer-title { font-size: .95rem; color: #fff; margin: 4px 0 12px; font-weight: 680; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-small { color: #A7B0B9; font-size: .86rem; }
.footer-base { border-top: 1px solid #2F3A46; margin-top: 28px; padding-top: 18px; padding-bottom: 28px; color: #A7B0B9; font-size: .86rem; }
.footer-base p { margin: 0; }

/* ---------- consent banner ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 18px 20px; font-family: var(--display); font-size: .95rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(24, 33, 43, .18); }
.consent p { margin: 0 0 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1 1 120px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .aside { position: static; }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .method-grid, .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .notice { margin-top: 26px; }
  .section { padding: 40px 0; }

  .row { grid-template-columns: 2.8rem 48px minmax(0, 1fr); gap: 8px 14px; align-items: start; padding: 20px 0; }
  .rank { font-size: 2.9rem; text-align: left; }
  .tile-m { width: 48px; height: 48px; border-radius: 13px; }
  .row-body h3 { font-size: 1.3rem; }
  .row-end { grid-column: 2 / -1; justify-content: space-between; gap: 12px; margin-top: 8px; }
  .score strong { font-size: 1.5rem; }
  .score span { white-space: nowrap; }

  .app-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bignum { font-size: 6rem; margin: 0 0 8px; }
  .app-title { gap: 14px; }
  .tile-l { width: 56px; height: 56px; border-radius: 15px; }
  .stores { flex-direction: column; }
  .store { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proscons { grid-template-columns: minmax(0, 1fr); }
  .criteria { grid-template-columns: minmax(0, 1fr); }
  .pager-link strong { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .columns { columns: 1; }
  .consent { left: 12px; right: 12px; bottom: 12px; }
}

@media print {
  .site-header .nav, .consent, .aside, .pager, .more { display: none; }
  body { background: #fff; }
}
