/* ============================================================
   Frequency — marketing site shared styles
   Built from the Foundations card. One dark, glowing world.
   ============================================================ */

:root {
  --brand-primary: #7B2FF7;
  --brand-bright:  #00C6FF;
  --brand-pop:     #00F0FF;
  --surface-grad-a: #1a0a3e;
  --surface-grad-b: #0D0D1A;
  --surface-grad-c: #0a1a2e;
  --surface-base:  #0A0A16;
  --surface-card:  rgba(255,255,255,0.05);
  --surface-raised: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.10);
  --border-glow:   rgba(123,47,247,0.45);
  --ink:       rgba(255,255,255,0.88);
  --ink-soft:  rgba(255,255,255,0.62);
  --ink-faint: rgba(255,255,255,0.42);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background:
    radial-gradient(900px 600px at 88% -8%, rgba(123,47,247,0.20), transparent 70%),
    radial-gradient(700px 500px at 2% 108%, rgba(0,198,255,0.12), transparent 70%),
    linear-gradient(150deg, var(--surface-grad-a) 0%, var(--surface-grad-b) 44%, var(--surface-grad-c) 100%);
  background-attachment: fixed;
  background-color: var(--surface-grad-b);
}

h1, h2, h3, h4 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.08;
  font-weight: 700;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(0,240,255,0.25); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-bright);
  font-weight: 600;
  font-family: "DM Sans", sans-serif;
}
.eyebrow--pop { color: var(--brand-pop); }

.grad-text {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pop-text { color: var(--brand-pop); }

.lede { color: var(--ink-soft); font-size: 1.18rem; max-width: 56ch; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(10,10,22,0.55);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: "Outfit"; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand svg { display: block; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { color: var(--ink-soft); font-size: 0.93rem; font-weight: 500; transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: "DM Sans"; font-weight: 600; font-size: 0.96rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn.primary { background: linear-gradient(90deg, var(--brand-primary), var(--brand-bright)); color: #fff; box-shadow: 0 6px 28px rgba(123,47,247,0.35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,198,255,0.42); }
.btn.pop { background: linear-gradient(90deg, var(--brand-bright), var(--brand-pop)); color: #04121a; box-shadow: 0 6px 30px rgba(0,240,255,0.40); }
.btn.pop:hover { transform: translateY(-2px); box-shadow: 0 12px 46px rgba(0,240,255,0.55); }
.btn.ghost { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn.ghost:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.07); }
.btn.sm { padding: 9px 18px; font-size: 0.88rem; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
  background: rgba(0,240,255,0.12); color: var(--brand-pop);
  border: 1px solid rgba(0,240,255,0.28);
}
.badge--soft { background: rgba(255,255,255,0.05); color: var(--ink-soft); border-color: var(--border); }

/* ---------- Cards / panels ---------- */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.card--raised { background: var(--surface-raised); }
.card-glow { box-shadow: 0 0 0 1px rgba(123,47,247,0.18), 0 18px 60px rgba(0,0,0,0.35); }

.callout {
  border-left: 3px solid var(--brand-bright);
  background: rgba(0,198,255,0.06);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px; color: var(--ink-soft); font-size: 0.96rem;
}

/* ---------- Fingerprint motif (removed per design direction) ---------- */
.fingerprint { display: none; }
.fingerprint--br { right: 0; bottom: 0; }
.fingerprint--tl { left: 0; top: 0; transform: scaleX(-1) scaleY(-1); }
.fingerprint--tr { right: 0; top: 0; transform: scaleY(-1); }
.fingerprint--bl { left: 0; bottom: 0; transform: scaleX(-1); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 48px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-family: "DM Sans"; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--ink); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-faint); font-size: 0.85rem; }
.footer__mission { color: var(--ink-soft); font-size: 0.96rem; max-width: 34ch; margin-top: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* ---------- Pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.84rem; padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--ink-soft);
}

/* ---------- Section heading block ---------- */
.head { max-width: 64ch; }
.head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; margin: 14px 0 0; }
.head .lede { margin-top: 20px; }
.head--center { margin: 0 auto; text-align: center; }
.head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Utility ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.mono-num { font-family: "Outfit"; font-variant-numeric: tabular-nums; font-weight: 700; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .section { padding: 72px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 0.2s linear; transform: none; }
  .btn:hover { transform: none; }
}
