:root {
  --ink: #12213d;
  --ink-soft: #59677e;
  --ink-muted: #8d99aa;
  --navy: #102449;
  --orange: #ff7648;
  --orange-soft: #fff0e9;
  --mint: #18ad83;
  --mint-soft: #e8faf4;
  --blue: #367bca;
  --line: #e9edf4;
  --canvas: #f5f7fb;
  --surface: #fff;
  --wait-low: #12a77a;
  --wait-mid: #c58b00;
  --wait-high: #e36a24;
  --wait-peak: #df4657;
  --shadow: 0 10px 30px rgba(18, 33, 61, .06);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}
body.nav-locked,
body.sheet-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 64px)); margin: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(32px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}
.site-nav { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: 14px; }
.site-nav > a:not(.nav-cta):hover { color: var(--navy); }
.nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8656, var(--orange));
  color: #fff;
  font-weight: 700;
}
.nav-toggle { display: none; border: 0; background: none; color: var(--ink); font-size: 22px; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(10, 26, 59, .4);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 26, 59, .94) 0%, rgba(10, 26, 59, .78) 46%, rgba(10, 26, 59, .42) 100%),
    url("images/theme-park-journey-hero-v2.png") center / cover no-repeat;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 56px;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.eyebrow.light { color: #ffd28a; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62e5bd;
  box-shadow: 0 0 0 4px rgba(98, 229, 189, .16);
}
.hero h1 {
  margin: 14px 0 16px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}
