/* NEUVIA — site stylesheet (shared across every page) */

:root {
  --navy-900:#0D1B2A;
  --navy-800:#15263A;
  --navy-700:#1E3A5F;
  --bluegray:#5D7D8C;
  --bluegray-300:#A4B5BF;
  --gold:#D4AF37;
  --gold-soft:#E8CB7A;
  --gold-deep:#B6911F;
  --ivory:#F4F1EB;
  --ivory-100:#E8E2D2;
  --sage:#6E8F76;
  --terracotta:#B5524A;
  --line: rgba(244,241,235,0.10);
  --line-strong: rgba(244,241,235,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy-900);
  color: var(--ivory);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip to content (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy-900);
  padding: 12px 20px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 12px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.editorial { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
.uppercase {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bluegray); font-weight: 400;
}

/* Wordmark */
.wordmark {
  font-family: "Poppins", sans-serif; font-weight: 300;
  font-size: 20px; letter-spacing: 0.34em; color: var(--ivory);
  text-decoration: none; display: inline-block;
}
.wordmark.large {
  font-size: clamp(48px, 7vw, 72px); letter-spacing: 0.42em;
  font-weight: 200; display: block; text-align: center;
}
.tagline {
  font-size: 11px; letter-spacing: 0.46em; color: var(--gold);
  text-transform: uppercase; font-weight: 400;
  display: block; text-align: center; margin-top: 24px;
}
.gold-rule { width: 60px; height: 1px; background: var(--gold); opacity: 0.6; margin: 24px auto 0; }

/* Nav */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  background: rgba(13,27,42,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; gap: 36px; font-size: 13px; color: var(--bluegray-300); font-weight: 400; }
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: var(--ivory); }
.nav-cta {
  padding: 10px 22px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 999px; font-size: 11px; letter-spacing: 0.20em;
  text-transform: uppercase; font-weight: 500; transition: all .25s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-900); }

/* Buttons */
.btn-primary, .btn-ghost, .btn-secondary {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  border: none; font-family: inherit;
}
.btn-primary {
  padding: 18px 34px; background: var(--ivory); color: var(--navy-900);
  border-radius: 999px; font-weight: 500; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,0.40); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost {
  padding: 18px 8px; color: var(--bluegray-300); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: all .25s; font-weight: 400;
  background: transparent;
}
.btn-ghost:hover { color: var(--ivory); border-color: var(--gold); }
.btn-secondary {
  padding: 14px 24px; border: 1px solid var(--line-strong); color: var(--ivory);
  border-radius: 999px; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500; transition: all .25s;
  background: transparent;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero {
  padding: 140px 0 160px; position: relative; overflow: hidden; text-align: center;
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); width: 1100px; height: 1100px;
  background: radial-gradient(closest-side, rgba(212,175,55,0.10), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
h1.hero-title {
  font-size: clamp(40px, 5.8vw, 72px); color: var(--ivory);
  margin: 60px auto 28px; max-width: 18ch;
}
h1.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 18px; color: var(--bluegray-300); max-width: 560px;
  margin: 0 auto 48px; font-weight: 300; line-height: 1.7;
}
.cta-row {
  display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap;
}

/* Phone mockup */
.phone-row { margin-top: 80px; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 46px;
  background: linear-gradient(180deg, #1E2F44 0%, #15263A 100%);
  padding: 14px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(244,241,235,0.06);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; background: var(--navy-800);
  position: relative; overflow: hidden; border: 1px solid rgba(244,241,235,0.06);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; background: #000; border-radius: 14px; z-index: 3;
}
.phone-content {
  padding: 46px 18px 18px; color: var(--ivory); height: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.phone-greet { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; line-height: 1.1; font-weight: 500; }
.phone-greet .light { color: var(--bluegray-300); }
.phone-card {
  background: rgba(244,241,235,0.04); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; font-size: 12px; color: var(--bluegray-300);
}
.phone-card.gold { border-color: rgba(212,175,55,0.40); background: rgba(212,175,55,0.06); }
.phone-card .label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 500;
}
.phone-card .body { color: var(--ivory); font-size: 13px; line-height: 1.45; font-weight: 300; }
.phone-progress { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.seg { flex: 1; height: 4px; border-radius: 4px; background: rgba(244,241,235,0.10); }
.seg.done { background: var(--gold); }
.seg.now { background: linear-gradient(90deg, var(--gold) 60%, rgba(212,175,55,0.20) 60%); }
.copilot-bar {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  background: var(--ivory); color: var(--navy-900);
  border-radius: 999px; padding: 10px 14px; font-size: 12px; font-weight: 400;
}
.copilot-bar .mic {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--navy-900); font-size: 10px;
}

/* Sections */
section { padding: 120px 0; position: relative; }
.section-eyebrow { margin-bottom: 18px; }
h2 {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1;
  color: var(--ivory); max-width: 18ch; margin-bottom: 24px;
}
.lede {
  font-size: 18px; color: var(--bluegray-300); max-width: 60ch;
  margin-bottom: 60px; font-weight: 300; line-height: 1.7;
}

/* Pillars */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pillar { background: var(--navy-900); padding: 60px 36px; display: flex; flex-direction: column; gap: 18px; }
.pillar-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 42px; color: var(--gold); font-weight: 500; }
.pillar h3 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px;
  font-weight: 500; line-height: 1.15; color: var(--ivory);
}
.pillar p { color: var(--bluegray-300); font-size: 15px; line-height: 1.7; font-weight: 300; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module {
  border: 1px solid var(--line); border-radius: 18px; padding: 34px;
  background: linear-gradient(180deg, rgba(244,241,235,0.02), rgba(244,241,235,0));
  transition: all .35s ease;
}
.module:hover { border-color: rgba(212,175,55,0.40); transform: translateY(-3px); }
.module .label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.module h4 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px;
  font-weight: 500; line-height: 1.2; margin-bottom: 10px;
}
.module p { color: var(--bluegray-300); font-size: 14.5px; line-height: 1.7; font-weight: 300; }

