/* =============================================================================
   PilotEvaluate — the front door  (front/site.css)   ·   house-language rebuild
   -----------------------------------------------------------------------------
   Built from the SAME parts as the product surfaces: light paper, flat panels
   at the 3px house radius, hairline rules, reticle instrument-corners, numbered
   sections, the house .btn, Space Grotesk headings. No frosted glass, no neon
   glow, no gradient text, no tracked-mono eyebrow labels — those were the tells
   that made this read as a generic AI landing page instead of the cover of a
   real instrument.

   PALETTE MUST BE DECLARED HERE. shared/ui.css :root is the dark base; every
   surface paints its own light palette on top (pilot=white, school=warm grey).
   The door takes a COOL neutral so it reads as its own parent level — the engine
   both products are cut from — rather than borrowing either one's skin.
   ========================================================================== */

:root{
  --page:#f5f6f8;
  --surface:#ffffff;
  --surface-2:#eceef2;
  --surface-3:#e1e4e9;
  --ink:#12151a;
  --ink-2:#454b54;
  --ink-3:#5d646d;          /* 5.6:1 on --page — AA for body */
  --ink-4:#6a717a;          /* 4.6:1 on --page — small labels/index numbers */

  --line:rgba(18,21,26,.10);
  --line-2:rgba(18,21,26,.16);
  --line-strong:rgba(18,21,26,.30);
  --grid:rgba(18,21,26,.028);
  --border:var(--line);

  --accent:#1c5cc0;
  --accent-deep:#153f8c;
  --accent-soft:rgba(28,92,192,.08);
  --accent-line:rgba(28,92,192,.34);
  --signal:#9a5b00;

  /* per-product identity — used ONLY as a small tick + the exhibit tag edges,
     never as a fill or a glow. Moderate saturation, not neon. */
  --c-pilot:#2a78d6; --c-teach:#199e70; --c-school:#b07400; --c-ops:#5a4bc4;

  --maxw:1160px;
  --gut:26px;
}
body{background:var(--page);color:var(--ink)}
@media(max-width:660px){:root{--gut:18px}}

/* ---------- topbar (house .topbar + a plain-link nav) --------------------- */
.fd-bar{gap:18px}
.logo{text-decoration:none}
.logo:hover{text-decoration:none}
.fd-mark{flex:none}
.logo-sub{color:var(--accent)}
.fd-topnav{margin-left:auto;display:flex;align-items:center;gap:6px}
.fd-topnav a{
  text-decoration:none;color:var(--ink-3);
  font:600 11px/1 var(--mono);letter-spacing:.11em;text-transform:uppercase;
  padding:10px 12px;border-radius:var(--r-s);transition:color .12s}
