/* Supero design system v3, graphite + signal orange (GRAPHITE-ORANGE-V1, 2026-11-17):
   light canvas with graphite islands (header, home hero, code panels, CTA band,
   footer). Inter headings and body, JetBrains Mono code. Primary buttons are signal
   orange #FF5B1F with near-black text; links and eyebrows are orange-700 #C2410C on
   light; #FF7A47 is the accent on graphite. Variable names are kept from SITE-V3
   (--navy* now hold graphite, --violet/--blue hold orange). This file
   is the single token source for the static pages (build.py) and the Next pages
   (app/layout.jsx). Legacy variable names are kept and point at v3 values. */
@font-face{font-family:'Inter';src:url(/fonts/inter.woff2) format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(/fonts/jetbrains-mono-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(/fonts/jetbrains-mono-500.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(/fonts/jetbrains-mono-600.woff2) format('woff2');font-weight:600 700;font-display:swap}

/* ── MIGRATION P1.1: design tokens (ui-theme/tokens.css v3.1, website copy: no app dark block) ── */
/* Supero — Graphite + signal orange design tokens (v3.1, 2026-11-16)
   One file for supero.dev (website, light only) and app.supero.dev (light + dark).
   Replaces the ink + emerald v2 tokens (supero-theme.css).
   Every token is prefixed --sp- so it cannot collide with existing variables
   (e.g. shadcn's --border, next/font's --font-sans).
   WEBSITE: delete the whole "App dark mode" block at the bottom of this file in the website's copy. */

:root {
  /* ---------- Graphite chrome (same in light and dark) ---------- */
  --sp-graphite: #111113;            /* website nav, app sidebar, app top bar in dark mode, code panels, toasts */
  --sp-graphite-2: #17171A;          /* raised graphite surface */
  --sp-graphite-line: #26262B;       /* borders on graphite */
  --sp-graphite-line-2: #2E2E34;     /* borders of controls on graphite */
  --sp-graphite-line-3: #3A3A41;     /* outline buttons on graphite */
  --sp-graphite-hover: #1F1F23;      /* sidebar item hover, count badge background */
  --sp-graphite-active: #26262B;     /* sidebar item active */
  --sp-graphite-switch: #1B1B1F;     /* project switcher background */
  --sp-graphite-menu: #18181B;       /* website nav dropdown panel */
  --sp-graphite-accent-bg: #2A1407;  /* project initial, avatar circle on graphite */
  --sp-graphite-accent-line: #5A2A10;/* AI tag border on graphite, avatar border */

  --sp-on-graphite: #EDEDEF;         /* primary text on graphite */
  --sp-on-graphite-strong: #FFFFFF;  /* active / hover text on graphite */
  --sp-on-graphite-menu: #C9C9CF;    /* dropdown items, hovered sidebar icon */
  --sp-on-graphite-muted: #A0A0A8;   /* nav links, sidebar items (7.3:1) */
  --sp-on-graphite-faint: #8A8A93;   /* sidebar section labels, inactive icons (5.5:1) */

  --sp-code-text: #E6E6EA;           /* code / terminal / log text on graphite */
  --sp-code-comment: #7D7D86;        /* comments (4.6:1) */

  /* ---------- Orange ---------- */
  --sp-orange: #FF5B1F;              /* primary buttons, active accents, progress fill, logo node */
  --sp-orange-hover: #FF7A47;        /* primary button hover */
  --sp-on-orange: #1A0A03;           /* text/icons on orange (6.2:1). Never white on orange (3.1:1) */
  --sp-orange-text-dark: #FF7A47;    /* orange text on graphite (7.3:1), e.g. the sidebar AI tag */

  /* ---------- Light surfaces (website + app light mode) ---------- */
  --sp-page: #F7F7F8;                /* app content background */
  --sp-page-site: #EFEFF1;           /* website ground behind the white section blocks */
  --sp-surface: #FFFFFF;             /* cards, panels, website section blocks */
  --sp-surface-2: #F7F7F8;           /* cards inside a white block, table header, code panels on the website */
  --sp-border: #E4E4E7;              /* decorative 1px borders (cards, dividers) */
  --sp-border-strong: #D4D4D8;       /* outline-button borders, dashed empty-state border */
  --sp-border-input: #8A8A93;        /* form-field borders: must reach 3:1 (3.4:1 on white) */
  --sp-track: #EFEFF1;               /* progress-bar track */
  --sp-toggle-off: #71717A;          /* toggle track when off (4.8:1) */
  --sp-text: #18181B;
  --sp-text-secondary: #3F3F46;      /* chip/tab/ghost-button text (10.4:1) */
  --sp-text-muted: #5E5E66;          /* 6.4:1 on white */
  --sp-text-faint: #6B6B73;          /* 5.3:1 on white */
  --sp-orange-text: #C2410C;         /* orange text/links on light (5.2:1 on white, 4.7:1 on tint) */
  --sp-orange-text-hover: #9A3412;
  --sp-orange-tint: #FFF1EA;         /* icon chips, selected chips, light badges */
  --sp-orange-tint-2: #FFF6F1;       /* tinted blocks */
  --sp-orange-tint-line: #FFD9C7;    /* border of tinted elements */
  --sp-focus: #C2410C;               /* focus outline (4.8:1 on #F7F7F8) */
  --sp-focus-ring: #FFE1D3;          /* 3px soft ring around a focused field */

  /* ---------- Status ---------- */
  --sp-ok-text: #15803D;      --sp-ok-bg: #F0FDF4;      --sp-ok-dot: #16A34A;
  --sp-danger-text: #B91C1C;  --sp-danger-bg: #FEF2F2;  --sp-danger-dot: #DC2626;  --sp-danger-line: #FECACA;
  --sp-warn-text: #92400E;    --sp-warn-bg: #FEF3C7;
  --sp-neutral-text: #52525B; --sp-neutral-bg: #F0F0F2; --sp-neutral-dot: #71717A;

  /* ---------- Type & shape ---------- */
  --sp-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sp-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sp-radius-xs: 4px; --sp-radius-sm: 6px; --sp-radius: 8px; --sp-radius-md: 10px; --sp-radius-lg: 12px; --sp-radius-xl: 20px; --sp-radius-pill: 999px;
  --sp-shadow-overlay: 0 8px 24px rgb(0 0 0 / .12);
}

:root{
  /* surfaces */
  --bg:var(--sp-surface); --bg-tint:var(--sp-surface-2); --bg-subtle:var(--sp-surface-2); --bg-deep:var(--sp-graphite);
  --surface:var(--sp-surface); --surface-2:var(--sp-surface-2); --surface-muted:var(--sp-surface-2);
  --line:var(--sp-border); --line-subtle:#EFEFF1; --line-strong:var(--sp-border-strong); --line-control:var(--sp-border-strong); --grid-line:#ECECEE;
  /* text */
  --text:var(--sp-text); --text-2:var(--sp-text-secondary); --text-3:var(--sp-text-muted); --text-muted:var(--sp-text-faint);
  /* brand: links, violet accent, navy */
  --link:var(--sp-orange-text);
  --blue:var(--sp-orange-text); --blue-dark:var(--sp-orange-text-hover); --blue-tint:var(--sp-orange-tint);
  --violet:var(--sp-orange-text); --violet-deco:var(--sp-orange); --violet-tint:var(--sp-orange-tint);
  --cyan:var(--sp-orange-text-dark);
  --navy:var(--sp-graphite); --navy-2:var(--sp-graphite-2); --navy-3:var(--sp-graphite-menu); --navy-line:var(--sp-graphite-line); --navy-text:var(--sp-code-text); --navy-muted:var(--sp-on-graphite-muted);
  /* category colours for widgets */
  --teal:#0F766E; --teal-tint:#E6F6F4;
  --amber:var(--sp-warn-text); --amber-tint:var(--sp-warn-bg);
  /* states (always with a text label) */
  --ok:var(--sp-ok-text); --ok-tint:var(--sp-ok-bg); --deny:var(--sp-danger-text); --deny-tint:var(--sp-danger-bg);
  --ok-on-dark:#34D399; --warn-on-dark:#FBBF24; --deny-on-dark:#F87171;
  /* legacy names kept for pages written against v1/v2 */
  --signal:#111113; --policy:#B45309; --policy-tint:#FEF3C7; --on-accent:#FFFFFF;
  --sans:var(--sp-font-sans);
  --display:var(--sp-font-sans);
  --mono:var(--sp-font-mono);
  --shadow-card:0 1px 2px rgba(17,17,19,.04),0 8px 24px rgba(17,17,19,.04);
  --shadow-ui:0 24px 60px rgba(17,17,19,.10);
  --shadow-dark:0 24px 60px rgba(17,17,19,.22);
  --r-btn:8px; --r-card:14px; --r-panel:18px;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:auto}
body.h-page{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.625;-webkit-font-smoothing:antialiased}
:where(.h-page) a{color:var(--blue);text-decoration:none}
:where(.h-page) a:hover{color:var(--blue-dark)}
.h-page a:focus-visible,.h-page button:focus-visible,.h-page [tabindex]:focus-visible,.h-page summary:focus-visible{outline:2px solid rgba(194,65,12,.6);outline-offset:2px;border-radius:6px}
.num,.h-page .num{font-family:var(--mono);font-variant-numeric:tabular-nums}
.h-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.h-skip{position:absolute;left:-9999px;top:8px;z-index:50;background:var(--navy);color:#fff!important;padding:10px 14px;border-radius:6px}
.h-skip:focus{left:12px}
.h-wrap{max-width:1240px;margin:0 auto;padding-left:20px;padding-right:20px}
@media (min-width:768px){.h-wrap{padding-left:32px;padding-right:32px}}

/* type */
.h-eyebrow,.h-step{display:inline-flex;align-items:center;gap:8px;font:600 13px/1.2 var(--sans);color:var(--violet);letter-spacing:.08em;text-transform:uppercase}
.h-step{font-size:13px}
.h-h1{font-family:var(--display);font-size:clamp(34px,4.6vw,48px);font-weight:600;line-height:1.08;letter-spacing:-.035em}
.h-page h1,.h-page h2,.h-page h3{font-family:var(--display)}
.h-h2{font-family:var(--display);font-size:clamp(30px,3.4vw,38px);font-weight:600;line-height:1.12;letter-spacing:-.025em}
.h-lead{font-size:18px;line-height:1.6;color:var(--text-3);max-width:680px}
.h-body{font-size:16px;line-height:1.625;color:var(--text-3)}
.h-code{font-family:var(--mono);font-size:.92em;color:var(--text-2)}
.h-ulink{color:var(--blue)!important;text-decoration:underline!important;text-underline-offset:3px}
.h-tag{display:inline-block;font-family:var(--mono);font-size:11px;line-height:18px;color:var(--text-muted);border:1px solid var(--line-strong);border-radius:4px;padding:0 6px;vertical-align:middle;letter-spacing:0}

/* buttons */
.h-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:var(--r-btn);font-size:15px;font-weight:600;line-height:1.2;border:1px solid transparent;transition:background .15s,border-color .15s,color .15s;text-decoration:none!important}
.h-btn-signal,.h-btn-primary{background:#FF5B1F;color:#1A0A03!important}
.h-btn-signal:hover,.h-btn-primary:hover{background:#FF7A47}
.h-btn-ondark{background:#FF5B1F;color:#1A0A03!important}
.h-btn-ondark:hover{background:#FF7A47}
.h-btn-ghostdark{background:transparent;border-color:#3A3A41;color:#F5F5F6!important}
.h-btn-ghostdark:hover{border-color:#6B6B73;color:#fff!important}
.h-btn-outline,.h-btn-secondary{background:#fff;border-color:var(--line-strong);color:var(--text)!important}
.h-btn-outline:hover,.h-btn-secondary:hover{border-color:var(--text)}
.h-btn-sm{min-height:40px;padding:0 16px;font-size:15px}
.h-textlink{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;font-size:15px;font-weight:500;color:var(--blue)!important}
.h-textlink:hover{text-decoration:underline;text-underline-offset:3px}
.h-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* utility bar (navy) */
.h-announce{background:var(--navy);color:var(--navy-text);font-size:13px;line-height:20px}
.h-announce .h-wrap{display:flex;align-items:center;gap:8px 24px;min-height:36px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.h-announce a{color:var(--navy-text)}
.h-announce a:hover{color:#fff}
.h-announce .h-msg{margin-right:auto;color:#fff}
.h-announce .h-msg a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.h-new{font-weight:600;color:var(--cyan);margin-right:8px}
.h-util{display:flex;gap:20px;align-items:center}
.h-sdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ok-on-dark);margin-right:6px;vertical-align:1px}
@media (max-width:767.98px){.h-announce .h-util{display:none}.h-announce .h-wrap{justify-content:center;text-align:center}.h-announce .h-msg{margin:0}}

/* header */
.h-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}
html{scroll-padding-top:88px}
.h-header-row{display:flex;align-items:center;gap:32px;min-height:72px}
.h-brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-weight:600;font-size:21px;letter-spacing:-.015em;min-height:44px;color:var(--text)!important}
.h-brand:hover{text-decoration:none}
.h-logo{flex:none;display:block}
.h-navlink{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:8px 10px;background:none;border:0;color:var(--text-2)!important;font:inherit;font-size:15px;font-weight:500;cursor:pointer;border-radius:6px;white-space:nowrap}
.h-navlink:hover{color:var(--text)!important}
.h-navlink>span[aria-hidden]{font-size:10px;color:var(--text-muted)}
.h-nav-panel{display:flex;align-items:center;gap:16px;flex:1 1 auto}
.h-nav-panel>nav{flex:1 1 auto}
.h-nav{display:flex;align-items:center;gap:4px}
.h-cta{display:flex;align-items:center;gap:10px}
.h-cta .h-signin{margin-right:4px}
.h-dd{position:relative}
.h-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;z-index:30;box-shadow:var(--shadow-ui)}
.h-menu a{display:flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:6px;color:var(--text)!important;font-size:15px}
.h-menu a:hover{background:var(--bg-tint);color:var(--text)!important}
.h-burger{display:none;margin-left:auto;width:44px;height:44px;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line-strong);border-radius:6px;color:var(--text);cursor:pointer}
@media (max-width:1100px){
  .h-header-row{flex-wrap:wrap;gap:8px;min-height:60px;padding-top:8px;padding-bottom:8px}
  .h-burger{display:inline-flex}
  .h-nav-panel{flex-basis:100%;flex-direction:column;align-items:stretch;gap:12px;padding:8px 0 16px;border-top:1px solid var(--line);max-height:calc(100vh - 72px);overflow-y:auto;overscroll-behavior:contain}
  .js .h-nav-panel{display:none}
  .js .h-header.is-open .h-nav-panel{display:flex}
  .h-nav{flex-direction:column;align-items:stretch}
  .h-navlink{width:100%;justify-content:space-between;font-size:16px}
  .h-menu{position:static;min-width:0;border:0;border-left:2px solid var(--line);border-radius:0;margin:0 0 6px 10px;padding:0 0 0 6px;background:none;box-shadow:none}
  .h-menu a{min-height:44px}
  .h-cta{flex-direction:column;align-items:stretch;gap:8px}
  .h-cta .h-btn{min-height:48px}
}

/* footer (navy) */
.h-footer{background:var(--navy);color:var(--navy-text);padding:64px 0 32px;font-size:14px}
.h-fcols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
.h-fbrand{grid-column:1/-1;display:flex;flex-direction:column;gap:12px;max-width:300px}
.h-fbrand p{color:var(--navy-muted);font-size:14px;line-height:1.55}
.h-fcol h2{font-size:13px;font-weight:600;color:#fff;margin:0 0 6px}
.h-fcol a{display:inline-flex;align-items:center;min-height:36px;color:var(--navy-muted)!important}
.h-fcol a:hover{color:#fff!important}
@media (min-width:768px){.h-fcols{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1024px){.h-fcols{grid-template-columns:minmax(0,2.2fr) repeat(5,minmax(0,1fr))}.h-fbrand{grid-column:auto}}
.h-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;margin-top:48px;padding-top:24px;border-top:1px solid var(--navy-line);color:var(--navy-muted);font-size:13px}
.h-legal-links{display:flex;flex-wrap:wrap;gap:4px 20px}
.h-legal a{color:var(--navy-muted)!important;display:inline-flex;align-items:center;min-height:36px}
.h-legal a:hover{color:#fff!important}
.h-tests{margin:12px 0 0;font-size:12px;color:var(--navy-muted);font-family:var(--mono)}

.h-header .h-btn{white-space:nowrap}
.h-nav a[aria-current="page"],.h-menu a[aria-current="page"]{color:var(--text)!important;font-weight:600}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.h-nav,.h-menu,.h-fcol ul{list-style:none;margin:0;padding:0}
.h-fbrand p,.h-fcol h2{margin-top:0}
.h-footer .h-brand{color:#fff!important}
.h-menu.is-open{display:block}
/* Without JS the dropdowns open on hover or keyboard focus. */
html:not(.js) .h-dd:hover>.h-menu,html:not(.js) .h-dd:focus-within>.h-menu{display:block}
/* Desktop: hover opens a dropdown too; the ::before bridge keeps it open across the gap. */
@media (hover:hover) and (min-width:1101px){
  .h-dd:hover>.h-menu{display:block}
  .h-menu::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
}
/* "You are here": the dropdown or link that holds the current page. */
.h-dd.is-current>.h-navlink,.h-nav>li>a.h-navlink[aria-current="page"]{color:var(--text)!important;box-shadow:inset 0 -2px 0 var(--violet)}
.h-social{display:flex;gap:10px;margin-top:8px}
.h-social a{width:34px;height:34px;min-height:0;border:1px solid var(--navy-line);border-radius:6px;display:grid;place-items:center;color:var(--navy-text)!important}
.h-social a:hover{border-color:var(--cyan);color:#fff!important}
.h-brand{letter-spacing:-.03em}
.h-logo-img{display:block;height:26px;width:auto}
.h-footer .h-logo-img{height:24px}
/* MOBILE-NAV-CLOSE-V1: the burger turns into a close icon, and the page dims behind the open menu. */
.h-burger .i-close{display:none}
.h-header.is-open .h-burger .i-open{display:none}
.h-header.is-open .h-burger .i-close{display:block}
@media (max-width:1100px){.h-header.is-open{box-shadow:0 0 0 100vmax rgba(17,17,19,.45)}}
.h-footer{border-top:1px solid var(--navy-line)}

/* SITE-V3 header/footer additions */
.h-word{font-family:var(--display);font-weight:600;font-size:21px;letter-spacing:-.01em;line-height:1}
.h-footer .h-word{color:#fff}
.h-brand{letter-spacing:-.01em}

/* ── SITE-V3 shared components (2026-11-14): code panels, request trace, tables,
   status labels and the navy closing band. Used by the homepage and inner pages. ── */
.v3-violet{color:var(--violet)}
.v3-cyan{color:#FF7A47}
.v3-green{color:#34D399}
.v3-dim{color:var(--navy-muted)}
.v3-mono,.v3-code{font:400 13px/1.7 var(--mono)}
.v3-label{display:inline-flex;align-items:center;gap:8px;font:600 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.v3-ctas{margin-top:32px}
.v3-ctas .h-btn{min-height:48px;padding:0 22px}
.v3-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow-card)}
.v3-linkbtn{display:inline-flex;align-items:center;min-height:44px;padding:0;background:none;border:0;font:600 14px/1 var(--sans);color:var(--link);cursor:pointer;text-align:left}
.v3-linkbtn:hover{color:var(--text)}
.v3-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font:500 13px/1.2 var(--sans);background:#EFEFF1;color:#27272A;border:1px solid var(--line)}
.v3-pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px;margin-top:48px}
.v3-pillar{padding:26px;display:flex;flex-direction:column;gap:2px}
.v3-pillar .v3-linkbtn{margin-top:6px}
.v3-code{margin:4px 0 0;background:var(--navy);color:var(--navy-text);border-radius:10px;padding:14px 16px;white-space:pre;overflow-x:auto;font-size:12.5px}
.v3-k{color:#FF7A47}.v3-s{color:#34D399}.v3-w{color:#FBBF24}
.v3-trace{flex:1 1 480px;min-width:0;background:var(--navy);border-radius:16px;border:1px solid var(--navy-line);box-shadow:var(--shadow-dark);overflow:hidden}
.v3-trace-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--navy-line);font:500 13px/1 var(--sans);color:var(--navy-muted)}
.v3-dots{display:flex;gap:7px}.v3-dots i{width:10px;height:10px;border-radius:50%;background:#2E2E34}
.v3-badge{font:600 11px/1 var(--sans);color:#FBBF24;background:rgba(251,191,36,.12);padding:5px 8px;border-radius:6px}
.v3-trace-body{padding:18px;display:flex;flex-direction:column;gap:12px}
.v3-req{background:var(--navy-2);border:1px solid var(--navy-line);border-radius:12px;padding:14px 16px;color:var(--navy-text);overflow-x:auto}
.v3-req-deny{border-color:#3A1F2A}
.v3-req-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;font:400 13px/1.4 var(--sans);color:var(--navy-muted)}
.v3-req-row b{color:var(--navy-text);font-weight:500}
.v3-st{font:600 12px/1 var(--sans);color:var(--navy);padding:6px 9px;border-radius:6px}
.v3-ok{background:#34D399}.v3-warn{background:#FBBF24}.v3-deny{background:#F87171}
.v3-small{font-size:12px;color:var(--navy-muted);margin-top:8px}
.v3-trace-foot{font:400 12px/1.4 var(--sans);color:var(--navy-muted)}
.v3-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.v3-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:40px}
.v3-stat{padding:24px;color:inherit!important;text-decoration:none}
.v3-stat b{display:block;font:700 36px/1 var(--display);color:var(--text)}
.v3-stat span{display:block;font:400 14px/1.5 var(--sans);color:var(--text-3);margin-top:8px}
.v3-table-wrap{margin-top:20px;overflow-x:auto}
.v3-table{width:100%;border-collapse:collapse;min-width:820px}
.v3-table th,.v3-table td{text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid #EFEFF1;font:400 14px/1.45 var(--sans);color:var(--text-2)}
.v3-table thead th{font:600 13px/1.3 var(--sans);color:var(--text-3);background:var(--surface-muted);border-bottom-color:var(--line)}
.v3-table tbody th{font-weight:600;color:var(--text);width:22%}
.v3-table .v3-th-s{background:#FFE4D6;color:#9A3412}
.v3-table .v3-td-s{background:var(--violet-tint);color:var(--text);font-weight:600}
.v3-table tbody tr:last-child>*{border-bottom:0}
.v3-cta{padding:56px 0;background:var(--navy)}
.v3-cta-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:32px}
.v3-cta-row>div:first-child{flex:1 1 520px}
.v3-cta h2{font:700 44px/1.1 var(--display);color:#fff!important;letter-spacing:-.02em}
.v3-cta p{font:400 18px/1.6 var(--sans);color:var(--navy-muted);margin-top:16px!important;max-width:560px}
.v3-cta .h-btn{min-height:48px;padding:0 22px}
@media (max-width:639.98px){.v3-cta{padding:40px 0}.v3-cta h2{font-size:32px}}
.v3-cta h2{margin:0}
.v3-cta p{margin:16px 0 0}
.v3-cta .h-actions{flex:none}
.v3-trace-wide{max-width:820px}
.v3-tablecard{overflow-x:auto;padding:0}
.v3-table-narrow{min-width:640px}
.v3-stl{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--ok-tint);color:var(--ok);font:600 12px/1.2 var(--sans);white-space:nowrap}
.v3-stl-n{background:#EFEFF1;color:var(--text-2)}
.v3-statnum{display:block;font:700 36px/1 var(--display);color:var(--text)}
.v3-arch-mini{display:flex;flex-direction:column;gap:10px;max-width:820px}
.v3-band-l{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:18px 22px;font:400 14px/1.5 var(--sans);color:var(--text-3)}
.v3-band-l b{font:600 15px/1.4 var(--sans);color:var(--text)}
.v3-band-l-dark{background:var(--navy);border-color:var(--navy);color:var(--navy-muted);font-family:var(--mono);font-size:13px}
.v3-band-l-dark b{color:#FF7A47;font-family:var(--sans)}
@media (max-width:639.98px){.v3-cta .h-actions{flex:1 1 100%}.v3-cta .h-btn{flex:1 1 100%;white-space:normal;text-align:center}}

/* ── GRAPHITE-ORANGE-V1 (2026-11-17): graphite header on every page ── */
.h-header{background:#111113;border-bottom-color:rgba(255,255,255,.16)}
.h-header .h-brand,.h-header .h-word{color:#fff!important}
.h-header .h-navlink{color:#9A9AA3!important}
.h-header .h-navlink:hover,.h-header .h-nav a[aria-current="page"],.h-header .h-dd.is-current>.h-navlink,
.h-header .h-nav>li>a.h-navlink[aria-current="page"]{color:#EDEDEF!important}
.h-header .h-navlink>span[aria-hidden]{color:#6B6B73}
.h-header .h-menu{background:#18181B;border-color:#2E2E34;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.h-header .h-menu a{color:#C9C9CF!important}
.h-header .h-menu a:hover{background:#26262B;color:#fff!important}
.h-header .h-menu a[aria-current="page"]{color:#fff!important}
.h-dd.is-current>.h-navlink,.h-nav>li>a.h-navlink[aria-current="page"]{box-shadow:inset 0 -2px 0 #FF5B1F}
.h-header .h-btn-outline{background:transparent;border-color:#3A3A41;color:#F5F5F6!important}
.h-header .h-btn-outline:hover{border-color:#6B6B73;color:#fff!important}
.h-header .h-burger{background:#18181B;border-color:#3A3A41;color:#F5F5F6}
.h-page a:focus-visible,.h-page button:focus-visible{outline-color:rgba(255,91,31,.7)}
@media (max-width:1100px){
  .h-header .h-nav-panel{border-top-color:#26262B}
  .h-header .h-menu{background:none;border-left-color:#2E2E34;box-shadow:none}
}
.h-social a:hover{border-color:#FF5B1F}

/* ── FOOTER-LIGHT-V1 (owner 2026-11-17, canvas UAZvGJ8SUKe9BNK9yY17fH): white footer, dark logo ── */
.h-footer{background:#FFFFFF;color:var(--text-3);border-top:1px solid var(--line)}
.h-footer .h-brand,.h-footer .h-word{color:var(--text)!important}
.h-fbrand p{color:var(--text-3)}
.h-fcol h2{color:var(--text)}
.h-fcol a{color:var(--text-3)!important}
.h-fcol a:hover,.h-legal a:hover{color:var(--link)!important}
.h-legal{border-top-color:var(--line);color:var(--text-3)}
.h-legal a{color:var(--text-3)!important}
.h-social a{border-color:var(--line);color:var(--text-3)!important}
.h-social a:hover{border-color:var(--text);color:var(--text)!important}
/* Closing CTA, every page: light tint, centred (canvas + design brief §6.1/§6.3: no black sections below the nav) */
.v3-cta{background:#FFF6F1;border-top:1px solid #FFD9C7;border-bottom:1px solid #FFD9C7}
.v3-cta h2{color:var(--text)!important}
.v3-cta p{color:var(--text-3);margin-left:auto!important;margin-right:auto!important}
.v3-cta-row{flex-direction:column;align-items:center;text-align:center;gap:28px}
.v3-cta-row>div:first-child{flex:none}
.v3-cta .h-btn-ghostdark{background:#FFFFFF;color:var(--text)!important;border:1px solid var(--line-strong)}
.v3-cta .h-btn-ghostdark:hover{border-color:var(--text)}

/* ── MIGRATION P1.4-1.5 (IMPLEMENTATION.md v3.2 §6.1, §8.4, §11): every inner page uses the homepage's
   blocks: grey site ground, each top-level section a white 20px block with 16px gaps, only the nav dark.
   Applies to the redesign pages and the Next pages alike (both render main#main > section). Copy unchanged. ── */
body.h-page:not(.h-home){background:var(--sp-page-site)}
body.h-page:not(.h-home) #main>section:not(.mx-auto){background:var(--sp-surface);background-image:none;border:1px solid var(--sp-border);border-radius:20px;margin:16px 16px 0}
/* Next pages whose sections are narrow centred columns (team, blog): the whole main is one block */
body.h-page:not(.h-home) #main:has(>section.mx-auto){background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:20px;margin:16px 16px 0;padding-top:8px}
body.h-page:not(.h-home) footer.h-footer{background:var(--sp-surface);border:1px solid var(--sp-border);border-radius:20px;margin:16px}
body.h-page:not(.h-home) footer.h-footer a{color:var(--sp-text-muted)}
body.h-page:not(.h-home) footer.h-footer a:hover{color:var(--sp-orange-text)}
/* cards: white, 1px border, no shadow (§8.4) */
body.h-page:not(.h-home) .card{box-shadow:none}
/* no black or graphite sections below the nav (§11): closing bands become the light orange CTA block */
body.h-page:not(.h-home) #main>section.ctaband,body.h-page:not(.h-home) #main>section.ap-cta,body.h-page:not(.h-home) .ctaband{background:var(--sp-orange-tint-2);border:1px solid var(--sp-orange-tint-line);color:var(--sp-text)}
body.h-page:not(.h-home) .ctaband h2,body.h-page:not(.h-home) .ap-cta .ap-h2{color:var(--sp-text)}
body.h-page:not(.h-home) .ctaband p,body.h-page:not(.h-home) .ap-cta p{color:var(--sp-text-muted)}
body.h-page:not(.h-home) #main>section.dp-dark{background:var(--sp-surface);color:var(--sp-text)}
body.h-page:not(.h-home) .dp-dark .ap-h2{color:var(--sp-text)}
body.h-page:not(.h-home) .dp-dark .lead{color:var(--sp-text-muted)}
body.h-page:not(.h-home) .dp-bcard{background:var(--sp-surface-2);border-color:var(--sp-border)}
body.h-page:not(.h-home) .dp-bcard h3{color:var(--sp-text)}
body.h-page:not(.h-home) .dp-bcard ul{color:var(--sp-text-secondary)}
body.h-page:not(.h-home) .dp-bcard li::before{color:var(--sp-text-faint)}
@media (max-width:639.98px){
  body.h-page:not(.h-home) #main>section:not(.mx-auto),body.h-page:not(.h-home) #main:has(>section.mx-auto){margin:10px 10px 0;border-radius:16px}
  body.h-page:not(.h-home) footer.h-footer{margin:10px}
}
/* P1.4: selected segment/filter/tab buttons use the orange tint (as the homepage use-case tabs), not graphite */
body.h-page .seg button[aria-pressed="true"],body.h-page .seg button[aria-selected="true"],body.h-page .dp-seg button[aria-pressed="true"],body.h-page .filters button[aria-pressed="true"],body.h-page .v3-tabs-s [role="tab"][aria-selected="true"]{background:var(--sp-orange-tint);border-color:var(--sp-orange);color:var(--sp-orange-text-hover)}
body.h-page .filters button[aria-pressed="true"] span{color:var(--sp-orange-text-hover)}
/* P1.4: runtime band and request traces are light on every page (code blocks may stay graphite, §10.2) */
body.h-page .v3-band-l-dark{background:var(--sp-orange-tint-2);border-color:var(--sp-orange-tint-line);color:var(--sp-text-secondary)}
body.h-page .v3-band-l-dark b{color:var(--sp-orange-text-hover)}
body.h-page .v3-trace{background:var(--sp-surface-2);border:1px solid var(--sp-border);box-shadow:none}
body.h-page .v3-trace-head{border-bottom-color:var(--sp-border);color:var(--sp-text-muted)}
body.h-page .v3-trace .v3-badge{background:var(--sp-warn-bg);color:var(--sp-warn-text);border-color:transparent}
body.h-page .v3-req{background:#fff;border:1px solid var(--sp-border);border-radius:8px;color:var(--sp-text)}
body.h-page .v3-req-deny{border-color:var(--sp-border)}
body.h-page .v3-req .v3-mono{color:var(--sp-text)}
body.h-page .v3-req .v3-cyan{color:var(--sp-orange-text);font-weight:600}
body.h-page .v3-req-row{color:var(--sp-text-muted)}
body.h-page .v3-req-row b{color:var(--sp-text)}
body.h-page .v3-trace-foot{color:var(--sp-text-faint)}
/* P1.4 review fixes: text written for dark backgrounds, now on light ones */
body.h-page:not(.h-home) .ctaband .btn-dark,body.h-page:not(.h-home) .ap-cta .ap-btn-ghost{background:#fff;color:var(--sp-text)!important;border:1px solid var(--sp-border-strong)}
body.h-page:not(.h-home) .ctaband .btn-dark:hover,body.h-page:not(.h-home) .ap-cta .ap-btn-ghost:hover{border-color:var(--sp-text)}
/* the inner-page CTA before the site-wide closing CTA is a white block, so two orange bands don't stack */
body.h-page:not(.h-home) #main>section.ap-cta{background:var(--sp-surface);border-color:var(--sp-border)}
body.h-page .v3-trace.wf-run .wf-steps li,body.h-page .v3-trace.wf-run .wf-undo>div:not(.wf-undo-h){color:var(--sp-text-muted)}
body.h-page .v3-trace.wf-run .v3-mono{color:var(--sp-text)}
body.h-page .v3-trace.wf-run .wf-ic,body.h-page .v3-trace.wf-run .wf-st{color:var(--sp-ok-text)}
body.h-page .v3-trace.wf-run .wf-bad .wf-ic,body.h-page .v3-trace.wf-run .wf-bad .wf-st{color:var(--sp-danger-text)}
body.h-page .v3-trace.wf-run .wf-amber{color:var(--sp-warn-text)!important}
body.h-page .v3-trace.wf-run .wf-undo-h{color:var(--sp-orange-text)}
body.h-page:not(.h-home) .ap-cta .ap-btn-white{background:var(--sp-orange);color:var(--sp-on-orange)!important;border-color:var(--sp-orange)}
body.h-page:not(.h-home) .ap-cta .ap-btn-white:hover{background:var(--sp-orange-hover)}
/* Next pages: section.wrap is itself the centred column; as a block it spans the page and keeps its column by padding */
body.h-page:not(.h-home) #main>section.wrap{max-width:none;padding-left:max(32px,calc((100% - var(--maxw,1180px))/2 + 32px));padding-right:max(32px,calc((100% - var(--maxw,1180px))/2 + 32px))}
@media (max-width:767.98px){body.h-page:not(.h-home) #main>section.wrap{padding-left:20px;padding-right:20px}}
/* SPACING-HALF-V2 (owner 2026-11-18): about 50% less vertical space inside inner-page blocks */
body.h-page:not(.h-home) .section{padding-top:44px;padding-bottom:44px}
body.h-page:not(.h-home) .hero-sub{padding-top:48px;padding-bottom:40px}
body.h-page:not(.h-home) #main>section.wrap{padding-top:44px;padding-bottom:44px}
body.h-page:not(.h-home) #main>section.page-hero{padding-top:44px;padding-bottom:28px}
@media (max-width:639.98px){body.h-page:not(.h-home) .section{padding-top:32px;padding-bottom:32px}body.h-page:not(.h-home) .hero-sub{padding-top:36px;padding-bottom:28px}}
