/* Hitch & Roam website. Same world as the app: sandstone by day, charcoal by night,
   Petrona headings, Red Hat Text body, rounded cards, terracotta for the one thing that matters. */
:root {
  --bg: #F4EEE3;
  --card: #FFFCF6;
  --well: #EBE3D3;
  --ink: #2C2C25;
  --ink-2: #3E3D33;
  --muted: #5C5B4F;
  --accent: #B5502E;
  --accent-ink: #FFF8EE;
  --ok: #4F6B3E;
  --shadow: 0 1px 2px rgba(60, 45, 25, 0.06), 0 10px 30px -10px rgba(60, 45, 25, 0.18);
  --display: 'Petrona', Georgia, 'Times New Roman', serif;
  --body: 'Red Hat Text', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Red Hat Mono', ui-monospace, Menlo, monospace;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12120D; --card: #1E1E17; --well: #2A2A21; --ink: #EFE7D6; --ink-2: #D8D0BE; --muted: #A7A493;
    --accent: #CE6A41; --accent-ink: #12120D; --ok: #9BB37E;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -10px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12120D; --card: #1E1E17; --well: #2A2A21; --ink: #EFE7D6; --ink-2: #D8D0BE; --muted: #A7A493;
  --accent: #CE6A41; --accent-ink: #12120D; --ok: #9BB37E;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -10px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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

/* The brand: HITCH + ROAM with the terracotta plus. */
.logo { display: inline-flex; align-items: center; gap: 0.32em; font: 700 20px/1 var(--body); letter-spacing: 0.08em; color: var(--ink); text-decoration: none; }
.plus { display: inline-block; flex: none; width: 1.15em; height: 1.15em; }
.plus circle { fill: var(--accent); }
.plus path { stroke: var(--accent-ink); }

.site-head { padding-block: 22px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-head nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-head nav a.button { color: var(--accent-ink); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 34em; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
}
.button:hover { filter: brightness(1.05); }
.button.quiet { background: var(--well); color: var(--ink); }

/* Hero: the promise on the left, the app on the right. */
.hero { padding-block: 32px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.phone {
  justify-self: center; width: min(330px, 100%);
  border-radius: 44px; padding: 10px; background: var(--ink);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 393 / 852; object-fit: cover; }

/* Waitlist form */
.join { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.join input[type="email"] {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px;
  border: 2px solid transparent; background: var(--card); color: var(--ink); font: 400 17px var(--body);
  box-shadow: var(--shadow);
}
.join input[type="email"]:focus { border-color: var(--accent); outline: none; }
.join-note { font-size: 14px; color: var(--muted); }
.join-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.join-status.ok { color: var(--ok); }
.join-status.err { color: var(--accent); }

/* Features */
section { padding-block: 64px; }
.features .wrap { display: grid; gap: 40px; }
.features-head { display: grid; gap: 14px; max-width: 40em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.feature img { border-radius: 16px; width: 100%; height: 340px; object-fit: cover; object-position: top; background: var(--well); }
.feature p { color: var(--ink-2); font-size: 16px; }
.fact { font: 500 13px/1.5 var(--mono); color: var(--muted); letter-spacing: 0.02em; }

/* Story */
.story .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.story-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 16px; }
.trip-line { display: grid; gap: 0; }
.trip-day { display: flex; gap: 14px; align-items: center; }
.trip-day .plus { width: 24px; height: 24px; }
.trip-gap { width: 2px; height: 18px; background: var(--well); margin-left: 11px; }
.trip-day strong { display: block; font-weight: 600; }
.trip-day span { font: 500 11px/1.5 var(--mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.story-copy { display: grid; gap: 18px; min-width: 0; }
.story-copy p { color: var(--ink-2); }

/* Pricing */
.pricing .wrap { display: grid; gap: 32px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 8px; align-content: start; border: 2px solid transparent; }
.plan.founders { border-color: var(--accent); }
.plan .price { font: 500 34px/1.1 var(--display); letter-spacing: -0.02em; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan p { color: var(--ink-2); font-size: 15px; }
.tag { justify-self: start; font: 700 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.tag.quiet { background: var(--well); color: var(--muted); }
.pricing-note { color: var(--muted); font-size: 15px; }

/* Final call */
.cta .wrap { display: grid; gap: 18px; justify-items: start; }
.cta-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; width: 100%; }
.cta form { display: grid; gap: 12px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  min-height: 50px; padding: 0 16px; border-radius: 14px; border: 2px solid transparent;
  background: var(--well); color: var(--ink); font: 400 17px var(--body); width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; }

.site-foot { padding-block: 40px 56px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 18px 28px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

/* Legal pages */
.legal { padding-block: 24px 64px; }
.legal .wrap { max-width: 760px; display: grid; gap: 20px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 26px; margin-top: 18px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal .updated { font: 500 13px/1.5 var(--mono); color: var(--muted); }
.legal .box { background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .hero .wrap, .story .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature img { height: 300px; }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .site-head nav a:not(.button) { display: none; }
  section { padding-block: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: filter 0.15s ease; }
}

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