/* Copilot demo */
.copilot {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.copilot-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.chat {
  background: rgba(13,27,42,0.6); border: 1px solid var(--line);
  border-radius: 24px; padding: 30px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.bubble {
  padding: 14px 18px; border-radius: 16px; font-size: 15px; line-height: 1.65;
  margin-bottom: 14px; max-width: 88%; font-weight: 300;
}
.bubble.user {
  background: var(--ivory); color: var(--navy-900);
  margin-left: auto; border-bottom-right-radius: 5px;
}
.bubble.assist {
  background: rgba(244,241,235,0.04); border-left: 2px solid var(--gold);
  color: var(--ivory); border-bottom-left-radius: 5px;
}
.bubble.assist strong { color: var(--gold); font-weight: 500; }
.bubble.assist em {
  font-style: italic; color: var(--bluegray-300);
  display: block; margin-top: 8px; padding-left: 10px; border-left: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--bluegray-300); font-weight: 300;
}

/* Safety */
.safety-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.map-mock {
  aspect-ratio: 1/1; border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(93,125,140,0.18), transparent 60%),
              linear-gradient(180deg, #162338, #0D1B2A);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.5;
}
.safe-zone {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 62%; height: 62%; border-radius: 50%;
  border: 1px dashed rgba(93,125,140,0.7); background: rgba(93,125,140,0.06);
}
.pin {
  position: absolute; left: 54%; top: 46%; width: 14px; height: 14px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 6px rgba(212,175,55,0.20), 0 0 0 14px rgba(212,175,55,0.08);
}
.safety-tiers {
  display: flex; gap: 32px; flex-wrap: wrap;
  color: var(--bluegray-300); font-size: 14px; line-height: 1.7; font-weight: 300;
}
.safety-tiers > div { flex: 1; min-width: 140px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier {
  border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  background: rgba(244,241,235,0.02);
  display: flex; flex-direction: column; gap: 18px; transition: all .3s;
}
.tier.feature {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.07), rgba(212,175,55,0.01));
  position: relative;
}
.tier.feature::before {
  content: "Recommended"; position: absolute; top: -12px; left: 32px;
  background: var(--gold); color: var(--navy-900);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.tier h5 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 500; }
