/* =========================================================
   GondolaGo — marketing site
   Design tokens mirror lib/theme.dart (AquaColorsLight / Dark),
   AquaButton, AquaticCard and the app's radii.
   ========================================================= */

:root {
  /* surfaces — soft sky wash matching splash #A3CEF5 */
  --surface: #F3F8FD;
  --pearl: #FBFEFF;
  --surface-2: #E4EFF8;
  --pale: #E8F3FC;
  /* brand */
  --primary: #A3CEF5;
  --brand-dark: #263471;
  --seafoam: #C5DFF5;
  --tertiary: #263471;
  --tertiary-text: #263471;
  --coral: #FF8A75;
  --brand-flat: #A3CEF5;
  /* text */
  --ink: #0F1720;
  --ink-2: #3A4A55;
  --ink-3: #6B8A99;
  --on-primary: #263471;
  /* lines + tints */
  --line: rgba(38, 52, 113, 0.12);
  --line-soft: rgba(38, 52, 113, 0.08);
  --tint-primary: rgba(163, 206, 245, 0.16);
  --tint-primary-2: rgba(163, 206, 245, 0.28);
  --tint-tertiary: rgba(38, 52, 113, 0.10);
  /* effects — soft light sky gradient (navy reserved for accents/text) */
  --grad-primary: linear-gradient(90deg, #C5DFF5, #A3CEF5);
  --grad-header: linear-gradient(135deg, #C5DFF5, #A3CEF5);
  --shadow-btn: 0 4px 12px rgba(163, 206, 245, 0.35);
  --shadow-btn-hover: 0 6px 16px rgba(163, 206, 245, 0.45);
  --shadow-soft: 0 4px 12px rgba(38, 52, 113, 0.08);
  /* shape, type, motion */
  --r-card: 16px;
  --r-ctl: 24px;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --container: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

/* Dark: the app's AquaColorsDark, with surfaceVariant as the page background */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1A244F; --pearl: #263471; --surface-2: #141C3D; --pale: #1A244F;
    --primary: #A3CEF5; --brand-dark: #A3CEF5; --seafoam: #7BA8D9; --tertiary: #A3CEF5; --tertiary-text: #A3CEF5;
    --ink: #E8F3FC; --ink-2: #B8C9E0; --ink-3: #6B8AB0; --on-primary: #263471;
    --line: rgba(232, 243, 252, 0.14); --line-soft: rgba(232, 243, 252, 0.08);
    --tint-primary: rgba(163, 206, 245, 0.12); --tint-primary-2: rgba(163, 206, 245, 0.24); --tint-tertiary: rgba(163, 206, 245, 0.16);
    --grad-primary: linear-gradient(90deg, #A3CEF5, #7BA8D9);
    --grad-header: linear-gradient(135deg, #263471, #1A244F);
    --shadow-btn: 0 4px 12px rgba(163, 206, 245, 0.25); --shadow-btn-hover: 0 6px 16px rgba(163, 206, 245, 0.32);
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.25);
    --brand-flat: #263471;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #1A244F; --pearl: #263471; --surface-2: #141C3D; --pale: #1A244F;
  --primary: #A3CEF5; --brand-dark: #A3CEF5; --seafoam: #7BA8D9; --tertiary: #A3CEF5; --tertiary-text: #A3CEF5;
  --ink: #E8F3FC; --ink-2: #B8C9E0; --ink-3: #6B8AB0; --on-primary: #263471;
  --line: rgba(232, 243, 252, 0.14); --line-soft: rgba(232, 243, 252, 0.08);
  --tint-primary: rgba(163, 206, 245, 0.12); --tint-primary-2: rgba(163, 206, 245, 0.24); --tint-tertiary: rgba(163, 206, 245, 0.16);
  --grad-primary: linear-gradient(90deg, #A3CEF5, #7BA8D9);
  --grad-header: linear-gradient(135deg, #263471, #1A244F);
  --shadow-btn: 0 4px 12px rgba(163, 206, 245, 0.25); --shadow-btn-hover: 0 6px 16px rgba(163, 206, 245, 0.32);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.25);
  --brand-flat: #263471;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; font-weight: 800; color: var(--tertiary-text); }
strong, b { font-weight: 700; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- type ---------- */
.display { font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-weight: 700; font-size: clamp(1.85rem, 3.8vw, 2.75rem); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 38ch; }
.sub { color: var(--ink-2); max-width: 46ch; }
.label { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-3); }
.star { color: #FFC107; }

/* ---------- components ---------- */
/* AquaticCard */
.card { background: var(--pearl); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.card--xl { border-radius: var(--r-ctl); }
.card--selected { background: var(--tint-primary); border: 2px solid var(--primary); padding: 19px; }

/* AquaButton */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-ctl);
  font-weight: 700; font-size: .95rem; line-height: 1; border: 0; cursor: pointer;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .25s, color .25s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .85rem; }
.btn--primary { background: var(--grad-primary); color: var(--on-primary); box-shadow: var(--shadow-btn); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn--dark { background: var(--brand-dark); color: #fff; }
.btn--dark:hover { transform: translateY(-1px); }
.btn--white { background: #fff; color: #263471; box-shadow: 0 4px 12px rgba(38, 52, 113, 0.12); }
.btn--white:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--tint-primary); }
.btn--go { width: 100%; font-size: 1.05rem; }
.btn--go::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%);
  transform: translateX(-130%); animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0%, 55% { transform: translateX(-130%); } 85%, 100% { transform: translateX(130%); } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* chips */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--pale); color: var(--ink-2); font-size: .78rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.pill--on { background: var(--primary); color: var(--on-primary); }
.pills--lg .pill { padding: 10px 14px; font-size: .88rem; }

/* tinted icon circle */
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--tint-primary); color: var(--tertiary-text); display: grid; place-items: center; flex: none; font-weight: 700; font-style: normal; font-size: 1rem; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--coral { background: rgba(255, 138, 117, .14); color: #d4583f; }

/* input */
.input { display: flex; align-items: center; gap: 10px; background: var(--pale); border-radius: var(--r-ctl); padding: 13px 18px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.input--icon img { width: 16px; height: auto; }

/* bottom sheet */
.sheet { background: var(--pearl); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-ctl) var(--r-ctl) 0 0; padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.sheet::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 6px; }
.sheet__title { font-weight: 700; font-size: 1.05rem; }
.ride-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-card); background: var(--tint-primary); border: 2px solid var(--primary); font-size: .85rem; }
.ride-row img { width: 36px; height: 36px; object-fit: contain; }
.ride-row strong { display: block; font-size: .82rem; white-space: nowrap; }
.ride-row span { color: var(--ink-2); font-size: .72rem; white-space: nowrap; }
.ride-row b { font-size: .95rem; white-space: nowrap; }

/* avatar */
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; display: grid; place-items: center; flex: none; }

/* radar pulse */
.pulse { position: relative; display: inline-block; width: 12px; height: 12px; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--tertiary); }
.pulse::before { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid var(--tertiary); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

/* ripple loader */
.ripple { position: relative; width: 320px; height: 320px; }
.ripple i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: ripple 3s ease-out infinite; }
.ripple i:nth-child(2) { animation-delay: 1s; }
.ripple i:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .35; } 100% { transform: scale(1); opacity: 0; } }

