:root {
  --orange: #f05b24;
  --orange-dark: #cf4315;
  --cream: #fff8e8;
  --ink: #3b261b;
  --paper: #fffdf7;
  --shadow: 0 12px 30px rgba(90, 48, 22, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px max(16px, calc((100vw - 720px) / 2));
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(240, 91, 36, 0.15);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

button, .button { font: inherit; }

.header-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(240, 91, 36, 0.25);
}

.section-image {
  position: relative;
  width: min(100%, 720px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.section-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero { padding-bottom: 112px; }

.hero-actions,
.closing-action {
  position: absolute;
  right: 6%;
  bottom: 28px;
  left: 6%;
  display: grid;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover, .button:focus-visible, .header-button:hover, .header-button:focus-visible { transform: translateY(-2px); }
.button:active, .header-button:active { transform: translateY(0); }

.button-primary { color: #fff; background: var(--orange); box-shadow: var(--shadow); }
.button-primary:hover, .button-primary:focus-visible { background: var(--orange-dark); }
.button-secondary { color: var(--orange-dark); background: rgba(255, 253, 247, 0.96); }

.closing-image { padding-bottom: 106px; }

.site-footer {
  padding: 26px 16px 38px;
  color: #775946;
  background: #fff1d2;
  font-size: 0.76rem;
  line-height: 1.7;
  text-align: center;
}

.modal {
  width: min(90vw, 420px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 18px 60px rgba(59, 38, 27, 0.3);
}

.modal::backdrop { background: rgba(59, 38, 27, 0.5); backdrop-filter: blur(3px); }
.modal-card { position: relative; padding: 30px 26px 24px; border: 4px solid #f9c94a; border-radius: 24px; background: var(--paper); }
.modal-kicker { margin: 0 0 8px; color: var(--orange); font-size: 0.8rem; font-weight: 800; }
.modal h2 { margin: 0 0 12px; font-size: 1.35rem; }
.modal p:not(.modal-kicker) { margin: 0 0 22px; line-height: 1.8; }
.modal-close { position: absolute; top: 8px; right: 12px; border: 0; color: #9b6b52; background: transparent; font-size: 1.8rem; cursor: pointer; }
.modal-ok { width: 100%; border: 0; }

@media (min-width: 721px) {
  .site-header { padding-right: 24px; padding-left: 24px; }
  .hero-actions, .closing-action { right: 30px; left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .header-button { transition: none; }
}
