:root {
  --teal: #16343a;
  --teal-2: #1f4a52;
  --teal-3: #2a5f69;
  --accent: #2f8f7e;
  --orange: #e08d46;
  --orange-ink: #a85a1a;
  --cream: #f7f3e9;
  --cream-2: #efe9da;
  --surface: #ffffff;
  --border: #ddd4bf;
  --ink: #16343a;
  --ink-soft: #4d6266;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(22, 52, 58, 0.06), 0 12px 32px rgba(22, 52, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #2a1604; }
.btn-primary:hover { background: #eb9c58; }
.btn-ghost { border-color: rgba(247, 243, 233, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-dark { background: var(--teal); color: var(--cream); }
.btn-dark:hover { background: var(--teal-2); }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; color: var(--cream); }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; color: var(--cream); font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(47, 143, 126, .35), transparent 60%),
    linear-gradient(160deg, var(--teal) 0%, #0f2a30 100%);
  padding: 8.5rem 0 9rem;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7fd1c1; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 850; margin: 0 0 1.25rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.2rem; color: rgba(247, 243, 233, .82); max-width: 34rem; margin: 0 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note { margin-top: 1.5rem; font-size: .92rem; color: rgba(247, 243, 233, .65); display: flex; align-items: center; gap: .55rem; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #5be0b6; box-shadow: 0 0 0 0 rgba(91, 224, 182, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(91, 224, 182, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 224, 182, 0); } }

.waves { position: absolute; left: -4%; width: 108%; max-width: none; bottom: -1px; height: 90px; }
.waves path { fill: var(--cream); }
.waves .w1 { opacity: .35; animation: drift 14s ease-in-out infinite alternate; }
.waves .w2 { opacity: .6; animation: drift 10s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }

/* ---------- phone mock ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px;
  background: #0b1d21; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(2.5deg);
}
.screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; color: var(--ink); }
.screen-top { background: var(--teal); color: var(--cream); padding: 1.7rem 1rem .7rem; font-weight: 800; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; }
.screen-top span { font-weight: 400; letter-spacing: 2px; opacity: .8; }
.screen-map { position: relative; flex: 1; min-height: 0; }
.screen-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--surface); border-radius: 16px;
  padding: .8rem .9rem; box-shadow: 0 8px 24px rgba(22, 52, 58, .25); font-size: .78rem; line-height: 1.35;
}
.sheet strong { display: block; font-size: .9rem; margin-bottom: .1rem; }
.sheet .muted { color: var(--ink-soft); }
.chips { display: flex; gap: .35rem; margin-top: .5rem; flex-wrap: wrap; }
.chip { font-size: .68rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: rgba(224, 141, 70, .18); color: var(--orange-ink); }
.chip.teal { background: rgba(47, 143, 126, .16); color: #1d6b5d; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--border); font-size: .62rem; text-align: center; color: #8a9a9d; padding: .5rem 0 .7rem; }
.tabs .on { color: var(--teal); font-weight: 800; }
.tabs .on::before { background: var(--orange); }
.tabs span::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 3px; border-radius: 5px; background: currentColor; opacity: .25; }
.tabs .on::before { opacity: 1; }

/* ---------- sections ---------- */
section { padding: 5.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 850; margin: 0 0 .9rem; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.1rem; }
.kicker { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .7rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; background: var(--cream-2); }
.icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.problem, .features, .final { background: var(--cream); }
.roadmap { background: var(--cream-2); }
.problem .quote { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 850; letter-spacing: -.03em; line-height: 1.12; max-width: 44rem; margin: 0 0 2.5rem; }
.problem .quote span { color: var(--orange-ink); }

.tiers { background: var(--cream-2); }
.tier { position: relative; padding-top: 2.2rem; }
.tier::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 44px; height: 7px; border-radius: 0 0 6px 6px; background: var(--c); }
.tier .tag { display: inline-block; margin-top: 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .04em; padding: .2rem .65rem; border-radius: 999px; background: var(--cream-2); color: var(--ink-soft); }
.tier .tag.live { background: rgba(47, 143, 126, .16); color: #1d6b5d; }

.roadmap .card { border-top: 6px solid var(--c); }
.status { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; color: var(--c); }
.roadmap ul { margin: .9rem 0 0; padding-left: 1.15rem; color: var(--ink-soft); }
.roadmap li { margin-bottom: .35rem; }

.venues { background: var(--teal); color: var(--cream); position: relative; overflow: hidden; }
.venues::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 143, 126, .35), transparent 65%); }
.venues .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.venues h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 850; margin: 0 0 1rem; }
.venues p { color: rgba(247, 243, 233, .8); font-size: 1.1rem; margin: 0 0 1.75rem; max-width: 34rem; }
.venue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.venue-list li { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 1rem 1.1rem; font-weight: 600; }
.venue-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; stroke: #7fd1c1; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.final { text-align: center; }
.final h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.035em; line-height: 1.08; font-weight: 850; margin: 0 auto 1rem; max-width: 34rem; }
.final p { color: var(--ink-soft); font-size: 1.15rem; margin: 0 auto 2rem; max-width: 32rem; }

footer { background: #0f2a30; color: rgba(247, 243, 233, .7); padding: 2.5rem 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: var(--cream); }
footer small { display: block; max-width: 46rem; line-height: 1.5; }

/* ---------- playful bits ---------- */
.bob { animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes bob { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-2px); } }
.logo:hover .bob { animation-duration: 1s; }

