:root {
  --bg: #f8fafc;
  --text: #172033;
  --muted: #64748b;
  --dark: #0f172a;
  --card: #ffffff;
  --line: #e2e8f0;
  --warning: #dc2626;
  --soft: #eef2ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-header {
  background: linear-gradient(135deg, #0f172a, #273449);
  color: white;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 800;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

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

.nav-links a:hover {
  color: white;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 84px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #64748b;
}

.site-header .eyebrow {
  color: #cbd5e1;
}

h1, h2, h3 {
  line-height: 1.15;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e2e8f0;
  font-size: 1.16rem;
}

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

.button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: white;
  color: var(--dark);
}

.button.secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.section,
.notice {
  background: var(--card);
  padding: 28px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.notice.emergency {
  border-left: 8px solid var(--warning);
}

.notice h2 {
  font-size: 1.7rem;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.guide-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
}

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

.guide-card span,
.card p,
.section p,
li {
  color: var(--muted);
}

.guide-card:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.muted {
  background: #f1f5f9;
}

.check-list {
  padding-left: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  color: var(--muted);
  text-align: center;
  background: white;
}

.footer p {
  max-width: 900px;
  margin: 8px auto;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .section,
  .notice {
    padding: 22px;
  }
}

@media print {
  .nav,
  .button-row {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section,
  .notice,
  .card,
  .guide-card {
    box-shadow: none;
    border-color: #999;
  }
}
