/* ============================================================================
   DeeperYou — "Dala" style layer. Loaded AFTER the page's inline styles so it
   restyles the existing (functional) markup: pure-black void, violet accent,
   amber spark, huge Inter type at weight 400, ultra-light 200 body, no cards.
   ============================================================================ */

:root {
  color-scheme: dark; /* native controls (range tracks, scrollbars) render dark */
  --void: #000000; --bone: #ffffff; --ash: #9a9a9a; --silver: #bdbdbd;
  --iris: #8052ff; --saffron: #ffb829; --verdant: #15846e;

  /* Remap the existing token names so var()-based colors follow the new palette. */
  --bg: #000000; --bg-soft: #000000; --bg-card: transparent; --bg-card-hi: transparent;
  --ink: #ffffff; --ink-dim: #9a9a9a; --ink-faint: #bdbdbd;
  --hair: rgba(255,255,255,.10); --hair-hi: rgba(255,255,255,.16);
  --violet: #8052ff; --mid: #8052ff; --blue: #8052ff; --cyan: #8052ff; --tiffany: #8052ff;
  --blue-light: #8052ff; --dark-blue: #15846e; --green: #15846e;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif; /* Dala uses one sans face */
  --radius: 24px;
  --shadow: none;
}

html { overflow-x: clip; }
body { background: #000 !important; color: #fff !important; font-family: var(--sans) !important; font-weight: 300; font-feature-settings: "ss01" on; letter-spacing: 0; }

/* ---- Type: hierarchy from scale + tracking, not weight ---- */
h1, .hero h1 { font-family: var(--sans) !important; font-weight: 400 !important; font-size: clamp(44px, 6.6vw, 104px) !important; line-height: 1.02 !important; letter-spacing: -.045em !important; color: #fff; }
h2 { font-family: var(--sans) !important; font-weight: 400 !important; font-size: clamp(32px, 5.4vw, 78px) !important; line-height: 1.06 !important; letter-spacing: -.04em !important; color: #fff; }
h3 { font-family: var(--sans) !important; font-weight: 500 !important; letter-spacing: -.02em; color: #fff; }
h4 { font-family: var(--sans) !important; font-weight: 600 !important; }
h1 em, h2 em, .gradient-text { font-style: normal !important; color: var(--saffron) !important; -webkit-text-fill-color: var(--saffron) !important; background: none !important; }
p, li { font-weight: 400; }
.lead, .hero-sub, .manifesto p { font-weight: 300; }
.lead { color: #dfe1e6; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
p { color: var(--silver); }
.manifesto p { font-weight: 300 !important; color: #fff !important; }

/* Amber uppercase eyebrow/label */
.eyebrow, .small-code, .resource-body .small-code { color: var(--saffron) !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .12em; background: none !important; border: none !important; }
.section-light .eyebrow { color: var(--saffron) !important; }

/* ---- Navigation: transparent, uppercase, single violet pill ---- */
.nav { background: transparent !important; border: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
.nav.scrolled { background: rgba(0,0,0,.62) !important; border: none !important; }
.nav-links a { text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .03em; color: var(--ash); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.brand span { font-weight: 600; letter-spacing: -.01em; }
.brand span span { color: var(--iris) !important; }
.nav-cta { padding: 12px 20px !important; }
.nav-links a { padding: 10px 2px; }
.hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr) !important; gap: 48px !important; }
.hero-proof { color: var(--ash) !important; }

/* ---- Buttons: one flat violet pill; everything else is ghost text ---- */
.btn { border-radius: 9999px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .04em; font-size: 14px !important; padding: 14px 22px !important; border: none !important; box-shadow: none !important; }
.btn-primary { background: var(--iris) !important; color: #fff !important; }
.btn-primary:hover { background: #7040ff !important; }
.btn-ghost { background: transparent !important; color: var(--ash) !important; }
.btn-ghost:hover { color: #fff !important; }

/* ---- Kill panels/cards/borders — content floats on the void ---- */
.bg-card, .policy-card, .resource-card, .faq-item, .runner-panel, .contact-form, .privacy,
.step, .marquee, .policy-note, .hero-card, .inside-card, .pillar, .card, .contact-aside,
.section-head, .audit-card, .audit-leak, .audit-insight {
  background: transparent !important; border: none !important; box-shadow: none !important;
}
.marquee { border-top: 1px solid var(--hair) !important; border-bottom: 1px solid var(--hair) !important; }
hr, .divider { border-color: var(--hair) !important; }

/* Resource cards: borderless, image kept as a slim accent line */
.resource-card { padding: 0 !important; }
.resource-card .resource-top { height: 3px !important; background: var(--iris) !important; border-radius: 9999px; opacity: .8; }
.resource-card .resource-body { padding: 18px 0 0 !important; }
a.resource-card:hover .resource-meta span:last-child { color: var(--saffron) !important; }

/* ---- Particle canvases ---- */
#ambientCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.neural-bg { z-index: 0 !important; }
.brain { display: block; width: 100%; aspect-ratio: 1 / 1; }
main, .nav { position: relative; z-index: 2; }

/* ---- Forms: underline inputs, no boxes (keep waitlist as a pill) ---- */
.field, .audit-field { background: transparent !important; border: none !important; border-bottom: 1px solid var(--hair) !important; border-radius: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.field:focus, .audit-field:focus { border-bottom-color: var(--iris) !important; box-shadow: none !important; }
.waitlist-form { background: transparent !important; border: 1px solid var(--hair) !important; border-radius: 9999px !important; }
.waitlist-form input { border: none !important; }

/* Audit wizard: minimal option affordance in violet */
.audit-opt { background: transparent !important; border: 1px solid var(--hair) !important; border-radius: 16px !important; }
.audit-opt:hover { border-color: var(--hair-hi) !important; }
.audit-opt[aria-pressed="true"] { border-color: var(--iris) !important; background: rgba(128,82,255,.14) !important; }
.audit-opt[aria-pressed="true"] .k { background: var(--iris) !important; border-color: var(--iris) !important; color: #fff !important; }
.audit-progress > span { background: var(--iris) !important; }
.ico { stroke: var(--iris) !important; }
.check-dot::after { border-color: var(--saffron) !important; }

/* ---- Generous section rhythm ---- */
.section { padding: clamp(72px, 12vh, 120px) 0 !important; }
.section-light { background: #000 !important; }

/* ---- Footer: quiet, borderless ---- */
footer { border-top: 1px solid var(--hair) !important; }
.footer-col h3 { color: var(--ash); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600 !important; font-family: var(--sans) !important; margin-bottom: 14px; }
.footer-col a { display: block; padding: 7px 0; color: var(--silver); }
.footer-col a:hover { color: #fff; }

/* ---- Mobile: long uppercase buttons wrap instead of forcing sideways scroll ---- */
@media (max-width: 640px) {
  .btn { white-space: normal !important; text-align: center; line-height: 1.3 !important; max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .nav-cta { display: none !important; }
  .faq-q { font-size: 18px; }
}

/* ---- Comfortable touch targets (≈44px) ---- */
input[type="range"] { height: 32px; cursor: pointer; }
.field, .audit-field, .waitlist-form input { min-height: 46px; }

.run-again { border: 1px solid var(--hair-hi) !important; color: #fff !important; }
.footer-col a.brand { display: flex; padding: 0; }

/* ---- Range sliders: violet fill, dim remainder (--p is set from JS) ---- */
input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 9999px; background: linear-gradient(to right, var(--iris) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--iris); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 9999px; background: rgba(255,255,255,.14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 9999px; background: var(--iris); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--iris); }
input[type="range"]:focus-visible { outline: 2px solid var(--iris); outline-offset: 4px; }

h1, h2, h3 { text-wrap: balance; }
