:root {
  --ink: #16181d;
  --ink-soft: #4a4f5a;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #e4e1d8;
  --notice: #f6d33c;
  --notice-deep: #e0b800;
  --accent: #1d4d3a;
  --accent-ink: #ffffff;
  --radius: 10px;
  --max: 1080px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; }
.header-link { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; }
.header-link:hover { background: var(--ink); color: var(--paper); }

/* Edition tabs (UK / US) */
.region-tabs { background: var(--card); border-bottom: 1px solid var(--line); }
.region-tabs .wrap { display: flex; gap: 4px; }
.region-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 16px 11px; margin-bottom: -1px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft); text-decoration: none;
  border-bottom: 3px solid transparent;
}
.region-tab:first-child { padding-left: 0; }
.region-tab:hover { color: var(--ink); }
.region-tab[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.region-tab:focus-visible { outline: 3px solid var(--notice); outline-offset: -3px; }
.soon { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--notice); color: var(--ink); padding: 2px 7px; border-radius: 3px; }

/* Coming-soon notice variant */
.notice.is-soon { background: #fff4bf; }
.uk-live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.uk-live p { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 34em; }
.btn-outline { display: inline-block; font-weight: 700; color: var(--ink); text-decoration: none; padding: 12px 20px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--notice); padding: 4px 10px; border-radius: 4px; margin-bottom: 20px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 28px; }

/* Sign-up form */
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px;
  border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink);
}
.signup input[type="email"]:focus { outline: 3px solid var(--notice); outline-offset: 1px; }
.signup button {
  flex: 0 0 auto; font: inherit; font-size: 17px; font-weight: 700; padding: 14px 22px; border: 0;
  border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.signup button:hover { filter: brightness(1.15); }
.signup button:focus-visible { outline: 3px solid var(--notice); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }
.form-status { font-size: 15px; font-weight: 600; margin: 12px 0 0; min-height: 1.4em; }
.form-status.is-error { color: #a12a1a; }

/* Notice card (the visual) */
.notice {
  background: var(--notice); border-radius: 6px; padding: 26px 24px 22px; position: relative;
  box-shadow: 0 1px 0 var(--notice-deep), 0 18px 40px -18px rgba(22, 24, 29, 0.35);
  transform: rotate(-1.2deg);
}
.notice::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: #c8362b; box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.18);
}
.notice-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.notice dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.notice dt { font-weight: 700; }
.notice dd { margin: 0; }
.notice .tag { display: inline-block; background: var(--ink); color: var(--notice); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; }
.notice-foot { font-size: 12px; margin: 14px 0 0; opacity: 0.75; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
.stats-source { font-size: 13px; color: var(--ink-soft); padding: 0 0 18px; margin: 0; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--ink-soft); font-size: 18px; max-width: 40em; margin: 0 0 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.block.alt .card { background: var(--paper); }
.card p { margin: 0; color: var(--ink-soft); }
.card h3 { margin-bottom: 8px; }
.num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--notice); font-weight: 700; font-size: 15px; margin-bottom: 14px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 4px; background: var(--notice); box-shadow: inset 0 0 0 1.5px var(--ink); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 20px; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.audience { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.audience li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; background: var(--card); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Closing CTA */
.cta { background: var(--ink); color: var(--paper); padding: 72px 0; }
.cta h2 { color: var(--paper); }
.cta .lede { color: #c9ccd3; }
.cta .signup input[type="email"] { border-color: var(--paper); }
.cta .signup button { background: var(--notice); color: var(--ink); }
.cta .form-note { color: #c9ccd3; }
.cta .form-note a { color: var(--notice); }
.cta .form-status { color: var(--notice); }
.cta .form-status.is-error { color: #ffb4a8; }

/* Footer */
.site-footer { padding: 32px 0 48px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }

/* Prose pages */
.prose { max-width: 720px; margin: 0 auto; padding: 56px 20px 72px; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 24px; }
.prose .updated { color: var(--ink-soft); font-size: 15px; }
.prose ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 880px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .notice { transform: none; max-width: 460px; }
  .grid-3 { grid-template-columns: 1fr; }
  section.block, .cta { padding: 56px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .stat:first-child { border-top: 0; }
  .signup button { flex: 1 1 100%; }
  .header-link { padding: 6px 12px; font-size: 14px; }
  .brand { font-size: 18px; }
}
