/* ═══ Valley Date — Landing page ═════════════════════════════════════════
   Brand system: Midnight · Gold · Parchment. "Where leaders meet."
   Serif wordmark (Playfair Display) over Inter UI. */

:root {
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Core palette — drawn from the logo system */
  --midnight:    #0E1B2E;   /* deep navy background */
  --midnight-2:  #122236;   /* raised navy surface */
  --parchment:   #F5F2E8;   /* cream / parchment */
  --parchment-2: #EFEADB;
  --gold:        #C8A75A;   /* primary gold */
  --gold-deep:   #B6924A;
  --gold-soft:   #DCC182;

  /* Dark theme tokens (page is midnight-first) */
  --ink:        #F5F2E8;
  --ink-muted:  rgba(245, 242, 232, 0.66);
  --ink-faint:  rgba(245, 242, 232, 0.42);
  --surface:    var(--midnight);
  --surface-2:  #0B1626;
  --card:       #15263C;
  --card-hi:    #1B3047;
  --hairline:   rgba(245, 242, 232, 0.12);

  --gold-tint:  rgba(200, 167, 90, 0.16);
  --gold-line:  rgba(200, 167, 90, 0.40);

  --success:      #5FB088;
  --success-tint: rgba(95, 176, 136, 0.16);

  --shadow-card:   0 1px 4px rgba(0,0,0,.5), 0 0 0 1px rgba(245,242,232,.05);
  --shadow-raised: 0 22px 60px rgba(0,0,0,.55), 0 6px 18px rgba(0,0,0,.4);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
section { position: relative; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: transform var(--ease-out) .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 9px; }
.btn-primary { background: var(--gold); color: var(--midnight); box-shadow: 0 8px 22px rgba(200,167,90,.30); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-secondary { background: rgba(245,242,232,.05); color: var(--ink); border-color: var(--gold-line); }
.btn-secondary:hover { background: rgba(245,242,232,.09); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink-muted); }
.btn-ghost:hover { color: var(--gold); }
.arrow { font-size: 1.05em; }

/* ── Brand mark ──────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 6px; background: var(--midnight);
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand .mark span { font-family: var(--font-serif); color: var(--gold); font-weight: 600; font-size: 19px; line-height: 1; }
.brand-word { font-family: var(--font-serif); font-weight: 600; font-size: 21px; letter-spacing: .005em; }
.brand-tagline {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 14px 0 0 !important;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(14,27,46,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a { font-size: 14px; color: var(--ink-muted); transition: color .15s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 10px; margin-left: auto; align-items: center; }

/* ── Starfield (subtle gilded dust) ──────────────────────────────────── */
.starfield {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1.4px 1.4px at 12% 24%, rgba(200,167,90,.45), transparent),
    radial-gradient(1.1px 1.1px at 28% 68%, rgba(245,242,232,.30), transparent),
    radial-gradient(1.6px 1.6px at 44% 14%, rgba(200,167,90,.50), transparent),
    radial-gradient(1px 1px at 61% 52%, rgba(245,242,232,.28), transparent),
    radial-gradient(1.3px 1.3px at 77% 30%, rgba(200,167,90,.42), transparent),
    radial-gradient(1px 1px at 89% 72%, rgba(245,242,232,.24), transparent),
    radial-gradient(1.5px 1.5px at 8% 82%, rgba(200,167,90,.38), transparent),
    radial-gradient(1px 1px at 53% 88%, rgba(245,242,232,.22), transparent),
    radial-gradient(1.2px 1.2px at 95% 18%, rgba(200,167,90,.34), transparent),
    radial-gradient(1px 1px at 35% 40%, rgba(245,242,232,.24), transparent);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  text-align: center; padding: clamp(72px, 12vw, 132px) 20px clamp(64px, 9vw, 104px);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(200,167,90,.16), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-tint); border: 1px solid var(--gold-line);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(38px, 6.2vw, 68px); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 24px;
}
.grad {
  color: var(--gold);
  background: none; -webkit-text-fill-color: currentColor;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18.5px); color: var(--ink-muted); line-height: 1.62;
  max-width: 680px; margin: 0 auto 34px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: 12.5px; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }

