/* ============================================================
   ALURA — design tokens
   Warm Mediterranean dusk. Coral-rose is the one accent.
   ============================================================ */
:root {
  --paper:    #FCF4F0;   /* warm peach-white ground */
  --paper-2:  #F7E9E1;   /* deeper warm ground for bands */
  --sand:     #F2E3D9;   /* card ground */
  --line:     #E8D3C7;   /* hairlines on warm grounds */
  --ink:      #221019;   /* warm plum near-black, text */
  --ink-soft: #6A4F5B;   /* muted body text */
  --rose:     #E85A82;   /* brand primary */
  --rose-2:   #FF7A9B;   /* brand bright, highlight */
  --rose-ink: #B23A60;   /* rose for small text on light */
  --teal:     #0E4D49;   /* deep sea teal, dark band */
  --teal-2:   #15706A;   /* teal hover */
  --teal-pap: #DCEDE8;   /* pale sea (map water) */

  --shadow-sm: 0 1px 2px rgba(34,16,25,.06), 0 4px 14px rgba(34,16,25,.06);
  --shadow-md: 0 8px 24px rgba(34,16,25,.10), 0 24px 60px rgba(34,16,25,.12);
  --shadow-lg: 0 30px 80px rgba(34,16,25,.22);

  --maxw: 1180px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:  "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

/* ---- accessibility utilities (production) ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: #fff; color: var(--ink);
  padding: .7rem 1.1rem; border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }
/* the .field wraps the input and shows its own focus ring */
.capture input:focus-visible { outline: none; }
/* honeypot: hide from humans, keep in DOM for bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- shared type ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-ink);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--rose);
  display: inline-block;
}

h1, h2, h3 { font-weight: 400; margin: 0; }

.display {
  font-family: var(--serif);
  line-height: .98;
  letter-spacing: -0.012em;
}
.display em { font-style: italic; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}

/* ============================================================
   Buttons + form
   ============================================================ */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: .82rem 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-rose {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232,90,130,.32);
}
.btn-rose:hover { background: var(--rose-2); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232,90,130,.40); }
.btn-rose:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: .7rem 1.2rem;
}
.btn-ghost:hover { border-color: var(--ink); }

/* email capture */
.capture {
  display: flex;
  gap: .5rem;
  max-width: 440px;
  margin-top: 2rem;
}
.capture .field {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-left: 1.1rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.capture .field:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(232,90,130,.14);
}
.capture input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: .85rem .4rem;
  min-width: 0;
}
.capture input:focus { outline: none; }
.capture input::placeholder { color: #b79aa6; }
.capture .btn { padding-inline: 1.35rem; }

.capture-note {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-top: .9rem;
}
.capture.is-done .field { border-color: var(--rose); }
.capture-msg { font-weight: 600; display: flex; align-items: center; gap: .6rem; padding: .4rem 0; }
.capture-msg .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; flex: none;
}

