:root {
  --cream: #fbf5ee;
  --cream-2: #f4ebe1;
  --card: #ffffff;
  --ink: #37322f;
  --muted: #7d756f;
  --line: #eadfd3;
  --orange: #e16741;
  --orange-dark: #c9532f;
  --green: #4caf50;
  --yellow: #fac666;
  --red: #ee6666;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(55, 50, 47, 0.08), 0 2px 6px rgba(55, 50, 47, 0.05);
  --serif: 'Lora', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 245, 238, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(225, 103, 65, 0.3);
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn.small { padding: 9px 16px; font-size: 14px; box-shadow: none; white-space: nowrap; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn.ghost:hover { background: #fff; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--orange);
  background: rgba(225, 103, 65, 0.1); padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 20px 0 22px; }
h1 .pill, h2 .pill {
  background: var(--card); border-radius: 18px; padding: 0 14px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  box-shadow: var(--shadow);
}
.lede { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li {
  display: flex; align-items: center; gap: 8px; background: var(--card);
  border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow);
}
.checks li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.phone-stage { position: relative; display: flex; justify-content: center; }
/* Phone frame: fixed shape; the screen inside is absolutely placed so an image or
   video can never resize or spill out of the frame (Safari sizes video by content). */
.phone {
  --bezel: 10px; --screen-radius: 39px;
  position: relative; flex: none;
  width: min(330px, 78vw); aspect-ratio: 1206 / 2622;
  border-radius: 48px; background: #1d1a18;
  box-shadow: 0 40px 80px rgba(55, 50, 47, 0.22), 0 8px 20px rgba(55, 50, 47, 0.12);
  transform: rotate(2deg);
}
.phone > img, .phone > video {
  position: absolute; inset: var(--bezel);
  width: calc(100% - 2 * var(--bezel)); height: calc(100% - 2 * var(--bezel));
  max-width: none; object-fit: cover; object-position: top;
  border-radius: var(--screen-radius); clip-path: inset(0 round var(--screen-radius));
}
.float {
  position: absolute; background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.float small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.float .dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.float.f1 { top: 18%; left: -2%; transform: rotate(-3deg); }
.float.f2 { bottom: 16%; right: -4%; transform: rotate(3deg); animation-delay: -2.5s; }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 88px 0; scroll-margin-top: 68px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

.stats { padding: 24px 0 8px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.stat > span { color: var(--muted); font-size: 15px; }

/* Signal legend */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.signal { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.signal .dot { width: 28px; height: 28px; border-radius: 50%; margin-bottom: 18px; }
.signal h3 { font-size: 26px; margin-bottom: 8px; }
.signal p { margin: 0; color: var(--muted); }
.g { background: var(--green); box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.18); }
.y { background: var(--yellow); box-shadow: 0 0 0 6px rgba(250, 198, 102, 0.25); }
.r { background: var(--red); box-shadow: 0 0 0 6px rgba(238, 102, 102, 0.2); }

/* Features */
  width: min(340px, 100%); margin-inline: auto; border-radius: 30px; box-shadow: var(--shadow);
}
.tag { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini li { display: flex; gap: 10px; align-items: baseline; }
.mini li::before { content: '•'; color: var(--orange); font-weight: 900; }

/* Parks */
.parks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resort { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.resort h3 { font-size: 24px; margin-bottom: 16px; }
.resort ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.resort li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final CTA */
.cta-band { padding: 40px 0 96px; }
.cta-card {
  background: var(--orange); color: #fff; border-radius: 36px; padding: 64px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-card h2 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 14px; }
.cta-card p { font-size: 19px; opacity: 0.9; margin: 0 auto 30px; max-width: 40ch; }
.cta-card .btn { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.cta-card .btn:hover { background: var(--cream); }
.cta-card img.icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.disclaimer { flex-basis: 100%; font-size: 13px; margin: 0; }

/* Simple content pages */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 5vw, 56px); margin: 0 0 18px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); }
.page .card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 28px; }
.page .card p { margin: 0 0 18px; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .signals, .parks { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand { font-size: 15px; line-height: 1.2; }
  .lede { font-size: 18px; }
  .float { font-size: 14px; padding: 10px 12px; }
  .float.f1 { left: 0; }
  .float.f2 { right: 0; }
  .stat b { font-size: 28px; }
  .cta-card { padding: 48px 22px; border-radius: 28px; }
}

/* Store buttons */
.btn.dark { background: var(--ink); box-shadow: 0 6px 18px rgba(55, 50, 47, 0.25); }
.btn.dark:hover { background: #1d1a18; }
.btn[hidden] { display: none; }
.cta-row.center { justify-content: center; }
.cta-card .btn.dark { background: var(--ink); color: #fff; }
.cta-card .btn.dark:hover { background: #1d1a18; }

/* Demo: video + steps */
.demo { overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 300px minmax(0, 520px); justify-content: center; gap: 64px; align-items: center; }
.video-phone { width: 300px; max-width: 72vw; transform: rotate(-2deg); justify-self: center; }
.video-phone video { background: var(--orange); }
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Stats strip (overrides) */
.stats { padding: 8px 0 0; }
.stat { text-align: center; }

/* Weather */
.weather { overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #eef1f3 100%); }
.weather-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.weather-copy h2 { font-size: clamp(34px, 4.6vw, 52px); margin: 14px 0 18px; }
.weather-copy > p { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 48ch; }
.weather-steps { display: grid; gap: 14px; }
.wstep { display: flex; gap: 16px; background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.wstep .wicon { font-size: 26px; line-height: 1.2; }
.wstep b { font-size: 17px; }
.wstep p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.weather-media { position: relative; display: flex; justify-content: center; }
.weather-media .phone { width: min(300px, 72vw); transform: rotate(-2deg); }
.float.storm { background: #37322f; color: #fff; }
.float.storm small { color: rgba(255, 255, 255, 0.7); }

/* Park links */
.resort li { padding: 0; }
.resort li a { display: block; padding: 7px 14px; text-decoration: none; }
.resort li:hover { border-color: var(--orange); color: var(--orange); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.price-card h3 { font-size: 22px; margin-bottom: 14px; }
.price-card .price { font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1.1; }
.price-card .per { margin: 4px 0 14px; font-weight: 600; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.price-card p { color: var(--muted); margin: 0; }
.price-card.ours { background: var(--orange); color: #fff; transform: translateY(-8px); box-shadow: 0 20px 40px rgba(225, 103, 65, 0.3); }
.price-card.ours p, .price-card.ours .per { color: rgba(255, 255, 255, 0.88); }
.badge { position: absolute; top: -12px; right: 20px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.example { margin: 28px auto 0; max-width: 760px; text-align: center; background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 18px 22px; font-size: 17px; }
.fineprint { text-align: center; color: var(--muted); font-size: 13px; max-width: 70ch; margin: 18px auto 0; }

/* Scroll-in animations (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .price-card.ours.reveal.in { transform: translateY(-8px); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .weather-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.ours, .js .price-card.ours.reveal.in { transform: none; }
}

/* Park pages */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.park-hero { padding: 48px 0 24px; }
.park-hero .wrap { max-width: 860px; }
.park-hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 14px 0 18px; }
.park-hero .lede { max-width: 56ch; }
.ride-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ride-list li { background: var(--card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.ride-list b { display: block; font-size: 17px; }
.ride-list span { color: var(--muted); font-size: 15px; }
.park-body { padding: 32px 0 72px; }
.park-body .wrap { max-width: 860px; }
.park-body h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 48px 0 16px; }
.park-body > .wrap > p { color: var(--muted); font-size: 18px; }
.other-parks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.other-parks a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 500; }
.other-parks a:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 640px) { .ride-list { grid-template-columns: 1fr; } }
.weather-media .float.f1 { top: 2%; left: 0; }
.price-card.ours .price { font-size: 30px; }
.weather-media .float.f3 { top: 46%; left: -6%; transform: rotate(-2deg); animation-delay: -1.2s; }
@media (max-width: 480px) { .weather-media .float.f3 { left: 0; } }

/* Park cards (homepage) */
.park-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.park-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.park-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(55, 50, 47, 0.12); }
.park-card .resort-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.park-card h3 { font-size: 24px; margin: 6px 0 8px; }
.park-card .counts { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.park-card ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 15px; }
.park-card li::before { content: '🎢 '; }
.park-card .go { margin-top: auto; font-weight: 600; color: var(--orange); }

/* Park page facts + full attraction list */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; }
.fact { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.fact b { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.fact span { color: var(--muted); font-size: 14px; }
.attractions h3 { font-size: 20px; margin: 24px 0 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.park-card .go { font-size: 15px; }
@media (max-width: 900px) { .weather-media .float.f3 { left: 0; } }

/* Demo steps (next to the video) */
.demo-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.demo-steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.demo-steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(225, 103, 65, 0.12); color: var(--orange); font-family: var(--serif); font-weight: 700; font-size: 20px; }
.demo-steps b { font-size: 18px; }
.demo-steps span { color: var(--muted); }

/* Feature showcase: tabs + one phone that swaps screens */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.tabs { display: grid; gap: 10px; }
.tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 20px; padding: 18px 20px;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.tab:hover { background: rgba(255, 255, 255, 0.55); }
.tab[aria-selected="true"] { background: var(--card); box-shadow: var(--shadow); border-color: var(--line); }
.tab:focus-visible { outline: 3px solid rgba(225, 103, 65, 0.45); outline-offset: 2px; }
.tab-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--card); box-shadow: 0 2px 8px rgba(55, 50, 47, 0.08); }
.tab[aria-selected="true"] .tab-icon { background: var(--orange); box-shadow: 0 6px 16px rgba(225, 103, 65, 0.35); }
.tab-text b { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 2px 0 4px; }
.tab-text span { display: block; color: var(--muted); font-size: 16px; }
.tab:not([aria-selected="true"]) .tab-text span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; opacity: .8; }
.tab-progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tab[aria-selected="true"] .tab-progress.run { opacity: 1; animation: tabprogress var(--cycle, 6s) linear forwards; }
@keyframes tabprogress { to { transform: scaleX(1); } }

.showcase-media { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.showcase-glow { position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(225, 103, 65, 0.22), transparent); filter: blur(10px); }
.showcase-media .phone { width: 320px; max-width: 74vw; transform: rotate(-1.5deg); }
.showcase-media .phone img { transition: opacity .35s ease, transform .35s ease; }
.showcase-media .phone img.swapping { opacity: 0; transform: scale(.98); }
.showcase-badge { top: 16%; left: -14%; transition: opacity .3s ease; }
.showcase-badge.swapping { opacity: 0; }
.showcase-badge .dot:not(.g) { display: none; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .showcase-media { order: -1; }
  .showcase-media .phone { width: 250px; }
  .showcase-badge { left: 0; top: 10%; }
  .tab { padding: 14px 16px; grid-template-columns: 40px 1fr; gap: 12px; }
  .tab-icon { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; }
  .tab-text b { font-size: 19px; }
}
.features { background: var(--cream-2); }

/* Guide articles */
.article { padding: 48px 0 72px; }
.article .wrap { max-width: 780px; }
.article h1 { font-size: clamp(36px, 5.4vw, 58px); margin: 14px 0 18px; }
.article .byline { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.article h2 { font-size: clamp(27px, 3.4vw, 36px); margin: 52px 0 14px; scroll-margin-top: 80px; }
.article h3 { font-size: 22px; margin: 32px 0 10px; }
.article p, .article li { font-size: 18px; line-height: 1.7; color: #4a4440; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin: 6px 0; }
.article a { color: var(--orange-dark); }
.takeaways { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; margin: 28px 0; border-left: 5px solid var(--orange); }
.takeaways h2 { font-size: 20px; margin: 0 0 10px; font-family: var(--sans); letter-spacing: 0; }
.takeaways ul { margin: 0; }
.toc { background: var(--cream-2); border-radius: 18px; padding: 18px 24px; margin: 24px 0; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.toc li { font-size: 16px; margin: 3px 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.stat-row .fact b { font-size: 32px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 18px; box-shadow: var(--shadow); background: var(--card); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--cream); position: sticky; top: 0; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bucket { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bucket.usually { background: rgba(238, 102, 102, 0.16); color: #b83f3f; }
.bucket.sometimes { background: rgba(250, 198, 102, 0.3); color: #8a5a00; }
.bucket.rarely { background: rgba(76, 175, 80, 0.16); color: #2e7d32; }
.hour-chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 200px; padding: 18px 18px 0; background: var(--card); border-radius: 18px 18px 0 0; box-shadow: var(--shadow); margin-top: 20px; }
.hour-chart .bar { background: var(--orange); border-radius: 6px 6px 0 0; position: relative; min-height: 2px; }
.hour-chart .bar.low { background: #f3b29d; }
.hour-chart .bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hour-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 8px 18px 14px; background: var(--card); border-radius: 0 0 18px 18px; box-shadow: var(--shadow); font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.chart-caption { font-size: 14px; color: var(--muted); margin: 6px 0 24px; }
.method { font-size: 15px !important; color: var(--muted) !important; }
.inline-cta { display: flex; gap: 18px; align-items: center; background: var(--orange); color: #fff; border-radius: 24px; padding: 22px 24px; margin: 36px 0; }
.inline-cta img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.inline-cta p { color: #fff; margin: 0 0 12px; font-size: 17px; }
.inline-cta b { font-size: 20px; display: block; margin-bottom: 4px; }
.inline-cta .btn { background: #fff; color: var(--ink); padding: 10px 16px; font-size: 15px; box-shadow: none; }
.guide-link { display: inline-flex; margin-top: 18px; font-weight: 600; color: var(--orange-dark); text-decoration: none; }
.guide-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; }
  .article p, .article li { font-size: 17px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .hour-chart .bar span { display: none; }
}
@media (max-width: 640px) {
  .data-table, .data-table tbody { display: block; width: 100%; min-width: 0; }
  .data-table thead { display: none; }
  .data-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table tr:last-child { border-bottom: 0; }
  .data-table td { padding: 0; border: 0; }
  .data-table td:nth-child(1) { grid-column: 1 / 3; }
  .data-table td:nth-child(2) { grid-column: 3; text-align: right; }
  .data-table .bucket { white-space: normal; text-align: center; }
  .data-table td.num { font-size: 16px; font-weight: 600; }
  .data-table td.num::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.3; margin-bottom: 2px; }
}
