/*
  Shared geo-landing chrome — Stage 4B.1.

  Used by /eu, /us, /uk (public/{eu,us,uk}.html rendered from
  scripts/geo-landings/template.html). Do not copy this sheet per geo.
  Locale flavour lives in the HTML slots (currency, clock copy, geo=).

  Load BEFORE /brand.css so brand tokens win.
*/

:root {
  --ink:     #0f1015;
  --ink-2:   #5a5a58;
  --ink-3:   #9a9a98;
  --border:  #e0ddd8;
  --surface: #fafaf9;
  --white:   #ffffff;
  --green:   #3ECF8E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', Arial, sans-serif; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; } .d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; } .d6 { animation-delay: 0.55s; }

/* ── Nav — scoped to #nav so a later <nav> cannot steal chrome ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
#nav.scrolled { border-bottom-color: var(--border); }
.nav-brand { display: flex; flex-direction: row; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand-name { font-size: 0.9375rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-brand-sub { font-size: 0.625rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.8125rem; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  font-size: 0.8125rem; font-weight: 500; color: var(--white) !important;
  background: var(--ink); border-radius: 6px; padding: 0.5rem 1rem;
  transition: opacity 0.15s !important; text-decoration: none;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Buttons ── */
.btn-primary { background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); border-radius: 6px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: opacity 0.15s; cursor: pointer; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1.5px solid var(--border); border-radius: 6px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 400; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: border-color 0.15s, color 0.15s; cursor: pointer; }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); border: none; border-radius: 6px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: opacity 0.15s; cursor: pointer; }
.btn-green:hover { opacity: 0.9; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 7rem 4rem 4rem;
  max-width: 1200px; margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem;
}
.hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 1.5rem;
}
.hero-h1 strong { font-weight: 600; }
.hero-sub {
  font-size: 1rem; line-height: 1.65; color: var(--ink-2);
  max-width: 440px; margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-quiet { font-size: 0.8125rem; color: var(--ink-3); margin-top: 0.75rem; }
.hero-quiet a { color: var(--ink); text-decoration: none; font-weight: 500; }
.hero-quiet a:hover { text-decoration: underline; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.checklist li { font-size: 0.875rem; color: var(--ink-2); display: flex; align-items: center; gap: 0.5rem; }
.checklist li::before { content: '✓'; color: var(--green); font-weight: 600; }

/* ── Product frame (Stage 4A Create role → Evidence → Shortlist) ── */
.product-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15,16,21,0.06);
}
.product-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 0.7rem 1rem;
  background: #f5f4f2;
  border-bottom: 1px solid var(--border);
}
.product-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.product-url {
  margin-left: 0.5rem;
  font-size: 0.6875rem; color: var(--ink-3);
  font-family: 'IBM Plex Mono', monospace;
}
.product-body {
  padding: 1.15rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: linear-gradient(180deg, var(--ct-brand-light, #f0fdf8) 0%, var(--white) 42%);
}
.product-step {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem 1.05rem;
  background: var(--white);
}
.product-step.is-active {
  border-color: var(--ct-brand-mid, #d1faeb);
  box-shadow: 0 0 0 3px var(--ct-brand-ring, rgba(62,207,142,0.18));
}
.product-kicker {
  display: block; font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 0.35rem;
}
.product-step strong { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.2rem; }
.product-step p { font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; }
.product-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.55rem; }
.product-pill {
  font-size: 0.6875rem; color: var(--ink);
  background: var(--ct-brand-light, #f0fdf8);
  border: 1px solid var(--ct-brand-mid, #d1faeb);
  border-radius: 100px; padding: 2px 8px;
}

/* ── Sections ── */
.section { padding: 4rem; max-width: 1200px; margin: 0 auto; }
.section-heading { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 3rem; text-align: center; }
.section-heading strong { font-weight: 600; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-card { text-align: center; }
.how-step { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.75rem; }
.how-title { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.how-desc { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.65; }

/* ── Pricing (locale-first; ZAR only in .pricing-foot) ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.pricing-card.featured { border: 2px solid var(--ink); position: relative; }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.pricing-card li { font-size: 0.8125rem; color: var(--ink-3); display: flex; align-items: center; gap: 0.5rem; }
.pricing-price { margin-top: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--ink); border-top: 1px solid var(--border); padding-top: 0.75rem; }
.pricing-note { font-size: 0.75rem; color: var(--ink-3); margin-top: -0.25rem; }
.pricing-cta {
  margin-top: 0.5rem; display: block; text-align: center;
  background: #f5f4f2; border: 1.5px solid var(--border); border-radius: 6px;
  padding: 0.7rem; font-size: 0.875rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.pricing-cta.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.pricing-cta:hover { opacity: 0.9; }
.pricing-foot { margin-top: 1.5rem; font-size: 0.75rem; color: var(--ink-3); text-align: center; line-height: 1.6; }

/* ── Final CTA ── */
.final-cta {
  background: var(--ink);
  color: var(--white);
  padding: 4rem;
  text-align: center;
}
.final-cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.final-cta-sub {
  font-size: 0.9375rem;
  color: var(--ink-3);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.final-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light {
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 6px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost-light:hover { border-color: var(--white); }

/* ── Updates (tertiary waitlist) ── */
.waitlist-section {
  padding: 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-subheading {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
.signup-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 440px;
  margin: 0 auto;
}
.geo-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 0.9375rem; font-family: inherit;
  background: var(--white); color: var(--ink); outline: none;
  transition: border-color 0.15s;
}
.geo-input:focus { border-color: var(--ink); }

/* ── Footer ── */
footer {
  padding: 2rem 4rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-3);
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--ink); }
.boston { display: block; margin-top: 0.65rem; font-size: 0.75rem; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none; }
}
@media (max-width: 1024px) {
  #nav { padding: 1rem 2rem; }
  .nav-links { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 6rem 2rem 4rem; min-height: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 2rem; }
  .waitlist-section { padding: 2.5rem 2rem; }
  .final-cta { padding: 3rem 2rem; }
  footer { padding: 1.5rem 2rem; }
}

@media (max-width: 768px) {
  #nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-ghost, .btn-green { width: 100%; justify-content: center; }
  .section { padding: 2rem 1.5rem; }
  .section-heading { margin-bottom: 2rem; }
  .how-grid { gap: 1.5rem; }
  .waitlist-section { padding: 2rem 1.5rem; }
  .signup-card { padding: 1.5rem; }
  .final-cta { padding: 2rem 1.5rem; }
  .final-cta-buttons { flex-direction: column; }
  footer { padding: 1rem 1.5rem; }
}