.tier .price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px; color: var(--ivory); font-weight: 500;
}
.tier .price small {
  font-size: 14px; color: var(--bluegray);
  font-family: "Poppins", sans-serif; font-weight: 300;
}
.tier ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  color: var(--bluegray-300); font-size: 14px; flex: 1; font-weight: 300;
}
.tier li::before { content: "·"; color: var(--gold); margin-right: 10px; font-weight: 600; }
.tier .tier-cta {
  padding: 12px 18px; border: 1px solid var(--ivory); border-radius: 999px;
  text-align: center; font-size: 11px; color: var(--ivory); transition: all .25s;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
}
.tier.feature .tier-cta { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

/* Trust */
.trust {
  padding: 90px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.trust .editorial { font-size: clamp(28px, 3.5vw, 40px); max-width: 30ch; margin: 0 auto 28px; }
.trust-row {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
  color: var(--bluegray); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500;
}

/* Waitlist form */
.waitlist {
  max-width: 540px; margin: 0 auto;
  background: rgba(244,241,235,0.03); border: 1px solid var(--line);
  border-radius: 24px; padding: 40px;
}
.waitlist label {
  display: block; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; font-weight: 500;
}
.waitlist .row { display: flex; gap: 12px; align-items: stretch; }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; padding: 16px 20px;
  background: var(--navy-800); border: 1px solid var(--line-strong);
  border-radius: 999px; color: var(--ivory);
  font-family: inherit; font-size: 15px; font-weight: 300;
}
.waitlist input[type="email"]::placeholder { color: var(--bluegray); }
.waitlist input[type="email"]:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.waitlist .btn-primary { white-space: nowrap; }
.waitlist .helper {
  font-size: 12px; color: var(--bluegray-300);
  margin-top: 16px; text-align: center; font-weight: 300;
}
.waitlist .role-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.waitlist .role-pill {
  flex: 1; min-width: 140px;
  padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--bluegray-300); font-family: inherit; font-size: 12px;
  letter-spacing: 0.10em; text-transform: uppercase; font-weight: 500;
  transition: all .2s;
}
.waitlist .role-pill[aria-pressed="true"] {
  border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.06);
}
.waitlist-state { text-align: center; padding: 24px 0; }
.waitlist-state[hidden] { display: none; }
.waitlist-state .editorial { font-size: 28px; margin-bottom: 12px; }
.waitlist-state.error { color: var(--terracotta); }

/* Footer */
footer.site-footer {
  padding: 80px 0 60px; border-top: 1px solid var(--line); background: var(--navy-900);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; }
.foot-grid h6 {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.foot-grid a {
  display: block; color: var(--bluegray-300); font-size: 14px;
  padding: 6px 0; transition: color .2s; font-weight: 300;
}
.foot-grid a:hover { color: var(--ivory); }
.foot-base {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line);
  color: var(--bluegray); font-size: 12px; font-weight: 300;
}
.foot-tagline {
  color: var(--bluegray-300); font-size: 14px; max-width: 36ch;
  margin-top: 20px; font-weight: 300; line-height: 1.6;
}
.foot-disclosure {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--bluegray); font-size: 11px; line-height: 1.7; font-weight: 300;
  max-width: 720px;
}

/* Generic content pages (privacy / terms / contact / 404) */
.content-page { padding: 80px 0 120px; }
.content-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; color: var(--ivory);
  margin-bottom: 12px;
}
.content-page .updated {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bluegray); font-weight: 500; margin-bottom: 48px;
}
.content-page article { max-width: 720px; }
.content-page article h2 {
  font-size: 24px; line-height: 1.3; margin: 48px 0 16px; max-width: none;
}
.content-page article h3 {
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: 16px;
  letter-spacing: 0.04em; margin: 28px 0 8px; color: var(--ivory);
}
.content-page article p, .content-page article li {
  color: var(--bluegray-300); font-size: 16px; line-height: 1.7; margin-bottom: 16px;
}
.content-page article ul { padding-left: 20px; margin-bottom: 16px; }
.content-page article a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.content-page article .placeholder {
  display: inline-block; padding: 2px 8px; background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.40); border-radius: 4px;
  font-size: 12px; color: var(--gold); font-weight: 500; letter-spacing: 0.04em;
}

/* 404 */
.not-found {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 80px 28px;
}
.not-found .editorial { font-size: clamp(48px, 8vw, 96px); margin-bottom: 16px; }
.not-found .lede { margin-bottom: 32px; }

/* Responsive */
@media (max-width: 980px) {
  .copilot-grid, .safety-grid { grid-template-columns: 1fr; gap: 60px; }
  .pillars { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
  section { padding: 80px 0; }
  .hero { padding: 80px 0 100px; }
  .wordmark.large { letter-spacing: 0.36em; }
  .waitlist { padding: 28px; }
  .waitlist .row { flex-direction: column; }
}
@media (max-width: 600px) {
  .modules, .pricing, .foot-grid { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
