:root {
  color-scheme: light;
  --bg: #f5eee6;
  --paper: #fffaf4;
  --ink: #15110d;
  --muted: #655d54;
  --line: rgba(21, 17, 13, 0.14);
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --soft: #ebe1d6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

a { color: inherit; }

.container {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 238, 230, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 56px 0;
}

.article {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.72;
}

.article h2 {
  margin: 44px 0 12px;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: 0;
}

.article p,
.article ul,
.article ol {
  color: var(--muted);
}

.article li + li {
  margin-top: 8px;
}

.callout {
  margin: 32px 0;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.callout p {
  margin: 0;
}

.cta-band {
  margin-top: 48px;
  padding: 30px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
}

.cta-band h2 {
  color: white;
  margin-top: 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .button {
  background: white;
  color: var(--ink);
  border-color: white;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: 88px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}

.panel h2,
.panel h3 {
  margin: 0 0 8px;
}

.panel p,
.panel li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.panel ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1040px);
  }

  .nav {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .article-wrap {
    grid-template-columns: 1fr;
    padding: 36px 0;
  }

  .sidebar {
    position: static;
  }
}
