/* Vetted & Casual — design tokens
   Palette: night-map. Ink aubergine ground, candle amber, linen text, verified sage.
   Type: Fraunces (display, soft optical) + Karla (body).
*/
:root {
  --ink: #211a2b;          /* deep aubergine-ink ground */
  --ink-2: #2b2338;        /* raised surfaces */
  --linen: #f3ece2;        /* primary text on dark */
  --linen-dim: #c9c0b4;    /* secondary text */
  --candle: #e8a24c;       /* amber — her pin, actions */
  --candle-soft: #f0bd7d;
  --sage: #9db89a;         /* verified marks */
  --rose: #c98a93;         /* rare warm accent */
  --line: rgba(243, 236, 226, 0.14);
  --radius: 14px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--ink);
  color: var(--linen);
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

a { color: var(--candle-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 3px;
}

/* ---------- header ---------- */
header {
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand {
  font-size: 21px; color: var(--linen);
  display: flex; align-items: center; gap: 10px;
}
.brand .pin-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 12px 2px rgba(232, 162, 76, 0.55);
}
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--linen-dim); }
.nav-links a:hover { color: var(--linen); text-decoration: none; }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
  padding: 84px 0 72px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 48px; gap: 40px; }
}
.eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 58px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--candle-soft); }
.hero .lede { font-size: 19px; color: var(--linen-dim); max-width: 46ch; margin-bottom: 30px; }

.cta {
  display: inline-block;
  background: var(--candle); color: #241809;
  font-family: 'Karla', sans-serif; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
}
.cta:hover { background: var(--candle-soft); text-decoration: none; }

/* ---------- signature: the visibility card ---------- */
/* ---------- ambient hero (homepage) ---------- */
.hero-ambient { position: relative; grid-column: 1 / -1; }
.hero-ambient .hero-copy {
  position: relative; z-index: 2;
  max-width: 640px; padding: 110px 0 130px;
}
@media (max-width: 860px) { .hero-ambient .hero-copy { padding: 70px 0 90px; } }
.glow-field {
  position: absolute; inset: -40px -100vw 0;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.55;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb.o1 { width: 480px; height: 480px; right: 4%; top: -8%;
  background: radial-gradient(circle, rgba(232,162,76,0.5), transparent 70%); }
.orb.o2 { width: 380px; height: 380px; right: 26%; top: 34%;
  background: radial-gradient(circle, rgba(201,138,147,0.42), transparent 70%);
  animation-duration: 32s; animation-delay: -8s; }
.orb.o3 { width: 300px; height: 300px; right: -4%; top: 52%;
  background: radial-gradient(circle, rgba(157,184,154,0.34), transparent 70%);
  animation-duration: 38s; animation-delay: -16s; }
.orb.o4 { width: 220px; height: 220px; left: 30%; top: 6%;
  background: radial-gradient(circle, rgba(240,189,125,0.28), transparent 70%);
  animation-duration: 29s; animation-delay: -4s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-50px, 34px) scale(1.12); }
  100% { transform: translate(36px, -26px) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
@media (max-width: 860px) {
  .orb { filter: blur(46px); }
  .orb.o1 { width: 320px; height: 320px; }
  .orb.o2 { width: 260px; height: 260px; }
}

.demo-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .demo-split { grid-template-columns: 1fr; gap: 32px; } }

.vis-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.vis-map {
  position: relative;
  border-radius: 10px;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201, 138, 147, 0.08), transparent 55%),
    linear-gradient(#2b2338, #241d31);
}
/* faint street grid */
.vis-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(243,236,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,236,226,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.vis-map::after {
  content: ""; position: absolute; left: -10%; top: 55%; width: 120%; height: 3px;
  background: rgba(243,236,226,0.07); transform: rotate(-7deg);
}
.other-pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--sage); opacity: 0.85;
}
.other-pin::after {
  content: "✓"; position: absolute; top: -19px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--sage);
}
.her-pin {
  position: absolute; left: 48%; top: 42%;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 0 6px rgba(232,162,76,0.18), 0 0 22px 4px rgba(232,162,76,0.5);
  opacity: 0; transform: scale(0.4);
  transition: opacity .35s ease, transform .35s ease;
}
.vis-card.on .her-pin { opacity: 1; transform: scale(1); }

