/* ============================================================================
   hitchikr — marketing site styles. Brand: lowercase, extra-bold italic wordmark,
   hitchikr green (#0f9d58). Typeface: Plus Jakarta Sans (headings) + Inter (body).
   ============================================================================ */

:root {
  --green: #0f9d58;
  --green-dark: #0b7a44;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --bg-dark: #0b1512;
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green);
}

/* Wordmark */
.wordmark {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-style: italic; letter-spacing: -0.03em;
  color: var(--green); font-size: 1.5rem;
}
.wordmark .dot { color: var(--ink); }
.wordmark--light { color: #fff; }
.wordmark--light .dot { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .08s ease, opacity .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { opacity: .9; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; color: var(--ink-soft); font-size: .96rem; }
.nav__links a:hover { color: var(--green); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.18rem; margin-top: 20px; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.store-badge small { display: block; font-size: .62rem; opacity: .8; font-weight: 500; letter-spacing: .04em; }
.store-badge strong { font-size: 1rem; font-weight: 700; }
.store-badge--soon { opacity: .92; }

/* iPhone 17 Pro Max mock */
.iphone {
  position: relative; margin: 0 auto; width: 300px; max-width: 80%;
  aspect-ratio: 300 / 610;
  border-radius: 58px;
  padding: 12px;
  /* Titanium frame */
  background: linear-gradient(150deg, #3a3f45 0%, #6b7178 20%, #2c3035 42%, #7d838b 70%, #33373c 100%);
  box-shadow:
    0 40px 70px -24px rgba(15,157,88,.32),
    0 8px 24px rgba(0,0,0,.28),
    inset 0 0 0 2px rgba(255,255,255,.08);
}
.iphone__screen {
  position: relative; height: 100%; width: 100%;
  border-radius: 47px; overflow: hidden;
  background: radial-gradient(circle at 50% 34%, #eafaf1 0%, #f4f7f6 55%, #eef1f0 100%);
  display: flex; align-items: center; justify-content: center;
}
/* Dynamic Island */
.iphone__island {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 27px; background: #05070a; border-radius: 16px; z-index: 3;
}
/* Status bar */
.iphone__status {
  position: absolute; top: 20px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 30px; font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .74rem; font-weight: 700; color: var(--ink);
}
.iphone__status .bars { display: inline-flex; gap: 4px; align-items: center; }
.iphone__status .bars svg { width: 16px; height: 12px; }
/* Map layer behind the icon */
.iphone__map {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(118deg, transparent 45%, #ffffff 45% 51%, transparent 51%),
    linear-gradient(28deg, transparent 63%, #ffffff 63% 68%, transparent 68%),
    linear-gradient(196deg, transparent 30%, #f4f8f5 30% 34%, transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(15,157,88,.14), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(37,99,235,.10), transparent 24%),
    repeating-linear-gradient(0deg, rgba(15,23,42,.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(15,23,42,.04) 0 1px, transparent 1px 44px),
    #e9efeb;
}
.iphone__route {
  position: absolute; z-index: 0; left: 30%; top: 26%; width: 3px; height: 42%;
  background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 15px);
  transform: rotate(28deg); transform-origin: top; opacity: .85; border-radius: 3px;
}
.iphone__driver {
  position: absolute; z-index: 0; width: 30px; height: 30px; border-radius: 11px;
  background: var(--green); color: #fff; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 12px rgba(0,0,0,.24);
}
.iphone__driver svg { width: 16px; height: 16px; }
.iphone__driver.d1 { top: 20%; left: 18%; transform: rotate(-12deg); }
.iphone__driver.d2 { top: 27%; left: 66%; transform: rotate(20deg); }
.iphone__driver.d3 { top: 52%; left: 30%; transform: rotate(8deg); }
.iphone__driver.d4 { top: 66%; left: 70%; transform: rotate(-18deg); }
.iphone__driver.d5 { top: 74%; left: 24%; transform: rotate(14deg); background: var(--ink); }

/* Splash content — the app icon, lifted above the map */
.iphone__splash {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.iphone__splash::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 210px; height: 210px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(243,247,245,.96) 42%, rgba(243,247,245,0) 72%);
}
.iphone__appicon {
  width: 128px; height: 128px; border-radius: 28px; display: block;
  box-shadow: 0 18px 44px -12px rgba(0,0,0,.5);
}
.iphone__splash .wordmark { font-size: 1.55rem; }
/* Side buttons */
.iphone::before, .iphone::after {
  content: ""; position: absolute; left: -3px; width: 3px; border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, #4a4f55, #2a2e33);
}
.iphone::before { top: 150px; height: 34px; }              /* mute / action */
.iphone::after { top: 200px; height: 62px; }               /* volume */
.iphone__power {
  position: absolute; right: -3px; top: 190px; width: 3px; height: 74px;
  border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #4a4f55, #2a2e33);
}

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: 0 18px 40px -24px rgba(15,23,42,.25); transform: translateY(-2px); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  background: rgba(15,157,88,.1); color: var(--green); margin-bottom: 16px;
}
.card .ic svg { width: 24px; height: 24px; }
.card .step { font-family:"Plus Jakarta Sans",sans-serif; font-weight:800; color: var(--green); font-size:.85rem; }
.card h3 { margin: 6px 0 8px; }
.card p { font-size: .96rem; }
.section-head { max-width: 44ch; }
.section-head p { margin-top: 12px; font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Drivers split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(15,157,88,.12);
  color: var(--green); display:flex; align-items:center; justify-content:center; margin-top: 2px; }
.checklist .tick svg { width: 13px; height: 13px; }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.stat .n { font-family:"Plus Jakarta Sans",sans-serif; font-weight:800; font-size: 2.4rem; color: var(--green); }
.stat .l { color: var(--muted); font-size: .95rem; }
.panel-dark {
  background: radial-gradient(circle at 20% 0%, rgba(15,157,88,.25), transparent 55%), var(--bg-dark);
  color: #fff; border-radius: 24px; padding: 44px;
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: rgba(255,255,255,.75); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .panel-dark { padding: 60px 32px; }
.cta-band .badges { justify-content: center; }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.7); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family:"Plus Jakarta Sans",sans-serif; font-size:.95rem; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,.68); padding: 5px 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.legal .notice { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: 12px; padding: 14px 16px; font-size: .9rem; margin: 20px 0 32px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.back-link { color: var(--green); font-weight: 600; font-size: .95rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 16px;
  }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