.hero h1 em { color: #ffd28a; font-style: normal; }
.hero-lead { margin: 0; color: rgba(238, 244, 255, .82); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-qr-panel,
.hero-search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-qr-panel img { width: 92px; height: 92px; border-radius: 8px; object-fit: cover; }
.hero-qr-panel b,
.hero-search-panel p { margin: 0; font-size: 14px; }
.hero-qr-panel small,
.hero-search-panel { color: var(--ink-soft); }
.hero-qr-panel small { display: block; margin-top: 5px; font-size: 11px; }
.hero-search-panel { display: none; flex-direction: column; align-items: flex-start; padding: 16px; width: 100%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; color: rgba(214, 226, 250, .86); font-size: 12px; }
.hero-meta b { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }

.primary-button,
.ghost-button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}
.primary-button { background: linear-gradient(135deg, #ff8656, var(--orange)); color: #fff; }
.ghost-button { background: #eef2f7; color: var(--ink); }
.primary-button.is-copied,
.ghost-button.is-copied,
.text-button.is-copied { color: var(--mint); }
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
}
.light-link { color: #d6e8ff; }

.phone-stage { position: relative; width: 280px; flex: 0 0 280px; }
.phone {
  width: 248px;
  margin-left: auto;
  padding: 10px 10px 14px;
  border-radius: 32px;
  background: #0c1d38;
  box-shadow: 0 24px 50px rgba(8, 18, 40, .35);
}
.phone-notch {
  width: 72px;
  height: 6px;
  margin: 4px auto 8px;
  border-radius: 99px;
  background: #2a3f63;
}
.phone-screen {
  overflow: hidden;
  border-radius: 22px;
  background: var(--canvas);
  color: var(--ink);
}
.phone-hero {
  padding: 14px 12px 16px;
  background:
    linear-gradient(90deg, rgba(10, 26, 59, .92) 0%, rgba(10, 26, 59, .55) 100%),
    linear-gradient(135deg, #102449, #2b5a96);
  color: #fff;
}
.phone-park-name { margin: 0; font-size: 14px; font-weight: 800; }
.phone-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.phone-park-meta {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  margin: 0;
  color: #d6e2fa;
  font-size: 8px;
}
.phone-park-meta i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #62e5bd;
}
.phone-park-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-cal-glyph {
  position: relative;
  width: 11px;
  height: 10px;
  flex: 0 0 11px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 2px;
}
.phone-cal-bar {
  position: absolute;
  top: 2px;
  right: -1px;
  left: -1px;
  height: 1px;
  background: rgba(255, 255, 255, .92);
}
.phone-cal-dot {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
}
.phone-cal-dot:nth-of-type(2) { left: 2px; top: 4px; }
.phone-cal-dot:nth-of-type(3) { right: 2px; top: 4px; }
.phone-cal-dot:nth-of-type(4) { left: 2px; bottom: 1.5px; }
.phone-cal-dot:nth-of-type(5) { right: 2px; bottom: 1.5px; }
.phone-weather { color: #eef6ff; font-size: 8px; white-space: nowrap; }
.phone-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.phone-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(7, 25, 58, .42);
  font-size: 10px;
  font-weight: 800;
}
.phone-crowd-dot,
.crowd-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}
.phone-crowd-dot.level-busy,
.crowd-dot.level-busy { background: #efa546; box-shadow: 0 0 0 3px rgba(239, 165, 70, .28); }
.phone-crowd-glyph {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 2px;
  width: 12px;
  height: 12px;
}
.phone-crowd-glyph i { width: 5px; height: 5px; border-radius: 1px; }
.phone-crowd-glyph i:nth-child(1) { background: #70caa2; }
.phone-crowd-glyph i:nth-child(2) { background: #72ace9; }
.phone-crowd-glyph i:nth-child(3) { background: #f1af53; }
.phone-crowd-glyph i:nth-child(4) { background: #ed7a68; }
.phone-opportunity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 8px 0;
  padding: 8px 10px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(115deg, #f8bd6c, #f9da97);
  transition: opacity .18s ease;
}
.phone-opportunity.is-fading,
.opp-card.is-fading { opacity: .35; }
.phone-opp-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}
.phone-opportunity b,
.phone-opportunity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-opportunity b { color: #70351b; font-size: 10px; }
.phone-opportunity small { margin-top: 2px; color: #92501f; font-size: 8px; font-weight: 600; }
.phone-reminder {
  margin: 8px 8px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.phone-reminder p { margin: 0; color: var(--ink); font-size: 8px; font-weight: 700; line-height: 1.4; }
.phone-reminder-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.phone-reminder-row span {
  padding: 5px 0;
  border-radius: 6px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}
.ride-image,
.wait-thumb,
.tag-thumb,
.phone-wait-thumb {
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(135deg, #14386d, #326fb1 50%, #ef8656);
}
.phone-rides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 8px 6px;
}
.phone-ride { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.phone-ride-cover { position: relative; width: 36px; height: 36px; }
.phone-wait-thumb { width: 36px; height: 36px; border-radius: 8px; }
.phone-ride .wait-badge {
  top: 24px;
  left: 16px;
  min-width: 22px;
  padding: 1px 4px;
  font-size: 7px;
}
.phone-ride > span {
  width: 100%;
  color: var(--ink);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}
.phone-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 0 10px;
  border-top: 1px solid #edf0f5;
  background: #fff;
  color: var(--ink-muted);
  font-size: 8px;
  text-align: center;
}
.phone-tabbar .is-active { color: var(--orange); font-weight: 700; }
.phone-caption { margin: 12px 0 0; color: rgba(255, 255, 255, .7); font-size: 12px; text-align: right; }

.section-heading { max-width: 620px; margin-bottom: 28px; }
.section-heading.compact { margin-bottom: 20px; }
.section-heading h2,
.feature h2 { margin: 10px 0; font-size: 32px; letter-spacing: -.6px; line-height: 1.25; }
.section-heading p,
.feature-copy > p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.section-statusline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.section-statusline i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.section-statusline small { color: var(--ink-muted); font-weight: 500; }

.overview { padding: 72px 0; }
.overview-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; }
.overview-card {
  min-height: 132px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.overview-card p,
.overview-card span { margin: 0; color: var(--ink-muted); font-size: 12px; }
.overview-card strong { display: block; margin: 12px 0 8px; font-size: 20px; }
.overview-primary strong { color: var(--mint); }
.overview-primary strong i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.overview-card.overview-crowd {
  width: 100%;
  border: 0;
  text-align: left;
}
.overview-crowd strong { display: flex; align-items: center; gap: 8px; color: #a6651b; }
.overview-crowd.is-on { box-shadow: inset 0 0 0 1px #f1af53, var(--shadow); }
.crowd-panel {
  margin-top: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff0d8;
  box-shadow: var(--shadow);
}
.crowd-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.crowd-panel-head p { margin: 0; color: var(--ink); font-size: 16px; font-weight: 800; }
.crowd-panel-head small { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 12px; }
.crowd-panel-head button {
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 18px;
}
.crowd-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.crowd-metrics div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.crowd-metrics b { display: block; font-size: 28px; line-height: 1; }
.crowd-metrics span { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 12px; }
.crowd-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crowd-ranks div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.crowd-ranks p { margin: 0; color: var(--ink-muted); font-size: 12px; }
.crowd-ranks strong { margin: 6px 0 0; font-size: 14px; }
.crowd-panel-note { margin: 14px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }

.feature { padding: 72px 0; }
.feature-next { background: #eef3f9; }
.feature-copy h2 { font-size: 34px; }
.feature-copy strong { color: var(--blue); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { display: grid; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; }
.feature-list li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.feature-list b,
.feature-list small { display: block; }
.feature-list b { font-size: 15px; }
.feature-list small { margin-top: 3px; color: var(--ink-muted); font-size: 13px; }

.opp-card {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 33, 61, .08);
  transition: opacity .18s ease;
}
.opp-card header { display: flex; justify-content: space-between; align-items: center; color: #92501f; font-size: 13px; font-weight: 800; }
.demo-pill {
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--mint-soft);
  color: #138464;
  font-size: 11px;
}
.opp-card-main { display: flex; gap: 14px; margin: 18px 0 14px; }
.ride-image { flex: 0 0 72px; width: 72px; height: 72px; }
.opp-card h3 { margin: 0; font-size: 20px; }
.opp-card-main strong,
.opp-card-main p { display: block; }
.opp-card-main strong { margin-top: 8px; color: #70351b; font-size: 14px; }
.opp-card-main p { margin: 6px 0; color: var(--ink-muted); font-size: 12px; }
.opp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opp-metrics span {
  padding: 8px 6px;
  border-radius: 10px;
  background: #fff6e8;
  color: var(--ink-muted);
  font-size: 11px;
  text-align: center;
}
.opp-metrics b { display: block; margin-bottom: 2px; color: #92501f; font-size: 16px; }
.next-nav-note { margin: 12px 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }
.opp-card footer { display: flex; gap: 10px; }
.opp-card footer button { flex: 1; padding: 11px; border: 0; border-radius: 10px; font-size: 14px; font-weight: 800; }
.route-button { background: linear-gradient(135deg, #ff8656, var(--orange)); color: #fff; }
.swap-button { background: #eef2f7; color: #45617f; }

.park-tools { margin-top: 56px; }
.tools-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.tool-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.tool-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.tool-card h3 { margin: 0; font-size: 18px; }
.tool-card small { color: var(--ink-muted); }
.wait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wait-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--ink);
}
.wait-item.is-on { border-color: #dce8f8; background: #f8fbff; }
.wait-thumb { width: 54px; height: 54px; }
.wait-badge {
  position: absolute;
  top: 44px;
  left: calc(50% + 6px);
  min-width: 34px;
  padding: 2px 6px;
  border-radius: 99px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.wait-low { color: var(--wait-low); }
.wait-mid { color: var(--wait-mid); }
.wait-high { color: var(--wait-high); }
.wait-peak { color: var(--wait-peak); }
.wait-badge.wait-low { background: var(--wait-low); color: #fff; }
.wait-badge.wait-mid { background: var(--wait-mid); color: #fff; }
.wait-badge.wait-high { background: var(--wait-high); color: #fff; }
.wait-badge.wait-peak { background: var(--wait-peak); color: #fff; }
.wait-name {
  width: 100%;
  font-size: 11px;
  text-align: center;
  line-height: 1.35;
}
.wait-caption { margin: 12px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }
.park-map {
  overflow: hidden;
  border-radius: 16px;
  background: #d9e4c8;
  aspect-ratio: 1024 / 826;
}
.park-map-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-subscribe { padding-top: 80px; }
.follow-note {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin: -8px 0 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 14px;
}
.follow-note b { color: var(--navy); white-space: nowrap; }
.subscription-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 14px; }
.subscription-card,
.subscription-qr {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.subscription-index { position: absolute; top: 18px; right: 18px; color: var(--ink-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 20px;
}
.blue-icon { background: #e8f2ff; color: var(--blue); }
.subscription-card h3 { margin: 16px 0 8px; font-size: 20px; }
.subscription-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; }
.tag-thumb { width: 36px; height: 36px; border-radius: 8px; }
.tag-row span,
.tag-row b {
  padding: 6px 9px;
  border-radius: 6px;
  background: #f2f5fa;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
}
.tag-row b { background: var(--mint-soft); color: #138464; }
.subscription-qr { display: flex; align-items: center; gap: 16px; }
.qr-art { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; flex: 0 0 88px; }
.subscription-qr p { margin: 0 0 6px; font-size: 15px; font-weight: 800; }
.subscription-qr span { display: block; margin-bottom: 12px; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }

.forecast { background: #eef3f9; }
.forecast-hint { margin-top: 12px !important; font-size: 13px !important; }
.forecast .text-button { margin-top: 22px; }
.calendar {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.calendar header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.calendar-nav-row { display: flex; align-items: center; gap: 10px; }
.calendar-nav-row h3 { margin: 0; font-size: 18px; }
.calendar-nav-row button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.calendar-nav-row button:disabled { opacity: .28; cursor: default; }
.legend { display: flex; gap: 10px; color: var(--ink-muted); font-size: 11px; }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.cal-green { background: var(--wait-low); }
.cal-blue { background: #5b9de3; }
.cal-amber { background: #efa546; }
.cal-red { background: #e97864; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 5px; }
.weekdays { margin-bottom: 8px; color: var(--ink-muted); font-size: 11px; text-align: center; }
.week i,
.cal-day {
  min-height: 54px;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #e8f1fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.week i { background: transparent; }
.cal-day small { display: block; margin-top: 4px; font-size: 9px; font-weight: 500; }
.cal-day.comfortable { background: #dff4e9; color: #237a5d; }
.cal-day.normal { background: #e3effc; color: #376faa; }
.cal-day.busy { background: #fff0d8; color: #a6651b; }
.cal-day.peak { background: #ffe2de; color: #b85143; }
.cal-day { position: relative; }
.cal-day.is-past { opacity: .38; }
.cal-day.is-selected { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.cal-day.has-impact::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 118, 72, .18);
}
.calendar-detail { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.impact-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #fff6e8;
}
.impact-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.impact-card-head strong { font-size: 15px; }
.impact-card-head span { color: var(--ink-muted); font-size: 12px; }
.impact-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.impact-card ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.impact-card li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 13px; }
.impact-card li b { color: var(--orange); white-space: nowrap; }

.feature-history .text-button { margin-top: 22px; }
.history-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.history-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.history-weeks { margin-bottom: 8px; }
.hist-day {
  min-height: 42px;
  padding: 8px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f2f5fa;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
}
.hist-day.is-available { background: #eaf9f3; color: #188762; }
.hist-day.is-unavailable { opacity: .42; cursor: default; }
.hist-day.is-selected { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.history-report { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.history-kicker { margin: 0; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.history-report h3 { margin: 6px 0 12px; font-size: 18px; }
.history-metrics { display: grid; grid-template-columns: 1.4fr .8fr; gap: 10px; }
.history-metric { padding: 12px; border-radius: 12px; background: #f7f9fc; }
.history-metric span,
.history-metric small { display: block; color: var(--ink-muted); font-size: 12px; }
.history-metric b { display: block; margin: 6px 0 4px; font-size: 20px; }
.history-metric-primary { background: #fff0e9; }
.history-rides { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.history-rides li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.history-rides li:last-child { border-bottom: 0; }
.history-rides em {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f2f5fa;
  color: var(--ink-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.history-rides strong,
.history-rides small { display: block; }
.history-rides strong { font-size: 14px; }
.history-rides small { margin-top: 3px; color: var(--ink-muted); font-size: 12px; }
.history-rides > li > b { margin-left: auto; color: var(--orange); font-size: 18px; white-space: nowrap; }
.history-rides > li > b span { margin-left: 2px; color: var(--ink-muted); font-size: 11px; font-weight: 600; }

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-cta { display: flex; align-items: center; gap: 12px; }
.footer-cta img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.footer-cta p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.footer-note { margin: 0; color: var(--ink-muted); font-size: 12px; line-height: 1.6; text-align: right; }
.footer-beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 16px auto 0;
  color: var(--ink-muted);
  font-size: 12px;
  text-align: center;
}
.footer-beian a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); }
.footer-beian a:hover { color: var(--ink-soft); }
.footer-beian img { width: 18px; height: 20px; flex-shrink: 0; }

.sticky-cta {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 20;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 30px rgba(18, 33, 61, .16);
}
.sticky-cta button {
  flex: 1;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8656, var(--orange));
  color: #fff;
  font-weight: 800;
}
.sticky-cta .ghost { background: #eef2f7; color: var(--ink); }

.convert-sheet { position: fixed; inset: 0; z-index: 40; }
.convert-sheet[hidden],
.nav-backdrop[hidden] { display: none !important; }
.convert-backdrop { position: absolute; inset: 0; background: rgba(10, 26, 59, .5); }
.convert-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
  text-align: center;
}
.convert-panel h2 { margin: 8px 0 0; }
.convert-panel p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.convert-panel img { width: 168px; height: 168px; border-radius: 12px; object-fit: cover; }
.convert-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 28px;
}

.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 820px) {
  .container { width: min(100% - 40px, 1120px); }
  .site-header { padding: 0 20px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 20px rgba(18, 33, 61, .08);
  }
  .site-nav.is-open { display: grid; gap: 16px; }
  .nav-cta { width: max-content; }
  .hero-content { display: block; padding: 42px 0 36px; }
  .hero h1 { font-size: 36px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .hero-search-panel { margin-top: 0; }
  .phone-stage { width: min(100%, 280px); margin: 28px auto 0; }
  .phone { margin: 0 auto; }
  .phone-caption { text-align: center; }
  .overview-grid,
  .split-layout,
  .tools-grid,
  .subscription-grid,
  .crowd-ranks,
  .history-metrics { grid-template-columns: 1fr; }
  .overview-primary { order: 0; }
  .wait-grid { grid-template-columns: repeat(4, 1fr); }
  .calendar header,
  .history-card header { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note,
  .footer-beian { text-align: left; }
  .footer-beian { justify-content: flex-start; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 84px; }
  .section-statusline { flex-direction: column; align-items: flex-start; border-radius: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-lead br,
  .hero-copy br { display: none; }
  .hero-meta { gap: 12px; }
  .overview,
  .feature { padding: 52px 0; }
  .section-heading h2,
  .feature h2,
  .feature-copy h2 { font-size: 28px; }
  .wait-grid { grid-template-columns: repeat(3, 1fr); }
  .opp-card-main { gap: 10px; }
  .ride-image { flex-basis: 56px; width: 56px; height: 56px; }
  .crowd-metrics { grid-template-columns: 1fr; }
  .follow-note { flex-direction: column; gap: 6px; }
  .subscription-qr { flex-direction: column; align-items: flex-start; }
}