.rotator { display: inline-block; color: var(--orange); transition: opacity .3s ease, transform .3s ease; }
.rotator.out { opacity: 0; transform: translateY(.35em); }

.pin { cursor: pointer; transform-box: fill-box; }
.pin circle { transition: r .15s ease, stroke-width .15s ease; }
.pin:hover circle, .pin.active circle { stroke: #16343a; stroke-width: 3.5; }
.pin.active { animation: pinpop .5s ease; }
@keyframes pinpop { 50% { transform: translateY(-5px); } }
.pin:focus-visible { outline: none; }
.pin:focus-visible circle { stroke: #16343a; stroke-width: 4; }

.sail { position: absolute; left: 0; bottom: 34px; width: 90px; z-index: 3; cursor: pointer; animation: sail 46s linear infinite; }
.sail svg { animation: rock 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes sail { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes rock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
.toot {
  position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 6px) scale(.8); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--teal); font-weight: 800; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px;
  white-space: nowrap; transition: opacity .15s, transform .15s;
}
.toot.show { opacity: 1; transform: translate(-50%, -4px) scale(1); }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 2px 4px rgba(22, 52, 58, .06), 0 18px 40px rgba(22, 52, 58, .13); }
.js .reveal.in.card:hover { transform: translateY(-4px) rotate(-.4deg); }

/* stats */
.stats { padding: 3.5rem 0 1rem; }
.stat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-row b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 850; letter-spacing: -.04em; color: var(--teal); line-height: 1; }
.stat-row span { display: block; margin-top: .4rem; color: var(--ink-soft); font-size: .95rem; }
.fine { text-align: center; color: var(--ink-soft); font-size: .9rem; margin: 1.75rem 0 0; opacity: .8; }

/* cruise widget */
.try { background: linear-gradient(180deg, var(--cream), #fbf9f2 60%, var(--cream)); }
.cruise { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 2rem 2rem 1.75rem; box-shadow: var(--shadow); }
.river { position: relative; height: 130px; margin: .5rem 1.6rem 1.25rem; }
.riverbed { position: absolute; left: -1.6rem; right: -1.6rem; top: 50%; height: 26px; transform: translateY(-50%); border-radius: 99px; background: linear-gradient(180deg, #b7e0e6, #8cc7d1); box-shadow: inset 0 2px 4px rgba(22, 52, 58, .15); }
.stops { position: absolute; inset: 0; }
.stop { position: absolute; top: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.stop i { width: 16px; height: 16px; border-radius: 50%; background: #9aa5a8; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); margin-top: -8px; transition: background .25s, transform .25s; }
.stop.lock i { background: var(--orange); width: 20px; height: 20px; margin-top: -10px; }
.stop.sleep i { background: var(--accent); }
.stop.eat i { background: var(--teal); }
.stop.passed i { transform: scale(1.35); }
.stop em { position: absolute; top: 24px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; opacity: 0; transition: opacity .25s; background: var(--surface); padding: 0 .3rem; border-radius: 6px; }
.stop.edge-l em { left: -.6rem; }
.stop.edge-r em { right: -.6rem; }
.stop.passed em, .stop:hover em { opacity: 1; }
.stop:nth-child(odd) em { top: -34px; }
.boat { position: absolute; top: 50%; width: 46px; transform: translate(-50%, -78%); transition: left .25s ease; filter: drop-shadow(0 4px 4px rgba(22, 52, 58, .25)); animation: rock 2.4s ease-in-out infinite; }
.slider { display: block; margin-top: 1.25rem; font-weight: 700; }
.slider span { display: block; margin-bottom: .6rem; color: var(--ink-soft); font-weight: 600; }
.slider b { color: var(--teal); font-size: 1.15rem; }
input[type="range"] { width: 100%; height: 34px; background: transparent; appearance: none; -webkit-appearance: none; cursor: grab; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--orange)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--orange)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--teal); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(22, 52, 58, .4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(22, 52, 58, .4); }
input[type="range"]:active { cursor: grabbing; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; padding-top: 1.25rem; border-top: 1px dashed var(--border); align-items: center; }
.read-main { display: flex; align-items: center; gap: 1rem; }
.read-main span { font-size: 2.4rem; font-weight: 850; letter-spacing: -.03em; color: var(--teal); font-variant-numeric: tabular-nums; }
.read-main p, .read-side p { margin: 0; }
.read-main p { font-weight: 700; }
.read-side p { color: var(--ink-soft); font-size: .95rem; }
.read-side p:empty { display: none; }
.joke { margin: 1.1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: rgba(224, 141, 70, .14); color: var(--orange-ink); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 7rem 0 7.5rem; }
  .hero-grid, .venues .wrap { grid-template-columns: 1fr; }
  .phone { transform: none; width: min(280px, 82%); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 4rem 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
  .readout { grid-template-columns: 1fr; gap: .75rem; }
  .cruise { padding: 1.25rem 1rem 1.25rem; }
  .river { margin-inline: 1.1rem; height: 150px; }
  .stop em { font-size: .66rem; }
  .stop.passed em, .stop:hover em { opacity: 0; }
  .stop.last em, .stop.nxt em { opacity: 1; }
  .stop.last em { top: -34px; }
  .stop.nxt em { top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves path, .dot-live, .bob, .sail, .sail svg, .boat, .pin.active, .rotator { animation: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
