:root {
  --bg: #08090b;
  --surface: #111318;
  --surface-2: #171a20;
  --text: #f5f3ef;
  --muted: #a7a8ad;
  --accent: #b41824;
  --accent-hover: #d02532;
  --line: #292c33;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 9, 11, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; align-items: center; gap: 24px; }
nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease;
}
nav a:hover, nav a:focus-visible { color: var(--text); }

.hero {
  min-height: 620px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 75% 25%, rgba(180, 24, 36, .12), transparent 30%);
}
.hero-inner { padding: 110px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: #d0a2a6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(56px, 10vw, 108px);
  line-height: .96;
  letter-spacing: -.045em;
}
h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
p, li { color: var(--muted); }
.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #c7c8cc;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 21px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button-secondary:hover { background: var(--surface); }

.editorial { padding: 86px 0; }
.section-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.section-card {
  min-height: 245px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scroll-margin-top: 90px;
}
.section-card:nth-child(2n) { border-right: 0; }
.section-card:nth-last-child(-n+2) { border-bottom: 0; }
.section-number { color: #6f727a; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.section-card p { max-width: 430px; margin-bottom: 0; font-size: 16px; }

.newsletter { padding: 78px 0; border-top: 1px solid var(--line); background: var(--surface-2); scroll-margin-top: 72px; }
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 500px);
  align-items: end;
  gap: 60px;
}
.newsletter-inner p:last-child { max-width: 560px; margin-bottom: 0; }
.newsletter-form { display: flex; }
.newsletter-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid #3b3e46;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 14px 16px;
  background: #0c0e11;
  color: var(--text);
  font: inherit;
}
.newsletter-form input::placeholder { color: #777a82; }
.newsletter-form input:focus { outline: 2px solid #b6545d; outline-offset: -2px; }
.newsletter-form button {
  border: 0;
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.small { font-size: 14px; }
.updated {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
}
.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;
}

@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .nav nav { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 78px 0; }
  .section-grid { grid-template-columns: 1fr; }
  .section-card, .section-card:nth-child(2n), .section-card:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-card:last-child { border-bottom: 0; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .brand { font-size: 20px; }
  .hero-inner { padding: 64px 0 72px; }
  h1 { font-size: clamp(50px, 18vw, 74px); }
  .lead { font-size: 18px; }
  .button { width: 100%; }
  .editorial { padding: 56px 0; }
  .section-card { min-height: 0; padding: 28px 24px; }
  .newsletter { padding: 58px 0; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input, .newsletter-form button { min-height: 48px; border: 1px solid #3b3e46; border-radius: 4px; }
  .footer-inner { flex-direction: column; }
  footer nav { gap: 18px; }
}
