:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --surface: #fffaf0;
  --ink: #1c252c;
  --muted: #66727e;
  --line: rgba(28, 37, 44, 0.14);
  --green: #2f6f5e;
  --blue: #316a9f;
  --coral: #c95f4a;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.home-hero,
.page-heading,
.article-header {
  padding: 52px 0 34px;
}

.home-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.home-hero h1,
.page-heading h1,
.article-header h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero p,
.page-heading p,
.article-header p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow,
.card-meta {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0 56px;
}

.guide-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.guide-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
}

.guide-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.guide-card p {
  color: var(--muted);
}

.text-link {
  font-weight: 800;
}

.article-shell {
  width: min(840px, 100%);
  margin: 0 auto;
  padding-bottom: 64px;
}

.article-content {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: 30px;
  line-height: 1.18;
}

.article-content h3 {
  margin-top: 30px;
  font-size: 22px;
}

.article-content p,
.article-content li {
  color: #34414b;
}

.poster-embed {
  margin: 34px 0;
}

.poster-embed iframe {
  display: block;
  width: 100%;
  height: min(760px, 80vh);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.empty {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .page-heading,
  .article-header {
    padding-top: 34px;
  }

  .poster-embed iframe {
    height: 640px;
  }
}
