:root {
  --ink: #17332e;
  --ink-soft: #526762;
  --paper: #f5f2ea;
  --mist: #e9f0ed;
  --sea: #2e776b;
  --sea-dark: #173f38;
  --lime: #c8e374;
  --orange: #ff7256;
  --line: rgba(23, 51, 46, .14);
  --white: #fff;
  --shadow: 0 20px 60px rgba(25, 61, 54, .11);
  --radius: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; gap: 36px;
  background: rgba(245, 242, 234, .82);
  border-bottom: 1px solid rgba(23, 51, 46, .08);
  backdrop-filter: blur(22px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.brand-mark { width: 17px; height: 17px; border: 5px solid var(--sea); border-radius: 50% 50% 45% 55%; transform: rotate(-18deg); }
.home-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.46); color: var(--ink-soft); font-size: 11px; font-weight: 800; transition: color .2s ease, background .2s ease, transform .2s ease; }
.home-link:hover { color: var(--ink); background: white; transform: translateY(-1px); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: .2s ease; }
.nav-links a:hover { color: var(--ink); }
.print-btn, .reset-btn { border: 0; cursor: pointer; }
.print-btn { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }

.hero { min-height: 650px; padding: 76px 0 96px; display: grid; grid-template-columns: .93fr 1.07fr; gap: 68px; align-items: center; }
.eyebrow { margin: 0 0 24px; color: var(--sea); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(50px, 5.6vw, 82px); line-height: .98; letter-spacing: -.065em; font-weight: 760; }
.hero h1 b { display: inline-block; font-weight: inherit; white-space: nowrap; }
.hero-lead { max-width: 500px; margin: 32px 0 0; color: var(--ink-soft); font-size: 20px; line-height: 1.65; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; margin: 36px 0 44px; }
.button { padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--sea-dark); color: white; }
.button.ghost { border: 1px solid var(--line); background: rgba(255,255,255,.3); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.hero-meta b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 11px; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border-radius: 42px 42px 122px 42px; background: var(--mist); box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,35,31,.66)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 28% center; }
.hero-visual figcaption { position: absolute; z-index: 1; left: 34px; bottom: 30px; color: rgba(255,255,255,.88); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hero-coordinate { position: absolute; z-index: 2; top: 24px; right: 24px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(5,35,31,.48); color: white; backdrop-filter: blur(10px); font-size: 9px; font-weight: 800; letter-spacing: .12em; }

.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.verdict { padding: 90px 0 120px; }
.duration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.duration-card { min-height: 220px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.44); }
.duration-card.muted { color: var(--ink-soft); }
.duration-card.featured { position: relative; background: var(--sea-dark); color: white; box-shadow: var(--shadow); transform: translateY(-16px); }
.recommend-tag { position: absolute; top: 20px; right: 20px; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: var(--sea-dark); font-size: 10px; font-weight: 800; }
.duration-number { font-size: 72px; font-weight: 760; letter-spacing: -.08em; line-height: 1; }
.duration-card h3 { margin: 0 0 9px; font-size: 17px; }
.duration-card p { margin: 0; font-size: 13px; line-height: 1.6; opacity: .76; }