/* ── Value pillars ───────────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: var(--maxw); margin: 0 auto; padding: 8px 20px 4px;
}
.pillar {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 24px 20px; text-align: left;
}
.pillar-ico { font-size: 22px; margin-bottom: 12px; }
.pillar h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }

/* ── Logos ───────────────────────────────────────────────────────────── */
.logos { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 8px; text-align: center; }
.logos-label { font-size: 12.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.logos-row span { font-size: 17px; font-weight: 600; color: rgba(245,242,232,.34); letter-spacing: -.01em; transition: color .2s; }
.logos-row span:hover { color: var(--gold); }

/* ── Section heads ───────────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-head h2, .split h2, .privacy h2, .cta h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.8vw, 44px); font-weight: 600;
  letter-spacing: -.005em; line-height: 1.14;
}
.section-sub { margin-top: 16px; font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

/* ── Problem ─────────────────────────────────────────────────────────── */
.problem { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prob-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 28px 24px;
}
.prob-ico { font-size: 26px; margin-bottom: 14px; }
.prob-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.prob-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }

/* ── How / steps ─────────────────────────────────────────────────────── */
.how { background: var(--surface-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: clamp(70px, 9vw, 110px) 20px; }
.steps { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 28px 22px; position: relative; }
.step-n { font-family: var(--font-serif); font-size: 34px; font-weight: 600; color: var(--gold); display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.step p { font-size: 14px; color: var(--ink-muted); line-height: 1.58; }

/* ── Split sections ──────────────────────────────────────────────────── */
.split {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center;
}
.split.reverse .split-copy { order: 2; }
.split h2 { margin-bottom: 18px; }
.split-pain {
  font-size: 16.5px; line-height: 1.6; color: var(--ink); font-weight: 500;
  border-left: 2px solid var(--gold); padding-left: 16px; margin-bottom: 26px;
}
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-muted); line-height: 1.55; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px; background: var(--gold-tint); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.ticks strong { color: var(--ink); font-weight: 600; }
.ticks em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ── Mock cards (product preview) ────────────────────────────────────── */
.split-visual { display: flex; justify-content: center; }
.mock-card {
  width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow-raised);
}
.mock-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.mock-av {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-soft)); color: var(--midnight);
}
.mock-av.mask { background: var(--card-hi); }
.brief-av { background: var(--midnight); border: 1px solid var(--gold-line); color: var(--gold); font-family: var(--font-serif); }
.mock-id { flex: 1; min-width: 0; }
.mock-handle { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.mock-handle.serif { font-family: var(--font-serif); font-weight: 500; font-size: 15px; line-height: 1.3; }
.mock-role { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }
.mock-ring {
  flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--gold-tint);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mock-ring span { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--gold); line-height: 1; }
.mock-ring small { font-size: 9px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.mock-summary { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; margin-bottom: 14px; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mock-chips span { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: rgba(245,242,232,.05); border: 1px solid var(--hairline); color: var(--ink-muted); }
.mock-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mock-badges span { font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.b-verify { color: var(--success); }
.b-dp { padding: 3px 9px; border-radius: 999px; background: var(--gold-tint); color: var(--gold); }
.b-amber { padding: 3px 9px; border-radius: 999px; background: var(--gold-tint); color: var(--gold); }
.mock-btn { width: 100%; }

/* ── Match diagram ───────────────────────────────────────────────────── */
.matchviz {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px;
}
.match-stage {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  gap: clamp(8px, 3vw, 28px); max-width: 920px; margin: 0 auto;
}
.match-side {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 24px 22px; box-shadow: var(--shadow-card); position: relative;
}
.brief-side  { border-top: 2px solid var(--gold-line); }
.expert-side { border-top: 2px solid var(--gold); }
.match-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.match-handle { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.match-handle.serif { font-family: var(--font-serif); font-weight: 500; font-size: 18px; }
.match-mask { font-size: 13px; opacity: .75; }
.match-meta { font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
.match-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.match-chips span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  background: rgba(245,242,232,.05); border: 1px solid var(--hairline); color: var(--ink-muted);
}

/* center connector */
.match-link {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-width: 92px;
}
.match-link::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-line), var(--gold), var(--gold-line));
  transform: translateY(-50%);
}
.match-pulse {
  position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
  transform: translateY(-50%);
  animation: match-travel 2.6s var(--ease-out) infinite;
}
@keyframes match-travel {
  0%   { left: 4%;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 92%; opacity: 0; }
}
.match-score {
  position: relative; z-index: 1;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px var(--gold-tint), var(--shadow-raised);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.match-score-n { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--gold); line-height: 1; }
.match-score small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-top: 2px; }

