:root {
  color-scheme: dark;
  --ink: #0a0a09;
  --surface: #121210;
  --surface-2: #191915;
  --ivory: #fbf7ec;
  --muted: #aaa596;
  --yellow: #f0c830;
  --yellow-deep: #c49000;
  --line: rgba(251, 247, 236, 0.16);
  --line-strong: rgba(251, 247, 236, 0.3);
  --max: 760px;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 84% 4%, rgba(240, 200, 48, 0.09), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 22px calc(44px + env(safe-area-inset-bottom));
}

.brandbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.peak {
  width: 18px;
  height: 15px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 66% 100%, 50% 67%, 34% 100%, 0 100%);
}

.page-no {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero {
  padding: 58px 0 42px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 11em;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(34px, 10vw, 64px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 34em;
  margin-bottom: 0;
  color: #cbc6b8;
  font-size: 15px;
}

.rule {
  height: 1px;
  margin: 0 0 34px;
  border: 0;
  background: var(--line);
}

.section {
  padding: 18px 0 46px;
}

.section-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}

.section-index {
  padding-top: 5px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h2 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.section-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-list {
  display: grid;
  gap: 12px;
}

.action-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  color: var(--ivory);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.action-card:active {
  transform: scale(0.985);
  border-color: var(--yellow);
}

.action-card.featured {
  border-color: rgba(240, 200, 48, 0.58);
  background: linear-gradient(135deg, rgba(240,200,48,0.12), rgba(255,255,255,0.018));
}

.card-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 15px;
}

.action-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.5;
}

.action-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.arrow {
  color: var(--yellow);
  font-size: 21px;
  text-align: right;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(240, 200, 48, 0.4);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.note-box,
.date-panel,
.selection-card,
.detail-box {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.note-box {
  padding: 18px;
  color: #c4c0b4;
  font-size: 12px;
}

.note-box strong { color: var(--ivory); }

.date-panel {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 20px;
  border-color: rgba(240, 200, 48, 0.55);
}

.date-big {
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.date-big small {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.date-panel p { margin: 0; color: #d3cfc3; font-size: 13px; }

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid var(--line);
  color: #d1cdc1;
  font-size: 14px;
}

.bullets li:last-child { border-bottom: 0; }

.bullets li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--yellow);
  transform: rotate(45deg);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 15px 20px;
  border: 1px solid var(--yellow);
  border-radius: 3px;
  background: var(--yellow);
  color: #15130d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 160ms ease, filter 160ms ease;
}

.cta:active { transform: scale(0.985); filter: brightness(0.94); }

.cta.subtle {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ivory);
}

.cta-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.sticky-cta {
  margin-top: 16px;
  padding-bottom: env(safe-area-inset-bottom);
}

.details-list { display: grid; gap: 10px; }

.detail-box { overflow: hidden; }

.detail-box summary {
  position: relative;
  min-height: 60px;
  padding: 18px 48px 18px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.detail-box summary::-webkit-details-marker { display: none; }

.detail-box summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--yellow);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.detail-box[open] summary::after { content: "−"; }

.detail-content {
  padding: 0 18px 20px;
  border-top: 1px solid var(--line);
}

.checklist {
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  counter-reset: item;
}

.checklist li {
  counter-increment: item;
  position: relative;
  padding: 11px 0 11px 34px;
  color: #c9c5b9;
  font-size: 13px;
  line-height: 1.65;
}

.checklist li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.selection-grid {
  display: grid;
  gap: 14px;
}

.selection-card {
  display: block;
  min-height: 196px;
  padding: 24px 20px;
  color: var(--ivory);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.selection-card:active { transform: scale(0.985); border-color: var(--yellow); }

.selection-card .choice-no {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.selection-card h2 {
  margin: 18px 0 8px;
  font-size: 29px;
}

.selection-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.selection-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 700;
}

.footer {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #7f7b71;
  font-size: 10px;
  line-height: 1.7;
}

.footer strong { color: #aaa596; }

.fade-in {
  opacity: 1;
  transform: none;
  animation: reveal 420ms ease both;
}

.fade-in.visible { opacity: 1; transform: none; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 680px) {
  .shell { padding-inline: 32px; }
  .selection-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 74px; }
  .action-card:hover, .selection-card:hover { border-color: rgba(240, 200, 48, 0.75); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; color: #111; }
  .brandbar, .hero, .action-card, .note-box, .sticky-cta, .footer, .section:first-of-type { display: none !important; }
  .shell { width: 100%; max-width: none; padding: 0; }
  .section { padding: 0; }
  .section-head { margin-bottom: 12px; }
  .section-index, .kicker { color: #8a6d00; }
  h2, .detail-box summary { color: #111; }
  .detail-box { display: block; border-color: #ccc; background: #fff; break-inside: avoid; }
  .detail-box summary::after { display: none; }
  .detail-content { display: block !important; border-color: #ddd; }
  .checklist li { color: #222; }
}