.rendezvous { padding: 110px 0; border-top: 1px solid var(--line); }
.segmented { display: flex; padding: 4px; border-radius: 999px; background: rgba(23,51,46,.08); }
.segmented button { border: 0; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 13px; font-weight: 700; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 3px 14px rgba(23,51,46,.08); }
.route-panel { padding: 44px; border-radius: 34px; background: white; box-shadow: var(--shadow); }
.route-summary { max-width: 710px; }
.route-badge { display: inline-block; margin-bottom: 14px; padding: 6px 10px; border-radius: 999px; background: var(--lime); font-size: 10px; font-weight: 800; }
.route-badge.alt { background: #d9e8ff; }
.route-summary h3 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.route-summary p { color: var(--ink-soft); line-height: 1.7; }
.route-line { margin: 42px 0; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; }
.route-line > i { height: 1px; margin: 0 22px; background: repeating-linear-gradient(90deg, var(--sea) 0 7px, transparent 7px 13px); }
.route-node { text-align: center; min-width: 134px; }
.route-node > span { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--sea); font-weight: 800; }
.route-node.focus > span { background: var(--orange); border-color: var(--orange); color: white; }
.route-node b, .route-node small { display: block; }
.route-node small { margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.route-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.route-notes p { margin: 0; padding: 20px; border-radius: 18px; background: var(--mist); color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.route-notes b { color: var(--ink); }
.entry-note { margin-top: 22px; padding: 24px 28px; display: flex; gap: 18px; border-radius: 22px; background: #fff0dc; }
.note-icon { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-weight: 800; }
.entry-note h3 { margin: 2px 0 6px; font-size: 15px; }
.entry-note p { margin: 0; color: #6f5547; font-size: 13px; line-height: 1.75; }

.itinerary { padding: 118px 0; background: var(--sea-dark); color: white; }
.itinerary-heading { max-width: none; display: flex; justify-content: space-between; gap: 40px; }
.itinerary-heading .light { color: var(--lime); }
.itinerary-heading > p { max-width: 360px; color: rgba(255,255,255,.62) !important; }
.day-list { border-top: 1px solid rgba(255,255,255,.18); }
.day-card { border-bottom: 1px solid rgba(255,255,255,.16); }
.day-toggle { width: 100%; padding: 28px 0; display: grid; grid-template-columns: 74px 1fr auto 28px; gap: 18px; align-items: center; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.day-index { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.day-title b { display: block; font-size: 22px; letter-spacing: -.025em; }
.day-title small { display: block; margin-top: 8px; color: rgba(255,255,255,.52); font-size: 13px; }
.day-mood { color: rgba(255,255,255,.62); font-size: 12px; }
.plus { position: relative; width: 24px; height: 24px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 11px; left: 4px; width: 16px; height: 1px; background: white; transition: transform .2s ease; }
.plus::after { transform: rotate(90deg); }
.day-card.open .plus::after { transform: rotate(0); }
.day-body { padding: 0 0 34px 92px; animation: reveal .25s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }
.time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.12); }
.time-grid p { margin: 0; padding: 20px; background: #1c4840; font-size: 13px; line-height: 1.65; }
.time-grid time { display: block; margin-bottom: 7px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.day-tip { margin-top: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(200,227,116,.12); color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.6; }
.day-tip b { margin-right: 8px; color: var(--lime); }
.day-tip.weather { display: block; padding: 14px 18px; background: rgba(255,114,86,.12); }
.day-tip.weather b { color: #ff9b84; }
.day-photo { height: 190px; margin-bottom: 12px; overflow: hidden; border-radius: 20px; }
.day-photo img { width: 100%; height: 100%; object-fit: cover; }

.stay { padding: 120px 0; }
.stay-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 16px; }
.stay-card, .move-card { min-height: 330px; padding: 30px; border-radius: var(--radius); }
.stay-card { color: white; background: var(--sea); }
.stay-card.south { background: #b65a45; }
.stay-nights { font-size: 10px; font-weight: 800; letter-spacing: .18em; opacity: .7; }
.stay-card h3, .move-card h3 { margin: 62px 0 14px; font-size: 28px; letter-spacing: -.04em; }
.stay-card p { color: rgba(255,255,255,.72); line-height: 1.7; }
.stay-card ul { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.stay-card li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 11px; }
.move-card { background: white; box-shadow: var(--shadow); }
.move-card h3 { margin-top: 0; }
.move-row { padding: 13px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; }
.move-row span { color: var(--ink-soft); }
.move-card p { margin-top: 28px; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

.budget { padding: 110px 0; border-top: 1px solid var(--line); }
.budget-total { margin: 0 !important; color: var(--sea-dark) !important; font-size: clamp(30px, 4vw, 52px) !important; font-weight: 760; letter-spacing: -.045em; text-align: right; }
.budget-total small { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 10px; letter-spacing: .15em; }
.budget-bars { padding: 34px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.budget-row { display: grid; grid-template-columns: 160px 1fr 140px; gap: 22px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.budget-row:last-child { border-bottom: 0; }
.budget-row > span { color: var(--ink-soft); }
.budget-row > i { height: 8px; overflow: hidden; border-radius: 99px; background: var(--mist); }
.budget-row > i::after { content: ""; display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--sea); }
.budget-row b { text-align: right; }
.budget-note { max-width: 820px; margin: 22px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }

.weather-section { padding: 80px 0 120px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.weather-visual { height: 520px; overflow: hidden; border-radius: 160px 36px 36px 36px; box-shadow: var(--shadow); }
.weather-visual img { width: 100%; height: 100%; object-fit: cover; }
.weather-copy h2 { margin: 0; font-size: clamp(38px, 4.7vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.weather-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--ink-soft); line-height: 1.8; }
.weather-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.weather-stats span { padding: 16px 8px; border-top: 1px solid var(--line); }
.weather-stats b, .weather-stats small { display: block; }
.weather-stats b { font-size: 22px; }
.weather-stats small { margin-top: 7px; color: var(--ink-soft); font-size: 10px; }
.weather-list { padding-left: 19px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }

.before { padding: 110px 0; border-top: 1px solid var(--line); }
.reset-btn { padding: 10px 16px; border-radius: 999px; background: rgba(23,51,46,.08); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist label { min-height: 76px; padding: 20px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.48); cursor: pointer; transition: .2s ease; }
.checklist label:has(input:checked) { background: #dfecc0; border-color: transparent; color: #395041; }
.checklist input { appearance: none; flex: 0 0 22px; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.checklist input:checked { border: 6px solid var(--sea); }
.checklist span { font-size: 13px; line-height: 1.6; }
.progress { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.progress i { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(23,51,46,.1); }
.progress i::after { content: ""; display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: var(--sea); transition: width .25s ease; }
.progress span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.sources { padding: 80px 0 110px; }
.section-heading.compact h2 { font-size: 38px; }
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.source-grid a { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.52); border: 1px solid var(--line); transition: transform .2s ease; }
.source-grid a:hover { transform: translateY(-3px); }
.source-grid b, .source-grid span { display: block; }
.source-grid b { font-size: 13px; }
.source-grid span { margin-top: 8px; color: var(--ink-soft); font-size: 11px; }
.source-note { margin-top: 18px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
footer { padding: 36px 24px; display: flex; justify-content: space-between; background: var(--ink); color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .12em; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .print-btn { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 9; border-radius: 34px 34px 110px 34px; }
  .hero-visual img { height: 100%; }
  .duration-grid { grid-template-columns: 1fr 1fr; }
  .duration-card.featured { transform: none; }
  .stay-grid { grid-template-columns: 1fr 1fr; }
  .move-card { grid-column: 1 / -1; min-height: auto; }
  .weather-section { grid-template-columns: 1fr; }
  .weather-visual { height: 360px; }
  .source-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .topbar { height: 62px; padding-inline: 16px; }
  .home-link { padding: 8px 10px; }
  .print-btn { padding: 9px 12px; }
  .hero { padding: 45px 0 72px; gap: 44px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 46px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-meta { gap: 16px; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 28px 28px 86px 28px; }
  .hero-visual img { min-height: 0; height: 100%; }
  .hero-coordinate { top: 18px; right: 18px; }
  .duration-grid { grid-template-columns: 1fr; }
  .duration-card { min-height: 170px; }
  .row-heading, .itinerary-heading { display: block; }
  .segmented { width: 100%; margin-top: 24px; }
  .segmented button { flex: 1; }
  .route-panel { padding: 26px 20px; }
  .route-line { grid-template-columns: 1fr; gap: 18px; }
  .route-line > i { width: 1px; height: 22px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--sea) 0 5px, transparent 5px 9px); }
  .route-notes { grid-template-columns: 1fr; }
  .entry-note { padding: 20px; }
  .day-toggle { grid-template-columns: 44px 1fr 22px; gap: 10px; }
  .day-mood { display: none; }
  .day-title b { font-size: 17px; }
  .day-title small { font-size: 11px; line-height: 1.5; }
  .day-body { padding-left: 0; }
  .time-grid { grid-template-columns: 1fr; }
  .stay-grid, .checklist, .source-grid { grid-template-columns: 1fr; }
  .move-card { grid-column: auto; }
  .budget-total { margin-top: 22px !important; text-align: left; }
  .budget-bars { padding: 20px; }
  .budget-row { grid-template-columns: 1fr auto; gap: 10px; }
  .budget-row > i { grid-column: 1 / -1; grid-row: 2; }
  .weather-section { gap: 42px; }
  .weather-visual { height: 300px; border-radius: 86px 28px 28px 28px; }
  footer { display: block; line-height: 1.6; }
}

@media print {
  body { background: white; }
  .topbar, .hero-actions, .segmented, .reset-btn { display: none !important; }
  .section-shell { width: 100%; }
  .hero, .verdict, .rendezvous, .stay, .budget, .weather-section, .before, .sources { padding: 36px 24px; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 46px; }
  .hero-visual { min-height: 330px; height: 330px; aspect-ratio: auto; }
  .hero-visual img { min-height: 330px; height: 330px; }
  .duration-grid { grid-template-columns: repeat(4, 1fr); }
  .duration-card { min-height: 160px; }
  .duration-card.featured { transform: none; }
  .route-panel { box-shadow: none; border: 1px solid var(--line); }
  .route-panel[hidden] { display: none !important; }
  .itinerary { padding: 40px 24px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .day-body[hidden] { display: block !important; }
  .day-card { break-inside: avoid; }
  .stay-grid { grid-template-columns: 1fr 1fr 1fr; }
  .move-card { grid-column: auto; }
  .weather-visual { height: 380px; }
  .source-grid { grid-template-columns: repeat(4, 1fr); }
}
