:root {
  --sky: #f5faff;
  --lake: #7ec8e3;
  --lake-light: #bfe8f5;
  --sunrise: #fff6d9;
  --ink: #2c3e50;
  --heading: #1a3c5e;
  --muted: #3a5a78;
  --map: #2c7da0;
  --map-active: #1f5c7a;
  --line: #dbeaf2;
  --paper: #fff;
  --packed-bg: #eaf7ee;
  --packed-text: #356b44;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a:focus-visible, input:focus-visible { outline: 3px solid var(--map-active); outline-offset: 3px; }
.sticky-nav { position: sticky; top: 0; z-index: 10; min-height: 44px; padding-top: env(safe-area-inset-top); overflow-x: auto; background: rgb(245 250 255 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-inner { display: flex; width: max-content; min-height: 44px; margin: 0 auto; padding: 0 max(12px, env(safe-area-inset-left)); }
.nav-inner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--heading); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-inner a:hover { color: var(--map); }
.offline-status { min-height: 25px; margin: 0; padding: 3px 16px; background: var(--lake-light); color: var(--heading); font-size: 14px; text-align: center; }

.hero { position: relative; min-height: 180px; overflow: hidden; padding: 14px max(24px, calc((100vw - 960px) / 2)); background: linear-gradient(180deg, #7ec8e3 0%, #bfe8f5 60%, #fff6d9 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.eyebrow, .section-kicker, .day-header p, footer p { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero .eyebrow { color: var(--heading); }
.hero h1 { margin: 0; color: var(--heading); font-size: 28px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; text-wrap: balance; text-shadow: 0 1px 3px rgb(255 255 255 / 60%); }
.hero-copy { margin: 3px 0 0; color: var(--heading); font-size: 14px; font-weight: 700; line-height: 1.5; }
.hero-meta { margin: 2px 0 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--heading); color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; }
.button:hover, .button:active { background: var(--map-active); }
.fuji-mark { position: absolute; right: -34px; bottom: -2px; width: min(58vw, 430px); height: auto; opacity: .54; }

.page-shell { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.section { margin-top: 48px; scroll-margin-top: 76px; }
.section h2 { margin: 0; padding-left: 12px; border-left: 4px solid var(--lake); color: var(--heading); font-size: 20px; font-weight: 800; line-height: 1.45; }
.section-intro { max-width: 720px; margin: 10px 0 18px; color: var(--muted); font-size: 14px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.summary-grid div { padding: 12px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 74%); }
.summary-grid span { display: block; color: var(--muted); font-size: 14px; }
.summary-grid strong { color: var(--heading); font-size: 18px; line-height: 1.4; }

.itinerary-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.day { scroll-margin-top: 76px; }
.day-header { padding: 0 0 10px; border-bottom: 2px solid var(--lake-light); color: var(--heading); }
.day-header p { color: var(--map); }
.day-header h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.45; }
.timeline { position: relative; margin: 0; padding: 20px 0 0; list-style: none; }
.timeline::before { position: absolute; top: 29px; bottom: 26px; left: 63px; width: 2px; background: var(--lake-light); content: ""; }
.timeline li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.timeline time { position: relative; z-index: 1; color: var(--map); font-size: 18px; font-weight: 800; line-height: 1.6; }
.timeline time::after { position: absolute; top: 10px; right: 3px; width: 10px; height: 10px; border: 2px solid var(--map); border-radius: 50%; background: var(--sky); content: ""; }
.timeline-card { padding: 16px; border: 1px solid #e4eef3; border-left: 4px solid var(--lake); border-radius: 12px; background: var(--paper); box-shadow: 0 2px 8px rgb(0 0 0 / 6%); }
.timeline-card h4 { margin: 0; color: var(--heading); font-size: 17px; line-height: 1.45; }
.timeline-card p { margin: 5px 0 11px; color: var(--ink); font-size: 14px; }
.timeline-card a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 8px; padding: 0 14px; border-radius: 8px; background: var(--map); color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; }
.timeline-card a:hover, .timeline-card a:active { background: var(--map-active); }
.timeline-card .official-link { border: 1px solid var(--map); background: transparent; color: var(--map); }
.timeline-card .official-link:hover, .timeline-card .official-link:active { background: #eaf6fb; color: var(--map-active); }

.budget-list { margin: 0; border-top: 1px solid var(--line); }
.budget-list div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 68%); }
.budget-list dt { color: var(--ink); }
.budget-list dd { margin: 0; color: var(--heading); font-size: 18px; font-weight: 800; text-align: right; }
.budget-list .budget-total { margin-top: 4px; background: var(--sunrise); }

.packing-progress { margin: 0; color: var(--map); font-weight: 800; }
.packing-notice { min-height: 25px; margin: 2px 0 0; color: #9d4036; font-size: 14px; }
.packing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.packing-item { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.packing-item label { display: flex; align-items: center; min-height: 52px; gap: 10px; padding: 8px 10px; cursor: pointer; }
.packing-item input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--lake); }
.packing-item.is-packed { border-color: #cfe9d5; background: var(--packed-bg); }
.packing-item.is-packed label { color: var(--packed-text); text-decoration: line-through; }

footer { padding: 40px max(24px, calc((100vw - 960px) / 2)) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; }
footer p { margin-bottom: 5px; color: var(--map); }
footer small { color: var(--muted); font-size: 14px; }

@media (min-width: 700px) {
  .hero { min-height: 240px; padding-top: 32px; }
  .hero h1 { font-size: 36px; }
  .hero-copy, .hero-meta { font-size: 16px; }
  .timeline-card a { display: inline-flex; width: auto; margin-right: 8px; }
  .packing-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
