/* ============================================================
   Wayfare website. Pure CSS, no build step.
   Minimal, modern, calm. One blue accent. One typeface.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #F1F5FC;
  --surface: #FFFFFF;
  --blue: #0E6FE6;
  --blue-deep: #0A3A86;
  --sky: #83D2FD;
  --ink: #0E1B33;
  --muted: #5A6A85;
  --hairline: #E7EDF7;

  --radius-card: 20px;
  --radius-pill: 999px;

  --maxw: 1040px;
  --pad: clamp(22px, 5vw, 40px);

  --shadow: 0 1px 2px rgba(14, 27, 51, 0.04), 0 24px 48px -32px rgba(10, 58, 134, 0.22);
  --grad: linear-gradient(165deg, #0E7BE6 0%, #0A3A86 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* A single, very soft highlight behind the top of the page for quiet depth. */
body::before {
  content: "";
  position: fixed;
  inset: -20% 0 auto 0;
  height: 620px;
  background: radial-gradient(60% 80% at 70% 0%, rgba(131, 210, 253, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; z-index: 1; }

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--blue-deep); }

/* ---------- Typography ---------- */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); }
h1, h2, h3 { font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -0.4px; }
h1 { font-size: clamp(36px, 5.6vw, 58px); letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.6px; }
h3 { font-size: 19px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 52ch; font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 245, 252, 0.7);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
.brand:hover { color: var(--ink); }
.brand .logo { width: 32px; height: 32px; flex: none; border-radius: 9px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Coming-soon CTA (intentionally no link) ---------- */
.btn-coming {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--blue); color: #fff;
  padding: 15px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px; cursor: default;
  box-shadow: 0 14px 30px -16px rgba(14, 111, 230, 0.7);
}
.btn-coming .badge { background: rgba(255, 255, 255, 0.22); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 4px 9px; border-radius: var(--radius-pill); }
.cta-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 20px 0 20px; }
.hero h1 .accent { color: var(--blue); }
.hero .cta-row { margin-top: 34px; }

/* App preview. Calm, generic, no itinerary details. */
.phone { width: min(300px, 82%); margin: 0 auto; aspect-ratio: 300 / 600; background: var(--surface); border-radius: 38px; border: 1px solid var(--hairline); box-shadow: var(--shadow); padding: 20px 18px; position: relative; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 84px; height: 6px; border-radius: 99px; background: var(--hairline); }
.phone-head { margin: 26px 4px 18px; }
.phone-head .small { font-size: 11.5px; color: var(--blue); font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.phone-head .trip { font-size: 23px; font-weight: 700; letter-spacing: -0.4px; margin-top: 4px; }
.doc-card { display: flex; align-items: center; gap: 13px; background: var(--bg); border-radius: 14px; padding: 14px 14px; margin-bottom: 11px; }
.doc-card .ic { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(14, 111, 230, 0.1); color: var(--blue); }
.doc-card .ic.sky { background: rgba(131, 210, 253, 0.3); color: var(--blue-deep); }
.doc-card .t { font-weight: 600; font-size: 15px; }
.doc-card .chk { margin-left: auto; color: var(--blue); display: grid; place-items: center; }
.phone-foot { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 18px; }
.dot { width: 6px; height: 6px; border-radius: 99px; background: var(--blue); }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 7.5vw, 92px) 0; }
.section-head { max-width: 54ch; margin-bottom: clamp(30px, 5vw, 50px); }
.section-head h2 { margin: 14px 0 14px; }

/* Features. Light, airy, border-only cards. */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease; }
.feature:hover { border-color: rgba(14, 111, 230, 0.35); transform: translateY(-3px); }
.feature .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(14, 111, 230, 0.09); color: var(--blue); margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.simple-line { text-align: center; max-width: 58ch; margin: clamp(34px, 5vw, 50px) auto 0; color: var(--muted); }
.simple-line strong { color: var(--ink); font-weight: 600; }

/* Privacy band. The one gradient moment. */
.band { background: var(--grad); color: #fff; border-radius: clamp(22px, 4vw, 32px); padding: clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(131, 210, 253, 0.18); }
.band .eyebrow { color: var(--sky); }
.band h2 { color: #fff; margin: 14px 0 16px; max-width: 20ch; }
.band p { color: rgba(255, 255, 255, 0.88); max-width: 50ch; }
.band .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; position: relative; z-index: 1; }
.band .pill { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); padding: 9px 16px; border-radius: var(--radius-pill); font-weight: 500; font-size: 14px; }

/* Closing CTA */
.closing { text-align: center; }
.closing h2 { max-width: 17ch; margin: 14px auto 18px; }
.closing .lead { margin: 0 auto 32px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(44px, 7vw, 72px); }
.legal-head { max-width: 70ch; margin-bottom: 8px; }
.legal-head .updated { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal-body { max-width: 70ch; }
.legal-body h2 { font-size: clamp(20px, 2.6vw, 25px); margin: 40px 0 12px; letter-spacing: -0.3px; }
.legal-body p { color: var(--muted); margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px 20px; color: var(--muted); }
.legal-body li { margin-bottom: 8px; }
.callout { background: var(--surface); border: 1px solid var(--hairline); border-left: 3px solid var(--blue); border-radius: 16px; padding: 20px 22px; margin: 22px 0; }
.callout p { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); margin-top: clamp(40px, 6vw, 72px); padding: 44px 0 52px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.copyright { color: var(--muted); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .nav-links .nav-hide { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn-coming { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
