/* Clip2Trip landing page.
   Palette and type ported from the iOS DesignSystem package so the site and
   the app read as one product: monochrome chrome, photography carries the
   color, one warm gold accent held in reserve. */

:root {
  --bg: #f3f2ef;
  --surface: #ffffff;
  --border: #e6e4df;
  --ink: #141312;
  --ink-soft: #605d57;
  --ink-faint: #9c9890;
  --star: #e7b93f;
  --success: #2f7d54;
  --danger: #a8402a;

  --shadow-card: 0 1px 1px rgba(10,10,8,0.04), 0 8px 20px -12px rgba(10,10,8,0.28);
  --shadow-float: 0 8px 20px -8px rgba(10,10,8,0.35);
  --shadow-phone: 0 4px 8px rgba(10,10,8,0.18), 0 50px 90px -34px rgba(10,10,8,0.5);

  --measure: 62ch;
  --pad: clamp(20px, 5vw, 64px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100f0e;
    --surface: #1a1a19;
    --border: #2e2c29;
    --ink: #f4f2ee;
    --ink-soft: #a8a49c;
    --ink-faint: #74706a;
    --shadow-card: 0 1px 1px rgba(0,0,0,0.3), 0 8px 20px -12px rgba(0,0,0,0.6);
    --shadow-float: 0 8px 20px -8px rgba(0,0,0,0.6);
    --shadow-phone: 0 4px 8px rgba(0,0,0,0.4), 0 50px 90px -34px rgba(0,0,0,0.7);
  }
}
:root[data-theme="dark"] {
  --bg: #100f0e;
  --surface: #1a1a19;
  --border: #2e2c29;
  --ink: #f4f2ee;
  --ink-soft: #a8a49c;
  --ink-faint: #74706a;
  --shadow-card: 0 1px 1px rgba(0,0,0,0.3), 0 8px 20px -12px rgba(0,0,0,0.6);
  --shadow-float: 0 8px 20px -8px rgba(0,0,0,0.6);
  --shadow-phone: 0 4px 8px rgba(0,0,0,0.4), 0 50px 90px -34px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 999px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, .wordmark, .big-statement, .step-num, .mini-title {
  font-family: "Bricolage Grotesque", -apple-system, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  max-width: 1240px; margin: 0 auto;
}
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.wordmark.small { font-size: 16px; }
.nav-cta {
  background: var(--ink); color: var(--bg);
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px;
  transition: opacity 0.15s ease;
}
.nav-cta:hover { opacity: 0.85; }

/* ---------- hero ---------- */
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(24px, 5vw, 60px) var(--pad) clamp(60px, 9vw, 110px);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.eyebrow {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--star); }

h1 {
  font-size: clamp(40px, 6.6vw, 74px);
  font-weight: 800; line-height: 0.98; margin: 0 0 22px;
}
.lede {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px;
}

/* ---------- signup form ---------- */
.signup {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 480px; position: relative;
}
.signup input {
  flex: 1 1 220px;
  font: inherit; font-size: 16px;
  padding: 15px 18px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  min-height: 52px;
}
.signup input::placeholder { color: var(--ink-faint); }
.signup button {
  font: inherit; font-size: 15px; font-weight: 700;
  padding: 15px 26px; min-height: 52px;
  border: none; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-float);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.signup button:hover { opacity: 0.88; }
.signup button:active { transform: translateY(1px); }
.signup button[disabled] { opacity: 0.55; cursor: default; }
.form-status {
  flex-basis: 100%; margin: 4px 0 0; font-size: 14px; min-height: 1.2em;
  color: var(--ink-soft);
}
.form-status.ok { color: var(--success); font-weight: 600; }
.form-status.err { color: var(--danger); font-weight: 600; }
.form-note { font-size: 13.5px; color: var(--ink-faint); margin: 12px 0 0; }

/* ---------- phone frames ---------- */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px; aspect-ratio: 9 / 19.2;
  background: linear-gradient(155deg, #1c1a17, #0a0908);
  border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow-phone);
  flex-shrink: 0;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden;
  background: var(--surface);
}
.screen-photo { width: 100%; height: 100%; object-fit: cover; }
.screen-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,5,4,0.82) 0%, rgba(6,5,4,0.1) 46%, rgba(6,5,4,0.22) 100%);
}
.screen-chrome { position: absolute; left: 20px; right: 20px; bottom: 26px; color: #fff; }
.chip-row { display: flex; gap: 8px; margin-bottom: 14px; }
.glass-chip {
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 13px; border-radius: 999px;
}
.screen-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
}
.screen-sub { font-size: 13px; opacity: 0.88; margin-top: 3px; }

