/*
  Radius Travel — landing page styles.

  Palette mirrors the app:
    - background  #FAF5EE (cream)
    - ink         #1F2A37 (near-black)
    - terracotta  #D96B47 (primary accent, matches in-app CTA color)
    - muted       #6B7280
    - surface     #FFFFFF

  Typography mirrors the app's M7 onboarding pairing:
    - Display: Fraunces (variable serif)
    - Body:    Manrope
*/

:root {
  --bg: #FAF5EE;
  --surface: #FFFFFF;
  --ink: #1F2A37;
  --muted: #6B7280;
  --terracotta: #D96B47;
  --terracotta-deep: #B65535;
  --border: rgba(31, 42, 55, 0.12);
  --shadow: 0 8px 24px rgba(31, 42, 55, 0.08);
  --radius: 12px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.8rem; }
p  { margin: 0 0 1rem; }

a {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { color: var(--terracotta); }

em {
  font-style: italic;
  color: var(--terracotta-deep);
}

.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;
}

/* ------- Nav + hero ------- */

.hero {
  padding: 24px max(24px, calc((100vw - var(--max)) / 2)) 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-cta {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.15s;
}

.nav-cta:hover {
  background: var(--surface);
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 30em;
}

.cta {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
  transition: background 0.15s, transform 0.05s;
}

.cta:hover  { background: var(--terracotta-deep); color: white; }
.cta:active { transform: translateY(1px); }

.tagline {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-shot {
  display: flex;
  justify-content: center;
}

.hero-shot img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(31, 42, 55, 0.18);
  border: 1px solid var(--border);
}

/* ------- Story / explainer ------- */

.story {
  padding: 64px max(24px, calc((100vw - 760px) / 2));
  max-width: var(--max);
  margin: 0 auto;
}

.story h2 {
  margin-top: 2.4rem;
}

.story h2:first-of-type {
  margin-top: 0;
}

.story p {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 38em;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 1rem;
}

.feature-list li {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.feature-list strong {
  color: var(--terracotta-deep);
  margin-right: 0.3em;
}

/* ------- Proof / screenshots ------- */

.proof {
  padding: 64px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 1.2rem;
}

@media (max-width: 720px) {
  .proof-grid { grid-template-columns: 1fr; }
}

.proof figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.proof img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.proof figcaption {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  max-width: 24em;
}

/* ------- Waitlist ------- */

.waitlist {
  padding: 64px max(24px, calc((100vw - 720px) / 2)) 80px;
  text-align: center;
}

.waitlist h2 {
  margin-bottom: 0.6rem;
}

.waitlist-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
  margin: 0 auto 1.6rem;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(217, 107, 71, 0.18);
}

.waitlist-form button {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.waitlist-form button:hover { background: var(--terracotta-deep); }

.waitlist-fineprint {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ------- Footer ------- */

footer {
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer a { color: inherit; }