.fd-topnav a:hover{color:var(--ink);text-decoration:none}
.fd-topnav a.btn{color:var(--ink-2)}
.fd-topnav a.btn.primary{color:#fff}
@media(max-width:620px){
  .fd-topnav a:not(.btn){display:none}   /* keep only the CTA on small screens */
}

/* ---------- hero --------------------------------------------------------- */
.fd-hero{padding:34px var(--gut) 46px}
.fd-hero-main{display:grid;grid-template-columns:1.2fr .9fr;gap:52px;align-items:center}
@media(max-width:900px){.fd-hero-main{grid-template-columns:1fr;gap:30px}}

/* graduated header rule — a ruler baseline with hanging ticks */
.fd-scale{display:flex;align-items:center;gap:16px;margin-bottom:30px}
.fd-scale-lab{flex:none;font:600 10px/1 var(--mono);letter-spacing:.2em;
  text-transform:uppercase;color:var(--ink-3);white-space:nowrap}
.fd-scale-ticks{flex:1;height:14px;
  background-image:
    repeating-linear-gradient(90deg,var(--line-2) 0 1px,transparent 1px 22px),
    linear-gradient(var(--line-2),var(--line-2));
  background-size:100% 14px,100% 1px;
  background-position:left top,left center;
  background-repeat:repeat-x,no-repeat}
.fd-scale-end{flex:none;font:600 10px/1 var(--mono);letter-spacing:.12em;
  color:var(--accent);white-space:nowrap}

.fd-hero h1{max-width:16ch}
.fd-hero h1 em{font-style:normal;color:var(--accent)}
.fd-hero .lede{margin-top:18px}
.fd-cta{display:flex;flex-wrap:wrap;gap:11px;margin-top:26px}
.btn.lg{padding:13px 22px;font-size:12px}
.fd-note-sm{margin-top:16px;font-size:12px;color:var(--ink-3);letter-spacing:.01em}

/* the exhibit — one scale, three readouts. Flat card + reticle corners. */
.fd-exhibit{padding:22px 22px 14px;margin:0;background:var(--surface)}
.fd-gauge{display:block;width:100%;height:auto}
.fd-gauge .fd-ax{font:600 8px/1 var(--mono);letter-spacing:.18em;fill:var(--ink-4)}
.fd-gauge .fd-ax-n{font:500 8px/1 var(--mono);letter-spacing:.02em;fill:var(--ink-4);
  text-anchor:end;font-variant-numeric:tabular-nums}
.fd-gauge .fd-t-k{font:600 8px/1 var(--mono);letter-spacing:.14em;fill:var(--ink-3)}
.fd-gauge .fd-t-v{font:500 10px/1 var(--sans);fill:var(--ink);letter-spacing:-.005em}
.fd-gauge .fd-t-go{font:600 11px/1 var(--sans);fill:var(--accent);text-anchor:end;opacity:.55}

/* The three readouts are LINKS into the index below — the diagram is navigation.
   Each carries its product's accent on the border, lifts its fill on hover, and
   takes a real focus ring so it is reachable from the keyboard. */
.fd-seat{cursor:pointer}
.fd-seat rect{fill:var(--surface);stroke-width:1.2;transition:fill .14s,stroke-width .14s}
.fd-seat .fd-t-go{transition:opacity .14s,transform .14s}
.fd-seat:hover rect{fill:var(--surface-2);stroke-width:2}
.fd-seat:hover .fd-t-go{opacity:1}
.fd-seat:focus-visible{outline:none}
.fd-seat:focus-visible rect{stroke:var(--accent);stroke-width:2.4;
  outline:2px solid var(--accent);outline-offset:2px}
/* per-seat accent on the border */
.fd-seat:nth-of-type(1) rect{stroke:var(--c-pilot)}
.fd-seat:nth-of-type(2) rect{stroke:var(--c-teach)}
.fd-seat:nth-of-type(3) rect{stroke:var(--c-school)}
.fd-exhibit figcaption{
  margin-top:12px;padding-top:11px;border-top:1px solid var(--line);
  font:500 10.5px/1.5 var(--mono);letter-spacing:.05em;color:var(--ink-3)}

/* subtle instrument draw-in: the reading wires up, then the readouts settle in.
   `both` fill (not a 0 resting opacity) so the content is NEVER stuck invisible
   if the animation is paused (hidden tab), stripped, or unsupported — the
   resting state is fully visible; the keyframe only hides it while it plays. */
.fd-leader{animation:fdFade .5s ease .12s both}
.fd-chip{animation:fdChipIn .5s cubic-bezier(.22,.61,.36,1) both;
  animation-delay:calc(.32s + var(--i) * .13s)}
@keyframes fdFade{from{opacity:0}to{opacity:1}}
@keyframes fdChipIn{from{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}

/* The plate is now the shared .keyrow/.keynum component (see shared/ui.css) —
   grid, borders, label and body type all come from there, including the
   responsive collapse, which auto-fit handles better than the fixed breakpoint
   this used to carry. All that is left is where it sits on this page. */
.fd-plate{margin-top:38px}

/* ---------- the four (numbered index) ------------------------------------ */
.fd-index{padding:6px var(--gut) 30px}
.fd-list{list-style:none;margin:6px 0 0;padding:0;
  border-top:1px solid var(--line-2)}
.fd-item{border-bottom:1px solid var(--line-2);scroll-margin-top:78px}
/* When fig.1 sends you here, say so — otherwise the jump is silent and the
   reader has to work out what changed. */
.fd-item:target{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}
.fd-item:target .fd-name{color:var(--accent-deep)}
.fd-row{
  display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:20px;
  padding:22px 8px;text-decoration:none;color:inherit;
  transition:background .13s,padding .13s}
.fd-row:hover{background:var(--surface);text-decoration:none;
  box-shadow:inset 2px 0 0 var(--accent)}
.fd-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.fd-n{font:600 15px/1 var(--mono);color:var(--ink-4);font-variant-numeric:tabular-nums}
.fd-tick{width:9px;height:9px;border-radius:2px;background:var(--t,var(--accent));flex:none}
.fd-body{min-width:0}
.fd-name{display:block;font-family:var(--display);font-weight:640;font-size:20px;
  letter-spacing:-.02em;color:var(--ink)}
/* the label that used to be a crap tracked-uppercase-mono eyebrow — now a quiet,
   sentence-case aside sitting inline with the product name. Human, not shouty. */
.fd-for{font-family:var(--sans);font-weight:400;font-size:13px;letter-spacing:0;
  text-transform:none;color:var(--ink-3);margin-left:9px}
.fd-desc{display:block;margin-top:6px;font-size:13.5px;line-height:1.58;
  color:var(--ink-2);max-width:74ch}
/* a data-plate line — the key facts as instrument data, not prose */
.fd-spec{display:block;margin-top:9px;
  font:500 10.5px/1 var(--mono);letter-spacing:.04em;color:var(--ink-3);
  font-variant-numeric:tabular-nums}
.fd-go{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;
  font:600 11px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.fd-go i{font-style:normal;transition:transform .14s}
.fd-row:hover .fd-go i{transform:translateX(4px)}

@media(max-width:680px){
  .fd-row{grid-template-columns:auto auto 1fr;gap:12px 14px;padding:18px 6px;row-gap:10px}
  .fd-go{grid-column:1 / -1;justify-content:flex-start;padding-left:31px}
}

/* ---------- why three ---------------------------------------------------- */
.fd-why{padding:6px var(--gut) 84px}
.fd-why-grid{margin-top:4px}
.fd-aside{background:var(--surface);padding:22px 24px;align-self:start}
.fd-aside-k{font:600 10px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin-bottom:11px}
.fd-aside p{margin:0;font-size:14px;line-height:1.6;color:var(--ink-2)}

/* ---------- motion safety ------------------------------------------------ */
@media(prefers-reduced-motion:reduce){
  .fd-row,.fd-go i,.fd-topnav a{transition:none}
  .fd-leader,.fd-chip{animation:none;opacity:1}
}