.float-shot {
  position: absolute; border-radius: 18px; object-fit: cover;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--bg);
  width: 96px; height: 96px;
}
.shot-a { top: 6%; right: -6px; transform: rotate(5deg); }
.shot-b { bottom: 18%; left: -10px; transform: rotate(-6deg); }
.shot-c { bottom: 2%; right: 8px; transform: rotate(4deg); width: 80px; height: 80px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
  .float-shot { display: none; }
}

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 96px) var(--pad); }
.band-inner { max-width: 940px; margin: 0 auto; }
.kicker {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px;
}
.kicker.light { color: rgba(255,255,255,0.55); }
.big-statement {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.22; margin: 0;
  color: var(--ink); max-width: 24ch;
}
.band.dark {
  background: #141312; color: #f4f2ee;
  border-radius: clamp(24px, 3vw, 40px);
  max-width: 1240px; margin: 0 auto;
}
.band.dark .band-h2 {
  font-size: clamp(30px, 4.2vw, 48px); font-weight: 800;
  margin: 0 0 20px; color: #fff; max-width: 18ch;
}
.band-body { color: rgba(244,242,238,0.72); max-width: 58ch; margin: 0; font-size: 17px; }

/* ---------- generic section ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--pad); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2, .feature-copy h2 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  margin: 0; max-width: 20ch;
}

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.step-num {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ink-faint); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- feature rows ---------- */
.feature {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) var(--pad);
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-art { order: 1; }
.feature-copy p { color: var(--ink-soft); max-width: 46ch; margin: 18px 0 0; font-size: 16.5px; }
.feature-art { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .feature.reverse .feature-art { order: 0; }
}

/* ---------- in-phone mini UI ---------- */
.phone-screen.light {
  background: var(--bg); padding: 30px 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.mini-title { font-size: 22px; font-weight: 800; }
.mini-sub { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.mini-head { margin-bottom: 4px; }
.mini-chips { display: flex; gap: 6px; }
.mini-chip {
  font-size: 11.5px; font-weight: 600; padding: 7px 13px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink-soft);
}
.mini-chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mini-row {
  display: flex; gap: 11px; align-items: center;
  background: var(--surface); border-radius: 15px; padding: 9px;
  box-shadow: var(--shadow-card);
}
.mini-row img { width: 54px; height: 54px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.mini-row b, .mini-card b { display: block; font-size: 13px; font-weight: 700; }
.mini-row i, .mini-card i { display: block; font-size: 11px; color: var(--ink-soft); font-style: normal; margin-top: 2px; }
.mini-card i.booked { color: var(--success); font-weight: 700; }

.mini-days { display: flex; gap: 7px; }
.mini-day {
  flex: 1; text-align: center; font-size: 9.5px; color: var(--ink-soft);
  border: 1px solid var(--border); border-radius: 14px; padding: 8px 0;
  background: var(--surface);
}
.mini-day b { display: block; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-day.on { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,0.7); }
.mini-day.on b { color: #fff; }

.mini-stop { display: flex; gap: 9px; align-items: stretch; }
.mini-time {
  width: 38px; flex-shrink: 0; font-size: 9.5px; font-weight: 700;
  color: var(--ink-faint); text-align: right; padding-top: 12px; line-height: 1.25;
}
.mini-card {
  flex: 1; display: flex; gap: 10px; align-items: center;
  background: var(--surface); border-radius: 15px; padding: 8px;
  box-shadow: var(--shadow-card);
}
.mini-card img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.mini-unsched {
  border: 1.5px dashed var(--border); border-radius: 14px;
  padding: 13px; font-size: 11.5px; color: var(--ink-faint); text-align: center;
}

/* ---------- closer ---------- */
.closer { text-align: center; }
.closer-inner { max-width: 640px; margin: 0 auto; }
.closer .kicker, .closer .eyebrow { justify-content: center; }
.closer h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin: 0 auto; max-width: 16ch; }
.closer-sub { color: var(--ink-soft); margin: 18px auto 30px; max-width: 46ch; }
.signup.big { margin: 0 auto; justify-content: center; }
.closer .form-note { text-align: center; }

/* ---------- footer ---------- */
.foot {
  max-width: 1240px; margin: 0 auto;
  padding: 36px var(--pad) 56px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: var(--ink-faint);
}
.foot a { color: var(--ink-soft); }
