/* ===================== TOKENS ===================== */
:root {
  --dusk:      #2E3C4E;
  --dusk-soft: #47586E;
  --sky-blue:  #3C6E9E;
  --sunset:    #EC8B54;
  --gold:      #F8C96A;
  --coral:     #E45540;
  --coral-dk:  #C2402D;
  --fawn:      #D8A56A;
  --fawn-dk:   #B0773F;
  --pink:      #F2879B;
  --cream:     #FBF4E9;
  --cream-2:   #F4E7D3;
  --ink:       #2A2622;
  --muted:     #7C8794;
  --white:     #ffffff;

  --shadow-sm: 0 2px 10px rgba(46,60,78,.08);
  --shadow-md: 0 14px 40px rgba(46,60,78,.14);
  --shadow-lg: 0 30px 70px rgba(46,60,78,.22);
  --radius:    20px;
  --radius-lg: 30px;

  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

/* ===================== BASE ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--dusk);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, 92vw); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; color: var(--dusk); }
.hl { color: var(--coral); }
em { font-style: normal; color: var(--coral); font-weight: 700; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700;
  border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { padding: .85em 1.6em; font-size: 1.06rem; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(228,85,64,.34); }
.btn-primary:hover { background: #d8492f; box-shadow: 0 12px 28px rgba(228,85,64,.42); }
.btn-ghost { background: transparent; color: var(--dusk); padding-inline: .4em; }
.btn-ghost:hover { color: var(--coral); }
.btn-dark { background: var(--dusk); color: #fff; box-shadow: var(--shadow-md); }
.btn-dark:hover { background: #263241; }
.btn-outline-light { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.24); }
.badge-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.badge-text small { font-size: .62rem; font-weight: 600; letter-spacing: .5px; opacity: .85; }
.badge-text strong { font-size: 1.12rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,244,233,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(46,60,78,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark { border-radius: 0; box-shadow: none; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); line-height: .96; }
.brand-line1 { font-size: .9rem; font-weight: 700; color: var(--coral); }
.brand-line2 { font-size: 1.28rem; font-weight: 800; color: var(--dusk); }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a { font-family: var(--font-head); font-weight: 600; color: var(--dusk-soft); transition: color .15s; }
.site-nav a:hover { color: var(--coral); }
.site-nav a.btn-primary { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--dusk); transition: .25s; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(248,201,106,.4), transparent 60%),
    radial-gradient(760px 520px at 10% 20%, rgba(60,110,158,.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--coral); background: rgba(228,85,64,.1);
  padding: .4em .9em; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow.center { display: block; width: fit-content; margin-inline: auto; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -1px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--dusk-soft); margin: 1.3rem 0 1.9rem; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.3rem; margin-bottom: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  background: #fff; color: var(--dusk); padding: .45em 1em; border-radius: 999px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(46,60,78,.06);
}

.hero-art { position: relative; }
.hero-art-glow {
  position: absolute; inset: 6% 4% auto; height: 78%; z-index: -1;
  background: radial-gradient(closest-side, rgba(248,201,106,.55), transparent 72%);
  filter: blur(8px);
}
.hero-scene {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; z-index: -1;
  background:
    radial-gradient(60px 60px at 50% 100%, transparent 58%, var(--cream) 60%) repeat-x;
  background-size: 120px 60px;
}

/* ===================== TAGLINE STRIP ===================== */
.strip { background: var(--dusk); color: #fff; }
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem 1.2rem; padding: 1rem 0; text-align: center;
  font-family: var(--font-head); font-size: .98rem;
}
.strip strong { color: var(--gold); font-weight: 700; }
.strip .dot { color: rgba(255,255,255,.35); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.5px; }
.section-head .sub { color: var(--dusk-soft); font-size: 1.12rem; margin-top: .7rem; }

/* ===================== FEATURE GRID ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(46,60,78,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--gold), var(--sunset));
  box-shadow: 0 8px 18px rgba(236,139,84,.3);
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--dusk-soft); font-size: .98rem; }
.card strong { color: var(--dusk); }

/* ===================== DIFFERENTIATORS ===================== */
.diff-row {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; margin-bottom: 2.4rem;
}
.diff-row.reverse { grid-template-columns: 1fr 340px; }
.diff-row.reverse .diff-art { order: 2; }
.diff-art {
  height: 230px; border-radius: var(--radius-lg); display: grid; place-items: center;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.diff-emoji { font-size: 5rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); z-index: 1; }
.diff-art-sun     { background: linear-gradient(160deg, #3C6E9E, #EC8B54 55%, #F8C96A); }
.diff-art-offline { background: linear-gradient(160deg, #2E3C4E, #47586E); }
.diff-art-route   { background: linear-gradient(160deg, #E45540, #EC8B54); }
.diff-art-trip    { background: linear-gradient(160deg, #3C6E9E, #6E8B9E); }
.diff-art::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.14); top: -70px; right: -60px;
}
.diff-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: .6rem; }
.diff-copy p { color: var(--dusk-soft); font-size: 1.08rem; max-width: 60ch; }

/* ===================== COMPARISON ===================== */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.compare th, .compare td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid rgba(46,60,78,.08); }
.compare thead th { font-family: var(--font-head); font-size: 1rem; background: var(--cream-2); color: var(--dusk); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody td:first-child { font-weight: 600; }
.buddy-col { background: rgba(248,201,106,.14); }
th.buddy-col { display: table-cell; }
th.buddy-col img { display: inline-block; vertical-align: -5px; margin-right: 6px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.yes { color: #2fa36b; font-weight: 800; font-size: 1.25rem; }
.no  { color: #cf4b3b; font-weight: 800; font-size: 1.15rem; }
.meh { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ===================== MASCOT ===================== */
.section-mascot { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.mascot-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mascot-art { display: grid; place-items: center; }
.mascot-art img {
  border-radius: 36px; box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
.mascot-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: .3rem 0 1rem; }
.mascot-copy p { color: var(--dusk-soft); font-size: 1.1rem; margin-bottom: 1rem; max-width: 56ch; }
.mascot-traits { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.mascot-traits li {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  background: #fff; padding: .55em 1.05em; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ===================== TECH STRIP ===================== */
.section-tech { padding: clamp(2.5rem, 5vw, 3.5rem) 0; background: var(--dusk); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tech-item { text-align: center; color: #fff; padding: .5rem; }
.tech-k { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--gold); }
.tech-v { display: block; color: rgba(255,255,255,.8); font-size: .98rem; margin-top: .2rem; }

/* ===================== CTA ===================== */
.cta-section { background: linear-gradient(150deg, var(--sky-blue) 0%, var(--sunset) 62%, var(--gold) 100%); position: relative; overflow: hidden; }
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.cta-mark { margin: 0 auto 1.3rem; }
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.cta-section p { color: rgba(255,255,255,.92); font-size: 1.15rem; margin: 1rem auto 2rem; max-width: 48ch; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dusk); color: #fff; padding: 3rem 0 2.2rem; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.footer-brand img { border-radius: 0; }
.footer-tag { color: var(--gold); font-family: var(--font-head); font-weight: 600; margin: .6rem 0 .3rem; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .5rem 0 .8rem; }
.footer-links a { color: rgba(255,255,255,.82); font-family: var(--font-head); font-weight: 600; font-size: .92rem; transition: color .15s; }
.footer-links a:hover { color: var(--gold); }
.footer-sep { color: rgba(255,255,255,.35); }
.footer-fine { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-fine a { color: rgba(255,255,255,.85); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.footer-fine a:hover { color: var(--gold); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scene, .mascot-art img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; order: -1; }
  .lede { max-width: none; }
  .diff-row, .diff-row.reverse { grid-template-columns: 1fr; }
  .diff-row.reverse .diff-art { order: -1; }
  .diff-art { height: 180px; }
  .mascot-grid { grid-template-columns: 1fr; text-align: center; }
  .mascot-art img { max-width: 240px; }
  .mascot-copy p { margin-inline: auto; }
  .mascot-traits { justify-content: center; }
}
@media (max-width: 640px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0;
    background: var(--cream); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0;
  }
  .site-nav.open { max-height: 340px; padding: .5rem 0 1.2rem; }
  .site-nav a { padding: .9rem 8vw; width: 100%; }
  .site-nav a.btn-primary { margin: .6rem 8vw 0; width: auto; justify-content: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