/* factor bars */
.match-factors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px;
  max-width: 920px; margin: 36px auto 0;
}
.factor-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.factor-top span { font-size: 13px; color: var(--ink-muted); }
.factor-top b { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--gold); }
.factor-bar { height: 5px; border-radius: 999px; background: rgba(245,242,232,.07); overflow: hidden; }
.factor-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
}

/* ── Privacy band ────────────────────────────────────────────────────── */
.privacy {
  padding: clamp(70px, 9vw, 110px) 20px;
  background: radial-gradient(90% 120% at 50% 50%, rgba(200,167,90,.12), transparent 70%), var(--surface-2);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.privacy-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center;
}
.privacy-copy h2 { margin-bottom: 18px; }
.privacy-copy p { font-size: 17px; color: var(--ink-muted); line-height: 1.65; }
.privacy-copy strong { color: var(--ink); font-weight: 600; }

/* anonymity flow */
.anon-flow {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 12px 24px; box-shadow: var(--shadow-card);
}
.anon-step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.anon-step:last-child { border-bottom: none; }
.anon-circle {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--gold-tint); border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 16px; color: var(--gold);
}
.anon-step p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.anon-step strong { color: var(--ink); font-weight: 600; }

/* ── Testimonials ────────────────────────────────────────────────────── */
.proof { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 9vw, 110px) 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { font-family: var(--font-serif); font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote figcaption { font-size: 13px; color: var(--ink-faint); }
.quote figcaption strong { color: var(--ink-muted); font-weight: 600; }

/* ── CTA ─────────────────────────────────────────────────────────────── */
.cta {
  text-align: center; padding: clamp(80px, 11vw, 130px) 20px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, rgba(200,167,90,.20), transparent 60%), var(--surface);
}
.cta-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta .eyebrow { margin-bottom: 18px; }
.cta h2 { margin-bottom: 16px; }
.cta p { font-size: 17px; color: var(--ink-muted); margin-bottom: 30px; }
.access-form {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
}
.access-form input {
  flex: 1; min-width: 0; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--card); border: 1px solid var(--hairline); border-radius: 9px; padding: 14px 16px;
  outline: none; transition: border-color .15s;
}
.access-form input::placeholder { color: var(--ink-faint); }
.access-form input:focus { border-color: var(--gold); }
.access-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 20px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px;
  border-top: 1px solid var(--hairline);
}
.footer-brand p { font-size: 13.5px; color: var(--ink-faint); line-height: 1.6; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-muted); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--hairline); padding-top: 24px; margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Match diagram stacks: brief → score → expert */
  .match-stage { grid-template-columns: 1fr; gap: 0; }
  .match-link { min-width: 0; height: 64px; }
  .match-link::before {
    top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold-line), var(--gold), var(--gold-line));
    transform: translateX(-50%);
  }
  .match-pulse { animation: none; top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .match-factors { grid-template-columns: repeat(2, 1fr); }

  .privacy-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
  .access-form { flex-direction: column; }
}
