:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffaf2;
  --text: #1d1a16;
  --muted: #6d6257;
  --line: rgba(29, 26, 22, 0.1);
  --accent: #9d4b20;
  --accent-soft: rgba(157, 75, 32, 0.12);
  --shadow: 0 24px 80px rgba(55, 33, 16, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max-width: 1120px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 75, 32, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 196, 128, 0.22), transparent 30%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 26, 22, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 26, 22, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 90%);
}

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

.page {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(255, 245, 234, 0.88));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(157, 75, 32, 0.24), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 20px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 64ch;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.meta-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.nav-card,
.content-card,
.notice-card,
.footer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.nav-card {
  position: sticky;
  top: 16px;
  height: fit-content;
  padding: 20px;
}

.nav-card h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-card li + li {
  margin-top: 10px;
}

.nav-card a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, transform 160ms ease;
}

.nav-card a:hover,
.nav-card a:focus-visible {
  background: var(--accent-soft);
  transform: translateX(2px);
  outline: none;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.notice-card,
.footer-card,
.content-card {
  padding: 28px;
}

.notice-card p,
.footer-card p,
.content-card p,
.content-card li {
  font-size: 1rem;
  line-height: 1.75;
  color: #3d352e;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.content-card ul {
  margin: 0;
  padding-left: 20px;
}

.content-card li + li {
  margin-top: 10px;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-card {
  margin-top: 20px;
  background: var(--surface-strong);
}

.footer-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

  .nav-card {
    position: static;
  }

  .hero {
    padding: 28px 22px;
  }

  .notice-card,
  .footer-card,
  .content-card {
    padding: 24px 20px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-meta {
    flex-direction: column;
  }

  .meta-chip {
    width: 100%;
  }
}
