/* ===== DUSTY PASSPORT — LANDING PAGE =====
   African travel aesthetic: warm terracotta, cream, serif/sans pairing.
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   Vibe: editorial, wanderlust, authentic — not generic SaaS
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --rust: #C0614A;
  --rust-dark: #9E4F3A;
  --cream: #F5EFE6;
  --cream-dark: #EBE3D6;
  --charcoal: #2C1810;
  --charcoal-mid: #4A3020;
  --white: #FFFFFF;
  --off-white: #FDFAF5;
  --divider: rgba(44, 24, 16, 0.15);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 100px 40px;
  --gap: 40px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* ===== NAV ===== */
.lp-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Transparent over hero */
}

.lp-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.lp-logo-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.lp-logo-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.lp-nav-center {
  display: flex;
  gap: 48px;
  align-items: center;
}

.lp-nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.lp-nav-link:hover { color: var(--white); }

.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-nav-icon {
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.lp-nav-icon:hover { color: var(--white); }

.lp-nav-signin {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: color 0.2s;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 2px;
}
.lp-nav-signin:hover { color: var(--white); border-color: rgba(255,255,255,0.7); }

/* ===== HERO ===== */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.0) 100%
  );
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 700px;
}

.lp-hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.lp-hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.lp-hero-headline em {
  font-style: italic;
  font-weight: 600;
}

.lp-hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}

/* Hero email form */
.lp-hero-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 480px;
}

.lp-hero-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

.lp-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 15px 20px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
  -webkit-appearance: none;
  backdrop-filter: blur(4px);
}

.lp-input::placeholder { color: rgba(255,255,255,0.5); }
.lp-input:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }

.lp-input:first-child { border-right-width: 0; border-bottom-width: 1px; }
.lp-input:nth-child(2) { border-left-width: 1px; border-bottom-width: 1px; }
.lp-input:nth-child(3) { border-right-width: 0; }
.lp-input:last-child { border-left-width: 1px; }

.lp-btn-rust {
  background: var(--rust);
  color: var(--white);
  border: 2px solid var(--rust);
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  align-self: flex-start;
}

.lp-btn-rust:hover:not(:disabled) { background: var(--rust-dark); border-color: var(--rust-dark); }
.lp-btn-rust:active:not(:disabled) { transform: translateY(1px); }
.lp-btn-rust:disabled { opacity: 0.55; cursor: not-allowed; }

/* ===== HERO: DECORATIVE MAP ===== */
.lp-hero-map {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 320px;
  opacity: 0.55;
}

.lp-map-svg { width: 100%; height: auto; }

/* ===== FEATURES SECTION ===== */
.lp-features {
  background: var(--cream);
  padding: var(--section-pad);
  text-align: center;
}

.lp-section-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
}

.lp-section-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lp-squiggle {
  display: inline-block;
  margin-bottom: 72px;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 0;
}

.lp-feature-col {
  padding: 48px 40px;
  position: relative;
}

.lp-feature-col + .lp-feature-col::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--divider);
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 28px;
  color: var(--rust);
}

.lp-feature-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.lp-feature-desc {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

/* ===== STORY SECTION ===== */
.lp-story {
  background: var(--cream-dark);
  padding: var(--section-pad);
}

.lp-story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp-story-text { }

.lp-story-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
}

.lp-story-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 28px;
}

.lp-story-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal-mid);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 440px;
}

.lp-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--rust);
  border: 1.5px solid var(--rust);
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lp-btn-outline:hover { background: var(--rust); color: var(--white); }

.lp-story-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.lp-story-img-wrap {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cream-dark);
  box-shadow: 0 0 0 2px var(--rust);
  position: relative;
  z-index: 1;
}

.lp-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-story-stamp {
  position: absolute;
  bottom: 20px;
  right: -20px;
  z-index: 2;
  background: var(--rust);
  color: var(--white);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 2px;
  transform: rotate(-8deg);
}

/* ===== EMAIL BANNER ===== */
.lp-email-banner {
  background: var(--cream);
  padding: var(--section-pad);
}

