:root {
  --ink: #163028;
  --ink-soft: #3d4a43;
  --pine: #1a4634;
  --pine-deep: #10261c;
  --sand: #f3eee4;
  --sand-deep: #e6dccb;
  --card: #fffdf9;
  --copper: #b45324;
  --copper-deep: #8a3d16;
  --teal: #1c656d;
  --line: #ddcfc0;
  --line-strong: #c9b8a4;
  --good: #1d7a45;
  --danger: #8a2b12;
  --shadow: 0 18px 50px rgba(16, 38, 28, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 4px;
  --header-h: 74px;
  --max: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  background-color: var(--sand);
  background-image:
    radial-gradient(900px 420px at 100% -10%, rgba(180, 83, 36, 0.12), transparent 55%),
    radial-gradient(rgba(22, 48, 40, 0.045) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}

h1, h2, h3, p { margin: 0; }

[hidden] { display: none !important; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--copper-deep); }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--copper-deep);
  outline-offset: 3px;
}

.spotlight :focus-visible,
.site-footer :focus-visible,
.btn--primary:focus-visible {
  outline-color: #f6e7c8;
}

::selection { background: #efd3c2; color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--pine);
  color: var(--sand);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.notice {
  margin: 0;
  padding: 8px 18px;
  background: var(--pine-deep);
  color: var(--sand);
  border-bottom: 3px solid var(--copper);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.4;
}

.age {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 28px;
  padding: 2px 8px;
  background: var(--copper);
  color: #fffaf5;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck { box-shadow: 0 10px 28px rgba(16, 38, 28, 0.07); }

.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: var(--sand);
  font-family: var(--serif);
  font-weight: 680;
  font-size: 1.35rem;
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 11px solid var(--copper);
  border-left: 11px solid transparent;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 680;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--copper-deep); }

.site-nav a.is-active {
  color: var(--copper-deep);
  border-bottom-color: var(--copper);
}

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--card);
}

