@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("assets/fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("assets/fonts/poppins-extrabold.woff2") format("woff2"); }

:root {
  --green: #0F5B36;
  --deep-green: #0B4A2E;
  --green-soft: #E5F3EA;
  --yellow: #FFC72C;
  --yellow-soft: #FFF4D1;
  --on-yellow: #0B2E1C;
  --orange: #F08C2E;
  --blue: #2F80ED;
  --red: #E5484D;
  --ink: #12261B;
  --muted: #5F6F66;
  --line: #E4EBE6;
  --surface: #F4F7F5;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(11, 46, 28, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 16px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(15, 91, 54, .25); }
.btn-primary:hover { background: var(--deep-green); }
.btn-ghost { border-color: var(--green); color: var(--green); background: #fff; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a, .nav-driver { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-driver:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-driver { color: var(--green); }

/* Logo */
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }

/* Hero: the sunset bridge photo fills the right of the section and fades
   into deep green behind the headline. */
.hero { position: relative; padding: 72px 0 88px; background: var(--deep-green); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%;
  background: url("assets/images/lekki-bridge-sunset.jpg") 30% 62% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--deep-green) 0%, rgba(11, 74, 46, .55) 30%, rgba(11, 74, 46, 0) 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 199, 44, .3); }
.highlight { color: var(--yellow); }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero .lede { color: rgba(255, 255, 255, .85); }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, .85); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--yellow); font-weight: 800; margin-right: 6px; }
.hero-phone { position: relative; justify-self: end; margin-right: 24px; }
.hero-phone .phone { width: 270px; }
.hero-card {
  position: absolute; left: -64px; bottom: 64px; display: flex; gap: 12px; align-items: center;
  background: #fff; color: var(--ink); padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow); font-size: 14px;
}
.hero-card strong { display: block; }
.hero-card span { color: var(--muted); }
.hero-card-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--green); color: #fff; font-weight: 800;
}
.btn-accent { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 8px 20px rgba(255, 199, 44, .3); }
.btn-accent:hover { background: #FFD457; }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--surface); }
.section-dark { background: var(--deep-green); color: #fff; }
.section-dark .lede { color: rgba(255, 255, 255, .78); }
.eyebrow-light { color: var(--yellow); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; }
.feature-icon svg { width: 28px; height: 28px; fill: currentColor; }
.feature-icon.green { background: var(--green-soft); color: var(--green); }
.feature-icon.orange { background: #FDEDE1; color: var(--orange); }
.feature-icon.yellow { background: var(--yellow-soft); color: #C99400; }
.feature-icon.blue { background: #E6F0FB; color: var(--blue); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; margin-top: 36px; }
.tile { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600;
}
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }

/* App section: steps, then a scrolling strip of app screens */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; color: var(--muted); }
.steps li strong { display: block; color: var(--ink); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--yellow); color: var(--on-yellow); font-weight: 800;
}
.phone {
  display: block; width: 100%; height: auto; border-radius: 30px; border: 8px solid var(--ink);
  box-shadow: var(--shadow); background: #fff;
}
.shots {
  display: flex; gap: 28px; margin-top: 44px; padding: 8px max(16px, (100% - 1160px) / 2) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100% - 1160px) / 2);
  scrollbar-width: thin;
}
.shot { flex: 0 0 220px; margin: 0; scroll-snap-align: start; }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot figcaption strong { display: block; color: var(--ink); font-size: 15px; }

/* Safety */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.safety-list li {
  padding: 18px 20px 18px 56px; border-radius: 16px; background: rgba(255, 255, 255, .07);
  position: relative; color: rgba(255, 255, 255, .8);
}
.safety-list li::before { content: "✓"; position: absolute; left: 20px; top: 17px; color: var(--yellow); font-weight: 800; }
.safety-list strong { display: block; color: #fff; }

/* Waitlist */
.waitlist { background: linear-gradient(180deg, #fff 0%, var(--yellow-soft) 100%); }
.waitlist-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 48px; border-radius: 32px; background: #fff; box-shadow: var(--shadow);
}
.waitlist-copy p { color: var(--muted); font-size: 17px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(15, 91, 54, .12); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 6px 0 0; color: var(--red); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.form-status { margin: 12px 0 0; font-weight: 600; text-align: center; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

/* Footer */
.site-footer { padding: 40px 0; background: var(--ink); color: rgba(255, 255, 255, .75); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { height: 64px; width: auto; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid, .safety-grid, .waitlist-card { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-bg { width: 100%; background-position: 20% 60%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11, 74, 46, .82) 0%, rgba(11, 74, 46, .7) 55%, rgba(11, 74, 46, .9) 100%); }
  .hero-phone { display: none; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile-tall { grid-row: span 1; }
  .tile-wide-sm { grid-column: span 2; }
  .waitlist-card { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .nav { gap: 12px; height: 64px; }
  .logo img { height: 36px; }
  .nav-actions { gap: 12px; }
  .nav-driver { font-size: 13px; }
  .btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .tile-wide { grid-column: span 2; }
  .shot { flex-basis: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile img { transition: none; }
}