/* header gradient block */
.hdr { position: relative; overflow: hidden; background: var(--grad-header); border-radius: 0 0 var(--r-ctl) var(--r-ctl); padding: 22px 22px 24px; color: var(--on-primary); }
:root[data-theme="dark"] .hdr { color: #E8F3FC; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hdr { color: #E8F3FC; }
}
.hdr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .25; }
.hdr__row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* toggle */
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; }
.toggle i { width: 44px; height: 26px; border-radius: 999px; background: var(--ink-3); position: relative; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle.is-on i { background: var(--tertiary); }
.toggle.is-on i::after { transform: translateX(18px); }

/* wave divider: the app's two-wave meter, flattened */
.wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; }
.wave__back { fill: var(--primary); opacity: .18; }
.wave__front { fill: var(--tertiary); opacity: .12; }

/* selection rows (ride type step) */
.opt { display: grid; grid-template-columns: 16px 1fr; column-gap: 10px; align-items: start; padding: 10px 12px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--pearl); color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink-3); margin-top: 3px; }
.opt small { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 500; }
.opt--on { background: var(--tint-primary); border: 2px solid var(--primary); color: var(--ink); padding: 9px 11px; }
.opt--on i { border-color: var(--tertiary); background: radial-gradient(circle, var(--tertiary) 45%, transparent 50%); }
.opt--row { display: flex; justify-content: space-between; align-items: center; }
.opt--row b { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: .7rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--surface) 92%, transparent); border-color: var(--line); }
.nav__inner { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand__mark { width: 16px; height: auto; margin-right: 2px; }
.nav__links { display: flex; gap: 26px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pale); color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; position: relative; transition: background .2s; }
.round-btn:hover { background: var(--tint-primary-2); }
.round-btn svg { width: 18px; height: 18px; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
.nav__burger { display: none; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav__mobile a { padding: 12px 0; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { margin-top: 14px; border: 0; }
.nav__mobile.is-open { display: flex; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 80px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }

.hero__visual { position: relative; height: 700px; }
.phone {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 290px; height: 600px; border-radius: 44px; padding: 10px;
  background: var(--ink); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(15, 23, 32, .06);
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: var(--brand-flat); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

.hero__eta { position: absolute; right: -8px; top: 96px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: .85rem; z-index: 3; box-shadow: var(--shadow-soft); }
.hero__eta-name { font-weight: 700; }
.hero__eta-sub { color: var(--ink-2); font-size: .78rem; }
.hero__eta-sub strong { color: var(--tertiary-text); }
.pulse--dot { margin-left: 8px; margin-right: 10px; }

.hero__sheet { position: absolute; right: -20px; bottom: -50px; width: 290px; z-index: 3; box-shadow: 0 12px 40px rgba(38,52,113,.18), 0 2px 8px rgba(38,52,113,.08), 0 0 0 1px rgba(163,206,245,.3); border-radius: var(--r-card) !important; border-bottom: 1px solid var(--line) !important; animation: floatcard 5s ease-in-out infinite; }
.hero__sheet .input { font-size: .85rem; padding: 11px 14px; }
.hero__sheet .btn--go { min-height: 44px; }
@keyframes floatcard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__gondola { position: absolute; width: 200px; left: -80px; bottom: 50px; z-index: 4; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section--band { background: var(--surface-2); padding-bottom: 0; }
.section--band .container { padding-bottom: 100px; }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.section__head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: end; gap: 40px; }
.section__head--split .sub { padding-bottom: 4px; }
.section__head--split > div { display: flex; flex-direction: column; gap: 14px; }

/* ---------- boats ---------- */
.boats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.boat { display: flex; flex-direction: column; gap: 10px; transition: background .25s, border-color .25s; }
.boat:hover { background: var(--tint-primary); border-color: var(--primary); }
.boat__img { height: 200px; display: grid; place-items: center; padding: 20px; border-radius: var(--r-card); background: var(--tint-primary-2); margin-bottom: 6px; }
.boat__img img { max-height: 72%; max-width: 72%; width: auto; transition: transform .5s var(--ease); }
.boat:hover .boat__img img { transform: translateY(-4px); }
.boat p { color: var(--ink-2); font-size: .95rem; }
.boat .pills { margin-top: 6px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .icon { margin-bottom: 6px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-2); font-size: .92rem; flex: 1; }
.mock { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mock--map { position: relative; height: 128px; border-radius: var(--r-card); background:
  repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 22px),
  repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 22px), var(--pale); overflow: hidden; }
.mock__pulse { position: absolute; left: 50%; top: 54px; transform: translateX(-50%); }
.mock__pulse::after { background: transparent; }
.mock__pin { position: absolute; left: 50%; top: 10px; width: 16px; transform: translateX(-50%); }
.mock__label { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: var(--pearl); border: 1px solid var(--line); }
.mock--details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock--details .input { padding: 10px 8px; justify-content: center; font-size: .8rem; }
.mock__total { display: flex; justify-content: space-between; padding: 2px 4px; color: var(--ink-2); font-size: .85rem; }
.mock__total strong { color: var(--ink); }
.mock--pay .btn--go { min-height: 40px; font-size: .95rem; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { display: flex; flex-direction: column; gap: 18px; }
.feat--wide { grid-column: span 2; }
.feat__head { display: flex; gap: 14px; align-items: flex-start; }
.feat__head h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feat__head p { color: var(--ink-2); font-size: .92rem; }

.trackmap { position: relative; flex: 1; min-height: 190px; border-radius: var(--r-card); overflow: hidden; background: var(--pale); }
.trackmap svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.trackmap__canal { fill: none; stroke: var(--primary); stroke-opacity: .55; stroke-width: 26; stroke-linecap: round; }
.trackmap__route { fill: none; stroke: var(--tertiary); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.trackmap__boat { fill: var(--tertiary); }
.trackmap__halo { fill: var(--primary) !important; opacity: .3; animation: halo 2s ease-out infinite; transform-origin: center; }
@keyframes halo { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.trackmap__boat { offset-path: path("M60 132 C 120 120, 150 165, 210 140 S 300 100, 350 108"); animation: sail 9s ease-in-out infinite alternate; }
@keyframes sail { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.trackmap__dock { filter: drop-shadow(0 2px 4px rgba(38,52,113,.18)); }
.trackmap__eta { position: absolute; left: 14px; bottom: 14px; background: var(--pearl); border: 1px solid var(--line); }
.trackmap__eta strong { color: var(--tertiary-text); }

.chat { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.chat__b { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.4; }
.chat__b--them { background: var(--surface-2); border-bottom-left-radius: 6px; align-self: flex-start; }
.chat__b--me { background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 6px; align-self: flex-end; }

.feat .pills { margin-top: auto; }

/* Gondola illustration in "Make it yours" card */
.feat__gondola { display: flex; justify-content: center; align-items: center; flex: 1; min-height: 0; margin: 8px -4px; }
.feat__gondola img { width: 100%; max-width: 280px; height: auto; filter: drop-shadow(0 6px 16px rgba(38,52,113,.18)); animation: bob 6s ease-in-out infinite; pointer-events: none; }

.ticket { margin-top: auto; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 16px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.ticket__top { display: flex; justify-content: space-between; align-items: flex-start; }
.ticket__brand { font-weight: 700; color: var(--tertiary-text); }
.ticket__sub { font-size: .75rem; color: var(--ink-2); }
.ticket__qty { font-weight: 800; font-size: 1.1rem; }
.ticket__route { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-weight: 700; font-size: .88rem; }
.ticket__route small { display: block; font-size: .62rem; letter-spacing: 1.2px; color: var(--ink-3); font-weight: 600; }
.ticket__perf { border-top: 2px dashed var(--line); margin: 2px -16px; position: relative; }
.ticket__perf::before, .ticket__perf::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--pearl); border: 1px solid var(--line); }
.ticket__perf::before { left: -11px; } .ticket__perf::after { right: -11px; }
.ticket__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; font-size: .82rem; font-weight: 600; text-align: center; }
.ticket__bars { display: flex; justify-content: center; gap: 3px; height: 30px; }
.ticket__bars i { width: 3px; background: var(--ink); }
.ticket__bars i:nth-child(3n) { width: 5px; } .ticket__bars i:nth-child(4n) { width: 2px; } .ticket__bars i:nth-child(7n) { width: 6px; }

.paycard { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.paycard__meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); padding: 0 4px; }

.sos { margin-top: auto; align-self: center; width: 88px; height: 88px; border-radius: 50%; background: var(--coral); color: #2a0d07; display: grid; place-items: center; font-weight: 800; letter-spacing: .06em; box-shadow: 0 0 0 0 rgba(255, 138, 117, .5); animation: sos 2.4s infinite; }
@keyframes sos { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 117, .5); } 70% { box-shadow: 0 0 0 20px rgba(255, 138, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 117, 0); } }

/* ---------- photo band ---------- */
.band { padding: 0 0 60px; }
.band__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: min(1400px, 100% - var(--gutter) * 2); margin-inline: auto; }
.band figure { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.band figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.band figure:hover img { transform: scale(1.03); }
.band figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--pearl); color: var(--ink); }

/* ---------- gondoliers ---------- */
.gond { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gond__copy { display: flex; flex-direction: column; gap: 20px; }
.gond__copy .btn { align-self: flex-start; }
.featlist { display: flex; flex-direction: column; gap: 14px; margin: 6px 0; }
.featlist li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.featlist strong { display: block; }
.featlist span { color: var(--ink-2); font-size: .92rem; }

.gond__visual { position: relative; }

/* ── Taxi Driver yellow theme on the dashboard card ── */
.gond__visual[data-role="taxi"] {
  --primary:         #F5C518;
  --tint-primary:    rgba(245, 197, 24, 0.13);
  --tint-primary-2:  rgba(245, 197, 24, 0.25);
  --tint-tertiary:   rgba(194, 142, 0, 0.12);
  --tertiary:        #C28E00;
  --tertiary-text:   #C28E00;
  --on-primary:      #1A1200;
}

/* ── Yellow tagline em when taxi is active ── */
.gond[data-role="taxi"] em#gond-tagline { color: #F5C518; }

/* ── Taxi chip turns yellow when active ── */
.role-tab--on[data-role="taxi"] { background: #F5C518; color: #1A1200; border-color: #F5C518; box-shadow: 0 2px 8px rgba(245,197,24,.35); }
[data-theme="dark"] .role-tab--on[data-role="taxi"] { background: #F5C518; color: #1A1200; border-color: #F5C518; }
.dash { padding: 0; overflow: hidden; }
.dash__hi { font-weight: 800; font-size: 1.15rem; }
.dash__sub { font-size: .85rem; font-weight: 600; opacity: .8; }
.dash__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.earn { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 14px 14px 10px; }
.earn__row { display: flex; justify-content: space-between; align-items: baseline; }
.earn__row strong { font-size: 1.25rem; font-weight: 800; }
.spark { width: 100%; height: 70px; margin-top: 6px; }
.spark__fill { fill: var(--tint-tertiary); }
.spark__line { fill: none; stroke: var(--tertiary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s var(--ease) forwards .3s; }
.spark circle { fill: var(--tertiary); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.earn__days { display: flex; justify-content: space-between; font-size: .66rem; color: var(--ink-3); margin-top: 4px; padding: 0 2px; font-weight: 600; }
.req { display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.req__top { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--ink-2); font-weight: 600; }
.req__title { font-weight: 700; }
.req__where { font-size: .85rem; color: var(--ink-2); }
.req__actions { display: flex; gap: 8px; margin-top: 8px; }
.check { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.check li { display: flex; align-items: center; gap: 8px; }
.check li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--ink-3); flex: none; }
.check li.is-done { color: var(--ink); }
.check li.is-done::before { background: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6' fill='none' stroke='%230F1720' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gond__props { position: absolute; right: -28px; top: -48px; width: 190px; border-radius: var(--r-ctl); border: 4px solid var(--pearl); box-shadow: var(--shadow-soft); pointer-events: none; animation: bob 7s ease-in-out infinite; }

/* Role toggle chips */
.role-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.role-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  border: 2px solid var(--brand-dark); color: var(--brand-dark);
  background: transparent; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.role-tab:hover { background: rgba(38,52,113,.08); }
.role-tab--on { background: var(--brand-dark); color: #fff; box-shadow: 0 2px 8px rgba(38,52,113,.25); }
[data-theme="dark"] .role-tab { border-color: var(--primary); color: var(--primary); }
[data-theme="dark"] .role-tab:hover { background: rgba(163,206,245,.12); }
[data-theme="dark"] .role-tab--on { background: var(--primary); color: var(--brand-dark); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 14px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__list details { padding: 0; transition: background .25s, border-color .25s; }
.faq__list details[open] { background: var(--tint-primary); border-color: var(--primary); }
.faq__list summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .icon { width: 32px; height: 32px; font-size: 1.2rem; font-weight: 600; transition: transform .3s var(--ease); }
.faq__list details[open] summary .icon { transform: rotate(45deg); }
.faq__list p { color: var(--ink-2); padding: 0 18px 18px; max-width: 60ch; font-size: .95rem; }

/* ---------- cta: matches splash screen (sky #A3CEF5 + white wordmark) ---------- */
.cta { position: relative; overflow: hidden; background: var(--brand-flat); color: #fff; padding: 200px 0 220px; text-align: center; }
.cta .display { color: #fff; }
.cta .display--logo { font-weight: 700; letter-spacing: 0.01em; }
.cta .lede { color: rgba(255, 255, 255, 0.88); margin-inline: auto; max-width: 52ch; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__inner .cta-row { justify-content: center; }
.cta__note { font-size: .8rem; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.cta .ripple i { border-color: rgba(255, 255, 255, 0.55); }
/* poles — centered symmetrically, lower half hidden by section clip */
.cta__pole { position: absolute; bottom: -110px; width: 90px; z-index: 1; filter: drop-shadow(0 4px 8px rgba(38,52,113,.25)); }
.cta__pole--l { left: calc(50% - 280px); transform: rotate(-4deg); }
.cta__pole--r { right: calc(50% - 280px); transform: rotate(4deg); }
/* tourist props — left, solid */
.cta__props { position: absolute; left: 4%; top: 50%; transform: translateY(-50%); width: 320px; opacity: 1; z-index: 0; }
/* gondolier props — right, solid */
.cta__props--gondolier { left: auto; right: 4%; }
/* clip ripple to the section area */
.cta__ripple { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; overflow: hidden; }

/* ---------- footer ---------- */
.footer { padding: 56px 0 24px; background: var(--surface-2); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--ink-2); margin-top: 14px; max-width: 30ch; font-size: .92rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .label { margin-bottom: 4px; }
.footer__col a { color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .82rem; font-weight: 600; }

/* ---------- reveal: fade + slide like AquaticTransitions ---------- */
.js .reveal { opacity: 0; transform: translateY(5%); transition: opacity .5s var(--ease-out-quart), transform .5s var(--ease-out-quart); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { height: 600px; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__gondola { width: 260px; left: -40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gond, .faq { grid-template-columns: 1fr; gap: 36px; }
  .gond__props { right: -8px; top: -40px; width: 150px; }
  .band__track { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__props { display: none; }
  .cta__props--gondolier { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__right .btn { display: none; }
  .boats { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .section--band { padding-bottom: 0; }
  .section--band .container { padding-bottom: 76px; }
  .section__head--split { flex-direction: column; align-items: start; gap: 14px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 110px; }
  .hero__visual { height: 560px; }
  .phone { width: 240px; height: 500px; border-radius: 38px; padding: 9px; top: 0; }
  .phone__screen { border-radius: 30px; }
  .hero__gondola { width: 200px; left: -24px; bottom: 40px; }
  .hero__eta { right: 0; top: 70px; padding: 10px 12px; }
  .hero__sheet { right: 0; width: 220px; }
  .hero__sheet .input { font-size: .78rem; white-space: nowrap; overflow: hidden; }
  .hero__sheet .ride-row { grid-template-columns: 40px 1fr; }
  .hero__sheet .ride-row img { width: 40px; }
  .hero__sheet .ride-row b { display: none; }
  .hdr__row { flex-wrap: wrap; }
  .dash__hi { font-size: 1.05rem; }
  .check { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feat--wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .band__track { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta { padding: 100px 0; }
  .cta__pole { display: none; }
  .wave { height: 28px; }
  .gond__props { display: none; }
  .btn { padding: 0 18px; }
}

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal { padding: 140px 0 100px; }
.legal__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__meta .pill { white-space: normal; line-height: 1.35; }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.legal__toc .label { margin-bottom: 8px; }
.legal__toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.legal__toc a:hover { background: var(--tint-primary); color: var(--ink); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-weight: 700; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; margin: 44px 0 14px; scroll-margin-top: 96px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h2 span { color: var(--tertiary-text); margin-right: 8px; }
.legal__body h3 { font-size: 1.05rem; margin: 26px 0 8px; scroll-margin-top: 96px; }
.legal__body p { color: var(--ink-2); margin: 0 0 14px; }
.legal__body p strong { color: var(--ink); }
.legal__body ul, .legal__body ol { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-bottom: 8px; }
.legal__body li::marker { color: var(--tertiary-text); font-weight: 700; }
.legal__body a { color: var(--tertiary-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__summary { margin-bottom: 36px; }
.legal__summary ul { margin-bottom: 0; }
.todo { background: rgba(255, 193, 7, .22); color: var(--ink); border-radius: 6px; padding: 0 5px; font-weight: 600; }
.legal__back { margin-top: 48px; }
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .legal { padding: 110px 0 70px; }
  .legal__grid { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static; }
}


/* note under the store buttons */
.store-note { font-size: .8rem; font-weight: 600; color: var(--ink-3); margin-top: -8px; }
.cta .store-note { color: inherit; opacity: .75; }
