/* ============================================================
   FluentOrg web program: shared brand layer.
   Rounded, violet and navy, set in Inter; the tokens are in ds/tokens.
   ============================================================ */

/* Tokens come from ds/tokens/*.css, loaded before this file. Only the
   layout width lives here. */
:root { --maxw: 1120px; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--royal-violet); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; color: var(--midnight-plum); }
p { margin: 0; }

/* ---- Brand atoms ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-violet);
  margin: 0;
}
.eyebrow--on-dark { color: var(--orchid-soft); }

.accent-rule {
  width: 56px;
  height: 4px;
  background: var(--gradient);
  border: 0;
  border-radius: 4px;
  margin: 0;
}
.accent-rule--orchid { background: var(--orchid); }

.dotsep { color: var(--orchid-soft); padding: 0 0.5em; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--royal-violet);
  background: var(--lavender-mist);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.badge--on-dark {
  color: var(--orchid-soft);
  background: rgba(157, 123, 224, 0.16);
}

/* Square-bullet list — the one and only list marker */
.sq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sq-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.sq-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--royal-violet);
  font-size: 14px;
}
.sq-list--orchid li::before { color: var(--orchid); }
.sq-list--on-dark li::before { color: var(--orchid); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(91, 61, 245, 0.25);
}
.btn--primary:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(91, 61, 245, 0.32); }
.btn--on-dark {
  background: var(--white);
  color: var(--midnight-plum);
}
.btn--on-dark:hover { background: var(--lavender-mist); }
.btn--ghost {
  background: var(--white);
  color: var(--royal-violet);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--royal-violet); }
.btn--ghost:hover { background: var(--lavender-mist); }
.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn .arrow { font-size: 1.1em; line-height: 0; }

/* Cards — Lavender fill, thick Royal Violet edge rule */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card, 14px);
  padding: 26px 28px;
}
.card--left { border-left: 4px solid var(--royal-violet); }

.numeral {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--orchid);
  font-variant-numeric: tabular-nums;
}

/* Stat */
.stat-num {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--royal-violet);
  font-variant-numeric: tabular-nums;
}
.stat-num--on-dark { color: var(--white); }
.stat-label {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.4;
  margin-top: 8px;
}
.stat-label--on-dark { color: var(--orchid-soft); }

/* Section scaffolding */
.section { padding: 96px 32px; }
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section--plum { background: var(--midnight-plum); color: var(--white); }
.section--lav { background: var(--lavender-mist); }

.section--plum .eyebrow { color: var(--orchid-soft); }
.section--plum h2, .section--plum h3 { color: var(--white); }

.lead { font-size: 20px; line-height: 1.5; color: var(--ink); }
.section--plum .lead { color: var(--orchid-soft); }

.muted { color: var(--slate); }

/* anchor offset for sticky nav */
[id] { scroll-margin-top: 84px; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
