/* Layout: one centred column (max 1080px); the hero splits copy | phone mock and stacks below 860px.
   One deliberate dark look taken from the app itself: warm beer-brown ground, golden accent, rounded display type. */
:root {
  --bg: #170f07;
  --bg-warm: #2b1b0a;
  --surface: #22160a;
  --surface-raised: #2e1f0f;
  --line: rgba(255, 226, 160, 0.13);
  --fg: #fbf3e4;
  --muted: #cfbd9d;
  --accent: #ffc738;
  --accent-deep: #f2a91e;
  --on-accent: #1f1406;
  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 5vw, 2.6rem);
  --step-4: clamp(2.6rem, 8vw, 4.4rem);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 85% -10%, rgba(255, 199, 56, 0.16), transparent 60%),
    radial-gradient(90% 60% at -10% 10%, rgba(242, 169, 30, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 42rem);
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ffd76a; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 199, 56, 0.35);
}
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step--1);
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.06); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(242, 169, 30, 0.25);
}
.button:hover { color: var(--on-accent); filter: brightness(1.05); }
.button svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 0; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  padding-block: 40px 72px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.lead { margin: 0; font-size: var(--step-1); color: var(--muted); max-width: 34ch; }
.hero-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta small { color: var(--muted); font-size: var(--step--1); }

/* Rising bubbles behind the hero (decorative) */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 220, 150, 0.16);
  background: radial-gradient(circle at 35% 30%, rgba(255, 230, 170, 0.10), transparent 60%);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 6%;  width: 18px; height: 18px; animation-duration: 16s; }
.bubbles span:nth-child(2) { left: 22%; width: 10px; height: 10px; animation-duration: 12s; animation-delay: -6s; }
.bubbles span:nth-child(3) { left: 48%; width: 26px; height: 26px; animation-duration: 20s; animation-delay: -3s; }
.bubbles span:nth-child(4) { left: 64%; width: 12px; height: 12px; animation-duration: 14s; animation-delay: -9s; }
.bubbles span:nth-child(5) { left: 82%; width: 20px; height: 20px; animation-duration: 18s; animation-delay: -12s; }
.bubbles span:nth-child(6) { left: 92%; width: 8px;  height: 8px;  animation-duration: 11s; animation-delay: -4s; }
@keyframes rise {
  from { transform: translateY(0); opacity: 0.9; }
  to   { transform: translateY(-640px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles span { animation: none; opacity: 0.5; }
  .bubbles span:nth-child(1) { bottom: 18%; }
  .bubbles span:nth-child(2) { bottom: 62%; }
  .bubbles span:nth-child(3) { bottom: 8%; }
  .bubbles span:nth-child(4) { bottom: 74%; }
  .bubbles span:nth-child(5) { bottom: 40%; }
  .bubbles span:nth-child(6) { bottom: 86%; }
}

/* Phone mock of a shared trip */
.phone {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  padding: 10px;
  background: #0b0703;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 226, 160, 0.10);
}
.screen {
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  padding: 44px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, #6e4d12 0%, #3b2909 45%, #1d1405 100%);
  font-size: 12px;
  line-height: 1.35;
  position: relative;
}
.screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0703;
}
.m-card {
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.m-title { font-family: var(--font-display); font-weight: 900; font-size: 18px; }
.m-sub { color: rgba(251, 243, 228, 0.72); font-size: 11px; }
.m-code { color: var(--accent); font-weight: 800; font-family: var(--font-display); letter-spacing: 0.04em; }
.m-label { font-weight: 700; font-size: 11px; color: rgba(251, 243, 228, 0.9); margin-bottom: 6px; }
.m-person { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); }
.m-person + .m-person { margin-top: 5px; }
.m-check { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex: none; }
.m-avatar { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 10px; color: rgba(0, 0, 0, 0.75); flex: none; }
.m-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.m-sizes span {
  text-align: center;
  padding: 8px 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-pick { font-size: 9px; font-weight: 900; color: var(--on-accent); background: var(--accent); padding: 2px 6px; border-radius: 999px; }
.m-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m-photos span { aspect-ratio: 1; border-radius: 10px; }
.m-photos span:nth-child(1) { background: linear-gradient(160deg, #f7b54a, #8a3d16); }
.m-photos span:nth-child(2) { background: linear-gradient(160deg, #6fb7d9, #1d3f5c); }
.m-photos span:nth-child(3) { background: linear-gradient(160deg, #e8d9b0, #6c5a2e); }
.m-photos span:nth-child(4) { background: linear-gradient(160deg, #ff8a6b, #5b1f3a); }
.m-chat { margin-top: auto; background: rgba(23, 15, 7, 0.92); border-color: rgba(255, 199, 56, 0.35); }

/* Sections */
section { padding-block: 56px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; margin-bottom: 32px; }
.section-head h2, .page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.feature svg { width: 28px; height: 28px; color: var(--accent); }
.feature h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.feature p { margin: 0; color: var(--muted); }
.feature ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.split > div { min-width: 0; border-top: 2px solid var(--accent); padding-top: 16px; }
.split h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.split p { margin: 0; color: var(--muted); }

.notice {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-raised);
  border: 1px solid var(--line);
}
.notice strong { display: block; font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); }
.age {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Text pages (support, privacy, terms) */
.page { padding-block: 32px 64px; }
.page article { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.page .meta { color: var(--muted); margin: 0; font-size: var(--step--1); }
.page h2 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.page p, .page ul { margin: 0; }
.page ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.page .short {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
}
.contact code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  color: var(--fg);
  word-break: break-all;
}
.contact span { color: var(--muted); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.page p code, .page li code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--fg);
  word-break: break-all;
}
.faq { margin: 0; }
.faq dt { font-weight: 700; margin-top: 10px; }
.faq dd { margin: 2px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: var(--step--1);
}
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 24px 56px; }
  .phone { max-width: 280px; }
  .features, .split { grid-template-columns: minmax(0, 1fr); }
}
