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

/* ─── TOKENS ─── */
:root {
  --white:      #FFFFFF;
  --off-white:  #F8F7F5;
  --border:     #E8E5E0;
  --border-md:  #D4D0CA;
  --ink:        #111111;
  --ink-2:      #3A3A3A;
  --muted:      #6B7280;
  --amber:      #C97A3A;
  --amber-bg:   rgba(201,122,58,0.08);
  --amber-bdr:  rgba(201,122,58,0.2);
  --navy:       #111D33;
  --navy-mid:   #1C2D4A;

  --font-serif: 'Poppins', system-ui, sans-serif;
  --font-sans:  'Poppins', system-ui, sans-serif;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-s:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ─── TYPOGRAPHY ─── */
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-h1 em {
  font-style: italic;
  color: var(--amber);
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-h2 em {
  font-style: italic;
  color: var(--amber);
}
.section-h2.light {
  color: var(--white);
}
.section-h2.light em {
  color: var(--amber);
}

.footer-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-h2 em {
  font-style: italic;
  color: var(--amber);
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 480px;
  margin-top: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--off-white);
  color: var(--ink-2);
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.eyebrow-muted {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.eyebrow-amber {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber-bdr);
}
.eyebrow-white {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-s), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(17,17,17,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-md);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: scale(1.03);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
}
.btn-amber:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(201,122,58,0.3);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}

/* ─── HERO ─── */
.hero {
  background: var(--white);
  padding-top: 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* subtle grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,122,58,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(17,29,51,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5% 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ─── ARCHETYPE CARD ─── */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
}

.archetype-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(17,29,51,0.08);
  position: relative;
}

.card-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

.card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}

.card-dest {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.card-vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vibe-pill {
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--amber-bdr);
}

.card-itin {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itin-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.itin-t {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  min-width: 60px;
  letter-spacing: 0.02em;
}

.itin-a {
  font-size: 0.82rem;
  color: var(--ink-2);
}

/* Micro floating card */
.micro-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.micro-icon { font-size: 1.4rem; }
.micro-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.micro-sub { font-size: 0.75rem; color: var(--muted); }

/* ─── STATS BAR ─── */
.stats-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--white);
  gap: 4px;
}

.stat-n {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--amber);
  line-height: 1;
}

.stat-l {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.stat-sep { display: none; }

/* ─── SECTION ALTERNATION ─── */
.section-white { background: var(--white); padding: 96px 0; }
.section-alt { background: var(--off-white); padding: 96px 0; }

.section-header { margin-bottom: 56px; }
.section-cta { margin-top: 40px; }

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--white);
  padding: 40px 32px;
  transition: background 200ms var(--ease);
}

.step:hover { background: var(--off-white); }

.step-n {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.18);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  transition: color 200ms var(--ease);
}

.step:hover .step-n { color: rgba(10, 5, 2, 0.4); }

.step-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.step-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── ARCHETYPES ─── */
.arch-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 5% 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.arch-scroll::-webkit-scrollbar { display: none; }

.arch-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border-md);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.arch-chip:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-bg);
}

/* ─── VIBE FILTERS ─── */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .vibe-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .vibe-grid { grid-template-columns: repeat(6, 1fr); }
}

.vibe-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 200ms var(--ease);
  line-height: 1.4;
  user-select: none;
}

.vibe-card:hover,
.vibe-card.active {
  background: var(--amber-bg);
  border-color: var(--amber-bdr);
  color: var(--amber);
}

/* ─── LOCAL INTELLIGENCE ─── */
.section-local {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.local-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}

@media (min-width: 1024px) {
  .local-inner { grid-template-columns: 1fr 1fr; }
}

.local-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.local-stat-n {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--amber);
  font-style: italic;
}

.local-stat-l {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.intel-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 200ms var(--ease);
}

.intel-card:hover {
  border-color: var(--amber-bdr);
  background: var(--amber-bg);
}

.intel-icon { font-size: 1.25rem; }

.intel-card strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.intel-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.local-quote {
  margin-top: 20px;
  padding: 20px 24px;
  border-left: 2px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: var(--amber-bg);
}

.local-quote p,
.local-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--ink-2);
  line-height: 1.6;
}

/* ─── TRIBES ─── */
.tribes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .tribes-grid { grid-template-columns: repeat(4, 1fr); }
}

.tribe-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 200ms var(--ease);
  cursor: pointer;
}

.tribe-card:hover {
  border-color: var(--amber-bdr);
  background: var(--amber-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,122,58,0.1);
}

.tribe-card span {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.tribe-card h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.tribe-card p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
}

/* ─── PRO FEATURES ─── */
.section-pro {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-pro::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,122,58,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.pro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .pro-inner { grid-template-columns: 1fr 1fr; }
}

.pro-left .section-h2 {
  margin: 16px 0 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 7px;
}

.feature-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-list p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* Rescue card */
.rescue-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  backdrop-filter: blur(12px);
}

.rescue-badge {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
}

.rescue-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.rescue-msg {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
}

.rescue-swap {
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-old {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
}

.swap-arrow { color: var(--amber); font-size: 0.9rem; padding-left: 4px; }

.swap-new {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
}

/* ─── TICKER ─── */
.ticker {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.ticker-track {
  display: flex;
  width: 200%;
  animation: ticker 40s linear infinite;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border-md);
}

.tsep {
  color: rgba(201,122,58,0.35) !important;
  font-size: 0.6rem !important;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── FOOTER / WAITLIST ─── */
.section-footer {
  background: var(--off-white);
  padding: 120px 0 80px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.waitlist-form {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

@media (min-width: 480px) {
  .waitlist-form { flex-direction: row; }
  .waitlist-form input { flex: 1; }
}

.waitlist-form input {
  padding: 13px 20px;
  border-radius: 99px;
  border: 1px solid var(--border-md);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201,122,58,0.1);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 200ms var(--ease);
}

.social-link:hover {
  color: var(--amber);
  border-color: var(--amber-bdr);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(107,114,128,0.5);
}

/* ─── ANIMATIONS ─── */
.float {
  animation: float 6s ease-in-out infinite;
}
.float-slow {
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* ─── MOBILE ─── */
@media (max-width: 767px) {
  .hero { padding-top: 80px; }
  .hero-inner { padding: 40px 5% 20px; }
  .micro-card { left: 0; bottom: -16px; }
  .stats-bar { padding-bottom: 40px; }
  .section-white, .section-alt, .section-local, .section-pro, .section-footer {
    padding: 64px 0;
  }
  .steps { border-radius: 16px; }
  .step { padding: 28px 20px; }
  .intel-grid { grid-template-columns: 1fr; }
  .local-inner { gap: 40px; }
  .vibe-grid { grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 400px) {
    .vibe-grid { grid-template-columns: repeat(3, 1fr); }
  }
}