.vis-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
}
.vis-label { font-size: 15px; color: var(--linen-dim); }
.vis-label strong { color: var(--linen); display: block; font-size: 16px; }
.toggle {
  position: relative; width: 58px; height: 32px; border-radius: 999px;
  background: rgba(243,236,226,0.15); border: 1px solid var(--line);
  cursor: pointer; transition: background .25s ease;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--linen); transition: transform .25s ease;
}
.vis-card.on .toggle { background: var(--candle); }
.vis-card.on .toggle::after { transform: translateX(25px); }
.vis-hint { margin-top: 12px; font-size: 13px; color: var(--linen-dim); }

/* ---------- sections ---------- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 18px; max-width: 24ch; }
.section-lede { color: var(--linen-dim); max-width: 62ch; margin-bottom: 36px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; } }
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--linen-dim); }
.card .mark { font-size: 22px; margin-bottom: 14px; display: block; }

.prose p { max-width: 68ch; color: var(--linen-dim); margin-bottom: 18px; }
.prose p strong { color: var(--linen); }
.prose h2 { margin-top: 14px; }

/* ---------- waitlist ---------- */
.waitlist {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
  max-width: 620px;
}
.waitlist h2 { font-size: 30px; }
.waitlist p { color: var(--linen-dim); margin: 12px 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--linen-dim); margin-bottom: 7px; }
input[type="email"], select {
  width: 100%; padding: 13px 15px;
  background: var(--ink); color: var(--linen);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: 'Karla', sans-serif; font-size: 16px;
}
.hp { position: absolute; left: -6000px; }
.form-note { font-size: 13px; color: var(--linen-dim); margin-top: 14px; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: var(--rose); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px; font-size: 14px; color: var(--linen-dim);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 14px; }
.foot-links a { color: var(--linen-dim); }

/* ---------- intent checkboxes ---------- */
.field-label { display: block; font-size: 14px; color: var(--linen-dim); margin-bottom: 7px; }
.checks { display: flex; flex-direction: column; gap: 2px; }
.checks label {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; color: var(--linen-dim);
  padding: 7px 2px; cursor: pointer; border-radius: 8px;
}
.checks label:hover { color: var(--linen); }
.checks input[type="checkbox"] {
  width: 18px; height: 18px; flex: none;
  accent-color: var(--candle); cursor: pointer;
}