.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(29, 122, 69, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 6px rgba(29, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 122, 69, 0); }
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.lang button {
  border: 0;
  background: transparent;
  min-width: 42px;
  min-height: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang button[aria-pressed="true"] {
  background: var(--pine);
  color: var(--sand);
}

.header-auth, .mobile-auth {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-auth { display: none; }

.hello {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0 6px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: var(--radius);
  position: relative;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.linkish, .text-btn {
  background: none;
  border: 0;
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn { color: var(--copper-deep); min-height: auto; padding: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn--primary { background: var(--pine); color: var(--sand); }
.btn--primary:hover { background: #123828; }
.btn--ghost { background: transparent; border-color: var(--pine); color: var(--pine); }
.btn--ghost:hover { background: rgba(26, 70, 52, 0.06); }
.btn--small { min-height: 40px; padding: 0 12px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 10px;
}

.eyebrow--light { color: #f0c7a4; }

.eyebrow__gem {
  width: 8px;
  height: 8px;
  background: var(--copper);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

h1, .page-head h1, .section-head h2, .newsletter h2, .spotlight h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero { position: relative; padding: 48px 0 20px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 42px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.15rem);
  max-width: 18ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--copper-deep);
}

.lede {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 1.05rem;
}

.lede--light { color: #eadfce; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.metric__num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric__label {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__cards { display: grid; gap: 12px; }

.slip, .result-card, .archive-row, .rule, .plan, .timeline__item, .newsletter__card, .status-table, .faq-list {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.slip, .result-card, .archive-row, .rule, .plan {
  border-left: 4px solid var(--pine);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.slip--saaristo, .result-card--saaristo, .archive-row--saaristo, .rule--saaristo { border-left-color: var(--copper); }
.slip--baltic, .result-card--baltic, .archive-row--baltic, .rule--baltic { border-left-color: var(--teal); }

.slip { padding: 14px 14px 14px 16px; }
.slip__top, .result-card__top, .archive-row__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
}

.slip__amount, .result-card__amount {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
  background: var(--pine);
}

.badge--saaristo { background: var(--copper); }
.badge--baltic { background: var(--teal); }

.draw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

code.draw-code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink);
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ball {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--sand);
  font-weight: 650;
  font-size: 0.92rem;
}

.ball--extra {
  background: transparent;
  color: var(--copper-deep);
  border: 1.5px solid var(--copper);
}

.ball--ring { background: var(--teal); color: #f4fffe; border: 0; }
.plus { color: var(--ink-soft); font-weight: 700; padding: 0 2px; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip--roll { color: var(--copper-deep); background: #f6e4d6; }
.chip--won { color: #0f5132; background: #d9f0e3; }

.slip__link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.spotlight {
  margin-top: 28px;
  background:
    radial-gradient(500px 180px at 90% 0%, rgba(180, 83, 36, 0.28), transparent 60%),
    var(--pine-deep);
  color: var(--sand);
  padding: 48px 0;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.spotlight h2 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 16ch; }

.spot__amount {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f6e1c8;
}

.spotlight .btn--primary { background: var(--sand); color: var(--pine-deep); }
.spotlight .btn--primary:hover { background: #fff; }
.spotlight .btn--ghost { border-color: rgba(243, 238, 228, 0.55); color: var(--sand); }
.spotlight .btn--ghost:hover { background: rgba(243, 238, 228, 0.08); }

.countdown {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.cd {
  min-width: 68px;
  padding: 10px 8px;
  background: rgba(243, 238, 228, 0.08);
  border: 1px solid rgba(243, 238, 228, 0.18);
  text-align: center;
}

.cd span {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cd small {
  display: block;
  margin-top: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #eadfce;
}

.countdown__wait { font-family: var(--serif); font-size: 1.6rem; }

.band { padding: 64px 0 20px; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2, .newsletter h2, .page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.text-link { font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }

.result-stack, .archive-list, .timeline, .faq-list, .prose, .plan-grid, .rule-grid {
  display: grid;
  gap: 14px;
}

.stack-gap { margin-top: 16px; }

.result-card, .archive-row { padding: 18px 18px 16px 20px; }

.verified {
  font-size: 0.84rem;
  color: var(--teal);
  font-weight: 650;
}

.table-wrap { overflow-x: auto; margin-top: 12px; }

.tiers {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tiers caption { text-align: left; caption-side: bottom; padding-top: 8px; color: var(--ink-soft); font-size: 0.82rem; }
.tiers th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.tiers th:nth-child(n+2),
.tiers td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.tiers td, .tiers th { padding: 8px 4px; border-bottom: 1px solid var(--line); }

.timeline { gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  border: 0;
  border-left: 3px solid var(--copper);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  background: transparent;
}

.timeline__year {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.timeline__item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}

.timeline__meta { color: var(--ink-soft); font-size: 0.9rem; }
.timeline__item p { color: var(--ink-soft); max-width: 70ch; }

.page { padding: 28px 0 48px; }
.page-head { max-width: 740px; margin-bottom: 18px; }
.page-head h1 { margin-bottom: 8px; }

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.field { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 650; }
input[type="email"],
input[type="password"],
input[type="text"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 12px;
  font-weight: 450;
  font-size: 1rem;
}

textarea { min-height: 120px; resize: vertical; }
.filters .btn { width: 100%; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 450;
  color: var(--ink-soft);
}

.check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.form-error { color: var(--danger); font-weight: 650; }
.form-stack { display: grid; gap: 12px; }
.empty { padding: 18px; background: var(--card); border: 1px dashed var(--line-strong); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button {
  border: 1px solid var(--line-strong);
  background: var(--card);
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 650;
}
.chips button.is-active, .chips button[aria-pressed="true"] {
  background: var(--pine);
  color: var(--sand);
  border-color: var(--pine);
}

.rule-grid, .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rule, .plan { padding: 16px 16px 18px; box-shadow: none; }
.rule h2, .plan h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; margin-bottom: 6px; }
.plan__price { font-family: var(--serif); font-size: 2rem; margin: 8px 0; }
.plan ul { display: grid; gap: 6px; margin: 10px 0 14px; color: var(--ink-soft); }
.plan--plus { background: #f7f1e6; }
.reassure {
  margin: 8px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(28, 101, 109, 0.06);
}

.faq-list { box-shadow: none; background: transparent; border: 0; }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  font-size: 1.05rem;
}
.faq-item button .mark { font-family: var(--serif); font-size: 1.4rem; color: var(--copper-deep); line-height: 1; }
.faq-item.is-open .mark { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 16px; max-width: 70ch; color: var(--ink-soft); }

.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 560; margin-top: 16px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 6px; }
.prose a { font-weight: 650; }

.status-table { width: 100%; border-collapse: collapse; background: var(--card); }
.status-table th, .status-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.status-table th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.ok { color: var(--good); font-weight: 750; }

.newsletter { padding: 28px 0 72px; }
.newsletter__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  background: var(--sand-deep);
  border-top: 4px solid var(--copper);
  padding: 28px;
}
.newsletter h2 { max-width: 16ch; }
.newsletter__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.newsletter__metrics dt {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.newsletter__metrics dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}
.newsletter__card { padding: 16px; box-shadow: none; }
.newsletter__card form, .newsletter__card .thanks { display: grid; gap: 12px; }

.thanks {
  padding: 8px 0;
  font-weight: 600;
}

.site-footer {
  background: var(--pine-deep);
  color: #eadfce;
  padding: 42px 0 28px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #f3eee4;
}

.site-footer a { color: #f3eee4; text-underline-offset: 3px; }
.site-footer .brand__name, .site-footer .brand__sub { color: #f3eee4; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 28px;
}
.footer__blurb { margin-top: 12px; max-width: 36ch; }
.site-footer li + li { margin-top: 6px; }
.help-list a { font-weight: 650; }
.age-line { margin-top: 12px; }
.zero {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 238, 228, 0.2);
}
.zero__kicker {
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f0c7a4;
  margin-bottom: 6px;
}
.copyright { margin-top: 16px; font-size: 0.86rem; color: #d9cbb8; }

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -10px 30px rgba(16, 38, 28, 0.1);
  padding: 10px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

body.has-banner { padding-bottom: 78px; }

.cookie-banner[hidden] { display: none !important; }
.cookie-banner__copy { min-width: 0; flex: 1 1 280px; }
.cookie-banner__title { font-weight: 750; margin-bottom: 2px; font-size: 0.92rem; }
.cookie-banner p { color: var(--ink-soft); font-size: 0.84rem; max-width: none; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 38, 28, 0.5);
  display: grid;
  place-items: center;
  padding: 20px;
}

.overlay[hidden] { display: none !important; }

.modal {
  position: relative;
  width: min(480px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
}

.modal--wide { width: min(580px, 100%); }
.modal[hidden] { display: none !important; }
.modal h2 { font-family: var(--serif); font-size: 2rem; font-weight: 560; padding-right: 36px; }
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--sand);
  font-size: 1.3rem;
  line-height: 1;
}

.tabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  min-height: 42px;
  padding: 0 12px;
  font-weight: 700;
  margin-bottom: -1px;
}
.tabs button.is-active { border-bottom-color: var(--copper); color: var(--copper-deep); }
.switcher { color: var(--ink-soft); }
.modal form { display: grid; gap: 12px; }

.cookie-choice { border: 0; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.choice strong { display: block; }
.choice em { font-style: normal; color: var(--teal); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.choice small { display: block; color: var(--ink-soft); font-size: 0.88rem; margin-top: 4px; }
.cookie-links { margin: 8px 0 12px; }

.noscript {
  margin: 12px auto;
  width: min(var(--max), calc(100% - 40px));
  padding: 12px;
  background: #fff4e8;
  border: 1px solid var(--copper);
}

body.modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .header-auth { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-auth {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
  }
  .hero__grid, .spotlight__grid, .newsletter__grid, .footer__grid, .rule-grid, .plan-grid {
    grid-template-columns: 1fr;
  }
  .filters { grid-template-columns: 1fr 1fr; }
  .newsletter__grid { padding: 20px; }
}

@media (max-width: 700px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .notice { flex-direction: column; gap: 6px; }
  .metrics, .newsletter__metrics, .filters { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .timeline__item { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  body.has-banner { padding-bottom: 168px; }
  .hero { padding-top: 28px; }
  .band { padding-top: 40px; }
  .ball { width: 34px; height: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .slip__top, .archive-row__top { grid-template-columns: 1fr; }
  .slip__amount { text-align: left; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .header-tools { gap: 4px; }
  .live { letter-spacing: 0.04em; padding: 4px 8px; }
}

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