.lp-email-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  background: var(--cream-dark);
  border: 1px solid var(--divider);
  padding: 64px 72px;
}

.lp-email-left { }

.lp-email-icon {
  width: 56px;
  height: 56px;
  color: var(--rust);
  margin-bottom: 20px;
}

.lp-email-heading {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.lp-email-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal-mid);
  line-height: 1.6;
  max-width: 300px;
}

.lp-email-form { }

.lp-email-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 12px;
}

.lp-input-dark {
  background: var(--cream);
  border: 1px solid var(--divider);
  padding: 15px 20px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.lp-input-dark::placeholder { color: var(--charcoal-mid); opacity: 0.5; }
.lp-input-dark:focus { border-color: var(--rust); }

.lp-input-dark:first-child { border-right-width: 0; border-bottom-width: 1px; }
.lp-input-dark:nth-child(2) { border-left-width: 1px; border-bottom-width: 1px; }
.lp-input-dark:nth-child(3) { border-right-width: 0; }
.lp-input-dark:last-child { border-left-width: 1px; }

.lp-form-msg {
  font-family: var(--sans);
  font-size: 13px;
  min-height: 18px;
}

.lp-form-msg--success { color: #2d7a3a; }
.lp-form-msg--error { color: var(--rust); }

/* ===== FOOTER ===== */
.lp-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 72px 48px 40px;
}

.lp-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.lp-footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.lp-footer-brand { }

.lp-footer-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.lp-footer-tagline {
  font-family: var(--sans);
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  font-family: var(--serif);
}

.lp-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.lp-footer-col-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.lp-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-footer-col ul li a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.lp-footer-col ul li a:hover { color: var(--white); }

.lp-footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.lp-footer-social-link {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.lp-footer-social-link:hover { color: rgba(255,255,255,0.9); }

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-footer-copy {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ===== FORM MESSAGE ===== */
.lp-hero-msg {
  font-family: var(--sans);
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}
.lp-hero-msg--success { color: #a8d5a2; }
.lp-hero-msg--error { color: #f4a99b; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .lp-hero-map { display: none; }
  .lp-hero-content { padding: 0 48px; max-width: 600px; }
}

@media (max-width: 768px) {
  .lp-nav { padding: 24px 28px; }
  .lp-nav-center { display: none; }
  .lp-hero-content { padding: 0 28px; }
  .lp-hero-headline { font-size: 40px; }

  .lp-features-grid {
    grid-template-columns: 1fr;
  }
  .lp-feature-col + .lp-feature-col::before { display: none; }
  .lp-feature-col {
    padding: 32px 28px;
    border-bottom: 1px solid var(--divider);
  }
  .lp-feature-col:last-child { border-bottom: none; }

  .lp-story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .lp-story-image { order: -1; }
  .lp-story-img-wrap {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }

  .lp-email-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
  }
  .lp-email-fields {
    grid-template-columns: 1fr;
  }
  .lp-input-dark:first-child { border-right-width: 1px; border-bottom-width: 1px; }
  .lp-input-dark:nth-child(2) { border-left-width: 1px; border-bottom-width: 1px; }
  .lp-input-dark:nth-child(3) { border-right-width: 1px; border-bottom-width: 1px; }
  .lp-input-dark:last-child { border-left-width: 1px; }
  .lp-btn-rust { width: 100%; text-align: center; }

  .lp-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lp-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .lp-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .lp-hero-form { max-width: 100%; }
  .lp-hero-fields { grid-template-columns: 1fr; }
  .lp-input:first-child { border-right-width: 1px; border-bottom-width: 1px; }
  .lp-input:nth-child(2) { border-left-width: 1px; border-bottom-width: 1px; }
  .lp-input:nth-child(3) { border-right-width: 1px; border-bottom-width: 1px; }
  .lp-input:last-child { border-left-width: 1px; }
  .lp-btn-rust { width: 100%; }
  .lp-email-fields { grid-template-columns: 1fr; }
  .lp-section-pad { padding: 72px 28px; }
}