:root {
  --bg:        #07090f;
  --surface:   #0e1119;
  --surface2:  #141820;
  --gold:      #c8a45a;
  --gold-dim:  rgba(200,164,90,0.18);
  --gold-line: rgba(200,164,90,0.28);
  --cream:     #f2ead8;
  --cream-dim: rgba(242,234,216,0.55);
  --muted:     rgba(242,234,216,0.35);
  --radius:    4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(7,9,15,0.88);
  border-color: var(--gold-line);
  backdrop-filter: blur(18px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--cream); text-decoration: none;
  display: flex; align-items: center; gap: 0.45rem;
}
.nav-logo .ai-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line);
  border-radius: 2px; padding: 0.13rem 0.42rem; line-height: 1.4;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.92rem; letter-spacing: 0.09em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: transparent !important; border: 1px solid var(--gold-line) !important;
  color: var(--gold) !important; padding: 0.45rem 1.2rem;
  border-radius: var(--radius); transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dim) !important; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 0.4rem; z-index: 101;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── SHARED ── */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--bg);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.9rem 2.1rem; border-radius: var(--radius);
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.9rem 2.1rem; border-radius: var(--radius);
  border: 1px solid rgba(242,234,216,0.2); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--gold-line); color: var(--gold); background: var(--gold-dim); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 10rem 4rem 6rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 72% 55% at 62% 38%, rgba(200,164,90,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 8% 82%, rgba(60,80,140,0.09) 0%, transparent 60%);
}
.hero-rule {
  position: absolute; top: 0; left: 4rem; right: 4rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 40%, transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 840px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.84rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 300; line-height: 1.08; color: var(--cream); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.9s 0.35s forwards;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.18rem; color: var(--cream-dim);
  max-width: 560px; line-height: 1.85; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  opacity: 0; animation: fadeUp 0.9s 0.65s forwards;
}
.hero-partners {
  position: relative; z-index: 1; margin-top: 5rem;
  display: flex; align-items: center; gap: 1.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.8s forwards;
}
.hero-partners span { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.partner-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--gold-line); border-radius: 2px; padding: 0.35rem 0.9rem;
  font-size: 0.88rem; color: var(--cream-dim); letter-spacing: 0.06em;
}
.partner-badge svg { width: 13px; height: 13px; fill: none; stroke: var(--gold); stroke-width: 1.5; flex-shrink: 0; }
.deco-line {
  position: absolute; right: 4rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 38%;
  background: linear-gradient(to bottom, transparent, var(--gold-line), transparent);
  pointer-events: none;
}

/* ── PROBLEM ── */
.problem { padding: 8rem 4rem; border-top: 1px solid var(--gold-line); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.problem h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.2;
  color: var(--cream); margin-bottom: 1.5rem;
}
.problem h2 em { font-style: italic; color: var(--gold); }
.problem-body { color: var(--cream-dim); font-size: 1.08rem; line-height: 1.9; }
.problem-body p + p { margin-top: 1rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 1.8rem 1.5rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

/* ── PRODUCTS ── */
.products {
  padding: 8rem 4rem; background: var(--surface);
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
}
.products-header { max-width: 900px; margin-bottom: 4rem; }
.products h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.2;
  color: var(--cream); margin-bottom: 1rem;
}
.products-sub { color: var(--cream-dim); font-size: 1.08rem; }

.product-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  max-width: 1500px;
}
.product-card {
  background: var(--surface2); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover { border-color: rgba(200,164,90,0.5); transform: translateY(-3px); }
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 44px; height: 44px; background: var(--gold-dim);
  border: 1px solid var(--gold-line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.product-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.product-tag {
  display: inline-block; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line); border-radius: 2px;
  padding: 0.2rem 0.5rem; margin-bottom: 0.9rem;
}
.product-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem; font-weight: 400; color: var(--cream); margin-bottom: 1.2rem;
}
.practice-areas { margin-bottom: 1.6rem; }
.practice-label {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.7rem;
}
.practice-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.practice-pill {
  font-size: 0.86rem; letter-spacing: 0.08em; border-radius: 2px;
  padding: 0.3rem 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem;
}
.practice-pill.live { background: var(--gold-dim); border: 1px solid var(--gold-line); color: var(--cream-dim); }
.practice-pill.coming { background: transparent; border: 1px solid rgba(242,234,216,0.08); color: var(--muted); }
.practice-pill.coming .soon-tag {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); opacity: 0.65;
}
.product-card > p { color: var(--cream-dim); font-size: 1.02rem; line-height: 1.8; }
.feature-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.98rem; color: var(--cream-dim); }
.feature-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 0.05rem; }
.product-card-cta {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2rem;
  font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold-line); padding-bottom: 0.15rem;
  transition: gap 0.2s, border-color 0.2s;
}
.product-card-cta:hover { gap: 0.75rem; border-color: var(--gold); }

/* ── AUDIENCE ── */
.audience { padding: 8rem 4rem; }
.audience-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.2;
  color: var(--cream); max-width: 600px; margin-bottom: 3.5rem;
}
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.audience-card {
  background: var(--surface); border: 1px solid var(--gold-line);
  border-radius: var(--radius); padding: 2rem; transition: background 0.2s;
}
.audience-card:hover { background: var(--surface2); }
.audience-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 400; color: var(--cream); margin-bottom: 0.6rem;
}
.audience-card p { color: var(--cream-dim); font-size: 1rem; line-height: 1.75; }
.audience-domains { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.domain-pill {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid rgba(242,234,216,0.1);
  border-radius: 2px; padding: 0.2rem 0.5rem;
}

/* ── RESEARCH CTA ── */
.research {
  padding: 8rem 4rem; background: var(--surface);
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  text-align: center;
}
.research-inner { max-width: 680px; margin: 0 auto; }
.research h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15;
  color: var(--cream); margin-bottom: 1.2rem;
}
.research h2 em { font-style: italic; color: var(--gold); }
.research p { color: var(--cream-dim); font-size: 1.12rem; line-height: 1.85; margin-bottom: 2.5rem; }
.research-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.research-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 3rem 4rem; border-top: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--cream); text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
}
.footer-logo .ai-tag {
  font-family: 'DM Sans', sans-serif; font-size: 0.58rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line);
  border-radius: 2px; padding: 0.1rem 0.35rem; line-height: 1.4;
}
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.86rem; color: var(--muted); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s, transform 0.75s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 1.2rem 2rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column; align-items: flex-start;
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(7,9,15,0.97);
    backdrop-filter: blur(18px);
    padding: 6rem 2rem 3rem;
    gap: 1.8rem; z-index: 100;
    border-bottom: 1px solid var(--gold-line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .hero { padding: 8rem 2rem 5rem; }
  .problem, .products, .audience, .research { padding: 5rem 2rem; }
  footer { padding: 2.5rem 2rem; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .problem-grid, .audience-grid, .product-cards-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-rule, .deco-line { display: none; }
}

@media (max-width: 768px) {
  .product-cards-grid { grid-template-columns: 1fr !important; gap: 2rem; }
}