/* on the dark band */
.band-teal .capture .field { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.band-teal .capture .field:focus-within { border-color: var(--rose-2); box-shadow: 0 0 0 4px rgba(255,122,155,.18); }
.band-teal .capture input { color: #fff; }
.band-teal .capture input::placeholder { color: rgba(255,255,255,.5); }
.band-teal .capture-note { color: rgba(255,255,255,.55); }
.band-teal .capture-msg { color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(252,244,240,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand .mark { width: 22px; height: 22px; flex: none; }
.brand .word {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -.01em;
  line-height: 1;
}
.nav-actions { display: flex; align-items: center; gap: 1.4rem; }
.nav-link {
  font-size: .92rem;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-link:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--sec-y); }
.hero::before {
  /* sunset wash, top-right */
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255,122,155,.30), rgba(255,179,122,.14) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  margin-bottom: 1.4rem;
}
.hero h1 .accent { color: var(--rose); font-style: italic; }
.hero .lead { max-width: 42ch; }

/* ---- the map / phone signature ---- */
.signature { position: relative; }
.map-panel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, #EAF4F0 0%, var(--teal-pap) 45%, #CFE6DF 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(14,77,73,.10);
  aspect-ratio: 5 / 5.2;
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* real-coastline land fill (maps generated from Natural Earth data) */
.land { fill: #EFE2D6; stroke: #E2CDBF; stroke-width: 1; stroke-linejoin: round; paint-order: stroke; }

.coord {
  font-family: var(--mono);
  font-size: 10px;
  fill: #5E7E78;
  letter-spacing: .02em;
}
.city-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  fill: var(--teal);
}

.route {
  fill: none;
  stroke: var(--rose);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 2px 4px rgba(232,90,130,.35));
  animation: draw 2.2s cubic-bezier(.65,0,.35,1) .25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.pin-dot { fill: #fff; stroke: var(--rose); stroke-width: 2.6; opacity: 0; animation: pop .5s ease forwards; }
.pin-core { fill: var(--rose); opacity: 0; animation: pop .5s ease forwards; }
.pin-active { fill: var(--rose); }
.pulse { fill: var(--rose); transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { opacity:.5; r: 8; } 70%,100% { opacity:0; r: 26; } }
/* SVG transform-origin handling */
.pin-dot, .pin-core { transform-box: fill-box; transform-origin: center; }

/* phone overlapping the map */
.phone {
  position: absolute;
  right: -4%;
  bottom: -7%;
  width: 53%;
  max-width: 280px;
  z-index: 3;
  transform: rotate(-2deg);
  filter: drop-shadow(var(--shadow-lg));
}
.device {
  position: relative;
  background: #1a1014;
  border-radius: 38px;
  padding: 9px;
  aspect-ratio: 9 / 19.2;
}
.device::after { /* dynamic island */
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 18px;
  background: #1a1014;
  border-radius: 12px;
  z-index: 5;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  font-size: 10px;
}
.sb { display:flex; justify-content:space-between; align-items:center; padding: 9px 16px 4px; font-family: var(--sans); font-weight:700; font-size:9px; color: var(--ink); }
.sb-icons { display:flex; gap:3px; align-items:center; }
.sb-icons span { width:5px; height:5px; border-radius:1px; background: var(--ink); opacity:.85; }

.app-head { padding: 6px 14px 8px; }
.app-eyebrow { font-family: var(--mono); font-size: 7px; letter-spacing:.12em; color: var(--rose-ink); text-transform: uppercase; }
.app-title { font-family: var(--serif); font-size: 17px; line-height:1; margin-top: 3px; color: var(--ink); }
.app-meta { display:flex; align-items:center; justify-content:space-between; margin-top: 6px; }
.app-dates { font-size:9px; color: var(--ink-soft); font-weight:600; }
.avatars { display:flex; }
.avatars span { width:16px; height:16px; border-radius:50%; border:1.5px solid var(--paper); margin-left:-5px; }
.avatars span:nth-child(1){ background:#FF7A9B; margin-left:0; }
.avatars span:nth-child(2){ background:#15706A; }
.avatars span:nth-child(3){ background:#FFB37A; }

.app-map { margin: 4px 12px 0; height: 84px; border-radius: 14px; position: relative; overflow:hidden;
  background: radial-gradient(120% 100% at 70% 0%, #EAF4F0, var(--teal-pap) 60%, #CFE6DF); border:1px solid rgba(14,77,73,.10); }

.app-list { padding: 8px 12px 0; display:flex; flex-direction:column; gap: 5px; flex:1; }
.stop { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:11px; padding:6px 8px; }
.stop.active { border-color: rgba(232,90,130,.45); box-shadow: 0 2px 8px rgba(232,90,130,.10); }
.stop .num { width:18px; height:18px; flex:none; border-radius:6px; background: var(--sand); color: var(--ink-soft); font-weight:700; font-size:8px; display:flex; align-items:center; justify-content:center; }
.stop.active .num { background: var(--rose); color:#fff; }
.stop .info { flex:1; min-width:0; }
.stop .city { font-weight:700; font-size:10px; color: var(--ink); }
.stop .sub { font-size:8px; color: var(--ink-soft); }
.stop .nights { font-family: var(--mono); font-size:8px; color: var(--ink-soft); }

.tabbar { display:flex; justify-content:space-around; align-items:center; padding: 8px 0 12px; border-top:1px solid var(--line); margin-top: 6px; background:#fff; }
.tab { width:16px; height:16px; border-radius:5px; background: var(--sand); }
.tab.on { background: var(--rose); }

/* ============================================================
   LOGO STRIP / sub-hero proof
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.ticker-inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.1rem var(--pad-x);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ticker-inner b { color: var(--rose-ink); font-weight: 700; }

/* ============================================================
   PROBLEM — "it starts in the group chat"
   ============================================================ */
.problem { padding-block: var(--sec-y); }
.problem-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items:center; }
.problem h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 1.2rem; }

.chips { display:flex; flex-wrap:wrap; gap:.7rem; align-items:center; }
.chip {
  background:#fff;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:.62rem .9rem;
  font-size:.86rem;
  font-weight:600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  display:inline-flex; align-items:center; gap:.5rem;
}
.chip .glyph { width:8px; height:8px; border-radius:2px; background: var(--line); }
.chip:nth-child(1) { transform: rotate(-3deg); }
.chip:nth-child(2) { transform: rotate(2deg); }
.chip:nth-child(3) { transform: rotate(-1.5deg); }
.chip:nth-child(4) { transform: rotate(3deg); }
.chip:nth-child(5) { transform: rotate(-2deg); }
.arrow-down { font-family: var(--mono); color: var(--rose-ink); font-size:.9rem; margin: 1.4rem 0 1rem; letter-spacing:.1em; }
.resolve {
  display:inline-flex; align-items:center; gap:.7rem;
  background: var(--rose);
  color:#fff;
  border-radius: 14px;
  padding:.85rem 1.2rem;
  font-weight:700;
  box-shadow: 0 10px 26px rgba(232,90,130,.30);
}
.resolve .dot { width:9px; height:9px; border-radius:50%; background:#fff; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding-block: var(--sec-y); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.features .head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.features h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }

.feature-rows { display:flex; flex-direction:column; gap: clamp(1.5rem, 3vw, 2.2rem); }
.feature {
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items:center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.feature:nth-child(even) .feature-text { order: 2; }
.feature-num { font-family: var(--mono); font-size:.74rem; letter-spacing:.18em; color: var(--rose-ink); text-transform:uppercase; }
.feature h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height:1.05; margin:.7rem 0 .8rem; }
.feature p { color: var(--ink-soft); font-size: 1.02rem; max-width: 40ch; margin:0; }

/* mini UI vignettes */
.vignette {
  background: linear-gradient(160deg, #fff, var(--sand));
  border:1px solid var(--line);
  border-radius:16px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  min-height: 200px;
  display:flex; flex-direction:column;
}
.v-map { background: radial-gradient(120% 100% at 70% 0%, #EAF4F0, var(--teal-pap) 60%, #CFE6DF); position:relative; overflow:hidden; }
.v-route { position:absolute; inset:0; }
.vrow { display:flex; align-items:center; gap:.6rem; background:#fff; border:1px solid var(--line); border-radius:10px; padding:.55rem .7rem; margin-bottom:.5rem; }
.vrow .ic { width:22px; height:22px; border-radius:7px; flex:none; }
.vrow .ln { height:7px; border-radius:4px; background: var(--sand); }
.vrow small { font-size:.7rem; color: var(--ink-soft); font-family: var(--mono); margin-left:auto; }
.v-people { display:flex; flex-direction:column; gap:.6rem; justify-content:center; }
.person { display:flex; align-items:center; gap:.7rem; }
.person .av { width:30px; height:30px; border-radius:50%; flex:none; }
.person .nm { height:8px; width:60%; border-radius:4px; background: var(--sand); }
.person .tag { margin-left:auto; font-family:var(--mono); font-size:.66rem; color: var(--rose-ink); }

/* ============================================================
   EUROPE / multi-city
   ============================================================ */
.europe { padding-block: var(--sec-y); }
.europe-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); align-items:center; }
.europe h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom:1.2rem; }
.europe-map {
  border-radius: 24px;
  overflow:hidden;
  aspect-ratio: 7 / 5;
  background: radial-gradient(120% 100% at 75% 5%, #EAF4F0, var(--teal-pap) 50%, #C9E2DB);
  box-shadow: var(--shadow-md);
  border:1px solid rgba(14,77,73,.10);
  position:relative;
}
.stops-legend { display:flex; flex-wrap:wrap; gap: .5rem .6rem; margin-top: 1.6rem; }
.leg { font-family:var(--mono); font-size:.72rem; color: var(--ink-soft); background:#fff; border:1px solid var(--line); border-radius:999px; padding:.4rem .8rem; display:inline-flex; gap:.45rem; align-items:center; }
.leg .d { width:7px; height:7px; border-radius:50%; background: var(--rose); }

/* ============================================================
   CTA band
   ============================================================ */
.band-teal {
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(255,122,155,.22), transparent 55%),
    var(--teal);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band-teal .wrap { padding-block: clamp(4rem, 9vw, 7rem); position:relative; z-index:1; text-align:center; }
.band-teal .eyebrow { color: var(--rose-2); }
.band-teal .eyebrow::before { background: var(--rose-2); }
.band-teal h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height:1; margin-bottom: 1.1rem; }
.band-teal p { color: rgba(255,255,255,.78); max-width: 48ch; margin-inline:auto; font-size: 1.1rem; }
.band-teal .capture { margin-inline:auto; }
.band-teal .capture-note { text-align:center; }
.band-route { position:absolute; inset:0; opacity:.16; z-index:0; pointer-events:none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ink); color: rgba(255,255,255,.7); }
.foot-inner {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.5rem;
  padding-block: 2.4rem;
}
.foot-brand { display:flex; align-items:center; gap:.6rem; color:#fff; }
.foot-brand .word { font-family: var(--serif); font-size:1.5rem; }
.foot-brand .tag { font-size:.85rem; color: rgba(255,255,255,.55); margin-left:.4rem; }
.foot-links { display:flex; gap:1.6rem; font-size:.88rem; }
.foot-links a:hover { color:#fff; }
.foot-copy { width:100%; border-top:1px solid rgba(255,255,255,.12); padding:1.2rem 0 2rem; font-family:var(--mono); font-size:.7rem; letter-spacing:.05em; color: rgba(255,255,255,.45); }

/* ============================================================
   reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .signature { max-width: 440px; margin-inline:auto; width: 100%; }
  .problem-grid, .features .feature, .europe-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .feature .vignette { order: -1; }
  .nav-link.hide-sm { display:none; }
}
@media (max-width: 560px) {
  .capture { flex-direction: column; }
  .capture .field { border-radius: 14px; }
  .capture .btn { width:100%; border-radius:14px; }
  .phone { width: 58%; right: 0; }
  .foot-inner { flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .route { stroke-dashoffset: 0; }
  .pin-dot, .pin-core { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