/* ===== Facelift v2: the seam ===== */
:root { --ember:#c96f45; --ember-deep:#b25a34; --sagedeep:#2f5d50; --linen-panel:#f4efe6; --ink-panel:#1d1726; }
header { background: transparent; position: absolute; top: 18px; left: 0; right: 0; z-index: 40; border: 0; }
.nav { background: rgba(244,239,230,.86); backdrop-filter: blur(10px); border: 1px solid rgba(33,26,43,.08);
  border-radius: 999px; padding: 10px 22px; box-shadow: 0 8px 30px rgba(33,26,43,.12); }
.nav .brand { color: #241d2e; }
.nav .brand .pin-dot { background: var(--ember); }
.nav-links a { color: #4a4056; }
.nav-links a:hover { color: #241d2e; }
body.dark-page .nav { background: rgba(33,26,43,.7); border-color: rgba(243,236,226,.12); }
body.dark-page .nav .brand { color: var(--linen); }
body.dark-page .nav-links a { color: var(--linen-dim); }
body.dark-page .nav-links a:hover { color: var(--linen); }

.hero-split { display: grid; grid-template-columns: 11fr 9fr; min-height: 92vh; align-items: stretch; }
.hs-left { background: var(--linen-panel); color: #241d2e; display: flex; flex-direction: column;
  justify-content: center; padding: clamp(90px,12vh,140px) clamp(24px,6vw,84px) clamp(48px,8vh,90px); }
.hs-left .eyebrow { color: var(--sagedeep); }
.hs-left h1 { color: #241d2e; font-size: clamp(40px,5.6vw,72px); line-height: 1.04; margin: 10px 0 22px; }
.hs-left h1 em { font-style: italic; color: var(--ember-deep); }
.hs-left .lede { color: #55495f; max-width: 46ch; font-size: clamp(16px,1.4vw,19px); }
.quick { display: flex; gap: 10px; margin-top: 30px; max-width: 470px; }
.quick input[type=email] { flex: 1; border: 1px solid rgba(33,26,43,.22); background: #fff; color: #241d2e;
  border-radius: 12px; padding: 15px 16px; font: 500 15.5px 'Karla',sans-serif; }
.quick input[type=email]:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: transparent; }
.btn-ember { background: var(--ember); color: #fff; border: 0; border-radius: 12px; padding: 15px 24px;
  font: 700 15.5px 'Karla',sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, transform .12s; }
.btn-ember:hover { background: var(--ember-deep); transform: translateY(-1px); }
.quick-note { font-size: 13px; color: #6e6278; margin-top: 12px; }
.quick-msg { font-size: 14px; color: var(--sagedeep); min-height: 20px; margin-top: 8px; font-weight: 700; }

.hs-right { position: relative; background: radial-gradient(120% 90% at 30% 40%, #2a2138 0%, var(--ink-panel) 60%);
  overflow: hidden; }
.pinfield { position: absolute; inset: 0; }
.mpin { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #79a58a;
  box-shadow: 0 0 14px rgba(121,165,138,.55); animation: pinbreathe 5s ease-in-out infinite; }
.mpin.dim { opacity: .55; width: 8px; height: 8px; }
@keyframes pinbreathe { 0%,100% { transform: scale(1); opacity: .8 } 50% { transform: scale(1.25); opacity: 1 } }
.herpin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); }
.herpin .halo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,162,76,.4) 0%, rgba(232,162,76,.12) 45%, transparent 70%);
  animation: halo 4s ease-in-out infinite; }
@keyframes halo { 0%,100% { transform: translate(-50%,-50%) scale(1) } 50% { transform: translate(-50%,-50%) scale(1.18) } }
.herpin svg { position: relative; filter: drop-shadow(0 6px 18px rgba(232,162,76,.5)); }
.seam-caption { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(243,236,226,.75); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hs-right { min-height: 46vh; }
  .quick { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .mpin, .herpin .halo { animation: none; } }

/* ===== The standard: light benefit section (men) ===== */
.standard { background: var(--linen-panel); color: #241d2e; padding: 72px 0; }
.standard h2 { font-family: 'Fraunces',serif; font-weight: 560; text-transform: uppercase; letter-spacing: .02em;
  color: #241d2e; font-size: clamp(26px,3.4vw,44px); text-align: center; margin-bottom: 44px; }
.std-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.std-card { background: #fff; border: 1px solid rgba(33,26,43,.07); border-radius: 16px; padding: 30px 26px;
  box-shadow: 0 10px 34px rgba(33,26,43,.07); }
.std-card svg { color: var(--sagedeep); margin-bottom: 18px; }
.std-card h3 { font: 800 17px 'Karla',sans-serif; text-transform: uppercase; letter-spacing: .04em;
  color: #241d2e; margin-bottom: 12px; line-height: 1.3; }
.std-card p { color: #55495f; font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .std-grid { grid-template-columns: 1fr; } }

/* visibility-toggle demo (hero right panel) */
.hs-right .herpin { opacity: 0; transition: opacity .5s ease; }
.hs-right.her-on .herpin { opacity: 1; }
.vis-demo { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  background: rgba(29,23,38,.78); backdrop-filter: blur(8px); border: 1px solid rgba(243,236,226,.16);
  border-radius: 16px; padding: 18px 22px; width: min(340px, 86%); text-align: center; }
.vis-demo-title { color: var(--candle-soft, #f0c68a); font: 700 12.5px 'Karla',sans-serif;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.vswitch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.vswitch input { position: absolute; opacity: 0; }
.vtrack { width: 52px; height: 28px; border-radius: 99px; background: rgba(243,236,226,.2); position: relative; transition: background .25s; flex: none; }
.vtrack::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #f3ece2; transition: transform .25s; }
.vswitch input:checked + .vtrack { background: #e8a24c; }
.vswitch input:checked + .vtrack::after { transform: translateX(24px); }
.vswitch input:focus-visible + .vtrack { outline: 2px solid #e8a24c; outline-offset: 2px; }
.vstate { color: #f3ece2; font: 700 15px 'Karla',sans-serif; }
.vis-demo-note { color: rgba(243,236,226,.72); font-size: 13px; line-height: 1.5; margin-top: 10px; min-height: 38px; }

/* ===== hero map: light standard-map treatment ===== */
.hs-right {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 900' preserveAspectRatio='xMidYMid slice'><rect width='800' height='900' fill='%23e9efe2'/><path d='M0 0 L340 0 Q300 120 200 160 Q80 200 0 170 Z' fill='%23b7d7e6'/><path d='M520 900 Q560 700 680 660 Q780 630 800 560 L800 900 Z' fill='%23b7d7e6'/><path d='M0 430 Q120 400 210 460 Q330 540 470 500 Q620 460 800 520' stroke='%23a8cfe0' stroke-width='26' fill='none' opacity='.85'/><rect x='90' y='560' width='150' height='110' rx='14' fill='%23cfe3c2'/><rect x='560' y='120' width='130' height='150' rx='14' fill='%23cfe3c2'/><rect x='330' y='700' width='120' height='90' rx='12' fill='%23cfe3c2'/><g stroke='%23ffffff' fill='none'><path d='M0 260 L800 210' stroke-width='10'/><path d='M0 640 L800 690' stroke-width='10'/><path d='M260 0 L310 900' stroke-width='10'/><path d='M580 0 L540 900' stroke-width='8'/><path d='M0 120 L800 80' stroke-width='5'/><path d='M0 760 L800 800' stroke-width='5'/><path d='M120 0 L160 900' stroke-width='5'/><path d='M430 0 L410 900' stroke-width='5'/><path d='M700 0 L690 900' stroke-width='5'/><path d='M0 500 L800 470' stroke-width='4' opacity='.7'/></g><g fill='%23dde7d4'><rect x='20' y='300' width='80' height='60' rx='6'/><rect x='340' y='250' width='70' height='80' rx='6'/><rect x='640' y='380' width='90' height='60' rx='6'/><rect x='180' y='770' width='90' height='60' rx='6'/></g></svg>")
    center / cover no-repeat, #e9efe2;
}
.mpin { background: #2f5d50; border: 2.5px solid #fff; width: 14px; height: 14px;
  box-shadow: 0 2px 6px rgba(33,26,43,.3); }
.mpin.dim { opacity: .8; width: 11px; height: 11px; }
@keyframes pinbreathe { 0%,100% { transform: scale(1); opacity: .95 } 50% { transform: scale(1.18); opacity: 1 } }
.seam-caption { color: #3d374a; text-shadow: 0 1px 0 rgba(255,255,255,.6); font-weight: 700; }
.herpin svg { filter: drop-shadow(0 5px 12px rgba(178,90,52,.45)); }
.herpin .halo { background: radial-gradient(circle, rgba(201,111,69,.35) 0%, rgba(201,111,69,.1) 45%, transparent 70%); }
.vis-demo { background: rgba(29,23,38,.85); }

/* quadrant congruence: one card geometry across light + dark bands */
.card, .std-card { border-radius: 16px; padding: 30px 26px; }
.card { background: #2a2138; border: 1px solid rgba(243,236,226,.1); box-shadow: 0 10px 34px rgba(0,0,0,.25); }
.cards, .std-grid { gap: 22px; }
section { border-top: 0; }
