/* /features — page-specific styles (rev 3).
   Loaded only by features.html, on top of site.css. The shared header, footer,
   buttons, tokens and type all come from site.css unchanged.

   Greys: the design export's faint monospace labels use #7E8896 / #8A93A1,
   which already clear WCAG AA on these surfaces, so they are used as authored.
   Two values in the export sit below AA and are noted where they are replaced. */

.f {
  --f-blue-hi: #5C93FF;
  --f-panel: #0A0E14;
}

/* --------------------------------------------------------------- generic -- */
.f-eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em;
  color: var(--dim-2); margin: 0 0 16px;
}
.f-sec { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 0; }
.f-sec h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 6.4vw, 42px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 700; color: #fff;
}
.f-lede { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 820px; }
.f-lede--sm { font-size: 15.5px; color: var(--dim); max-width: 420px; }

@media (min-width: 900px) {
  .f-sec { padding: 92px var(--pad) 0; }
  .f-lede { font-size: 17.5px; }
}

/* praxon-icon defaults to currentColor; the family is Praxon blue unless a
   placement overrides it. */
praxon-icon { color: var(--blue); }

/* ------------------------------------------------------------------ hero -- */
.f-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hair); }
.f-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 44px 44px;
}
.f-hero__glow {
  position: absolute; left: 50%; top: -220px; width: 700px; height: 500px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(25, 80, 226, .22), transparent 68%);
}
.f-hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 50px var(--pad) 54px; }
.f-hero__tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.f-hero__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--f-blue-hi); border: 1px solid rgba(92, 147, 255, .32);
  border-radius: 999px; padding: 6px 12px;
}
.f-hero__verified { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim-2); }
.f-hero h1 {
  margin: 0; font-size: clamp(32px, 6.6vw, 62px); line-height: 1.04;
  letter-spacing: -.04em; font-weight: 800; color: #fff; max-width: 960px;
}
.f-hero__lede {
  margin: 22px 0 0; font-size: clamp(16px, 2.1vw, 20px); line-height: 1.55;
  color: var(--ink-2); max-width: 760px;
}
.f-hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.f-hero__cta .btn { width: 100%; }

.f-proof {
  display: grid; gap: 1px; margin-top: 40px;
  background: var(--hair); border: 1px solid var(--hair);
  border-radius: 12px; overflow: clip;
}
.f-proof > div { background: var(--f-panel); padding: 22px 20px; display: flex; gap: 16px; }
.f-proof dt { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.015em; color: #fff; }
.f-proof dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--dim); }

.f-doccount {
  margin-top: 20px; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .1em;
  /* export used #4E5866 (2.8:1); lifted to the site's accessible dim token */
  color: var(--dim-3);
}

@media (min-width: 700px) {
  .f-hero__cta { flex-direction: row; gap: 14px; }
  .f-hero__cta .btn { width: auto; font-size: 16px; padding: 16px 28px; }
}
@media (min-width: 900px) {
  .f-hero__grid { background-size: 64px 64px; }
  .f-hero__glow { top: -320px; width: 900px; height: 640px; }
  .f-hero__inner { padding: 92px var(--pad) 80px; }
  .f-hero__tags { margin-bottom: 26px; }
  .f-hero__lede { margin-top: 30px; }
  .f-hero__cta { margin-top: 40px; }
  .f-proof { grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
  .f-proof > div { padding: 26px 24px; }
  .f-doccount { margin-top: 22px; }
}

/* ------------------------------------------------------- differentiators -- */
.f-diff {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; overflow: clip;
}
.f-diff > div { background: var(--f-panel); padding: 26px 22px; }
.f-diff dt { font-size: 18.5px; font-weight: 600; letter-spacing: -.02em; margin: 16px 0 10px; color: #fff; }
.f-diff dd { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--dim); }
@media (min-width: 640px) { .f-diff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .f-diff { grid-template-columns: repeat(3, 1fr); } .f-diff > div { padding: 32px 28px; } }

/* The icon hover lift and its reduced-motion guard come from praxon-icons.js
   itself, which injects them globally. Nothing is duplicated here. */

/* ------------------------------------------------------------- mount pts -- */
.f-groups__head { display: grid; gap: 18px; margin-bottom: 30px; }
@media (min-width: 900px) {
  .f-groups__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 36px; }
}
outcome-groups, criteria-compare, full-catalog { display: block; }

.f-note-callout {
  margin: 0 0 28px; padding: 16px 20px;
  border-left: 2px solid rgba(92, 147, 255, .4);
  background: rgba(31, 107, 255, .05);
  font-size: 14.5px; line-height: 1.7; color: var(--dim-5); max-width: 820px;
}

