:root {
  --ink: #141414;
  --muted: #55524b;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --line: #e3dfd4;
  --night: #111111;
  --night-2: #1d1d1d;
  --accent: #ffd400;
  --accent-ink: #141414;
  --accent-soft: #fff6c2;
  --link: #0b57a4;
  --ok: #1e6b3a;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 76px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand b { color: var(--accent); }
.brand-tag { background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; padding: 3px 6px; border-radius: 6px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: #e9e6dd; text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--night-2); color: #fff; }

/* Hero */
.hero { background: var(--night); color: #fff; padding: 28px 0 36px; }
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.12; margin: 6px 0 12px; letter-spacing: -.02em; }
.hero .lede { font-size: 19px; color: #e9e6dd; max-width: 760px; margin: 0 0 16px; }
.hero .updated { color: #bdb8ab; }
.hero a { color: var(--accent); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0; }
.date-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 18px 0 4px; max-width: 760px; }
.date-strip div { background: var(--night-2); border: 1px solid #333; border-radius: 12px; padding: 12px 14px; }
.date-strip strong { display: block; color: var(--accent); font-size: 20px; }
.date-strip span { color: #d8d4c8; font-size: 15px; }
.countdown { color: #fff; font-weight: 600; }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: #bdb8ab; }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: #e9e6dd; }

.updated { font-size: 14px; color: var(--muted); margin: 0; }

/* Sections */
.section { padding: 28px 0 8px; }
.section h2 { font-size: clamp(22px, 3.2vw, 30px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.section h3 { font-size: 20px; margin: 20px 0 8px; }
.prose { max-width: 780px; }
.prose p, .prose li { color: #2a2824; }
.disclosure { background: var(--accent-soft); border: 1px solid #f0dc7a; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin: 18px 0 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; margin-top: 28px; box-shadow: var(--shadow); }
.callout h2 { margin-top: 0; }
.steps { padding-left: 20px; margin: 0; }
.steps li { margin-bottom: 10px; }

/* Quick picks */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.picks li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.picks .tag { display: inline-block; background: var(--night); color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; }
.picks strong { display: block; margin: 6px 0 2px; }
.picks p { margin: 0; font-size: 15px; color: var(--muted); }

/* Cards */
.group-intro { max-width: 780px; color: var(--muted); margin: -4px 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-media { background: #fff; aspect-ratio: 4 / 3; position: relative; border-bottom: 1px solid var(--line); }
.card-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-label { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rank { background: var(--accent); color: var(--accent-ink); border-radius: 999px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.card-title { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.best { margin: 0 0 8px; font-size: 15.5px; }
.points { margin: 0 0 10px; padding-left: 18px; font-size: 15px; color: #2a2824; }
.points li { margin-bottom: 4px; }
.check { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.cta { margin-top: auto; display: block; text-align: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--accent); }
.cta:hover { background: #ffe24d; }
.cta::after { content: " ›"; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f1eee5; font-size: 14px; }
tr:last-child td { border-bottom: 0; }

/* Hub grid */
.hub-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hub-link { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--ink); height: 100%; }
.hub-link:hover { border-color: #c9c2ae; box-shadow: var(--shadow); }
.hub-emoji { font-size: 26px; line-height: 1; }
.hub-link strong { display: block; font-size: 17px; }
.hub-link small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 600; }
.faq details > div { padding: 0 14px 4px; }
.faq details p { margin: 0 0 12px; }

/* Footer */
.site-footer { background: var(--night); color: #cfcabd; margin-top: 48px; padding: 28px 0; font-size: 14.5px; }
.site-footer a { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; }
.footer-small { color: #9d988b; font-size: 13px; }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header { position: static; }
  [id] { scroll-margin-top: 8px; }
  .hero { padding: 20px 0 26px; }
  .hero .lede { font-size: 17.5px; }
  .nav a { padding: 6px 8px; font-size: 14.5px; }
  .callout { padding: 18px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cta, .hub-link { transition: background-color .15s, box-shadow .15s, border-color .15s; }
}