.f-nojs {
  border: 1px solid var(--hair-2); border-radius: 12px; background: var(--panel);
  padding: 26px 24px; font-size: 15px; line-height: 1.7; color: var(--ink-2);
}

/* --------------------------------------------------------------- roadmap -- */
.f-road {
  border: 1px solid rgba(255, 176, 32, .25); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 176, 32, .045), rgba(255, 176, 32, .015));
  padding: 26px 22px;
}
.f-road__tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.f-road__tags .ctx { font-family: var(--mono); font-size: 11px; letter-spacing: .13em; color: var(--dim); }
.f-road h2 { font-size: clamp(24px, 5.4vw, 32px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.f-road__lede { margin: 0 0 28px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }
.f-road__cards { display: grid; gap: 18px; }
.f-road__cards > div {
  border: 1px solid rgba(255, 255, 255, .10); border-radius: 11px;
  background: rgba(10, 14, 20, .6); padding: 22px;
}
.f-road__cards dt { font-size: 17.5px; font-weight: 600; letter-spacing: -.015em; margin: 14px 0 9px; color: #fff; }
.f-road__cards dd { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--dim-5); }
@media (min-width: 860px) {
  .f-road { padding: 40px; }
  .f-road__cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .f-road__cards > div { padding: 26px; }
  .f-road__lede { margin-bottom: 34px; }
}

/* ----------------------------------------------------------- methodology -- */
.f-method { display: grid; gap: 32px; align-items: start; }
/* Grid items default to min-width:auto, so the long source URLs in the
   second column set the column's min-content and push the whole block
   past the viewport at 375px. */
.f-method > * { min-width: 0; }
.f-method__rules { display: grid; gap: 14px; margin-top: 22px; }
.f-method__rules > div { display: flex; gap: 14px; }
.f-method__rules .n { font-family: var(--mono); font-size: 11px; color: var(--f-blue-hi); flex: none; padding-top: 3px; }
.f-method__rules .b { font-size: 14.5px; line-height: 1.65; color: var(--dim-5); }
.f-method__rules strong { color: #C6CEDA; font-weight: 600; }
.f-method__note {
  margin-top: 28px; padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .10); border-radius: 11px;
  background: var(--panel); font-size: 14px; line-height: 1.7; color: var(--dim);
}
.f-method__note a { color: var(--f-blue-hi); }
.f-sources { border: 1px solid rgba(255, 255, 255, .10); border-radius: 14px; background: var(--panel); overflow: clip; }
.f-sources details { border-bottom: 1px solid var(--hair-2); }
.f-sources details:last-child { border-bottom: 0; }
.f-sources summary {
  cursor: pointer; padding: 18px 22px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.f-sources summary::-webkit-details-marker { display: none; }
.f-sources .name { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.f-sources .meta { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--dim-2); white-space: nowrap; }
/* At 375px the longest competitor name plus the nowrap "N SOURCES · VERIFIED"
   meta cannot share one line, so the summary wraps instead of overflowing. */
@media (max-width: 599px) {
  .f-sources summary { flex-wrap: wrap; gap: 6px; }
  .f-sources .name { flex: 1 1 100%; }
  .f-sources .meta { white-space: normal; }
}
.f-sources .urls { padding: 0 22px 20px; display: grid; gap: 9px; }
/* export used #7FA8C9 (4.4:1 on #0C1017); nudged to clear AA */
.f-sources .urls a { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: #93B7D6; word-break: break-all; }
@media (min-width: 1000px) { .f-method { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ------------------------------------------------------------ closing CTA -- */
.f-close { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 80px; }
.f-close__card {
  position: relative; overflow: clip;
  border: 1px solid rgba(92, 147, 255, .25); border-radius: 16px;
  background: linear-gradient(160deg, rgba(25, 80, 226, .14), rgba(10, 14, 20, .4));
  padding: 30px 24px;
}
.f-close__grid { position: relative; display: grid; gap: 30px; align-items: center; }
.f-close h2 {
  margin: 18px 0 16px; font-size: clamp(26px, 6vw, 44px);
  line-height: 1.06; letter-spacing: -.035em; font-weight: 700; color: #fff;
}
.f-close p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }
.f-close p.sub { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--dim); }
.f-close__btns { display: flex; flex-direction: column; gap: 12px; }
.f-close__btns .btn { width: 100%; font-size: 16.5px; padding: 17px 28px; border-radius: 8px; }
.f-close__fine {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--dim-2); text-align: center; margin-top: 6px;
}
@media (min-width: 900px) {
  .f-close { padding: 92px var(--pad) 110px; }
  .f-close__card { padding: 56px; }
  .f-close__grid { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  .f-close h2 { margin-top: 20px; }
  .f-close p { font-size: 18px; }
}
