
/* Self-hosted fonts (2026-11-15): the files live in /assets/fonts/ on
   maineblock.com, so no font request leaves the site. Variable fonts,
   one file per family and subset, declared with their weight range. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/space-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
*{box-sizing:border-box}
:root{
  color-scheme:light;
  --orange:#F29B26;
  --orange-soft:rgba(242,155,38,.16);
  --accent:#A85A00;
  --bg:#ffffff;
  --surface:#F6F6F7;
  --card:#ffffff;
  --ink:#0B0B0C;
  --muted:#55555C;
  --line:#E4E4E8;
  --grid:#ECECF0;
  --chart-mute:#9AA0A6;
  --tint-finance:#FFF1DE;
  --tint-tools:#E9F1FD;
  --tint-templates:#F0EAFB;
  --tint-shop:#E8F5ED;
  --header-bg:rgba(11,11,12,.88);
  --shadow:0 12px 32px rgba(11,11,12,.10);
  --radius:14px;
  --font-d:'Space Grotesk',sans-serif;
  --font-b:'Inter',sans-serif;
  --font-m:'Inter',sans-serif;
}
/* ---------- homepage dark mode (owner rulings, 2026-11-05) ----------
   The homepage alone carries a visitor-chosen dark/light mode: it
   opens all black (the previewed and approved variant that carries
   the dark ground through Services and everything below the already
   dark top sections), and the top bar's mode button switches it to
   all white (owner correction, 2026-11-05: neither mode is the old
   black-top/white-bottom mixture). The dark variables apply only while
   <html> carries .mb-dark, which page() prints on the homepage and
   the homepage's head script adjusts from the visitor's saved
   choice before first paint. Homepage-scoped variables only; every
   other page keeps the light scheme. */
html.mb-dark body.home{
  --bg:#0B0B0C; --surface:#17171a; --card:#17171a; --ink:#F4F4F5;
  --muted:#A9A9B2; --line:#2C2C31; --grid:#222227; --chart-mute:#8A8F98;
  --tint-finance:#26190C; --tint-tools:#131B29; --tint-templates:#1C1730;
  --tint-shop:#10231A; --header-bg:rgba(11,11,12,.94);
  --shadow:0 12px 32px rgba(0,0,0,.55);
  color-scheme:dark; background:#0B0B0C; color:#F4F4F5;
}
/* Mode button border (owner ruling, 2026-11-05): the homepage mode
   button carries a permanent 1px soft-orange border, present at
   rest in both modes (softer than the focus orange he saw flashing),
   and its own :focus-visible steps that border up with a soft orange
   wash instead of the global bold 2.5px outline, so keyboard focus
   still reads clearly without the flash. This button only. */
html.mb-dark body.home .theme-toggle{border:1px solid rgba(242,155,38,.4);border-radius:9px}
html.mb-dark body.home .theme-toggle:focus-visible{outline:none;border-color:rgba(242,155,38,.9);background:rgba(242,155,38,.14)}
/* Hero guides button, solid fill (owner ruling, 2026-11-05): the
   hero's "Read the guides" button (.btn-light) rendered with the
   base translucent white wash over the black hero and read as
   transparent next to the solid "Browse the tools" button. In the
   homepage hero only it takes a solid dark fill (the dark surface
   tone #17171A) with its border kept and light text. Hero-scoped:
   the survey band's .btn-light below the hero and every other
   page's are untouched. The white-mode side sits in the white
   block below. */
html.mb-dark body.home .hero-home .btn-light{background:#17171A;color:#fff}
html.mb-dark body.home .hero-home .btn-light:hover{background:#17171A;color:#fff}
/* Homepage cards present on load (owner ruling, 2026-11-05): the
   reveal fade comes off the HOMEPAGE only, in both modes, the way
   the Tools hub grid was fixed earlier the same day. Every other
   page keeps the scroll reveal: Finance hub guide cards, Insights
   topic-page cards, and the Daily 7 pick cards are untouched. */
body.home .reveal{opacity:1;transform:none;transition:none}
/* ---------- homepage all-white mode (owner ruling, 2026-11-05) ----------
   The mode button's other side: with .mb-dark absent the homepage
   renders light END TO END. The palette sections already follow
   :root; what needs work is every hard-coded dark carrier, flipped
   here per the HOMEPAGE_THEME.md section 4 recipe: the header, the
   hero (including its SVG figure's white annotation strokes and
   fills), the Studios section (its own variable set, re-paired),
   the survey band, the How Maine Mood works card (.pin-comp), the
   Daily 7 card (children re-paired like .d7f-cry's), and the
   cheat-sheet band. Dark ink on light grounds; Signal Orange
   accents unchanged. Scoped to the homepage in light mode only:
   dark mode above and every other page are untouched.
   White-mode readability (owner ruling, 2026-11-05): secondary text
   that read in the site's muted gray #55555C was too pale on white;
   in this mode only, the muted and chart-label grays re-point to
   the darker gray #333338 (the owner's call: a darker gray, not
   heading black, so the heading/body hierarchy remains).
   White-mode parity (owner screenshots, 2026-11-05): the survey
   band takes the light gray ground #ECECF0 (the site's grid tone,
   one surface step off the white page) so it reads as its own
   section again, mirroring dark mode where the band's #16161A
   sits one step off the #0B0B0C page; and the active How Maine
   Mood works step tab takes the same accent fill as dark mode
   (the resting rule below had outranked the base .on rule); and
   the Studios screen grid fades one small step (.13 to .10,
   owner: "a tiny bit too pronounced"). Later the same day the
   owner asked for the white homepage's background grids a
   little fainter across the board, so all three soften about
   a third: hero .14 to .09, Studios screen .10 to .07, and the
   cheat-sheet (newsband) grid .13 to .09. Dark mode's grids
   are untouched. */
html:not(.mb-dark) body.home{--muted:#333338;--chart-mute:#333338}
html:not(.mb-dark) body.home .site-header{background:rgba(255,255,255,.92);border-bottom:1px solid var(--line)}
html:not(.mb-dark) body.home .nav-link{color:#333338}
html:not(.mb-dark) body.home .nav-link:hover{color:var(--ink);background:rgba(11,11,12,.06)}
html:not(.mb-dark) body.home .nav-link.active,html:not(.mb-dark) body.home .nav-link[aria-current="page"]{color:var(--ink);background:rgba(11,11,12,.08)}
html:not(.mb-dark) body.home .dd-btn{color:rgba(11,11,12,.85);background:rgba(11,11,12,.06)}
html:not(.mb-dark) body.home .dd-btn:hover{color:var(--ink);background:rgba(11,11,12,.10)}
html:not(.mb-dark) body.home .dd-btn .ic{color:rgba(11,11,12,.5)}
/* About link, white mode (owner screenshots, 2026-11-05): the
   mobile About link (.m-about) was the one header item this
   block never re-paired; its base color is the dark-header
   rgba(255,255,255,.85), so on the white header it rendered
   white on white and disappeared. It takes the same treatment
   as .nav-link in this block. Desktop widths are unaffected:
   there About is a .nav-link, already re-paired above. */
html:not(.mb-dark) body.home .m-about{color:#333338}
html:not(.mb-dark) body.home .m-about:hover{color:var(--ink);background:rgba(11,11,12,.06)}
html:not(.mb-dark) body.home .m-about.active,html:not(.mb-dark) body.home .m-about[aria-current="page"]{color:var(--ink);background:rgba(11,11,12,.08)}
html:not(.mb-dark) body.home .translate-code{color:#333338}
html:not(.mb-dark) body.home .translate-code .ic{color:rgba(11,11,12,.45)}
html:not(.mb-dark) body.home .translate-toggle:hover .translate-code,html:not(.mb-dark) body.home .translate-toggle:hover .translate-code .ic{color:var(--ink)}
html:not(.mb-dark) body.home .translate-toggle[aria-expanded="true"] .translate-code{color:var(--ink)}
html:not(.mb-dark) body.home .search-toggle,html:not(.mb-dark) body.home .theme-toggle{color:rgba(11,11,12,.62)}
html:not(.mb-dark) body.home .search-toggle:hover,html:not(.mb-dark) body.home .theme-toggle:hover{color:var(--ink)}
html:not(.mb-dark) body.home .theme-toggle{border:1px solid rgba(242,155,38,.5);border-radius:9px}
html:not(.mb-dark) body.home .theme-toggle:focus-visible{outline:none;border-color:rgba(242,155,38,.9);background:rgba(242,155,38,.10)}
html:not(.mb-dark) body.home .hero-home{background:#ffffff;color:var(--ink)}
html:not(.mb-dark) body.home .hero-home::before{background-image:linear-gradient(rgba(11,11,12,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(11,11,12,.09) 1px,transparent 1px)}
html:not(.mb-dark) body.home .hero-home h1{color:var(--ink)}
html:not(.mb-dark) body.home .hero-sub{color:var(--muted)}
html:not(.mb-dark) body.home .trust{color:var(--muted)}
html:not(.mb-dark) body.home .trust strong{color:var(--ink)}
html:not(.mb-dark) body.home .hero-cap{color:var(--muted)}
html:not(.mb-dark) body.home .hero-fig line[stroke="rgba(255,255,255,.35)"]{stroke:rgba(11,11,12,.3)}
html:not(.mb-dark) body.home .hero-fig line[stroke="rgba(255,255,255,.45)"]{stroke:rgba(11,11,12,.4)}
html:not(.mb-dark) body.home .hero-fig text[fill="rgba(255,255,255,.6)"]{fill:#333338}
html:not(.mb-dark) body.home .hero-fig text[fill="#FFB35C"]{fill:#B35A00}
html:not(.mb-dark) body.home .btn-light{background:rgba(11,11,12,.05);color:var(--ink);border-color:var(--line)}
html:not(.mb-dark) body.home .btn-light:hover{background:rgba(11,11,12,.05);color:var(--ink)}
html:not(.mb-dark) body.home .btn-light::after{background:rgba(11,11,12,.06)}
/* Hero guides button, solid fill, white mode (owner ruling,
   2026-11-05; the dark-mode side sits in the dark block above):
   the white-mode wash above (5% black) read as transparent on the
   white hero, so in the homepage hero only the button takes the
   solid light fill #ECECF0 with dark text and its border kept.
   Hero-scoped: the survey band's .btn-light and every other
   page's are untouched. */
html:not(.mb-dark) body.home .hero-home .btn-light{background:#ECECF0;color:var(--ink);border-color:var(--line)}
html:not(.mb-dark) body.home .hero-home .btn-light:hover{background:#ECECF0;color:var(--ink)}
html:not(.mb-dark) body.home .mbs{--mbs-ink:#ffffff;--mbs-ink-deep:#F6F6F7;--mbs-panel:#ffffff;--mbs-fog:#0B0B0C;--mbs-mist:#333338;--mbs-line:#E4E4E8}
/* Studios divider, white mode only (owner ruling, 2026-11-05):
   in white mode the hero and the Studios section are both plain
   white and their boundary did not read. The section takes a 1px
   top line in #F3C79C, the soft orange hairline the owner sampled
   from the line over the survey band's #ECECF0 ground. Dark mode
   unchanged. */
html:not(.mb-dark) body.home .mbs{border-top:1px solid #F3C79C}
html:not(.mb-dark) body.home .mbs__note{opacity:1}
html:not(.mb-dark) body.home .mbs__screen{background-image:linear-gradient(rgba(11,11,12,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(11,11,12,.07) 1px,transparent 1px)}
html:not(.mb-dark) body.home .mbs__tab:hover{background:rgba(11,11,12,.04)}
html:not(.mb-dark) body.home .mbs__tab[aria-selected="true"]{background:rgba(242,155,38,.08)}
html:not(.mb-dark) body.home .mbs__tabnav-btn{background:rgba(11,11,12,.04)}
html:not(.mb-dark) body.home .mbs__tabnav-btn:hover{background:rgba(11,11,12,.08)}
html:not(.mb-dark) body.home .mbs__tab-badge,html:not(.mb-dark) body.home .mbs__panel-badge{box-shadow:0 0 0 1px var(--mbs-line)}
html:not(.mb-dark) body.home .mbs__tabsbar::after{background:rgba(11,11,12,.12)}
/* Survey band results button, solid fill (owner ruling,
   2026-11-08, board decision 223): the band's .btn-light read as a
   ghost outline in both modes, so it takes the solid orange fill of
   the site's action buttons. Band-scoped: the hero's .btn-light and
   every other page's are untouched. */
html.mb-dark body.home .surveyband .btn-light{background:var(--orange);color:#0B0B0C;border-color:var(--orange)}
html.mb-dark body.home .surveyband .btn-light:hover{background:var(--orange);color:#0B0B0C;box-shadow:0 8px 22px rgba(242,155,38,.35)}
html:not(.mb-dark) body.home .surveyband .btn-light{background:var(--orange);color:#0B0B0C;border-color:var(--orange)}
html:not(.mb-dark) body.home .surveyband .btn-light:hover{background:var(--orange);color:#0B0B0C;box-shadow:0 8px 22px rgba(242,155,38,.35)}
body.home .surveyband .btn-light::after{background:#ff8f1f}
html:not(.mb-dark) body.home .surveyband{background:#ECECF0;color:var(--ink)}
html:not(.mb-dark) body.home .surveyband h2{color:var(--ink)}
html:not(.mb-dark) body.home .surveyband .sb-lede{color:var(--muted)}
html:not(.mb-dark) body.home .surveyband .sb-stat{color:var(--ink)}
html:not(.mb-dark) body.home .pin-comp{background:#ffffff;border-color:var(--line)}
html:not(.mb-dark) body.home .pin-progress{background:rgba(11,11,12,.10)}
html:not(.mb-dark) body.home .pin-panel h3{color:var(--ink)}
html:not(.mb-dark) body.home .pin-panel p{color:var(--muted)}
html:not(.mb-dark) body.home .pin-step{border-color:var(--line);background:#E8E8EC;color:var(--muted)}
html:not(.mb-dark) body.home .pin-step.on{background:var(--accent);color:#0B0B0C;border-color:var(--accent)}
html:not(.mb-dark) body.home .pin-sample{background:var(--surface);border-color:var(--line)}
html:not(.mb-dark) body.home .pin-sample-q{color:var(--ink)}
html:not(.mb-dark) body.home .pin-opt{border-color:var(--line);background:#ffffff;color:var(--ink)}
html:not(.mb-dark) body.home .pin-opt:hover{border-color:var(--accent);background:rgba(242,155,38,.08);color:var(--ink)}
html:not(.mb-dark) body.home .pin-opt.sel{border-color:var(--accent);background:rgba(242,155,38,.14);color:var(--ink)}
html:not(.mb-dark) body.home .pin-sample-note{color:var(--muted)}
html:not(.mb-dark) body.home .pin-chart{background:var(--surface);border-color:var(--line)}
html:not(.mb-dark) body.home .pin-chart-title{fill:var(--ink)}
html:not(.mb-dark) body.home .pin-chart-label{fill:var(--muted)}
html:not(.mb-dark) body.home .pin-chart-value{fill:var(--ink)}
html:not(.mb-dark) body.home .pin-bar-track{fill:rgba(11,11,12,.10)}
html:not(.mb-dark) body.home .pin-grid{stroke:rgba(11,11,12,.10)}
html:not(.mb-dark) body.home .pin-dot{stroke:#ffffff}
html:not(.mb-dark) body.home .d7f-d7{background:#ffffff;border:1px solid var(--line)}
html:not(.mb-dark) body.home .d7f-d7 .d7-feature-title h3{color:var(--ink)}
html:not(.mb-dark) body.home .d7f-d7 .d7-feature-tag{color:var(--muted)}
html:not(.mb-dark) body.home .d7f-d7 .d7-live-pill{border-color:var(--line);color:var(--ink)}
html:not(.mb-dark) body.home .d7f-d7 .d7-soon-pill{color:var(--muted)}
html:not(.mb-dark) body.home .d7f-d7 .d7-soon-pill i{background:rgba(11,11,12,.35)}
html:not(.mb-dark) body.home .d7f-d7 .d7-guide-link{color:var(--ink)}
html:not(.mb-dark) body.home .d7f-d7 .d7-guide-link:hover{color:var(--accent)}
html:not(.mb-dark) body.home .d7f-d7 .d7-minis{background:rgba(11,11,12,.04);border-color:var(--line)}
html:not(.mb-dark) body.home .d7f-d7 .d7-fact{color:var(--ink)}
html:not(.mb-dark) body.home .d7f-d7 .d7-fact-t{color:var(--muted)}
html:not(.mb-dark) body.home .d7f-d7 .d7-mini{background:rgba(11,11,12,.05);color:var(--ink)}
html:not(.mb-dark) body.home .d7f-d7 .d7-mini:hover{background:rgba(11,11,12,.09)}
html:not(.mb-dark) body.home .d7f-d7 .d7-mini-p{color:var(--muted)}
html:not(.mb-dark) body.home .d7f-d7 .d7-mini .d7-up{color:#0f7a3d}
html:not(.mb-dark) body.home .d7f-d7 .d7-mini .d7-down{color:#b3372f}
html:not(.mb-dark) body.home .newsband{background:#ffffff;color:var(--ink)}
html:not(.mb-dark) body.home .newsband::before{background-image:linear-gradient(rgba(11,11,12,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(11,11,12,.09) 1px,transparent 1px)}
html:not(.mb-dark) body.home .newsband h2{color:var(--ink)}
html:not(.mb-dark) body.home .newsband p{color:var(--muted)}
html:not(.mb-dark) body.home .newsband .mock-sheet{box-shadow:0 24px 60px rgba(0,0,0,.18)}
html:not(.mb-dark) body.home .newsband .emailrow input[type=email]{border-color:var(--line);background:#ffffff;color:var(--ink)}
html:not(.mb-dark) body.home .newsband .emailrow input[type=email]::placeholder{color:var(--muted)}
html:not(.mb-dark) body.home .nb-note{color:var(--muted)}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-b);font-variant-numeric:tabular-nums;background:var(--bg);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--font-d);line-height:1.18;letter-spacing:-.01em}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2.5px solid var(--orange);outline-offset:2px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;padding:12px 18px;margin:0;overflow:visible;clip:auto;white-space:normal;background:var(--ink);color:#fff;font-weight:700;z-index:200;border-radius:10px}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px}
.wrap-wide{max-width:1460px}
body.pg-tools .wrap-wide{max-width:1120px}
.block{padding:72px 0}
/* ---------- header (black glass, scheme-independent) ---------- */
.site-header{position:sticky;top:0;z-index:60;background:rgba(11,11,12,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.09)}
.site-header .wrap{display:flex;align-items:center;gap:20px;padding-top:12px;padding-bottom:12px}
/* Desktop top bar, full width (owner, 2026-11-11): the bar uses the
   whole available width with modest side padding instead of the
   centered wrap, so no item is squeezed; the Maine Mood pill sizes
   to its label and never wraps. Mobile bar unchanged. */
@media(min-width:861px){
.site-header .wrap{max-width:none;padding-left:40px;padding-right:24px}
/* Menu grouping (owner, 2026-11-12, reversing the same-day even
   spread): the links sit in one group at their natural spacing,
   pushed toward the controls by the base rule's margin-left:auto,
   as the bar was arranged originally. The even spread
   (space-between across the whole bar) was tried live and the
   owner rejected it on sight as unlike a real website's menu;
   do not reintroduce it. */
.nav-survey{flex:none}
}
/* Compression band for the grouped bar (2026-11-12, found by the
   rendered checks and corrected by their recheck): the
   link row's content is rigid (~717px for seven items). With
   the Maine Mood item shown (eight items) the row's true
   full-dress need measures ~1,204px — the survey link plus its
   chevron button is far wider than its label suggests — so the
   band runs to 1,239px, and the nav icons yield across the
   whole band (an earlier cut that restored icons at 1,000px
   collided worse there than at 861). In this band the spacing
   steps in — wrap padding and gaps, link and survey padding,
   the chevron's floor — with no item, size, or behavior
   changes. At 1,240px and up the full dress stands. */
@media(min-width:861px) and (max-width:1239px){
.site-header .wrap{gap:12px;padding-left:16px;padding-right:16px}
/* The trims below carry the .site-header prefix on purpose: the
   base .nav-link / .survey-link / chevron rules are emitted
   LATER in the stylesheet than this block, so at equal
   specificity they won and the first cut of this band silently
   did nothing (measured: the 861px overlap was identical,
   -34.13px, before and after). The prefix outranks them at
   any source order. */
.site-header .nav-links{gap:2px}
.site-header .nav-link{padding:10px 10px}
.site-header .survey-link{padding:10px 10px}
.site-header .nav-survey .dd-btn.survey-chev{min-width:32px;padding:8px 8px 8px 6px}
}
/* Menu font standard (owner, 2026-11-12): the top bar menu carries
   Analysis Studio's font scheme — the base .95rem, stepping down to
   .88rem at 861-1180px and .84rem at 861-1080px — so the menu reads
   the same size on the site as in the Studio. The .site-header
   prefix outranks the later base .nav-link rule at any source
   order. The logo lockup's extra left room lives in the full-width
   wrap padding above (40px, owner, 2026-11-12). */
@media(min-width:861px) and (max-width:1180px){
.site-header .nav-link{font-size:.88rem}
}
@media(min-width:861px) and (max-width:1080px){
.site-header .nav-link{font-size:.84rem}
}
@media(min-width:861px) and (max-width:1119px){
.nav-link .ic,.survey-link .ic{display:none}
}
@media(min-width:861px){
.survey-link{white-space:nowrap;flex:none}
.nav-link{white-space:nowrap}
}
/* ---------- header controls: translate code selector + search toggle,
   in the main header row at the right end of the nav ---------- */
html{scroll-padding-top:76px}
.head-controls{display:inline-flex;align-items:center;gap:16px;flex:none}
/* Wikipedia-style language selector: the visible control is only the
   current language code with a chevron. It opens our own dropdown
   (rendered from a built-in copy of the full language list); the Google
   Translate gadget stays hidden off-screen as the translation engine
   only and is never a click target or a menu source. */
.translate-widget{position:relative;display:inline-flex;align-items:center;line-height:1}
.translate-toggle{display:inline-flex;align-items:center;background:none;border:0;padding:3px 2px;cursor:pointer;font:inherit;line-height:1}
.translate-code{display:inline-flex;align-items:center;gap:4px;font-family:'Inter',sans-serif;font-size:.8rem;font-weight:600;letter-spacing:.04em;color:rgba(255,255,255,.62);pointer-events:none}
.translate-code .ic{color:rgba(255,255,255,.45);transition:transform .18s ease}
.translate-toggle:hover .translate-code,.translate-toggle:hover .translate-code .ic{color:#fff}
.translate-toggle[aria-expanded="true"] .translate-code{color:#fff}
.translate-toggle[aria-expanded="true"] .translate-code .ic{transform:rotate(180deg)}
#google_translate_element{position:absolute;left:-9999px;top:0;width:240px;height:48px;overflow:hidden;opacity:0;pointer-events:none}
.goog-te-gadget-icon{display:none!important}
.lang-menu{position:absolute;top:calc(100% + 8px);right:12px;width:340px;background:rgba(17,17,20,.98);border:1px solid rgba(255,255,255,.13);border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:6px;z-index:80}
.lang-menu[hidden]{display:none}
.lang-list{max-height:260px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.lang-list::-webkit-scrollbar{width:8px}
.lang-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:4px}
.lang-item{display:flex;align-items:center;gap:9px;width:100%;background:none;border:0;border-radius:8px;padding:7px 9px;font-family:'Inter',sans-serif;font-size:.9rem;color:rgba(255,255,255,.75);text-align:left;cursor:pointer;line-height:1.25}
.lang-item:hover{background:rgba(255,255,255,.07);color:#fff}
.lang-item .lang-dot{flex:none;width:7px;height:7px;border-radius:50%;background:transparent}
.lang-item.is-active{color:#fff;font-weight:600}
.lang-item.is-active .lang-dot{background:#F29B26}
/* Real divider element between the pinned commons and the
   alphabetical list. The first version sat at 10% white on the
   near-black panel, about 1.2:1 contrast at 1px tall, which reads
   as no separator at all; this one is unmistakable. */
.lang-sep{display:block;flex:none;height:1px;background:rgba(255,255,255,.3);margin:9px 10px}
/* Google "Translated to..." banner. Diagnosis, from the gadget's
   own code (translate_a/element.js, build TE_20261014, and its
   el_main script and stylesheet): the current gadget never emits
   the retired .goog-te-banner-frame class at all, which is why
   the earlier class-based suppression missed it completely. The
   node it actually injects when a translation applies is a plain
   <div class="skiptranslate"> inserted as the first element of
   <body>, wrapping an <iframe class="VIpgJd-ZVi9od-ORHb-OEVmcd
   skiptranslate" src="#"> whose document carries the light-blue
   bar; the gadget's stylesheet positions that iframe fixed at
   top:0 with height:39px and z-index:10000001, so it covers the
   header and takes its clicks. The rules below target the real
   node (the wrapper as a direct child of body, the iframe's
   actual class), keep the retired selectors for older gadget
   builds, and are backed by the JavaScript banner guard in
   JS_SITE, which re-hides the node in any markup form whenever
   it appears. Switching languages and returning to English run
   through our own menu, never the banner. */
.goog-te-banner-frame,iframe.goog-te-banner-frame,#goog-te-banner-frame,.goog-te-banner-frame.skiptranslate,iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,body>div.skiptranslate{display:none!important;visibility:hidden!important;height:0!important;max-height:0!important}
body{top:0!important}
#goog-gt-tt{display:none!important}
.goog-text-highlight{background:none!important;box-shadow:none!important}
.search-toggle{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:3px 2px;color:rgba(255,255,255,.62);line-height:1;cursor:pointer}
.search-toggle:hover{color:#fff}
.search-toggle[aria-expanded="true"]{color:#F29B26}
/* Homepage dark/light mode button (owner ruling, 2026-11-05): the
   same quiet icon-button treatment as the search toggle, in the
   homepage top bar where the translation button sat, immediately
   before the search toggle. The glyph names the mode a tap
   switches TO: a moon on the light page, a sun on the dark page. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:3px 2px;color:rgba(255,255,255,.62);line-height:1;cursor:pointer}
.theme-toggle:hover{color:#fff}
.theme-toggle .tt-sun{display:none}
html.mb-dark .theme-toggle .tt-sun{display:inline-flex}
html.mb-dark .theme-toggle .tt-moon{display:none}
/* ---------- site search: the icon opens the search card at the
   end of the header element. The input sits at the top of the
   card with the results below it, so the header row itself is
   pixel-static in every state. The card never covers content:
   on desktop it docks at the right under the header while the
   page content yields its width; on mobile it opens in flow
   under the header and pushes the content down. ------- */
.search-results{position:absolute;top:calc(100% + 8px);right:12px;width:340px;max-height:min(62vh,470px);background:rgba(17,17,20,.98);border:1px solid rgba(255,255,255,.13);border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:12px 18px;display:none;z-index:80}
.search-results.is-open{display:flex;flex-direction:column}
.search-form{flex:none}
.search-input{display:block;width:100%;height:38px;box-sizing:border-box;padding:8px 12px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.06);color:#fff;font-family:'Inter',sans-serif;font-size:16px;outline:none}
.search-input:focus{border-color:#F29B26}
.search-input::placeholder{color:rgba(255,255,255,.45)}
.search-list{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.search-list:empty{display:none}
.search-list::-webkit-scrollbar{width:8px}
.search-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:4px}
/* Desktop card behavior: while a card is open, the main content
   and the footer yield the card's width (340px plus its 12px right
   offset and a 12px gutter), so the card never covers anything. */
@media (min-width:861px){
  main,.site-footer{transition:margin-right .25s ease}
  body.has-card main,body.has-card .site-footer{margin-right:364px}
}
/* Backdrop shelf: while a header card is open on desktop, the
   card's column (the 364px the content yields) gets the homepage
   hero's backdrop behind the near-black card, from under the
   header to the bottom of the viewport, so the card sits on the
   hero backdrop instead of on the plain white page area. Two
   layers build it, in the hero's own paint order (base, grid,
   glow, cubes):
   - .card-grid (z 54): a fixed, viewport-sized layer carrying
     the near-black #0B0B0C base and the blueprint grid (46px
     tiles, the hero's gradients and radial mask fade), masked
     to the card's column. It is viewport-sized because a grid
     inside the 364px shelf could never share the hero grid's
     phase: its origin would be the shelf's own top-left, and no
     CSS length can express the layout viewport's width (100vw
     includes the classic scrollbar, the shelf's column does
     not). This layer's origin is the viewport's top-left, and
     the script in JS_SITE sets --grid-pos from the hero's
     rendered rectangle, so its tiles coincide with the hero's
     rendered tiles and the grid runs continuously from the hero
     into the column at the top of the homepage.
   - .card-shelf (z 55): the hero's warm orange radial glow
     (.hero-home::after's recipe) and its drifting cubes
     (.drift .dbl, same keyframes) at their hero opacity.
   Both fade (the shelf also slides) with the same .25s ease as
   the content yield, hang below the header's stacking order
   (60) and the cards' (80), never take a click, and do not
   exist on mobile, where the panels open in flow. Both elements
   are emitted by card_shelf() as body children: the header's
   backdrop-filter would otherwise make the header a containing
   block and trap these fixed layers inside it. */
.card-grid{display:none}
@media (min-width:861px){
  .card-grid{display:block;position:fixed;inset:0;background:#0B0B0C;pointer-events:none;z-index:54;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s;-webkit-mask-image:linear-gradient(to right,transparent calc(100% - 364px),#000 calc(100% - 364px));mask-image:linear-gradient(to right,transparent calc(100% - 364px),#000 calc(100% - 364px))}
  .card-grid::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:46px 46px;background-position:var(--grid-pos,0px 0px);-webkit-mask-image:radial-gradient(ellipse 90% 85% at 50% 40%,#000 30%,transparent 75%);mask-image:radial-gradient(ellipse 90% 85% at 50% 40%,#000 30%,transparent 75%)}
  body.has-card .card-grid{opacity:1;visibility:visible;transition:opacity .25s ease,visibility 0s}
}
.card-shelf{display:none}
@media (min-width:861px){
  .card-shelf{display:block;position:fixed;top:0;right:0;bottom:0;width:364px;overflow:hidden;pointer-events:none;z-index:55;opacity:0;visibility:hidden;transform:translateX(10px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
  .card-shelf::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 78% 30%,rgba(242,155,38,.14),transparent 65%)}
  body.has-card .card-shelf{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s}
}
@media (prefers-reduced-motion:reduce){.card-grid{transition:none}.card-shelf{transition:none}.card-shelf .dbl{animation:none}}
.sr-item{display:block;padding:13px 10px;border-bottom:1px solid rgba(255,255,255,.14);text-decoration:none}
.sr-item:last-child{border-bottom:0}
.sr-title{display:block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1rem;color:#fff}
.sr-item:hover .sr-title{color:#F29B26}
.sr-ex{display:block;margin-top:5px;font-size:.9rem;line-height:1.55;color:rgba(255,255,255,.66)}
.sr-note{margin:0;padding:10px 2px;font-size:.9rem;color:rgba(255,255,255,.55)}
@media (prefers-reduced-motion:reduce){.translate-code .ic{transition:none}}
/* Touch widths: 40px tap heights for both header controls and every
   row they open; the two panels open in flow under the header and
   push the content down. Header budget, measured by rendering (real
   Inter, 2026-10-18): the six items (brand, Menu, Maine Mood,
   About, EN, search) plus the wrap's gaps and padding total
   423.4px, so the row fits a 430px phone with about 7px to spare
   and its floor is about 424px. Below 424px the About link
   yields (John's call, 2026-10-18) through a max-width:423px
   rule placed after the nav block, which lets it win at equal
   specificity; an earlier max-width:560px attempt sat before
   the nav block, never took effect, and has been removed. The
   survey pill's icon also yields, at 560px. The 2026-10-18
   rebalance took horizontal padding out of
   the right cluster (About, EN, search) and gave it to the Menu
   and Maine Mood pills, so the glyph-to-glyph spacing reads as one
   rhythm; do not widen the right cluster casually. */
@media (max-width:860px){
  html{scroll-padding-top:80px}
  .site-header .wrap{gap:8px}
  .head-controls{gap:8px}
  .translate-toggle{min-height:40px;padding:0 2px}
  .translate-code{gap:3px}
  .search-toggle{width:34px;height:40px;padding:0}
  .theme-toggle{width:34px;height:40px;padding:0}
  .lang-item{min-height:40px;padding-top:9px;padding-bottom:9px}
  .sr-item{min-height:40px;padding-top:13px;padding-bottom:13px}
  .lang-menu{position:static;width:auto;margin:0 8px 10px;box-shadow:none}
  .search-results{position:static;width:auto;margin:0 8px 10px;box-shadow:none}
}
@media (max-width:560px){
  /* The survey pill's decorative icon yields at this width to
     save room in the row. */
  .m-survey .ic{display:none}
  /* The Data and Studios pills (2026-11-11) yield the same way:
     two pills ride the mobile bar now, and their icons are the
     first thing that can go at narrow widths. */
  .m-pill .ic{display:none}
  .m-pill{padding:10px 14px}
}
.brand{display:flex;align-items:center;color:#fff;text-decoration:none}
.brand-logo{display:block}
@media(min-width:861px){.brand-logo{width:40px;height:40px}}
.brand-logo .cube{transform-box:fill-box;transform-origin:center}
body.home .brand-logo .cube{opacity:0;animation:cubeIn .75s cubic-bezier(.2,.85,.3,1.12) forwards}
body.home .brand-logo .c1{--fx:0px;--fy:-30px;animation-delay:.05s}
body.home .brand-logo .c2{--fx:-30px;--fy:12px;animation-delay:.2s}
body.home .brand-logo .c3{--fx:30px;--fy:12px;animation-delay:.35s}
@keyframes cubeIn{from{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.55)}to{opacity:1;transform:translate(0,0) scale(1)}}
@media(prefers-reduced-motion:reduce){body.home .brand-logo .cube{animation:none;opacity:1}}
.brand img{height:30px;width:30px;border-radius:7px;display:block}
.nav{display:flex;align-items:center;margin-left:auto}
.nav-links{display:flex;gap:4px;align-items:center;position:relative}
.nav-link{display:inline-flex;align-items:center;color:rgba(255,255,255,.78);text-decoration:none;font-weight:600;font-size:.95rem;padding:10px 14px;min-height:44px;border-radius:999px;transition:color .16s ease,background .16s ease}
.nav-link:hover{color:#fff;background:rgba(255,255,255,.08)}
.nav-link.active,.nav-link[aria-current="page"]{color:#fff;background:rgba(255,255,255,.10)}
.survey-link{display:inline-flex;align-items:center;color:#F29B26;background:rgba(242,155,38,.13);text-decoration:none;font-weight:700;font-size:.95rem;padding:10px 16px;min-height:44px;border-radius:999px;transition:color .16s ease,background .16s ease}
.survey-link:hover{color:#FF9E33;background:rgba(242,155,38,.22)}
.survey-link.active,.survey-link[aria-current="page"]{background:#F29B26;color:#0B0B0C}
.nav-link,.survey-link,.m-survey,.m-about,.dd-menu a{gap:7px}
.ic{flex:none}
.dd{display:none}
.dd-panel{display:none}
.m-links{display:none}
@media(max-width:860px){
.site-header .wrap{padding-top:10px;padding-bottom:10px;padding-left:10px;padding-right:10px}
.nav-links{display:none}
.nav{gap:10px}
.m-links{display:flex;align-items:center;gap:2px}
.m-survey{display:inline-flex;align-items:center;min-height:44px;padding:8px 11px;border-radius:999px;color:#F29B26;background:rgba(242,155,38,.13);font-weight:700;font-size:.84rem;text-decoration:none;white-space:nowrap}
.m-survey:hover{color:#FF9E33;background:rgba(242,155,38,.22)}
.m-survey.active,.m-survey[aria-current="page"]{background:#F29B26;color:#0B0B0C}
.m-about{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:8px 4px;border-radius:999px;color:rgba(255,255,255,.85);font-weight:600;font-size:.88rem;text-decoration:none;white-space:nowrap}
.m-about:hover{color:#fff;background:rgba(255,255,255,.08)}
.m-about.active,.m-about[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
.dd{display:block;position:static}
.dd-btn{display:inline-flex;align-items:center;gap:5px;color:rgba(255,255,255,.85);font-weight:600;font-size:.92rem;padding:10px 12px;min-height:44px;border-radius:999px;border:0;background:rgba(255,255,255,.07);cursor:pointer;font-family:inherit;transition:color .16s ease,background .16s ease}
.dd .dd-btn{padding:10px 18px}
.dd-btn:hover{color:#fff;background:rgba(255,255,255,.12)}
.dd-btn .ic{transition:transform .16s ease;color:rgba(255,255,255,.55)}
.dd[data-open="true"] .dd-btn .ic{transform:rotate(180deg)}
.dd[data-open="true"] .dd-btn{color:#fff}
.dd-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .5s ease,visibility 0s linear .5s}
.dd-panel[data-open="true"]{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .22s ease,visibility 0s}
.dd-clip{min-height:0;overflow:hidden}
.dd-menu{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;list-style:none;margin:4px 12px 12px;padding:10px;background:rgba(16,16,18,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.10);border-radius:16px;box-shadow:0 18px 44px rgba(0,0,0,.5)}
.dd-menu li{display:flex;min-width:0}
.dd-menu a{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 8px;color:rgba(255,255,255,.82);text-decoration:none;font-weight:600;font-size:.92rem;border-radius:10px;white-space:nowrap;transition:color .14s ease,background .14s ease}
.dd-menu a:hover{color:#F29B26;background:rgba(255,255,255,.05)}
.dd-menu a.active,.dd-menu a[aria-current="page"]{color:#F29B26}
.m-survey-wrap{display:inline-flex;align-items:center}
.m-survey-wrap .m-survey{border-radius:999px 0 0 999px;padding:8px 5px 8px 7px}
.m-survey-chev{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:24px;padding:8px 18px 8px 3px;border:0;border-radius:0 999px 999px 0;background:rgba(242,155,38,.13);color:#F29B26;cursor:pointer;font-family:inherit}
.m-survey-chev:hover{background:rgba(242,155,38,.22);color:#FF9E33}
.m-survey.active + .m-survey-chev{background:#F29B26;color:#0B0B0C}
/* Survey pill rhythm (2026-10-18 spacing rebalance, tightened
   2026-10-23): this override sets the link's padding inside the
   mobile nav only. The label and the chevron now sit 5px apart
   (2px link right padding + 3px chevron-button left padding),
   the same glyph rhythm as the Menu pill, with 12px outer
   padding at both ends of the combined pill; the earlier 7px +
   7px seam and the chevron button's 32px floor left a 17px
   dead gap between the label and the chevron. */
.m-survey-wrap .m-survey{padding:8px 2px 8px 18px}
}
@media (max-width:430px){
  /* Homepage phone fit (2026-11-12, found by the option-2
     rendered check): on the homepage the head controls carry
     the theme toggle beside search, and the row overran a
     390px phone by 2px (search ending at 391.6). Spacing only
     steps in — wrap side padding 10 to 8, head-controls gap
     8 to 6 — no item, size, or behavior changes. Sits before
     the 423px and 350px blocks so their tighter steps still
     win inside their ranges. */
  .site-header .wrap{padding-left:8px;padding-right:8px}
  .head-controls{gap:6px}
}
@media (max-width:423px){
  /* Narrow phones (John's call, 2026-10-18): below the 424px
     floor the About link leaves the header row so the other
     five items fit. This block sits after the max-width:860px
     nav block on purpose: both rules are the single class
     .m-about, so specificity ties and source order decides;
     this later rule wins inside its range, and outside it the
     nav block's inline-flex stands untouched. */
  .m-about{display:none}
}
@media (max-width:350px){
  /* VW-244 (2026-10-27): the header row's min-content is
     345.2px measured by rendering (brand, Menu, Maine
     Mood, EN, search, plus gaps and wrap padding, with
     About already yielded at 423px), so below a 336px
     viewport the search icon, the row's last item, is
     cut at the right edge — 15.2px of it at 320px. At
     350px and below the row's spacing steps in (padding
     and gaps only; no item, size, or behavior changes)
     and the min-content falls to about 302px; at 351px
     and above the row renders exactly as before. This
     block sits after the max-width:423px block for the
     same source-order reason that block records. The
     Valuation app's ported header carries the same
     block (its VW-244); the chevron button also
     carries .dd-btn, so its padding is pinned
     explicitly after the .dd-btn line. */
  .site-header .wrap{padding-left:6px;padding-right:6px;gap:6px}
  .nav{gap:8px}
  .dd-btn{padding-left:9px;padding-right:9px}
  .m-survey-wrap .m-survey{padding-left:14px}
  .m-survey-chev{padding-left:3px;padding-right:12px}
  .head-controls{gap:6px}
  .translate-toggle{padding-left:0;padding-right:0}
}
@media (max-width:374px){
  /* Homepage 360px fit (2026-11-12, found by the option-2
     recheck): the current bar's row (brand, Menu, Data,
     Studios, theme, search on the homepage) is rigid at
     ~388px, so a 360px phone scrolled sideways by 28px. The
     spacing steps in — Menu and pill padding, the nav and
     pill gaps, the two toggles at 28px — with no item or
     behavior changes; the theme toggle is the owner's button
     and stays. Sits after the 350px block so its steps win
     in the overlap. */
  .dd .dd-btn{padding:10px 10px}
  .m-pill{padding:10px 9px}
  .nav{gap:6px}
  .m-links{gap:0}
  .head-controls{gap:4px}
  .theme-toggle,.search-toggle{width:28px}
}
.nav-survey{position:relative;display:inline-flex;align-items:center}
.nav-survey .survey-link{border-radius:999px 0 0 999px;padding-right:12px;height:44px}
.dd-btn.survey-chev{background:rgba(242,155,38,.13);border:0;color:#F29B26;cursor:pointer;height:44px;min-height:44px;min-width:42px;padding:8px 12px 8px 10px;display:inline-flex;align-items:center;justify-content:center;border-radius:0 999px 999px 0;font-family:inherit}
.dd-btn.survey-chev:hover{background:rgba(242,155,38,.22);color:#FF9E33}
.survey-link.active + .dd-btn.survey-chev{background:#F29B26;color:#0B0B0C}
.survey-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:230px;background:rgba(16,16,18,.98);border:1px solid rgba(255,255,255,.10);border-radius:14px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:8px;z-index:70;display:none}
.survey-menu[data-open="true"]{display:block}
/* Dropdown panels open on chevron click only, never on hover (owner, 2026-11-13). */
.survey-menu a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:rgba(255,255,255,.85);text-decoration:none;font-weight:600;font-size:.92rem;white-space:nowrap}
.survey-menu a:hover{color:#F29B26;background:rgba(255,255,255,.05)}
@media (prefers-reduced-motion:reduce){.dd-panel{transition:none}.dd-btn .ic{transition:none}}
/* ---------- Tools mega menu (2026-10-30, owner Option A) ----------
   The desktop Tools item carries the survey item's dropdown
   mechanics (a link plus a chevron toggle on the shared data-dd
   script: click toggles, Escape closes and refocuses the button,
   an outside click closes, one panel open at a time) opened out
   into a wide panel: popular tools with icons and one-line
   descriptions, a featured card for Stock Valuation Studio, and
   a closing row to the Tools page. The Tools link itself still
   navigates to /tools/. Keyboard opening is the survey pattern:
   the chevron is a real button, so Tab reaches it and Enter or
   Space opens the panel with aria-expanded kept truthful by the
   script. The wrapper is position:static on purpose: the panel
   anchors its right edge to the .nav-links row (position:relative
   on that rule above), because a panel anchored to the Tools
   pill would run off the left edge of the screen at desktop
   widths down to 861px. The ::before strip bridges the 10px
   float gap so a pointer crossing from the pill to the panel
   never leaves the hover area. Under 861px the whole .nav-links
   row is display:none, so the mobile menu is untouched.
   Layout revision (2026-10-30, owner's screenshot rulings): the
   original two-column panel (one list column + card) stood 527px
   tall and read as too much space. The popular list now splits
   across TWO grid columns under its label (four tools, two per
   column: Studio | Analysis, DCF | Models — Sample Size came out
   of the panel at the owner's refinement, its page and hub card
   untouched), with the featured card as the third column, and
   the panel widens to 880px so the narrower tool columns keep
   their descriptions at two to three lines. Below 1100px the
   panel steps down to 720px with a 208px card column: the
   panel's right edge anchors to the nav row, whose right edge
   sits ~127px in from the viewport under 1240px, so the full
   880px would run off the left edge at the narrowest desktop
   widths. The featured card spans BOTH grid rows (grid-row:
   span 2), so its bottom edge sits flush with the panel's
   bottom edge beside the See-all row, which now runs under the
   tools list only — equal-height columns, the owner's layout
   rule; the card's content stays top-aligned and its go line
   rides the bottom on margin-top:auto. The card's mark is the
   owner's Valuation Studio badge (his logo kit, served at
   /assets/valuation-studio-badge.svg), replacing the cube mark;
   the card's three check-fact bullets came out at the owner's
   refinement, its body line is his text ("31 valuation models.
   Enter a ticker, get a fair value and a buy price."), and the
   free claim stands exactly once — the "FREE" pill (the
   body line no longer repeats it: owner's one-claim-one-
   statement ruling, 2026-10-30). */
.nav-tools{display:inline-flex;align-items:center}
.nav-tools .nav-link{border-radius:999px 0 0 999px;padding-right:9px}
.dd-btn.tools-chev{background:transparent;border:0;color:rgba(255,255,255,.78);cursor:pointer;height:44px;min-height:44px;min-width:34px;padding:8px 9px 8px 2px;display:inline-flex;align-items:center;justify-content:center;border-radius:0 999px 999px 0;font-family:inherit;transition:color .16s ease,background .16s ease}
.dd-btn.tools-chev:hover{background:rgba(255,255,255,.08);color:#fff}
.dd-btn.tools-chev .ic{transition:transform .16s ease}
.dd-btn.tools-chev[aria-expanded="true"] .ic{transform:rotate(180deg)}
.nav-tools .nav-link.active + .dd-btn.tools-chev{background:rgba(255,255,255,.10);color:#fff}
.tools-menu{position:absolute;top:calc(100% + 10px);right:0;width:min(880px,calc(100vw - 32px));background:rgba(16,16,18,.98);border:1px solid rgba(255,255,255,.10);border-radius:16px;box-shadow:0 18px 44px rgba(0,0,0,.5);padding:18px;z-index:70;display:none;grid-template-columns:minmax(0,1fr) 228px;column-gap:20px}
@media (max-width:1100px){.tools-menu{width:min(720px,calc(100vw - 32px));grid-template-columns:minmax(0,1fr) 208px}}
.tools-menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.tools-menu[data-open="true"]{display:grid}
/* (The hover-open rule that stood here was removed 2026-11-13: click-only.) */
.tools-label{font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.5);padding:2px 10px 8px}
.tools-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
.tools-item{display:flex;gap:12px;align-items:flex-start;padding:9px 10px;border-radius:11px;text-decoration:none}
.tools-item:hover{background:rgba(255,255,255,.05)}
.tools-ic{flex:none;width:40px;height:40px;border-radius:10px;background:rgba(242,155,38,.13);color:#F29B26;display:flex;align-items:center;justify-content:center}
.tools-ic:has(img[src*="studio-badge"]){background:transparent}
.tools-ic img[src*="studio-badge"]{display:block;width:40px;height:40px}
.tools-name{display:block;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:.98rem;color:#fff}
.tools-item:hover .tools-name{color:#F29B26}
.tools-desc{display:block;margin-top:2px;font-size:.86rem;line-height:1.45;color:rgba(255,255,255,.62)}
.tools-feature{grid-row:span 2;position:relative;display:flex;flex-direction:column;background:#F29B26;border-radius:12px;padding:16px;text-decoration:none;color:#0B0B0C}
.tools-mark{display:block;flex:none;width:46px;height:46px;background:transparent;border-radius:11px;overflow:hidden}
.tools-mark img{padding:0;box-sizing:border-box}
.tools-mark img{display:block;width:46px;height:46px}
.tools-badge{position:absolute;top:16px;right:16px;background:#0B0B0C;color:#F29B26;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 8px;border-radius:999px}
.tools-feature-name{display:block;margin-top:14px;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1.12rem;line-height:1.25}
.tools-feature-line{display:block;margin-top:6px;font-size:.9rem;line-height:1.5}
.tools-feature-go{display:block;margin-top:auto;padding-top:16px;font-weight:700;font-size:.92rem}
.tools-feature:hover .tools-feature-go{text-decoration:underline}
/* The feature card flips through the four Studios while the
   pane is open (owner, 2026-11-09): the faces stack in the
   card's grid slot, one visible at a time, and the incoming
   face flips down over the deck. Without script, or with
   reduced motion, the first face (Valuation) stands static,
   exactly as the single card did before. */
/* The faces crossfade in place (owner, 2026-11-09: the
   first version hinged down from the top edge and read
   as a fast flip; a slow fade is calmer). */
/* The 272px min-height (2026-11-12) is the tallest face's
   measured content height (Analysis, 269px): the faces are
   absolutely stacked, so nothing else sizes the slot, and
   without the floor the tallest faces' "Open the Studio"
   line spilled below the pane. */
.tools-flip{grid-row:span 2;position:relative;min-height:272px}
.tools-flip .tools-feature{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 1s ease}
.tools-flip .tools-feature.on{opacity:1;pointer-events:auto}
@media (prefers-reduced-motion:reduce){.tools-flip .tools-feature{transition:none}}
/* Homepage Maine Mood sections are New England only
   (owner, 2026-11-09): hidden until the geo check in the
   survey band's script confirms a New England state. */
.geo-ne{display:none!important}
.geo-ne.geo-on{display:block!important}
/* The Maine Mood nav buttons follow the same gate
   (owner, 2026-11-09): the desktop item shows unless /geo
   positively confirms a non-New-England state (2026-11-17,
   fail-open); the pages themselves stay open to every
   direct link. On mobile, Maine Mood left the top bar on
   2026-11-11 (the Data and Studios pills ride there now, in
   both geo states) and sits in the dropdown's last slot,
   which it swaps with About by geography: the About item is
   .geo-inv (shown until New England is confirmed, hidden
   after) and the Maine Mood item is .geo-ne. The older
   .m-survey rules above are retired with the bar pill; they
   stay until a stylesheet cleanup takes them out whole. */
.nav-survey.geo-on{display:inline-flex!important}
/* 2026-11-17 fail-open: the desktop Maine Mood item is visible
   by default (.nav-survey.geo-ne beats the generic .geo-ne
   hide); only a confirmed non-New-England /geo answer hides
   it again (.geo-hide, after the override so it wins the tie).
   Homepage sections and the mobile dropdown item are not
   .nav-survey, so they stay fail-closed. */
.nav-survey.geo-ne{display:inline-flex!important}
.nav-survey.geo-hide{display:none!important}
.m-survey-wrap.geo-on{display:inline-flex!important}
/* The mobile menu's geo-gated items are flex rows like
   their siblings (.dd-menu li{display:flex}); the generic
   block reveal above would shrink a gated link to content
   width and strand it at the cell's left edge. */
.dd-menu li.geo-on{display:flex!important}
html.geo-ne-on .geo-inv{display:none!important}
.m-tools-pill,.m-pill{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:10px 18px;border-radius:999px;color:#F29B26;background:rgba(242,155,38,.13);font-weight:700;font-size:.84rem;text-decoration:none;white-space:nowrap}
.m-pill:hover{color:#FF9E33;background:rgba(242,155,38,.22)}
.m-pill.active,.m-pill[aria-current="page"]{background:#F29B26;color:#0B0B0C}
.tools-allrow{grid-column:1;display:flex;gap:28px;margin-top:12px;padding:12px 10px 0;border-top:1px solid rgba(255,255,255,.09)}
.tools-all{color:rgba(255,255,255,.85);text-decoration:none;font-weight:600;font-size:.92rem}
.tools-all:hover{color:#F29B26}
@media (prefers-reduced-motion:reduce){.dd-btn.tools-chev .ic{transition:none}}
/* ---------- hero (home) ---------- */
.hero-home{background:#0B0B0C;color:#fff;position:relative;overflow:hidden;min-height:620px;display:flex;align-items:center}
.hero-home::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(ellipse 90% 85% at 50% 40%,#000 30%,transparent 75%);
  mask-image:radial-gradient(ellipse 90% 85% at 50% 40%,#000 30%,transparent 75%)}
.hero-home::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 78% 30%,rgba(242,155,38,.14),transparent 65%)}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);gap:48px;align-items:center;width:100%;padding:110px 0 96px}
.hero-home h1{font-size:clamp(2.6rem,5.4vw,4.2rem);margin:0 0 18px;color:#fff}
.hero-home h1 .o{color:var(--orange)}
.hero-sub{font-size:1.18rem;color:rgba(255,255,255,.82);max-width:34rem;margin:0 0 30px}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.trust{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:rgba(255,255,255,.78);font-size:.95rem;margin:0}
.trust strong{color:#fff;font-family:var(--font-m);font-size:1.05rem}
.trust .sep{opacity:.4}
.trust .ic{color:var(--orange)}
@media(max-width:560px){.trust{display:block;text-wrap:balance}.trust .ic{vertical-align:-3px}}
.hero-art{display:flex;justify-content:center}
.hero-fig{width:100%;max-width:560px;margin:0}
.hero-fig svg{width:100%;height:auto;display:block}
.hero-cap{color:rgba(255,255,255,.55);font-size:.85rem;text-align:center;margin-top:10px}
.hero-tail{transform-box:fill-box;transform-origin:center;animation:tailPulse 4.2s ease-in-out infinite}
@keyframes tailPulse{0%,100%{opacity:.75}50%{opacity:1}}
.hero-dot{filter:drop-shadow(0 0 6px rgba(242,155,38,.9))}
@media(prefers-reduced-motion:reduce){.hero-tail{animation:none}#heroCurve{transition:none!important}}
@media(max-width:900px){.hero-grid{grid-template-columns:minmax(0, 1fr);padding:84px 0 70px}.hero-home{min-height:0}}
/* Data card headers (owner, 2026-11-16): on the Data cards the
   icon sits beside the title instead of above it, at every width.
   (Was phones-only from 2026-11-15; the desktop cards now match.) */
.data-cards .card{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:14px;row-gap:8px}
.data-cards .card .sec-ic{width:34px;height:34px;margin:0}
.data-cards .card h3{grid-column:2;align-self:center}
.data-cards .card p,.data-cards .card .go{grid-column:1/-1}
/* Mobile hero compaction (owner, 2026-11-15):
   phones only. The hero copy is tightened, the two buttons share
   one row, the drifting cubes come off phones (one sat on the
   headline), and the curve figure shrinks. */
@media(max-width:640px){
.hero-grid{padding:44px 0 44px;gap:28px}
.hero-home h1{font-size:2.35rem;margin-bottom:12px}
.hero-sub{font-size:1.05rem;margin-bottom:20px}
.cta-row{flex-wrap:nowrap;margin-bottom:20px}
.cta-row .btn{flex:1 1 0;justify-content:center;padding:13px 8px;font-size:.95rem;white-space:nowrap}
.trust{font-size:.88rem;line-height:1.5}
.hero-fig{max-width:250px}
.hero-cap{font-size:.8rem}
.drift{display:none}
.cards.four{align-items:start}
.cards.four .card{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:14px;row-gap:8px}
.cards.four .card .sec-ic{width:34px;height:34px;margin:0}
.cards.four .card h3{grid-column:2;align-self:center}
.cards.four .card p,.cards.four .card .go{grid-column:1/-1}
.cards.four .card p{flex:none}
}
/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-b);font-weight:700;font-size:1rem;padding:13px 26px;border-radius:12px;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;position:relative;overflow:hidden;isolation:isolate}
.btn .notranslate{display:contents}
.btn:active{transform:translateY(1px)}
.btn::after{content:"";position:absolute;inset:0;border-radius:inherit;transform:translateY(101%);transition:transform .3s ease;z-index:-1;background:var(--card)}
.btn-primary::after{background:#ff8f1f}
.btn-light::after{background:rgba(255,255,255,.18)}
.btn:hover::after,.btn:active::after{transform:translateY(0)}
.btn-primary{background:var(--orange);color:#000}
.btn-primary:hover{background:var(--orange);color:#000;box-shadow:0 8px 22px rgba(242,155,38,.35);text-decoration:none}
.btn-light{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.28)}
.btn-light:hover{background:rgba(255,255,255,.10);color:#fff;text-decoration:none}
.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface);box-shadow:var(--shadow)}
.btn-sm{padding:9px 16px;font-size:.9rem;border-radius:10px}
/* ---------- sections / cards ---------- */
.kicker{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 10px}
h1.sect,h2.sect{font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 14px}
.cards{display:grid;gap:18px}
.cards.four{grid-template-columns:repeat(4, minmax(0, 1fr))}
.cards.two{grid-template-columns:repeat(2, minmax(0, 1fr))}
.cards.three{grid-template-columns:repeat(3, minmax(0, 1fr))}
/* ---------- homepage tools slider: all tools, one scrolling row ---------- */
.tool-slider{overflow:hidden}
.ts-track{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;padding:4px 2px 10px}
.ts-track::-webkit-scrollbar{display:none}
.ts-track .card{flex:0 0 300px;margin-right:16px}
.ts-btn{display:none;width:40px;height:40px;flex:0 0 auto;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer;align-items:center;justify-content:center}
.ts-hint{display:none;color:var(--muted);font-size:.85rem;margin:10px 0 0;text-align:right}
@media(max-width:1000px){.cards.four{grid-template-columns:repeat(2, minmax(0, 1fr))}.cards.three{grid-template-columns:repeat(2, minmax(0, 1fr))}}
@media(max-width:640px){.cards.two,.cards.three,.cards.four{grid-template-columns:minmax(0, 1fr)}}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:10px;color:var(--ink);text-decoration:none;transition:transform .28s ease,box-shadow .28s ease}
a.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);text-decoration:none}
.card h3{margin:0;font-size:1.18rem}
.card p{margin:0;color:var(--muted);font-size:.96rem;flex:1}
.card .go{font-weight:700;color:var(--accent);font-size:.95rem}
/* The meta line is a <p>, and .card p carries flex:1, so on a stretched
row the meta grows and its centered text drifts down by a different
amount per card. Pin it. */
.card .gmeta{flex:none}
.sec-ic{width:46px;height:46px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:6px}
.sec-finance .sec-ic{background:var(--tint-finance);color:#B35A00}
.sec-tools .sec-ic{background:var(--tint-tools);color:#2563EB}
.sec-templates .sec-ic{background:var(--tint-templates);color:#7C3AED}
.sec-blog .sec-ic{background:var(--orange-soft);color:var(--accent)}
.sec-shop .sec-ic{background:var(--tint-shop);color:#047857}
.sec-data .sec-ic{background:var(--orange-soft);color:var(--accent)}
.sec-studios .sec-ic{background:var(--tint-templates);color:#7C3AED}
.tag{align-self:flex-start;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);background:var(--orange-soft);border-radius:999px;padding:4px 11px}
.thumb{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden;margin:2px 0 4px}
.thumb svg{display:block;width:100%;height:auto}
.card:hover .thumb .draw{animation:redraw 1.2s ease-out}
@keyframes redraw{from{stroke-dashoffset:420}to{stroke-dashoffset:0}}
.thumb .draw{stroke-dasharray:420;stroke-dashoffset:0}
/* ---------- guides ---------- */
.gcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;color:var(--ink);text-decoration:none;transition:transform .28s ease,box-shadow .28s ease}
a.gcard:hover{transform:translateY(-5px);box-shadow:var(--shadow);text-decoration:none}
.gcard .ill svg{display:block;width:100%;height:auto}
.gcard .gbody{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.gmeta{font-size:.83rem;color:var(--muted);margin:0;display:flex;gap:8px;align-items:center}
.gcard .gkind{font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;color:var(--accent)}
.gcard h3{margin:0;font-size:1.15rem}
.gcard p{margin:0;color:var(--muted);font-size:.94rem;flex:1}
/* ---------- newsletter band ---------- */
.newsband{background:#0B0B0C;color:#fff;padding:76px 0;position:relative;overflow:hidden}
.newsband::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse 80% 90% at 50% 50%,#000 20%,transparent 80%);mask-image:radial-gradient(ellipse 80% 90% at 50% 50%,#000 20%,transparent 80%)}
.nb-grid{position:relative;z-index:1;display:grid;grid-template-columns:300px minmax(0, 1fr);gap:56px;align-items:center}
@media(max-width:860px){.nb-grid{grid-template-columns:minmax(0, 1fr);gap:32px}}
.mock-sheet{background:#fff;border-radius:10px;padding:0;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.5);transform:rotate(-2deg);color:#0B0B0C}
.mock-sheet .ms-bar{background:var(--orange);height:34px;display:flex;align-items:center;padding:0 14px;font-family:var(--font-d);font-weight:700;font-size:.8rem;color:#0B0B0C}
.mock-sheet .ms-body{padding:14px 16px;display:flex;flex-direction:column;gap:9px}
.mock-sheet .ms-line{height:8px;border-radius:4px;background:#E9E9EC}
.mock-sheet .ms-formula{background:#F4F4F6;border-radius:6px;padding:8px 10px;font-family:var(--font-m);font-size:.72rem;color:#0B0B0C}
.newsband h2{color:#fff;margin:0 0 12px;font-size:clamp(1.6rem,2.8vw,2.1rem)}
.newsband p{color:rgba(255,255,255,.78);max-width:36rem}
.emailrow{display:flex;gap:10px;margin-top:20px;max-width:34rem}
.emailrow input[type=email]{flex:1;min-width:0;padding:13px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:1rem;font-family:var(--font-b)}
.emailrow input[type=email]::placeholder{color:rgba(255,255,255,.5)}
.emailrow input[type=email]:focus{border-color:var(--orange);outline:none}
@media(max-width:520px){.emailrow{flex-direction:column}}
.ts-hidden{position:absolute;left:-9999px;width:0;height:0;overflow:hidden}
.signup-note{font-size:.9rem;margin-top:10px;min-height:1.25em}
.nb-note{font-size:.82rem;color:rgba(255,255,255,.5);margin-top:12px}
/* ---------- email box (other pages) ---------- */
.emailbox{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-top:44px;display:grid;grid-template-columns:52px minmax(0, 1fr);gap:18px;align-items:start}
.emailbox-cheat{background:rgba(242,155,38,.06);border-color:rgba(242,155,38,.22)}
.emailbox .sec-ic{margin:0}
.emailbox h3{margin:0 0 6px;font-size:1.25rem}
.emailbox p{margin:0 0 14px;color:var(--muted)}
.emailbox .emailrow{margin-top:0}
.emailbox .emailrow input[type=email]{background:var(--surface);border-color:var(--line);color:var(--ink)}
.emailbox .emailrow input[type=email]::placeholder{color:var(--muted)}
@media(max-width:860px){.emailbox{grid-template-columns:minmax(0, 1fr);gap:12px}}
.cform{max-width:34rem;margin-top:8px}
.cform input[type=text],.cform input[type=email],.cform textarea{width:100%;padding:12px 14px;font-size:1rem;font-family:var(--font-b);border:1.5px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);box-sizing:border-box}
.cform textarea{resize:vertical;min-height:140px}
.cform input[type=text]:focus,.cform input[type=email]:focus,.cform textarea:focus{border-color:var(--orange);outline:none}
/* ---------- Maine Mood survey band (homepage) ---------- */
.surveyband{background:#16161A;color:#fff;padding:60px 0;border-top:1px solid rgba(242,155,38,.35)}
.surveyband .kicker{color:var(--orange)}
.surveyband h2{color:#fff;font-size:1.9rem;margin:0 0 10px}
.surveyband .sb-lede{color:rgba(255,255,255,.78);max-width:44rem;margin:0 0 6px}
.surveyband .sb-stat{color:#fff;font-size:1.08rem;margin:16px 0 22px}
.surveyband .sb-stat strong{color:var(--orange);font-variant-numeric:tabular-nums}
@media(max-width:640px){.surveyband{padding:44px 0}.surveyband h2{font-size:1.55rem}}
/* ---------- contact form status notes ---------- */
.form-note{font-size:.95rem;margin:12px 0 0}
.form-note.ok{color:#0f7a3d;font-weight:600}
.form-note.bad{color:#b3372f;font-weight:600}

.dca-grid{display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));gap:10px;margin-top:8px}
.dca-grid label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600;color:var(--muted)}
.dca-grid input{padding:10px 8px;font-size:.95rem;font-family:var(--font-b);font-variant-numeric:tabular-nums;border:1.5px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);width:100%;box-sizing:border-box}
.dca-grid input:focus{border-color:var(--orange);outline:none}
@media(max-width:640px){.dca-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}}
.fhint{font-size:.85rem;color:var(--muted);margin-top:10px}
.tablewrap{overflow-x:auto;margin:18px 0}
table.dtable{width:100%;border-collapse:collapse;font-size:.92rem;font-variant-numeric:tabular-nums}
table.dtable th,table.dtable td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
table.dtable th{font-weight:700;color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}
pre.code{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 16px;font-size:.88rem;overflow-x:auto;margin:12px 0}
input[type=date]{padding:11px 12px;font-size:1rem;font-family:var(--font-b);border:1.5px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);color-scheme:light}
input[type=date]:focus{border-color:var(--orange);outline:none}
/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:320px minmax(0, 1fr);gap:56px;align-items:start}
@media(max-width:860px){.about-grid{grid-template-columns:minmax(0, 1fr);gap:36px}}
.photo-frame{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:18px;text-align:center}
.photo-frame img{width:100%;max-width:260px;height:auto;border-radius:calc(var(--radius) - 6px);display:block;margin:0 auto}
.monogram{width:150px;height:150px;margin:0 auto;border-radius:50%;background:#0B0B0C;color:var(--orange);display:flex;align-items:center;justify-content:center;font-family:var(--font-d);font-weight:700;font-size:3.2rem;letter-spacing:.02em;border:3px solid var(--orange)}
.photo-cap{font-size:.83rem;color:var(--muted);margin:14px 0 0}
.about-side h2{margin:26px 0 10px;font-size:1.5rem}
.creds{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:.96rem}
.creds li{display:flex;gap:10px;align-items:flex-start}
.creds .ic{color:var(--accent);flex:none;margin-top:4px}
.creds a{color:inherit;text-decoration:none}.creds a:hover{text-decoration:underline}
.method-strip{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));grid-template-rows:auto auto 1fr auto;gap:18px;row-gap:12px;margin-top:28px}
@media(max-width:860px){.method-strip{grid-template-columns:minmax(0, 1fr)}}
.mstep{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:12px}
.mstep{display:grid;grid-template-rows:subgrid;grid-row:span 4}
@media(max-width:860px){.mstep{display:flex;flex-direction:column;grid-row:auto}.method-strip{grid-template-rows:none}}
.mstep .n{font-family:var(--font-d);font-weight:700;color:var(--accent);font-size:.85rem;letter-spacing:.1em}
.mstep h3{margin:0;font-size:1.12rem}
.mock{border:1px dashed var(--line);border-radius:10px;background:var(--surface);padding:14px 16px;font-size:.88rem}
.mock .mock-t{font-weight:700;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.mock ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.mock p{margin:0}
.ann{font-size:.83rem;color:var(--muted);border-left:3px solid var(--orange);padding-left:12px;margin:0}
/* ---------- tool pages ---------- */
/* Path bar (owner, 2026-11-11, from the civic data portal design
   he supplied for the County Profiles state pages): the in-page
   path on every built page is a hairline-ruled bar. Left: a
   brand-orange dot and the path, segments as plain un-underlined
   muted links separated by slashes, the final segment in bold
   ink and never a link. The path ends at the section exactly as
   the old breadcrumb did; no article or guide title ever
   appears in the bar (the owner, twice: "no title in it").
   Right: the page's facts in small uppercase letterspaced muted
   type (an article or guide's date and read time, the data
   hub's release line); pages with no facts carry an empty right
   side. On phones the right side wraps under the path. It
   replaces the .breadcrumb paragraph everywhere and keeps its
   spacing standard (owner, 2026-11-02): 40px above at desktop
   widths, 26px at phone width, 14px below, zero top inside the
   Insights band/page sections that already carry the spacing. */
.pathbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 2px;margin:40px 0 14px;font-size:.88rem}
.pathbar-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--orange)}
.pathbar-path{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted)}
.pathbar-path a{color:var(--muted);text-decoration:none}
.pathbar-path a:hover{color:var(--ink);text-decoration:underline}
.pathbar-sep{color:var(--muted);opacity:.5}
.pathbar-cur{color:var(--ink);font-weight:700}
.pathbar-meta{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.pathbar-div{flex:none;width:1px;height:12px;background:var(--line)}
.pathbar-src{display:inline-flex;align-items:center;gap:6px}
.pathbar-vdot{flex:none;width:7px;height:7px;border-radius:50%;background:#1F9D66}
.bl-band .pathbar,.bl-page .pathbar{margin-top:0}
@media(max-width:640px){.pathbar{margin-top:26px;gap:6px 8px;padding:8px 2px;font-size:.82rem;align-items:flex-start}.bl-band .pathbar,.bl-page .pathbar{margin-top:0}.pathbar-path{flex:1 1 0;min-width:0}.pathbar-dot{margin-top:7px}.pathbar-meta{margin-left:0;flex:1 1 100%}}
/* One left edge on the article pages (owner, 2026-11-11): the
   bar is the first row of the article grid itself, spanning the
   article column and the rail, so its left edge is the body
   column's left edge and its right edge is the rail's right
   edge, not the wider section edge the old breadcrumb sat on.
   The horizontal padding comes off in the grid so the dot sits
   flush on the column line, and the row gap below the bar
   takes the place of its old bottom margin. */
.glayout > .pathbar{grid-column:1/-1;padding-left:0;padding-right:0;margin-bottom:0}
/* Article/guide family (owner, 2026-11-11): the air around the path
   bar is halved — the hero's bottom padding and the section's top
   padding above it, the grid row gap below it. The bar itself
   (padding, content, alignment) is untouched; the scope is the
   article body class, so other families keep their spacing. */
body.artpg .hero.page{padding-bottom:38px}
body.artpg .block.bl-page{padding-top:20px}
body.artpg .glayout{row-gap:7px}
@media(max-width:640px){body.artpg .hero.page{padding-bottom:28px}}
.glayout:has(> .pathbar){row-gap:14px}
/* Module pages (owner, 2026-11-11): the article family's tightened
   air, carried to the Analysis Studio module landings (.calc-c).
   The hero's padding closes down so no dead black space hangs
   under its text, the path bar sits at the grid's top with no
   top margin of its own, and the first heading (Run it, lifted
   to the top of the article) loses the section margin that
   opened a dead band under the bar. The Run it app card carries
   no shadow in any state: shadows belong to floating elements. */
body.calc-c .hero.page{padding:46px 0 34px}
body.calc-c .glayout{padding-top:26px}
body.calc-c .glayout > .pathbar{margin-top:0}
body.calc-c .article > h2:first-child{margin-top:8px}
body.calc-c .app-card{box-shadow:none}
body.calc-c .app-card:hover{box-shadow:none;transform:none}
@media(max-width:900px){body.calc-c .hero.page{padding:34px 0 26px}body.calc-c .hero-split{gap:16px}body.calc-c .hero-facts{padding-top:16px}}
@media(max-width:640px){body.calc-c .glayout{padding-top:20px}}
/* Sibling families (2026-11-12): the same tightened air for the
   calculator companions (.calc-b) and for every page the guide()
   builder and the two studio method guides produce (.guidepg),
   whose path bars now open the article grid exactly as the
   module landings' do. The hero closes down, the grid's top
   padding carries the air above the bar, the bar itself takes
   no top margin of its own, and the guide pages' hero title
   takes the article grid's line. The calculator band's app
   card carries no shadow, as on the module pages. */
body.calc-b .hero.page,body.guidepg .hero.page{padding:46px 0 34px}
body.calc-b .glayout,body.guidepg .glayout{padding-top:26px}
body.calc-b .glayout > .pathbar,body.guidepg .glayout > .pathbar{margin-top:0}
body.calc-b .app-card{box-shadow:none}
body.calc-b .app-card:hover{box-shadow:none;transform:none}
body.guidepg .hero.page .wrap{max-width:1172px}
@media(max-width:900px){body.calc-b .hero.page,body.guidepg .hero.page{padding:34px 0 26px}body.calc-b .hero-split,body.guidepg .hero-split{gap:16px}body.calc-b .hero-facts,body.guidepg .hero-facts{padding-top:16px}}
@media(max-width:640px){body.calc-b .glayout,body.guidepg .glayout{padding-top:20px}}
/* The same line for the hero title on the article and guide
   pages (.artpg, and the calculator pages on .calcpg): the
   hero wrap narrows to the article grid's full width (736 +
   32 gap + 340 rail = 1108) plus the wrap's own padding
   (2 x 32), so the title starts where the body starts at
   every viewport width. */
.artpg .hero.page .wrap,.calcpg .hero.page .wrap{max-width:1172px}
.tool-h1{font-size:clamp(1.9rem,3.6vw,2.6rem);margin:0 0 10px;max-width:46rem}
.lede{font-size:1.12rem;color:var(--muted);max-width:46rem;margin:0 0 30px}
.tool-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:30px;align-items:start;margin-top:6px}
@media(max-width:920px){.tool-grid{grid-template-columns:minmax(0, 1fr)}}
.inputs{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.results-col{position:sticky;top:86px;display:flex;flex-direction:column;gap:16px;min-width:0}
@media(max-width:920px){.results-col{position:static}}
.result{background:#0B0B0C;color:#fff;border-radius:var(--radius);padding:28px}
.result .num{font-family:var(--font-b);font-variant-numeric:tabular-nums;font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700;color:#fff;line-height:1.25;overflow-wrap:anywhere}
.result .num small{font-size:.95rem;font-family:var(--font-b);font-weight:600;color:rgba(255,255,255,.65)}
.result .rsub{margin-top:10px;color:rgba(255,255,255,.72);font-size:.95rem}
.result .rsub b{color:#fff}
.result-actions{display:flex;gap:10px;flex-wrap:wrap}
.chartbox{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.chartbox svg{display:block;width:100%;height:auto}
.chartbox figcaption{font-size:.85rem;color:var(--muted);margin-top:10px}
.interp{background:var(--surface);border-left:4px solid var(--orange);border-radius:0 12px 12px 0;padding:18px 22px;font-size:1rem}
.interp:empty{display:none}
.warn{background:#FFF7E8;border:1px solid #F3D9A8;border-left:4px solid var(--orange);border-radius:0 12px 12px 0;padding:14px 18px;margin-top:14px;font-size:.95rem;color:#0B0B0C}
.field{margin-bottom:20px}
.field label,.flabel{display:block;font-weight:600;font-size:.94rem;margin-bottom:8px}
.fval{font-family:var(--font-b);color:var(--accent);margin-left:6px}
.inrow{display:flex;gap:14px;align-items:center}
.inrow input[type=number]{width:110px;flex:none;padding:11px 12px;font-size:1rem;font-family:var(--font-b);font-variant-numeric:tabular-nums;border:1.5px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
.inrow input[type=number]:focus{border-color:var(--orange);outline:none}
input[type=range]{-webkit-appearance:none;appearance:none;flex:1;min-width:0;height:28px;background:transparent;cursor:pointer;margin:0}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:var(--line)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--orange);margin-top:-8px;border:3px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.3)}
input[type=range]::-moz-range-track{height:6px;border-radius:999px;background:var(--line)}
input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--orange);border:3px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.3)}
input[type=range]:focus-visible{outline:2.5px solid var(--orange);outline-offset:4px}
.field select{padding:11px 12px;font-size:1rem;border:1.5px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font-family:var(--font-b);max-width:100%}
.checkline{display:flex;gap:10px;align-items:flex-start;font-weight:400;cursor:pointer}
.checkline input{width:20px;height:20px;margin-top:2px;accent-color:var(--orange);flex:none}
.seg{display:inline-flex;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px;gap:2px;max-width:100%;flex-wrap:wrap}
.seg button{border:0;background:transparent;padding:9px 18px;border-radius:999px;font-family:var(--font-b);font-weight:600;font-size:.95rem;color:var(--muted);cursor:pointer;transition:background .16s ease,color .16s ease}
.seg button:hover{color:var(--ink)}
.seg button.on{background:var(--ink);color:var(--bg)}
.assume{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 26px;margin-top:34px;max-width:60rem}
.assume .t{display:block;font-family:var(--font-d);font-size:1.05rem;margin-bottom:12px}
.assume ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.assume li{display:flex;gap:12px;align-items:flex-start;font-size:.95rem}
.dot{flex:none;width:11px;height:11px;border-radius:50%;margin-top:7px}
.dot.g{background:#1B9E57}.dot.a{background:#D97706}.dot.r{background:#DC2626}
.guide-link{margin-top:26px}
/* ---------- calculator pages: Analysis Studio mirror (2026-11-02) ----------
   Scoped to body.calcpg (tool_page, _calc_page, _aseo_landing only), so no
   other surface can take these rules. Mapping: CALCULATOR_MIRROR_DESIGN.md */
.calcpg main{background:#F6F4F1}
.calc-head{display:flex;gap:18px;align-items:flex-start;background:var(--card);border:1px solid #E6E2DC;border-radius:16px;padding:26px 28px;margin:0 0 26px}
.calc-ic{width:56px;height:56px;flex:none;border-radius:14px;background:#FBE9DD;color:var(--accent);display:flex;align-items:center;justify-content:center}
.calc-head-t{flex:1;min-width:0}
.calc-eyebrow-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.calc-eyebrow{margin:0;font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.calc-badge{flex:none;font-size:.8rem;font-weight:600;color:#1D6B4F;background:#E3F3EC;border-radius:999px;padding:3px 12px}
.calc-a .tool-h1{font-size:clamp(1.65rem,3vw,2.05rem);margin:4px 0 6px;max-width:none}
.calc-a .lede{margin:0;font-size:1.02rem}
.calcpg .tool-grid{gap:28px}
.calcpg .inputs{border-color:#E6E2DC;border-radius:16px;padding:28px}
.calcpg .step-head{display:flex;gap:12px;align-items:flex-start;margin:0 0 22px}
.calcpg .step-t{font-size:1.25rem;margin:0}
.calcpg .step-d{margin:2px 0 0;color:var(--muted);font-size:.94rem}
.calcpg .field{margin-bottom:22px}
.calcpg .inputs>.field:last-child{margin-bottom:0}
.calcpg .inrow input[type=number]{height:46px;border-color:#CFC9C1;border-radius:12px;background:#fff}
.calcpg .inputs input[type=range]{height:46px}
.calcpg .field select{height:46px;border-color:#CFC9C1;border-radius:12px;background:#fff}
.calcpg .seg{background:#F1EEEA;border-color:#E6E2DC}
.calcpg .seg button{height:38px;padding-top:0;padding-bottom:0;display:inline-flex;align-items:center}
.calcpg .seg button.on{background:#FBE9DD;color:#5A2A0E}
.calcpg .checkline{display:flex;padding:2px 0}
.calcpg .checkline input{order:2;margin:0 0 0 auto;width:22px;height:22px}
.calcpg .results-col{gap:20px}
.calcpg .result{border-radius:16px}
.calcpg .chartbox{border-color:#E6E2DC;border-radius:16px}
.calcpg .interp{background:#fff;border:1px solid #E6E2DC;border-left:4px solid var(--orange);border-radius:12px}
.calcpg .assume{border-color:#E6E2DC;border-radius:16px;padding:26px 28px}
.calc-bar{position:fixed;left:0;right:0;bottom:0;z-index:55;background:rgba(255,255,255,.96);border-top:1px solid #E6E2DC;box-shadow:0 -10px 30px rgba(11,11,12,.08)}
.calc-bar-in{max-width:1120px;margin:0 auto;padding:11px 32px;display:flex;align-items:center;gap:18px}
.calc-recap{margin:0;flex:1;min-width:0;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calc-recap-k{font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:10px}
#actionRecap{font-weight:700}
.calc-bar .result-actions{flex:none;flex-wrap:nowrap}
.calc-bar .btn{height:46px;padding-top:0;padding-bottom:0}
body.calc-a{padding-bottom:80px}
.calcpg .calc-band{border-radius:16px;padding:28px}
.calcpg .app-card{border-color:#E6E2DC;border-radius:12px}
.calcpg .calc-link{border-color:#E6E2DC;border-radius:16px}
.calcpg .gcard{border-color:#E6E2DC;border-radius:16px;background:#fff}
.calcpg .formula{background:#fff;border-color:#E6E2DC}
@media(max-width:680px){
  .calc-head{padding:22px;gap:14px}
  .calc-ic{width:46px;height:46px;border-radius:12px}
  .calcpg .inputs{padding:22px}
  .calc-bar-in{flex-wrap:wrap;padding:10px 20px;gap:8px 12px}
  .calc-recap{flex:1 1 100%}
  .calc-bar .result-actions{flex:1 1 100%;flex-wrap:wrap}
  body.calc-a{padding-bottom:172px}
}
/* ---------- tools hub ---------- */
.chips{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 26px}
.chip{border:1.5px solid var(--line);background:var(--card);color:var(--muted);font-family:var(--font-b);font-weight:600;font-size:.92rem;padding:9px 20px;border-radius:999px;cursor:pointer;transition:all .16s ease}
.chip:hover{border-color:var(--muted);color:var(--ink)}
.chip.on{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tool-card.hide{display:none}
.hub-controls{display:flex;flex-direction:column;flex-wrap:wrap;gap:14px;align-items:stretch;margin:22px 0 26px}
.hub-controls .chips{margin:0}
.hub-controls .chip{display:inline-flex;align-items:center;height:42px}
/* Find-a-tool bar (owner, 2026-11-02): the jump control leads the
   hub controls — larger type, a taller select, and a ground of its
   own — so it reads as the first thing to use; the filter chips sit
   beside it on desktop (one-line rule below) and beneath it on
   narrower widths. */
.hub-jump{display:flex;align-items:center;gap:16px;background:var(--surface);border:1.5px solid var(--line);border-radius:16px;padding:16px 20px}
.hub-jump label{font-family:var(--font-d);font-weight:700;font-size:1.2rem;color:var(--ink);white-space:nowrap}
.hub-jump select{flex:1;height:54px;min-width:0;font-family:var(--font-b);font-weight:600;font-size:1.05rem;color:var(--ink);background:var(--card);border:2px solid var(--ink);border-radius:12px;padding:0 18px;cursor:pointer}
@media (max-width:680px){.hub-jump{flex-direction:column;align-items:stretch;gap:10px;padding:16px}.hub-jump select{flex:none;width:100%}}
/* One-line hub controls (owner ruling, 2026-11-05): at desktop widths
   the jump bar and the filter chips share a single row — the bar
   flexes to the available width and the chips sit beside it, centered
   against it. Narrower widths keep the stacked arrangement. */
@media(min-width:861px){
  .hub-controls{flex-direction:row;align-items:center;gap:18px}
  .hub-controls .hub-jump{flex:1;min-width:0}
  .hub-controls .chips{flex:none;flex-wrap:nowrap}
}
/* ---------- guides / articles ---------- */
.article{max-width:46rem;font-size:18px;line-height:1.85}
.article h2{font-size:29px;margin:52px 0 16px;color:var(--ink)}
.article h3{font-size:21px;margin:36px 0 12px;color:var(--ink);border-left:3px solid var(--orange);padding-left:10px}
.article p{margin:0 0 2em}
.article ul,.article ol{margin:0 0 2em}
.article li{margin:0 0 12px}
.article li:last-child{margin-bottom:0}
.kbanner{background:var(--orange);color:var(--ink);border-radius:12px;padding:34px 38px;margin:52px 0;font-family:var(--font-d);font-weight:600;font-size:1.35em;line-height:1.35}
.kbanner::before{content:"";display:block;width:44px;height:3px;background:var(--ink);margin-bottom:18px}
.to-top{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;background:var(--orange);border:0;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(11,11,12,.28);opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease;z-index:50}
.to-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){.to-top{transition:none}}
.article .emailbox p{margin:0 0 14px}
.article .gtable-note{margin:0}
.gmeta{font-size:.9rem;color:var(--muted);margin:0 0 6px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gill{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin:22px 0 8px;background:var(--surface)}
.gill svg{display:block;width:100%;height:auto}
.gill img{display:block;width:100%;height:auto}
.gill figcaption{font-size:.85rem;color:var(--muted);padding:10px 18px;border-top:1px solid var(--line)}
/* ---------- guide layout: article + right rail ---------- */
.glayout{display:grid;grid-template-columns:minmax(0,46rem) 340px;gap:32px;justify-content:center;align-items:start;padding-top:40px}
.wrap:not(.wrap-wide):has(.glayout){max-width:1280px}
/* nowrap is scoped to the Insights article pillar rail ONLY (the card
   carrying .gtoc-nowrap, emitted by blog_post_page): the More Guides
   rails on the studio guide pages carry labels up to ~378px at this
   size, wider than the ~298px card content box, and the On This Page
   TOC rails must stay free to wrap as well. */
@media (min-width:1081px){.glayout .gtoc-nowrap a{white-space:nowrap}}
.block .glayout{padding-top:0}
.glayout .article{width:100%;margin:0 auto;min-width:0}
.glayout .article h2,.glayout .article h3{scroll-margin-top:16px}
.glayout.hub{grid-template-columns:minmax(0,1fr) 300px;justify-content:stretch}
.hubmain{min-width:0}
.grail{display:flex;flex-direction:column;gap:22px;min-width:0}
.gcard{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:18px 20px}
.gcard h3{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
.gcard p{font-size:.95rem;margin:0 0 12px}
.gcard p:last-child{margin-bottom:0}
.gtoc{list-style:none;margin:0;padding:0}
.gtoc li{margin:0 0 8px}
.gtoc li:last-child{margin-bottom:0}
.gtoc a{color:var(--ink);text-decoration:none;font-size:.95rem;line-height:1.4}
.gtoc a:hover{color:var(--accent);text-decoration:underline}
/* Tools hub (owner, 2026-11-17): the black hero is gone, so the plain
   H1 carries the page in the kicker's orange (#A85A00), at the
   Guides/Insights plain-H1 sizes. The Calculators A-Z rail pane
   carries the hero's black grid background (#0B0B0C, 46px cells);
   its heading and links get their own light colors, since the rail's
   ink ones do not read on dark. */
.pg-tools .tools-h1{color:#A85A00;font-size:40px;line-height:1.15;margin:0 0 14px}
@media(max-width:640px){.pg-tools .tools-h1{font-size:30px}}
/* With the hero gone, the section's 72px top padding plus the H1's
   own margin left a 100px void under the header; the hub's top
   padding is 44px instead, the Guides/Insights plain-H1 gap. */
body.pg-tools .block{padding-top:44px}
.gcard.gtoc-dark{background:#0B0B0C;border-color:#0B0B0C;color:#fff;position:relative;overflow:hidden}
.gcard.gtoc-dark::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse 80% 90% at 50% 20%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse 80% 90% at 50% 20%,#000 20%,transparent 75%)}
.gcard.gtoc-dark h3{color:rgba(255,255,255,.75);position:relative;z-index:1}
.gcard.gtoc-dark .gtoc{position:relative;z-index:1}
.gcard.gtoc-dark .gtoc a{color:#fff}
.gcard.gtoc-dark .gtoc a:hover{color:var(--orange)}
.gkeynums{margin:0;padding:0}
.gkeynums>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.gkeynums>div:first-child{border-top:0;padding-top:0}
.gkeynums dt{font-size:.88rem;color:var(--muted);margin:0}
.gkeynums dd{font-size:.95rem;font-weight:600;text-align:right;margin:0}
.grail-ad{position:sticky;top:90px}
.grail-ad .ad-label{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.grail-ad .ad-slot-wrap{margin:0;max-width:none}
/* Calculator layouts B and C (K1 fix, 2026-11-03): the whole rail
   sticks and travels the article's full length, scrolling internally
   when it is taller than the viewport; the rail ad rides inside it. */
.calc-b .grail,.calc-c .grail{position:sticky;top:90px;max-height:calc(100vh - 106px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:4px}
.calc-b .grail-ad,.calc-c .grail-ad{position:static}
/* ---------- blog: one spacing system + editorial cards (2026-11-02) ---------- */
.blogpg .hero.page{padding:76px 0}
.blogpg .hero.page h1{font-size:clamp(2.3rem,4.6vw,3.2rem)}
.blogpg .hero.page p{font-size:1.15rem;max-width:44rem}
.post-end{border-top:1px solid var(--line);margin-top:30px;padding-top:16px;font-size:.92rem;color:var(--muted)}
.post-end p{margin:0 0 8px}
.post-end p:last-child{margin-bottom:0}
.howto{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin:26px 0;overflow:hidden}
.howto-band{background:var(--ink);color:#fff;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.88rem;padding:12px 20px;margin:0}
.howto-body{padding:2px 20px 14px}
.howto-body h3{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:16px 0 8px}
.howto-body p{margin:0 0 8px}
.howto-body ol{margin:0;padding-left:20px}
.howto-body li{margin:0 0 6px}
.howto-body dl{margin:0}
.howto-body dt{font-weight:700;margin:10px 0 2px}
.howto-body dd{margin:0;color:var(--muted)}
.bl-band{padding:56px 0}
.bl-band-first{padding-top:40px}
.bl-band-tint{background:var(--surface)}
.bl-head{margin:0 0 22px}
.bl-head h2.sect{margin:0}
.bl-stand{color:var(--muted);max-width:44rem;margin:10px 0 0;font-size:1.02rem;line-height:1.55}
.bl-page{padding:40px 0 64px}
.bl-group{margin:0 0 48px}
.bl-group:last-child{margin-bottom:0}
.bl-after{margin-top:52px}
.bl-ic{width:46px;height:46px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:var(--orange-soft);color:var(--accent);flex:none}
.bl-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px;font-size:.85rem;color:var(--muted)}
.bl-post .kicker{margin:0}
.bl-postfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:12px}
.bl-postfoot .gmeta{margin:0}
.bl-launch{background:#0B0B0C;color:#fff;border-radius:var(--radius);padding:30px;position:relative;overflow:hidden}
.bl-launch::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse 85% 100% at 50% 0%,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse 85% 100% at 50% 0%,#000 25%,transparent 78%)}
.bl-launch>*{position:relative}
.bl-launch .kicker{color:var(--orange)}
.bl-launch p{margin:0;color:rgba(255,255,255,.85);max-width:38rem;line-height:1.55}
.bl-launch a{color:var(--orange);font-weight:700}
.bl-launch .bl-rss{display:inline-block;margin-top:16px}
.bl-rssfoot{margin:28px 0 0;text-align:center;font-size:.92rem;color:var(--muted)}
.bl-follow{background:#0B0B0C;color:#fff;border:1px solid #0B0B0C;border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.bl-follow::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse 85% 100% at 50% 0%,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse 85% 100% at 50% 0%,#000 25%,transparent 78%)}
.bl-follow>*{position:relative}
.bl-follow .kicker{color:var(--orange);margin:0}
.bl-follow h3{margin:0;font-size:1.18rem;color:#fff}
.bl-follow p{margin:0;color:rgba(255,255,255,.75);font-size:.96rem;flex:1;line-height:1.55}
.bl-follow .bl-links{display:flex;gap:18px;flex-wrap:wrap}
.bl-follow a{color:var(--orange);font-weight:700;font-size:.95rem}
@media(max-width:640px){.bl-band{padding:40px 0}.bl-band-first{padding-top:26px}.bl-group{margin-bottom:36px}.bl-after{margin-top:36px}.bl-launch{padding:24px}.blogpg .hero.page{padding:56px 0}}
/* ---------- Insights + Guides hubs (redesign package, 2026-11-11) ----------
   The reviewer's content.css, folded into this stylesheet and scoped
   under .cx so its generic class names cannot collide with the
   site's own. Brand tokens come from the site :root (Signal Orange
   #F29B26, text accent --accent, the site font stacks); the
   package's warm paper ground and topic colors stay. Grid tracks
   follow the house minmax(0, ...) rule throughout. */
.cx{--cx-paper:#F6F5F2;--cx-line:#E4E2DC;--cx-line-soft:#EEECE6;--cx-muted:#5C5C64;--cx-body:#4A4A52;--cx-ondark:#C9C9CF;--cx-soft:#F7B267;--cx-ink2:#1B1B1F;--cx-linedark:#34343A;--cx-hover:#8A3407;background:var(--cx-paper);color:var(--ink);font-family:var(--font-b)}
.cx a{color:var(--accent);text-decoration:none}
.cx a:hover{color:var(--cx-hover);text-decoration:underline}
/* a.card:hover ties .cx a:hover on specificity and loses on source order,
so a tapped card stays underlined on touch. Cards never underline. */
.cx a.card:hover{text-decoration:none}
.cx a:focus-visible,.cx button:focus-visible,.cx input:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.cx-wrap{max-width:1120px;margin:0 auto;padding-left:32px;padding-right:32px}
.cx h1,.cx h2,.cx h3{font-family:var(--font-d);letter-spacing:-.01em}
.cx-hero{background:var(--ink);color:#fff}
.cx-hero-top{padding-top:56px;padding-bottom:36px;display:flex;flex-wrap:wrap;gap:32px 36px;align-items:flex-end;justify-content:space-between}
.cx-hero-copy{flex:1 1 540px;min-width:0}
.cx-eyebrow{margin:0 0 14px;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--cx-ondark)}
.cx-eyebrow.on-light{color:var(--cx-muted)}
.cx-hero h1{margin:0;font-weight:700;font-size:clamp(36px,5vw,56px);line-height:1.05;letter-spacing:-.02em;color:#fff}
/* Guides hub headline runs smaller than the shared hero size at
   every width (owner, 2026-11-12: "make this smaller"). */
.cx-hero h1.cx-h-guides{font-size:clamp(30px,4vw,42px);line-height:1.12}
.cx-lede{margin:18px 0 0;max-width:620px;font-size:18px;line-height:1.6;color:var(--cx-ondark)}
.cx-search{flex:0 1 340px;display:flex;flex-direction:column;gap:10px}
.cx-search label{font-size:13px;font-weight:600;color:var(--cx-ondark)}
.cx-search-box{display:flex;align-items:center;gap:10px;background:var(--cx-ink2);border:1px solid var(--cx-linedark);border-radius:12px;padding:0 14px;min-height:48px}
.cx-search-box input{flex:1;min-width:0;height:44px;background:transparent;border:0;color:#fff;font:inherit;font-size:15px;outline:none}
.cx-small-dark{margin:0;font-size:13px;color:#9A9AA2}
.cx-chips{display:flex;flex-wrap:nowrap;gap:10px;padding-bottom:28px;overflow-x:auto;scrollbar-width:none}
.cx-chips::-webkit-scrollbar{display:none}
.cx-chips.open{flex-wrap:wrap}
.cx-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:99px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;background:var(--cx-ink2);color:#E4E4E8;border:1px solid var(--cx-linedark);white-space:nowrap;flex:none}
.cx-chip:hover{border-color:#fff}
.cx-chip[aria-pressed="true"]{background:#fff;color:var(--ink);border-color:#fff}
.cx-chip .n{font-size:12px;opacity:.7}
.cx-dot{display:inline-block;width:8px;height:8px;border-radius:99px;flex:none}
.cx-tabs{display:flex;flex-wrap:wrap;gap:4px 28px;border-bottom:1px solid #26262A}
.cx-tab{min-height:48px;padding:0 2px;background:transparent;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;font:inherit;font-size:15px;font-weight:600;color:#9A9AA2;cursor:pointer}
.cx-tab:hover{color:#fff}
.cx-tab[aria-selected="true"]{color:#fff;border-bottom-color:var(--orange)}
.cx-tab .n{font-size:12px;opacity:.7}
.cx-stats{flex:1 1 360px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cx-stat{background:var(--cx-ink2);border:1px solid var(--cx-linedark);border-radius:14px;padding:18px}
.cx-stat b{display:block;font-family:var(--font-d);font-size:34px;color:#fff}
.cx-stat b.accent{color:var(--cx-soft)}
.cx-stat span{display:block;margin-top:4px;font-size:13px;color:var(--cx-ondark)}
/* Guides hub, no-hero layout (owner, 2026-11-17): the black hero is gone;
   the H1 is plain, the tabs sit on the paper ground, and the stat cards
   live at the top of the sidebar. Scoped to .cx-guides-hub so the shared
   .cx components on Insights/Tools do not move. */
.cx-guides-hub .cx-guides-top{padding-top:44px}
.cx-guides-hub h1{margin:0 0 20px;font-weight:700;font-size:clamp(30px,4vw,40px);line-height:1.1;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.cx-guides-hub .cx-tabs{border-bottom-color:var(--cx-line)}
.cx-guides-hub .cx-tab{color:var(--cx-muted)}
.cx-guides-hub .cx-tab:hover{color:var(--ink)}
.cx-guides-hub .cx-tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--orange)}
.cx-guides-hub .cx-sidebar .cx-stats{flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
/* Below the sidebar wrap point (viewport 1036px: 640px primary + 300px sidebar
   + 32px gap + 64px wrap padding) the sidebar stacks under the listings.
   Keep the stat cards above the listings without duplicating markup: the
   sidebar's children become direct flex items of the layout, and the stats
   take the first slot. The collections stay below the listings. */
@media(max-width:1035px){
.cx-guides-hub .cx-sidebar{display:contents}
.cx-guides-hub #cx-stats{order:-1;flex:1 1 100%}
.cx-guides-hub #cx-collections{flex:1 1 100%}
/* Stat cards on one line once the sidebar is full-width (owner,
   2026-11-17): the id-scoped rule (1,1,0) beats the single-column
   sidebar override (0,3,0) above. */
.cx-guides-hub #cx-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Insights hub, no-hero layout (owner, 2026-11-17): the black hero is gone;
   the H1 is plain, the search box lives at the top of the sidebar, and the
   browse-by-topic list is a proper table. Scoped to .cx-insights-hub so the
   shared .cx components on Finance/Tools do not move. */
.cx-insights-hub .cx-insights-top{padding-top:44px}
.cx-insights-hub h1{margin:0 0 20px;font-weight:700;font-size:clamp(30px,4vw,40px);line-height:1.1;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.cx-insights-hub .cx-sidebar .cx-search label{color:var(--ink)}
.cx-topic-table{width:100%;border-collapse:collapse}
.cx-topic-table th{background:#5C646D;color:#fff;text-align:left;padding:9px 10px;border:1px solid #8a8f98;font-size:13px;font-weight:700}
.cx-topic-table th.num,.cx-topic-table td.num{text-align:center;font-variant-numeric:tabular-nums}
.cx-topic-table td{padding:8px 10px;border:1px solid #8a8f98;vertical-align:top}
.cx-topic-table .cx-topic-btn{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:0;font:inherit;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;text-align:left}
.cx-topic-table tr.active td{background:var(--cx-line-soft)}
/* Below the sidebar wrap point (viewport 1036px) the sidebar stacks under
   the listings. Keep the search box above the listings without duplicating
   markup: the sidebar's children become direct flex items of the layout,
   and the search takes the first slot. The topic table, RSS, and reviewer
   stay below the listings. */
@media(max-width:1035px){
.cx-insights-hub .cx-sidebar{display:contents}
.cx-insights-hub .cx-sidebar>*{flex:1 1 100%}
.cx-insights-hub #cx-insights-search{order:-1}
}
.cx-main{padding-top:40px}
.cx-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.cx-primary{flex:999 1 640px;min-width:0;display:flex;flex-direction:column;gap:20px}
.cx-sidebar{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.cx-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.cx-section-head h2{margin:0;font-size:26px}
.cx-section-head span{font-size:14px;color:var(--cx-muted)}
.cx-card{background:#fff;border:1px solid var(--cx-line);border-radius:16px}
.cx-lift{transition:transform .15s ease,box-shadow .15s ease}
.cx-lift:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(14,14,16,.10)}
.cx-topic{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#3A3A40}
.cx-featured{display:flex;flex-wrap:wrap;overflow:hidden;border-radius:20px}
.cx-featured .copy{flex:1 1 340px;min-width:0;padding:32px;display:flex;flex-direction:column;gap:14px}
.cx-badge-dark{background:var(--ink);color:#fff;font-weight:600;font-size:13px;padding:4px 10px;border-radius:99px}
.cx-featured h2{margin:0;font-size:clamp(26px,3vw,34px);line-height:1.12}
.cx-featured h2 a,.cx-post h3 a,.cx-guide h3 a{color:var(--ink)}
.cx-featured p.dek{margin:0;font-size:17px;line-height:1.6;color:var(--cx-body)}
.cx-featured .meta{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding-top:8px;font-size:14px;color:var(--cx-muted)}
.cx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:10px;font-weight:600;font-size:15px}
.cx-btn:hover{text-decoration:none}
.cx-btn-orange{background:var(--orange);color:var(--ink)}
.cx-btn-orange:hover{color:var(--ink);filter:brightness(1.05)}
.cx-btn-dark{background:var(--ink);color:#fff;font-size:14px;padding:0 16px}
.cx-btn-dark:hover{color:#fff}
.cx a.cx-btn,.cx a.cx-btn:hover{text-decoration:none}
.cx a.cx-btn-orange,.cx a.cx-btn-orange:hover{color:var(--ink)}
.cx a.cx-btn-dark,.cx a.cx-btn-dark:hover{color:#fff}
.cx a:focus-visible,.cx button:focus-visible{box-shadow:0 0 0 5px var(--ink)}
.cx a.cx-mini .t{color:var(--ink)}
.cx-featured h2,.cx-post h3,.cx-guide h3,.cx-collection h2{text-wrap:balance}
.cx-hero h1{text-wrap:pretty}
.cx-featured-solo{display:block;border-top:4px solid var(--tc,var(--accent))}
.cx-visual-figs{background:var(--ink);color:#fff}
.cx-visual-figs .cap{margin:0;font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--cx-ondark)}
.cx-fig{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px solid var(--cx-linedark)}
.cx-fig .k{font-size:13px;color:var(--cx-ondark)}
.cx-fig .v{font-family:var(--font-d);font-size:19px;font-weight:700;color:#fff;white-space:nowrap}
.cx-visual-figs .note{margin:0;font-size:12px;line-height:1.55;color:#9A9AA2}
.cx-featured .cx-visual{flex:1 1 320px;min-width:0;padding:28px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.cx-visual-dark{background:var(--ink);color:#fff}
.cx-visual-dark .cap{margin:0;font-size:15px;color:var(--cx-ondark)}
.cx-visual-dark .note{margin:0;font-size:13px;color:#9A9AA2}
.cx-visual-tint{justify-content:flex-end;min-height:220px}
.cx-visual-tint .big{margin:0;font-family:var(--font-d);font-size:24px;font-weight:600}
.cx-visual-tint .sub{margin:0;font-size:14px;color:#3A3A40}
.cx-grid9{display:grid;grid-template-columns:56px repeat(3,minmax(0,1fr));gap:6px;font-variant-numeric:tabular-nums}
.cx-grid9 .h{font-size:12px;color:#9A9AA2;text-align:center;align-self:center}
.cx-grid9 .c{border-radius:8px;padding:12px 0;text-align:center;font-weight:600}
.cx-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cx-post{padding:22px;display:flex;flex-direction:column;gap:12px;min-height:236px}
.cx-post h3{margin:0;font-size:20px;line-height:1.22}
.cx-post p{margin:0;font-size:15px;line-height:1.55;color:var(--cx-body)}
.cx-post .meta{margin-top:auto;padding-top:12px;border-top:1px solid var(--cx-line-soft);font-size:13px;color:var(--cx-muted)}
.cx-empty{background:#fff;border:1px dashed #CFCCC4;border-radius:16px;padding:24px;font-size:15px;color:var(--cx-body)}
.cx-side{padding:22px}
.cx-side h2{margin:0 0 6px;font-size:18px}
.cx-side p{margin:0 0 14px;font-size:14px;line-height:1.55;color:var(--cx-muted)}
.cx-topic-list{list-style:none;margin:0;padding:0}
.cx-topic-list li{border-top:1px solid var(--cx-line-soft)}
.cx-topic-list a{display:flex;align-items:center;gap:12px;padding:9px 2px;color:var(--ink)}
.cx-topic-list a:hover{text-decoration:none}
.cx-topic-list .ico{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none}
.cx-topic-list .ico .cx-dot{width:10px;height:10px}
.cx-topic-list .txt{flex:1;min-width:0}
.cx-topic-list .txt b{display:block;font-size:15px;line-height:1.3;text-wrap:balance}
.cx-topic-list .txt span{font-size:13px;color:var(--cx-muted)}
.cx-side-dark{background:var(--ink);color:#fff;border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:12px}
.cx-side-dark h2{margin:0;font-size:18px;color:#fff}
.cx-side-dark p{margin:0;font-size:14px;line-height:1.55;color:var(--cx-ondark)}
.cx-guides{display:flex;flex-direction:column;gap:16px}
.cx-guide{border-radius:18px;padding:24px;display:flex;flex-wrap:wrap;gap:16px 20px;transition:box-shadow .15s ease,border-color .15s ease}
.cx-guide:hover{border-color:var(--ink);box-shadow:0 10px 30px rgba(14,14,16,.08)}
.cx-guide .id{flex:0 0 86px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;font-size:12px;color:var(--cx-muted)}
.cx-guide .id span{white-space:nowrap}
.cx-coll-ic{display:inline-flex;align-items:center;padding:5px 9px;border-radius:8px}
.cx-coll-ic.fin{background:#FCEBDF;color:#9A3412}
.cx-coll-ic.stat{background:#E0F2EF;color:#115E59}
.cx-guide .body{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:10px}
.cx-guide .kicker{margin:0;font-size:13px;font-weight:600;color:var(--cx-muted);letter-spacing:0;text-transform:none}
.cx-guide .kicker .k-ser{display:block;font-weight:500}
.cx-guide h3{margin:0;font-size:22px;line-height:1.2}
.cx-guide .answer{margin:0;font-size:15px;line-height:1.6;color:var(--cx-body)}
.cx-files{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.cx-file{font-family:var(--font-m);font-size:12px;padding:4px 8px;border-radius:6px;background:#F1EFEA;color:#3A3A40}
.cx-guide .side-col{flex:0 1 190px;min-width:160px;display:flex;flex-direction:column;gap:10px;justify-content:space-between}
.cx-verified{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.cx-guide .side-col small{font-size:13px;color:var(--cx-muted)}
.cx-collection{padding:22px;display:flex;flex-direction:column;gap:12px;border-radius:18px}
.cx-collection .top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cx-collection h2{margin:0;font-size:19px}
.cx-collection p{margin:0;font-size:14px;line-height:1.55;color:var(--cx-body)}
.cx-series{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.cx-series .srow{display:flex;flex-direction:column;gap:6px;padding:6px 0;color:var(--ink)}
.cx-series a.srow:hover{text-decoration:none}
.cx-series .row{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.cx-series .row b{font-weight:600;flex:1;min-width:0;text-wrap:balance}
.cx-series .row span{color:var(--cx-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.cx-bandwrap{padding-top:44px;padding-bottom:64px}
.cx-band-light{border-radius:20px;padding:32px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.cx-band-light h2{margin:0 0 10px;font-size:28px}
.cx-band-light p{margin:0;font-size:16px;line-height:1.6;color:var(--cx-body)}
.cx-mini-links{flex:1 1 420px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cx-mini-links.solo{grid-template-columns:minmax(0,1fr)}
.cx-mini{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:14px;background:var(--cx-paper);color:var(--ink)}
.cx-mini:hover{text-decoration:none;background:#EEECE6;color:var(--ink)}
.cx-mini .k,.cx-mini .f{font-size:13px;color:var(--cx-muted)}
.cx-mini .k{font-weight:600}
.cx-mini .t{font-family:var(--font-d);font-size:17px;font-weight:600;line-height:1.3}
.cx-band-dark{background:var(--ink);color:#fff;border-radius:22px;padding:36px}
.cx-band-dark h2{margin:0 0 24px;font-size:30px;max-width:680px;color:#fff}
.cx-pkg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cx-pkg div{background:var(--cx-ink2);border:1px solid var(--cx-linedark);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:8px}
.cx-pkg code{font-family:var(--font-m);font-size:13px;color:#E4E4E8}
.cx-pkg p{margin:0;font-size:15px;line-height:1.55;color:#D9D9DE}
@media(max-width:1150px){.cx-posts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1080px){.cx-pkg{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cx-posts{grid-template-columns:minmax(0,1fr)}.cx-pkg{grid-template-columns:minmax(0,1fr)}.cx-mini-links{grid-template-columns:minmax(0,1fr)}.cx-stat b{font-size:26px}.cx-featured .copy,.cx-featured .cx-visual{padding:22px}.cx-hero-top{padding-top:40px}.cx-band-dark{padding:26px}.cx-band-light{padding:24px}.cx-chips{gap:8px;padding-bottom:20px;flex-wrap:wrap;overflow-x:visible}.cx-chip{min-height:36px;padding:0 12px;font-size:13px;gap:6px}.cx-tabs{flex-wrap:nowrap;gap:18px;overflow-x:auto}.cx-tab{font-size:13.5px;white-space:nowrap;min-height:44px}.cx-guide{padding:18px;gap:14px 16px}.cx-guide .id{flex:1 1 100%;flex-direction:row;align-items:center;gap:10px}.cx-guide .body{gap:8px}.cx-guide .side-col{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:space-between}}
/* Guides stat cards on one line on phones (owner, 2026-11-17): shrink to
   fit three across at the tightest width (348px, content 284px). Scoped
   to .cx-guides-hub #cx-stats so the shared .cx-stat sizes elsewhere do
   not move; the id-scoped rules beat the 640px trim above. */
@media(max-width:640px){
.cx-guides-hub #cx-stats{gap:8px}
.cx-guides-hub #cx-stats .cx-stat{padding:10px 8px}
.cx-guides-hub #cx-stats .cx-stat b{font-size:20px}
.cx-guides-hub #cx-stats .cx-stat span{font-size:11px;line-height:1.4}
}
/* Design-checklist tidy (2026-11-11): meta facts sit side by side with
   space between them instead of middle-dot strings; the sidebar
   sections drop the card box (hairline and space carry the hierarchy)
   while the primary lists keep the one card treatment. */
.cx-post .meta{display:flex;flex-wrap:wrap;gap:4px 14px}
.cx-topic-list .txt .sub{display:flex;flex-wrap:wrap;gap:2px 10px}
.cx-featured .meta .cx-meta2{display:inline-flex;flex-wrap:wrap;gap:4px 14px}
.cx-sidebar .cx-card{background:transparent;border:0;border-top:1px solid var(--cx-line);border-radius:0;box-shadow:none}
.cx-sidebar .cx-side,.cx-sidebar .cx-collection{padding:20px 2px 0}
/* Desktop type trim (owner, 2026-11-11): one small step down across the
   cx scale at desktop widths only; phone and tablet sizes unchanged. */
@media(min-width:1024px){
.cx-hero h1{font-size:clamp(36px,5vw,54px)}
.cx-lede{font-size:17px}
.cx-stat b{font-size:32px}
.cx-tab{font-size:14px}
.cx-chip{font-size:13px}
.cx-section-head h2{font-size:24px}
.cx-featured h2{font-size:clamp(26px,3vw,32px)}
.cx-featured p.dek{font-size:16px}
.cx-featured .meta{font-size:13px}
.cx-btn{font-size:14px}
.cx-post h3{font-size:19px}
.cx-post p{font-size:14px}
.cx-post .meta{font-size:12px}
.cx-guide h3{font-size:21px}
.cx-guide .answer{font-size:14px}
.cx-collection h2{font-size:18px}
.cx-collection p{font-size:13px}
.cx-side h2{font-size:17px}
.cx-side p{font-size:13px}
.cx-side-dark p{font-size:13px}
.cx-topic-list .txt b{font-size:14px}
.cx-topic-list .txt span{font-size:12px}
.cx-band-light h2{font-size:26px}
.cx-band-light p{font-size:15px}
.cx-band-dark h2{font-size:28px}
.cx-pkg p{font-size:14px}
.cx-mini .t{font-size:16px}
.cx-search label{font-size:12px}
.cx-small-dark{font-size:12px}
}

/* ---------- in-article tables ---------- */
.gtable-wrap{overflow-x:auto;margin:26px 0 30px;border:1px solid var(--line);border-radius:var(--radius)}
table.gtable{width:100%;border-collapse:collapse;font-size:.92rem}
.gtable caption{text-align:left;font-family:var(--font-b);font-weight:700;font-size:1rem;padding:14px 14px 4px}
.gtable th{background:#5C646D;color:var(--bg);text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);font-family:var(--font-b);font-weight:700}
.gtable td{padding:10px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.gtable tr:last-child td{border-bottom:0}
.gtable .num{text-align:right;font-variant-numeric:tabular-nums}
.gtable-note{font-size:.85rem;color:var(--muted);padding:0 14px 12px;margin:0}
.article table.gtable{font-size:.8em;line-height:1.45;font-variant-numeric:tabular-nums}
.article .gtable th{text-align:center}
.article .gtable th:first-child{text-align:left}
.article .gtable td{border:1px solid #8a8f98;text-align:center;padding:6px 10px}
.article .gtable td:first-child{text-align:left;font-weight:600}
.article .gtable tr:last-child td{border-bottom:1px solid #8a8f98}
.article .gtable caption{caption-side:top;text-align:left;font-weight:700;font-size:1.02em;color:var(--ink);padding:0 0 8px}
.article .gtable-wrap{margin:6px 0 44px;border:none;border-radius:0;background:transparent}
.comments{margin-top:34px;border-top:1px solid var(--line);padding-top:8px}
.cmt-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.cmt-head h2{margin-bottom:4px}
.cmt-count{color:var(--muted);font-size:.9rem;white-space:nowrap}
.cmt{padding:14px 0;border-bottom:1px solid var(--line)}
.cmt-meta{display:flex;gap:8px;align-items:center;font-size:.85rem;margin-bottom:3px;flex-wrap:wrap}
.cmt-meta b{font-size:.95rem}
.cmt-meta time{color:var(--muted)}
.cmt-badge{background:#FFF1DE;color:#9a5200;font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:2px 8px}
.cmt-body{margin:0}
.cmt.reply{margin:10px 0 2px 16px;padding:12px 14px;background:var(--surface);border-radius:10px;border-bottom:0}
.cmt-empty{color:var(--muted)}
.cmt-form{border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-top:18px}
.cmt-form-title{font-weight:700;margin:0 0 4px}
.cmt-label{display:block;font-size:.82rem;font-weight:700;margin:12px 0 5px}
.cmt-input{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;font:inherit;font-size:.95rem;background:#fff}
textarea.cmt-input{min-height:84px;resize:vertical}
.cmt-actions{margin:14px 0 0}
.cmt-note{font-size:.9rem;margin:10px 0 0}
.cmt-fineprint{font-size:.8rem;color:var(--muted);margin:10px 0 0}
@media(max-width:640px){
  .gtable{font-size:.85rem}
  .gtable th{padding:9px 10px}
  .gtable td{padding:8px 10px}
  .gtable caption{padding:12px 12px 2px}
  .gtable-note{padding:0 12px 10px}
  .gtable-wrap{box-shadow:inset -22px 0 22px -22px rgba(11,11,12,.35)}
  .gtable-wrap:has(> .gtable-stack){box-shadow:none}
  .kbanner{padding:26px 24px;font-size:1.25em}
  .gtable-stack{font-size:.92rem}
  .gtable-stack caption{display:block;text-align:left}
  .gtable-stack thead{display:none}
  .gtable-stack,.gtable-stack tbody,.gtable-stack tr,.gtable-stack td{display:block}
  .gtable-stack tr{padding:10px 12px;border-bottom:1px solid var(--line)}
  .gtable-stack tbody tr:last-child{border-bottom:0}
  .gtable-stack td{border-bottom:0;padding:2px 0}
  .gtable-stack td:first-child{font-weight:700;font-size:.95rem;padding-bottom:5px}
  .gtable-stack td:not(:first-child):not(:last-child)::before{content:attr(data-h);display:block;font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:1px}
  .gtable-stack td.lbl::before{content:attr(data-h);display:block;font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:1px}
  .gtable-stack td.num:not(:last-child){display:inline-block;margin-right:26px;vertical-align:top;text-align:left}
}
/* ---------- in-article callouts ---------- */
.gfig{margin:26px 0 30px}
.gfig picture{display:block}
.gfig img{display:block;width:100%;height:auto;border:1px solid var(--line, rgba(0,0,0,.14));border-radius:var(--radius)}
.gfig figcaption{margin-top:9px;font-size:.92rem;color:var(--muted, #666);text-align:center}
.gcallout{border:1px solid rgba(242,155,38,.45);border-left:5px solid var(--accent);border-radius:var(--radius);background:rgba(242,155,38,.10);padding:20px 22px;margin:28px 0 30px}
.gcallout h3{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
.gcallout p{margin:0 0 10px}
.gcallout p:last-child{margin-bottom:0}
.gcallout ol{margin:0;padding-left:22px}
.gcallout li{margin-bottom:12px}
.gcallout li:last-child{margin-bottom:0}
.crumbs{font-size:.85rem;color:var(--muted);margin:40px 0 0}
.crumbs a{color:var(--accent)}
.crumbs .sep{margin:0 7px;color:var(--chart-mute)}
@media(max-width:640px){.crumbs{margin-top:26px}}
.byline{font-size:.85rem;color:var(--muted);margin:14px 0 0}
.calc-band{background:#0B0B0C;color:#fff;border-radius:var(--radius);padding:26px 28px;margin:26px 0 32px}
.calc-band .kicker{color:var(--orange);margin:0 0 8px}
.calc-band h2{color:#fff;margin:0 0 8px;font-size:1.45rem}
.calc-band p{color:rgba(255,255,255,.78);margin:0;max-width:42rem}
.calc-band .row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
.calc-band .alt{color:rgba(255,255,255,.85);font-weight:600}
.formula{font-family:var(--font-m);background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--orange);border-radius:10px;padding:16px 18px;margin:18px 0;font-size:.96rem;white-space:normal}
.calc-links{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 8px}
.calc-link{flex:1 1 180px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;text-decoration:none;color:var(--ink);transition:transform .28s ease,box-shadow .28s ease}
.calc-link:hover{transform:translateY(-3px);box-shadow:var(--shadow);text-decoration:none}
.calc-link strong{display:block;font-family:var(--font-d);font-size:1.02rem;margin-bottom:4px}
.calc-link>span{color:var(--muted);font-size:.9rem}
.app-card{display:block;background:var(--card);border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:var(--radius);padding:14px 18px;margin:16px 0;color:var(--ink);text-decoration:none;transition:transform .28s ease,box-shadow .28s ease}
.app-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);text-decoration:none}
.app-card strong{display:block;font-family:var(--font-d);font-size:1.05rem;line-height:1.3}
.app-card>span{color:var(--orange);font-weight:600;font-size:.92rem}
.app-card-arrow{white-space:nowrap}
.calc-band .app-card{margin:18px 0 0;max-width:32rem}
.calc-band .app-card strong{font-size:1.3rem}
.calc-band .row{margin-top:14px}
/* ---------- calculator suggestion rows: twelve fitted stocks, sliding at every width ---------- */
.calc-picks{margin:36px 0 10px}
.calc-picks h2{margin:0 0 8px}
.cp-note{color:var(--muted);max-width:46rem;margin:0 0 6px}
.cp-view{overflow:hidden}
.cp-track{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;padding:6px 2px 12px}
.cp-track::-webkit-scrollbar{display:none}
.cp-tile{flex:0 0 248px;margin-right:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:3px}
.cp-tile:hover{box-shadow:var(--shadow);text-decoration:none}
.cp-t{font-family:var(--font-d);font-weight:800;font-size:1.05rem}
.cp-n{font-weight:600;font-size:.93rem}
.cp-w{color:var(--muted);font-size:.88rem;line-height:1.45}
.cp-head{display:flex;gap:10px;align-items:center}
.cp-id{display:flex;flex-direction:column;gap:1px;min-width:0}
.cp-logo{position:relative;flex:0 0 auto;width:38px;height:38px;border-radius:9px;overflow:hidden;background:#fff}
.cp-logo-dark{background:#fff}
.cp-logo-letter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--ink);font-family:var(--font-d);font-weight:800;font-size:1.02rem}
.cp-logo-dark .cp-logo-letter{background:var(--surface);color:var(--ink)}
.cp-logo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;padding:4px;box-sizing:border-box}
.cp-price{margin-top:auto;padding-top:9px;min-height:1.45em;font-variant-numeric:tabular-nums;font-weight:700;font-size:.95rem}
.cp-chg{font-weight:700}
@media(max-width:640px){.cp-tile{flex-basis:218px}}
@media (prefers-reduced-motion: reduce){
  .cp-track .cp-dup{display:none}
}
@media(max-width:1080px){
  .glayout{grid-template-columns:minmax(0,1fr)}
  .glayout.hub{grid-template-columns:minmax(0,1fr)}
  .grail .gtoc-card,.grail .gkey-card{display:none}
  .grail{max-width:46rem;width:100%;margin:0 auto}
  .grail-ad{position:static}
  .calc-b .grail,.calc-c .grail{position:static;max-height:none;overflow:visible}
}
/* ---------- motion: wipes, word reveals, rotator, drift, pinned story ---------- */
.js-ww .ww-word{display:inline-block;opacity:0;transform:translateY(8px);transition:opacity .3s ease,transform .3s ease;transition-delay:var(--wd,0s)}
.js-ww.ww-in .ww-word{opacity:1;transform:none}
.about-teaser-grid{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:48px;align-items:center}
@media(max-width:860px){.about-teaser-grid{grid-template-columns:minmax(0, 1fr);gap:20px}}
.about-rot{font-family:var(--font-d);font-size:clamp(1.05rem,1.8vw,1.35rem);font-weight:700;color:var(--ink);line-height:1.3;margin:0}
.about-rot .rot-word{color:var(--accent);font-weight:700}
.rotator{position:relative;display:inline-block;overflow:hidden;vertical-align:baseline;transition:width .9s ease}
.rot-word{display:none}
.rot-word:first-child{display:inline}
.js-rot{vertical-align:var(--rot-va,baseline)}
.js-rot .rot-word{display:inline-block;position:absolute;left:0;top:0;opacity:0;transition:opacity .9s ease;white-space:nowrap}
.js-rot .rot-word.on{position:static;opacity:1}
.js-rot .rot-word.off{opacity:0}
.drift{position:absolute;inset:0;pointer-events:none}
.drift .dbl{position:absolute;opacity:.14;animation:driftA 18s ease-in-out infinite alternate}
.drift .dbl:nth-child(1){top:10%;left:2%;width:46px}
.drift .dbl:nth-child(2){top:64%;left:5%;width:32px;animation-name:driftB;animation-duration:22s}
.drift .dbl:nth-child(3){top:12%;right:3%;width:54px;animation-duration:26s}
.drift .dbl:nth-child(4){top:72%;right:7%;width:36px;animation-name:driftB;animation-duration:30s}
@keyframes driftA{from{transform:translate(0,0) rotate(-6deg)}to{transform:translate(28px,-20px) rotate(8deg)}}
@keyframes driftB{from{transform:translate(0,0) rotate(8deg)}to{transform:translate(-24px,22px) rotate(-8deg)}}
@media(max-width:860px){.drift .dbl:nth-child(n+3){display:none}}
/* Homepage seam rhythm (2026-10-23): every gap between homepage
   sections measures 72px content-to-content. The pin story's top
   padding completes the survey band's bottom padding (60px, or
   44px under 640px) to 72, and its bottom padding carries the
   full 72 into Services, whose top padding is 0 like the other
   stacked homepage blocks. */
.pin-story{padding:12px 0 72px}
@media(max-width:640px){.pin-story{padding-top:28px}}
/* When the pin story is geo-hidden (outside New England) it
   cannot carry the 72px seam into Services, so Services takes
   the seam itself (owner catch, 2026-11-09). */
.pin-story:not(.geo-on) + section{padding-top:72px!important}
.pin-comp{max-width:none;border:1px solid rgba(255,255,255,.14);border-radius:var(--radius);padding:20px;background:#0B0B0C}
.pin-progress{height:6px;border-radius:3px;background:rgba(255,255,255,.14);overflow:hidden;margin:0 0 24px;display:none}
.js-pin .pin-progress{display:block}
.pin-fill{height:100%;width:33.333%;background:var(--accent);transition:width .4s ease}
.pin-panels{position:relative}
.pin-panel{margin-bottom:22px}
.pin-panel:last-child{margin-bottom:0}
.js-pin .pin-panels{display:grid}
.js-pin .pin-panel{grid-area:1/1;margin-bottom:0;visibility:hidden;opacity:0}
.js-pin .pin-panel.on{visibility:visible;opacity:1;animation:pinFade .35s ease}
@keyframes pinFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.pin-n{font-family:var(--font-b);font-weight:700;color:var(--accent);font-size:.9rem;letter-spacing:.08em}
.pin-panel h3{font-size:1.8rem;margin:8px 0 10px;color:#fff}
.pin-panel p{color:rgba(255,255,255,.68);max-width:34rem;margin:0}
.pin-sample{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:24px;margin-top:20px}
.pin-sample-q{color:#fff;font-weight:700;margin:0 0 4px}
.pin-opt{display:block;width:100%;text-align:left;font-family:var(--font-b);font-size:1rem;padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:transparent;color:rgba(255,255,255,.85);margin-top:9px;cursor:pointer}
.pin-opt:hover{border-color:var(--accent);background:rgba(242,155,38,.10);color:#fff}
.pin-opt.sel{border-color:var(--accent);background:rgba(242,155,38,.16);color:#fff}
.pin-sample-note{color:rgba(255,255,255,.5);font-size:.85rem;margin:12px 0 0}
.pin-chart{margin-top:20px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);border-radius:12px;padding:28px 24px}
.pin-chart svg{display:block;width:100%;height:auto}
.pin-chart svg.pin-chart-svg-mob{display:block}
.pin-chart svg.pin-chart-svg-desk{display:none}
@media(min-width:861px){.pin-chart svg.pin-chart-svg-mob{display:none}.pin-chart svg.pin-chart-svg-desk{display:block}}
@media(max-width:860px){.pin-comp .pin-chart{padding:20px 16px}.pin-chart .pin-chart-note{margin:16px 0 0}.pin-chart .pin-chart-title{font-size:17px}.pin-chart .pin-chart-label{font-size:14px}.pin-chart .pin-chart-value{font-size:14px}}
.pin-chart text{font-family:var(--font-b)}
.pin-chart-title{fill:#fff;font-weight:700;font-size:15px}
.pin-chart-label{fill:rgba(255,255,255,.68);font-size:13.5px}
.pin-chart-value{fill:#fff;font-weight:700;font-size:13.5px}
.pin-bar-track{fill:rgba(255,255,255,.10)}
.pin-bar-fill{fill:var(--accent)}
.pin-panel .pin-chart-note{color:#F29B26;font-size:.85rem;font-weight:600;margin:24px 0 0}
.pin-grid{stroke:rgba(255,255,255,.08);stroke-width:1}
.pin-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.pin-dot{fill:var(--accent);stroke:#0B0B0C;stroke-width:2}
.pin-steps{display:none;gap:12px;margin:0 0 48px}
@media(min-width:861px){
  .pin-panel{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.5fr);gap:32px;align-items:center}
  .js-pin .pin-panel.on{display:grid;animation:pinFade .35s ease}
  .pin-sample{margin-top:0}
  .pin-chart{margin-top:0}
}
.js-pin .pin-steps{display:flex}
.pin-step{flex:1;font-family:var(--font-b);font-weight:700;font-size:1rem;padding:11px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);cursor:pointer;text-align:center}
.pin-step.on{background:var(--accent);color:#0B0B0C;border-color:var(--accent)}
@media(max-width:520px){.pin-step{font-size:.92rem;padding:11px 6px}}
.pin-comp .btn{margin-top:16px}
@media(max-width:860px){.pin-comp .btn{display:block;text-align:center;text-wrap:balance}}
@media(prefers-reduced-motion:reduce){
  .btn::after{transition:none}
  .js-ww .ww-word{opacity:1;transform:none;transition:none}
  .drift .dbl{animation:none}
  .js-pin .pin-panel.on{animation:none}
  .tool-slider.js-slider .ts-btn{display:flex}
  .ts-hint{display:block}
  .tool-slider{position:relative;overflow:visible;display:flex;gap:12px;align-items:center}
  .ts-track{animation:none;gap:16px;width:auto;overflow-x:auto;scrollbar-width:thin}
  .ts-track .card{margin-right:0}
  .ts-track .ts-dup{display:none}
  .ts-track::-webkit-scrollbar{display:block;height:6px}
  .ts-track::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
  .tool-slider::after{content:"";position:absolute;top:0;bottom:0;right:0;width:56px;background:linear-gradient(to right,transparent,var(--bg));pointer-events:none}
  .tool-slider.js-slider::after{right:52px}
}
/* ---------- AdSense slots (guides, tools) ---------- */
.ad-slot-wrap{margin:38px 0;max-width:46rem;clear:both}
.ad-slot-wrap:has(>ins:empty){display:none!important}
@media(max-width:520px){.ad-slot-wrap{margin:28px 0}}
/* ---------- page hero (section indexes) ---------- */
.hero.page{background:#0B0B0C;color:#fff;padding:64px 0;position:relative;overflow:hidden}
.hero.page::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse 80% 90% at 50% 20%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse 80% 90% at 50% 20%,#000 20%,transparent 75%)}
.hero.page .wrap{position:relative;z-index:1}
.hero.page h1{color:#fff;margin:0 0 10px;font-size:clamp(2rem,4vw,2.8rem)}
.hero.page p{color:rgba(255,255,255,.75);margin:0;max-width:40rem;font-size:1.1rem;text-wrap:balance}
.hero-split{display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);gap:40px;align-items:center}
.hero-facts{border-left:1px solid rgba(255,255,255,.18);padding-left:30px}
.hero-fact{margin:0 0 16px}
.hero-fact:last-child{margin-bottom:0}
.hero.page .hf-k{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--orange);font-weight:700;margin:0 0 5px;max-width:none}
/* Calculator-layout hero facts (module pages round, 2026-11-11):
   the fact labels read sentence case and untracked, per the
   design rules; they are authored that way in the source data.
   Scoped to the calculator layouts (.calcpg), whose heroes are
   the ones carrying fact blocks. */
body.calcpg .hero.page .hf-k{text-transform:none;letter-spacing:0;font-size:.82rem}
.hero.page .hf-v{font-size:.99rem;line-height:1.55;color:rgba(255,255,255,.88);margin:0;max-width:none}
@media(max-width:900px){.hero-split{grid-template-columns:minmax(0,1fr);gap:22px}.hero-facts{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:20px 0 0}}
/* ---------- misc ---------- */
.product{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin:26px 0;max-width:46rem}
.price{font-family:var(--font-b);font-size:2rem;font-weight:700;color:var(--accent)}
.product ul{margin:12px 0 18px;padding-left:22px}
.product li{margin-bottom:8px}
.product.wide{max-width:none;padding:24px 28px;margin:20px 0;display:flex;gap:32px;align-items:stretch}
.product.wide .p-main{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-start}
.product.wide .p-main h3{margin:0 0 8px}
.product.wide .p-main p{margin:0}
.product.wide .p-side{flex:0 0 190px;border-left:1px solid var(--line);padding-left:28px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center}
.product.wide .p-side .price{line-height:1.15}
.buy-row{display:flex;gap:6px;width:100%}
.buy-row .btn{flex:1 1 0;min-width:0;justify-content:center;white-space:nowrap;font-size:.9rem;padding-left:6px;padding-right:6px}
@media(max-width:389px){.buy-row{flex-direction:column;gap:8px}.buy-row .btn{padding:12px 16px}}
@media(min-width:721px){.product.wide.buy2 .p-side{flex-basis:330px}}
@media(max-width:720px){.product.wide{flex-direction:column;gap:16px}.product.wide .p-side{flex:none;border-left:none;padding-left:0;border-top:1px solid var(--line);padding-top:16px;align-items:flex-start;text-align:left}}
canvas.chart{width:100%;max-width:640px}
/* ---------- motion ---------- */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .32s ease,transform .32s ease;transition-delay:var(--d,0s)}
.reveal.in{opacity:1;transform:none}
/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:40px;padding:38px 0 46px;color:var(--muted);font-size:.9rem}
.site-footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.site-footer nav{display:flex;gap:20px;flex-wrap:wrap}
.site-footer a{color:var(--muted)}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  .reveal{opacity:1;transform:none}
  .card:hover,.gcard:hover,a.card:hover{transform:none}
}
/* ---------- Daily 7 ---------- */
.d7-hub{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#0B0B0C;color:#fff;border-radius:var(--radius);padding:22px 24px;margin:0 0 28px}
.d7-hub h3{color:#fff;margin:0 0 6px}
.d7-hub p{color:rgba(255,255,255,.72);margin:0;max-width:36rem}
.d7-hub .btn{flex:none}
.d7-asof{color:var(--muted);font-size:.95rem;margin:0 0 22px}
.d7-grid{display:flex;flex-direction:column;gap:16px}
.d7-card{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;background:var(--card)}
.d7-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.d7-ticker{font-family:var(--font-b);font-size:1.6rem;font-weight:800;letter-spacing:.02em}
.d7-company{color:var(--muted);font-size:.95rem}
.d7-id{display:flex;gap:12px;align-items:center;min-width:0}
.d7-logo{position:relative;flex:0 0 auto;width:44px;height:44px;border-radius:10px;background:#fff;overflow:hidden}
.d7-logo-letter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#17171a;font-family:var(--font-b);font-weight:800;font-size:1.3rem}
.d7-logo img{position:relative;display:block;width:100%;height:100%;object-fit:contain;background:#fff;padding:5px;box-sizing:border-box}
.d7-price{font-variant-numeric:tabular-nums;font-weight:700;font-size:1.15rem;text-align:right}
.d7-up{color:#0f7a3d}.d7-down{color:#b3372f}
.d7-rows{margin:14px 0 0;display:grid;grid-template-columns:110px minmax(0, 1fr);gap:6px 14px}
.d7-rows dt{font-weight:700;color:var(--ink);font-size:.92rem}
.d7-rows dd{margin:0;color:var(--muted);font-size:.95rem;line-height:1.55}
.d7-prior{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;margin-top:28px}
.d7-prior h3{margin:0 0 8px}
.d7-prior ol{margin:0;padding-left:22px;color:var(--muted)}
.d7-prior li{margin-bottom:4px}
.d7-prior li strong{color:var(--ink)}
.d7-note{color:var(--muted);font-size:.9rem;margin-top:24px}
/* ---------- Daily 7 affiliates ---------- */
.aff{margin-top:28px}
.aff h3{margin:0 0 6px}
.aff-lede{color:var(--muted);margin:0 0 18px}
.aff-view{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.aff-view::-webkit-scrollbar{display:none}
.aff-track{display:flex;gap:0;width:max-content;padding:6px 2px 12px}
.aff-track .aff-card{flex:0 0 264px;margin-right:16px}
.aff-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:var(--card);text-decoration:none;color:inherit}
.aff-card.aff-alt{background:#FFF1DE}
.aff-card:hover{border-color:var(--orange);transform:translateY(-2px)}
.aff-logo{height:56px;display:flex;align-items:center}
.aff-logo img{max-height:56px;max-width:120px;border-radius:10px}
.aff-tv{display:flex;align-items:center;height:56px;color:#2962FF;font-family:var(--font-b);font-weight:800;font-size:1.9rem;letter-spacing:-.02em}
.aff-logo.kalshi{background:#000;border-radius:10px;padding:0 12px}
.aff-logo.kalshi img{max-width:110px;border-radius:0}
.aff-card h4{margin:0;font-size:1.05rem}
.aff-card p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.5;flex:1}
.aff-cta{color:var(--orange);font-weight:700;font-size:.95rem}
.aff-disc{color:var(--muted);font-size:.82rem;margin-top:14px}
@media(max-width:640px){.aff-track .aff-card{flex-basis:224px}}
@media (prefers-reduced-motion: reduce){
  .aff-track .aff-dup{display:none}
}
/* ---------- Daily 7 feature (Finance hub) + homepage band ---------- */
/* Feature-card layout (reference rebuild 2026-11-01, owner's supplied
   design): the head is one compact block — badge and name (with its
   Live / Available soon pill) on the left with the card's copy directly
   under the name, the CTA button top-right with the guide links
   right-aligned beneath it — and the spec strip sits directly under
   the head on the same spacing rhythm, so the card's height hugs its
   content with no void between the links and the strip. The strip is
   ONE unified panel divided into label-over-value columns (a
   standalone count renders as a big orange numeral), and it stays the
   native scroll container of the swipe round: swipeable with native
   momentum at every width, its gentle auto-advance driven by the
   d7-slider block in JS_SITE, which never writes scrollLeft while a
   gesture or momentum owns the row. */
.d7-feature{background:#0B0B0C;color:#fff;border-radius:var(--radius);padding:26px;margin:0 0 28px}
.d7-feature-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px 44px;margin-bottom:20px}
.d7-feature-name{display:flex;align-items:flex-start;gap:18px;min-width:0}
.d7-feature-name img{width:84px;height:84px;flex:none;background:#fff;border-radius:14px;padding:6px;box-sizing:border-box}
.d7-feature-id{min-width:0}
/* The status pill sits beside the product name on the same line at
   every width (owner, 2026-11-05): the title row never wraps, the
   pill never shrinks, and the name itself wraps inside its own space
   when the row is tight, so the pill cannot drop below the name on
   phone the way it did when the row wrapped and the name could not. */
.d7-feature-title{display:flex;align-items:center;gap:12px}
.d7-feature-title h3{color:#fff;margin:0;font-size:1.55rem}
.d7-feature-tag{color:rgba(255,255,255,.72);margin:7px 0 0;line-height:1.55;max-width:38rem}
.d7-live-pill{display:inline-flex;align-items:center;gap:6px;flex:none;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:3px 11px;font-size:.8rem;font-weight:600;color:#fff;white-space:nowrap}
.d7-live-pill i{width:7px;height:7px;border-radius:50%;background:#43d17c;flex:none}
.d7-soon-pill{color:rgba(255,255,255,.78)}
.d7-soon-pill i{background:rgba(255,255,255,.45)}
.d7-feature-side{display:flex;flex-direction:column;align-items:flex-end;gap:13px;flex:none}
.d7-feature-side .btn{flex:none}
.d7-feature-links{display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:flex-end}
.d7-guide-link{color:#fff;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.d7-guide-link:hover{color:var(--orange)}
/* Inside .cx, the page-wide .cx a rule (dark orange) outranks these
component rules, so the button, the ticker tiles, and the guide link
all render brown on the dark card. These beat it. */
.cx .d7-feature:not(.d7f-cry) .btn-primary{color:#000}
.cx .d7-feature:not(.d7f-cry) .d7-mini{color:#fff;text-decoration:none}
.cx .d7-feature:not(.d7f-cry) a.d7-guide-link{color:#fff;text-decoration:underline}
.cx .d7-feature:not(.d7f-cry) a.d7-guide-link:hover{color:var(--orange)}
.d7-minis{overflow-x:auto;overflow-y:hidden;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:22px 26px;scrollbar-width:none;overscroll-behavior-x:contain}
.d7-minis::-webkit-scrollbar{display:none}
.d7-track{display:flex;gap:0;width:max-content}
.d7-fact{display:flex;flex-direction:column;gap:7px;width:176px;flex:none;margin-right:34px;text-decoration:none;color:#fff}
.d7-fact-wide{width:262px}
.d7-fact-num{width:96px}
.d7-fact-t{font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.45);white-space:nowrap}
/* Fact values sit below the card body size (owner, 2026-11-02: at
   1.13rem they were larger than the card text and pulled the eye). */
.d7-fact-p{font-size:.92rem;font-weight:600;line-height:1.38}
/* The big count numerals (Analysis 20 modules, Crypto 100 assets) match
   the fact-value size and weight (owner, 2026-11-05); orange is kept. */
.d7-fact-n{font-size:.92rem;font-weight:600;line-height:1.38;color:var(--orange);font-variant-numeric:tabular-nums}
.d7-track .d7-mini{flex:0 0 150px;margin-right:10px}
.d7-mini{display:flex;flex-direction:column;gap:2px;background:rgba(255,255,255,.08);border-radius:10px;padding:12px;text-decoration:none;color:#fff}
.d7-mini:hover{background:rgba(255,255,255,.14)}
.d7-mini-t{font-weight:800;font-size:1.02rem}
.d7-mini-p{font-variant-numeric:tabular-nums;font-size:.9rem;color:rgba(255,255,255,.8)}
.d7-mini-c{font-variant-numeric:tabular-nums;font-size:.88rem;font-weight:700}
.d7-mini .d7-up{color:#5fce7d}.d7-mini .d7-down{color:#ff8a7a}
/* Feature-card colors (owner, 2026-11-05): the Studio/Daily 7 feature
   cards no longer all sit on plain black. Each card carries its own
   color, assigned per product so a card keeps its color on every hub:
   Valuation the Bull Moose panel's own background (the dark
   gray-purple card token of the panel's pinned dark skin, #17171a in
   the Valuation app's valuation.css), SAE the deep navy, Analysis the
   deep plum, Crypto the purplish gray paired with navy text throughout
   (children re-paired to match). Daily 7 first sat on a deep slate
   that clashed with the set; the owner ruled it into the same Bull
   Moose family instead: #5b5673, the ladder's mid step between the
   panel base #17171a and the light token #c9c8d4, in the family's
   violet-gray hue (blue channel above red, so it reads gray and
   purple at once), carried on Finance AND the homepage so the card
   holds one color everywhere. Its pick tiles tint by white-alpha
   overlay, so they re-derive from the new ground on their own; the
   light up/down inks stay, as on every dark ground. Layout and copy
   are unchanged. */
/* Valuation carries the Bull Moose panel's own construction, not just
   its base token (owner, 2026-11-05): the flat #17171a read as plain
   black on his phone. The panel's purpley feel is two violet washes
   over that base: a 5% violet linear wash settling to base at 44%,
   plus a 6% radial violet pool behind the top block. Precomputed from
   the app's color-mix values: the 5% mix is #1c1925 and the pool is
   rgba(124,58,237,.06). */
.d7f-val{background:radial-gradient(72% 55% at 50% 10%,rgba(124,58,237,.06),transparent 72%),linear-gradient(180deg,#1c1925,#17171a 44%),#17171a}
.d7f-sae{background:#1d1b4c}
.d7f-ana{background:#3a2e4a}
/* Finance two-by-two paid cards (owner approval, 2026-11-05): the
   Valuation Suite sits on the solid dark violet from his measured
   swatch, and the Book takes the Analysis card's plum, the same tone
   carried on .d7f-ana. */
.d7f-suite{background:#1F1A2B}
.d7f-book{background:#3a2e4a}
/* The Finance Daily 7 card is plain black (owner ruling,
   2026-11-05, superseding the same-day "match the Valuation card
   exactly" step, which had copied the .d7f-val wash stack onto this
   card verbatim and made the two cards read as twins): flat
   #0B0B0C, the homepage black card's ground, so the two cards read
   as different products again. The base rule reaches the Finance
   hub only: on the homepage the body.home rules below and the
   mode-scoped rules above override it in both modes, and the
   homepage card keeps its own treatment. The fact panel needs no
   change: .d7-minis is the shared white-alpha dark treatment the
   homepage black card uses too. */
.d7f-d7{background:#0B0B0C}
body.home .d7f-d7{background:#0B0B0C}
html.mb-dark body.home .d7f-d7{background:#17171a;border:1px solid #2C2C31}
.d7f-cry{background:#c9c8d4;color:#1d1b4c}
.d7f-cry .d7-feature-title h3{color:#1d1b4c}
.d7f-cry .d7-feature-tag{color:rgba(29,27,76,.8)}
.d7f-cry .d7-live-pill{border-color:rgba(29,27,76,.35);color:#1d1b4c}
.d7f-cry .d7-soon-pill{color:rgba(29,27,76,.78)}
.d7f-cry .d7-soon-pill i{background:rgba(29,27,76,.45)}
.d7f-cry .d7-guide-link{color:#1d1b4c}
.d7f-cry .d7-guide-link:hover{color:#a85a00}
.d7f-cry .d7-minis{background:rgba(29,27,76,.06);border-color:rgba(29,27,76,.14)}
.d7f-cry .d7-fact{color:#1d1b4c}
.d7f-cry .d7-fact-t{color:rgba(29,27,76,.58)}
.d7f-cry .d7-mini{background:rgba(29,27,76,.07);color:#1d1b4c}
.d7f-cry .d7-mini:hover{background:rgba(29,27,76,.13)}
.d7f-cry .d7-mini-p{color:rgba(29,27,76,.78)}
.d7f-cry .d7-mini .d7-up{color:#0f7a3d}.d7f-cry .d7-mini .d7-down{color:#b3372f}
/* Tools hub two-by-two cards (owner approval, 2026-11-05): on desktop
   only (above the 860px card breakpoint) the four Studio feature cards
   sit in a two-column grid; the name, description, button, and links
   blocks keep locked heights so they align across cards. The fact
   tiles first sized to their content (owner ruling, Nov 5), which
   left Analysis's tiles and card taller than the other three; the
   owner's later same-day ruling ("not same height. Should be exact
   same height.") supersedes that: the .tools2x2 rules in the desktop
   block below give all four cards exactly the same height and all
   eight tiles exactly the same height, the Finance construction.
   The approved even-length descriptions render in the grid block; the
   standard description and sliding strip stay in the markup and are
   what every other width (and the Finance hub) renders: phone
   presentation is unchanged. The static panel uses its own classes so
   the slide driver never picks it up. */
.d7-tag-grid,.d7-gridpanel{display:none}
/* The Finance two-by-two is a desktop form (owner ruling, 2026-11-05:
   mobile Finance unchanged). Its two paid cards exist only inside
   that grid: hidden at every other width, shown by the desktop rules
   in the two-by-two media block below. */
.fin2x2 .d7f-book,.fin2x2 .d7f-suite{display:none}
/* The Crypto card is light: its big numeral in bright orange fails
   contrast there, so on that card only it takes the house dark orange
   (owner defect report, Nov 5). Applies wherever the card's facts
   render: the desktop tiles and the sliding strip alike. */
.d7f-cry .d7-fact-n{color:#A85A00}
@media(min-width:861px){
  .t2x2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:28px;margin:0 0 28px}
  .t2x2 .d7-feature{margin:0;display:flex;flex-direction:column}
  .t2x2 .d7-feature-head{flex-direction:column;gap:14px}
  .t2x2 .d7-feature-side{align-items:flex-start}
  .t2x2 .d7-feature-links{justify-content:flex-start;height:22px;overflow:hidden}
  .t2x2 .d7-feature-title{height:34px;align-items:flex-start}
  .t2x2 .d7-tag-std{display:none}
  .t2x2 .d7-tag-grid{display:block;min-height:124px}
  .t2x2 .d7-minis{display:none}
  .t2x2 .d7-gridpanel{display:block;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:22px 26px}
  .t2x2 .d7f-cry .d7-gridpanel{background:rgba(29,27,76,.06);border-color:rgba(29,27,76,.14)}
  .t2x2 .d7-gridtrack{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .t2x2 .d7-gridtrack .d7-fact{width:auto;margin:0;background:rgba(255,255,255,.09);border-radius:10px;padding:14px}
  .t2x2 .d7f-cry .d7-gridtrack .d7-fact{background:rgba(29,27,76,.07)}
  /* Finance two-by-two (owner approval and rulings, 2026-11-05): the
     four cards carry exactly the same height and every fact tile the
     same height across the whole grid. The two product names wrap to
     two lines where the Studio names take one, so every card's title
     block locks to the two-line height (58.5px, measured) and the
     description block keeps its 124px lock: name, description,
     button, links, and panel then start at the same offset in all
     four cards. The rows take one uniform height (1fr, stretched) and
     the fact panel flexes to fill each card, so the panel heights
     land equal too; the tile track fills the panel, and inside a
     tile the label sits at the top and the value at the bottom
     (space-between), so a one-line value leaves no empty strip under
     it. The Book's two buy buttons ride in one row at the button
     slot's height. The Book's portrait cover is held whole in its
     name tile; the Suite's tile carries a square cover made for it. */
  .fin2x2{grid-auto-rows:1fr;align-items:stretch}
  .fin2x2 .d7f-book,.fin2x2 .d7f-suite{display:flex}
  .fin2x2 .d7-feature-title{height:auto;min-height:58.5px}
  .fin2x2 .d7f-book .d7-feature-name img{object-fit:contain}
  .fin2x2 .d7-gridpanel{flex:1;display:flex;flex-direction:column}
  .fin2x2 .d7-gridtrack{flex:1}
  .fin2x2 .d7-gridtrack .d7-fact{display:flex;flex-direction:column;justify-content:space-between;gap:8px}
  .fin2x2 .d7-buyrow{display:flex;gap:10px;flex-wrap:wrap}
  /* Tools two-by-two exact heights (owner ruling, 2026-11-05, from
     his side-by-side screenshots: "not same height. Should be exact
     same height."): the Finance construction above, scoped to the
     Tools grid. The rows take one uniform height (1fr, stretched), so
     all four cards match exactly across both rows; the fact panel
     flexes to fill each card and the tile track fills the panel, so
     all eight tiles match exactly at the tallest tile's height
     (Analysis's, whose free-use value wraps to two lines); inside a
     tile the label sits at the top and the value at the bottom
     (space-between), so a one-line value leaves no empty strip under
     it. The Studio names take one line each, so the 34px title lock
     above stands (Finance needed its two-line lock for the paid
     cards' longer names). */
  .tools2x2{grid-auto-rows:1fr;align-items:stretch}
  .tools2x2 .d7-gridpanel{flex:1;display:flex;flex-direction:column}
  .tools2x2 .d7-gridtrack{flex:1}
  .tools2x2 .d7-gridtrack .d7-fact{display:flex;flex-direction:column;justify-content:space-between;gap:8px}
  /* Tools hub two-column layout (2026-11-09): inside the hub's
     narrower left column the Studio names wrap to two lines, so
     the 34px one-line title lock would paint the second line over
     the tag. In the hub only, the title row may grow. */
  .hubmain .t2x2 .d7-feature-title{height:auto;min-height:34px}
  /* Tools hub (owner, 2026-11-09): the four Studio cards decreased
     by 10%. zoom shrinks layout and rendering together, so the
     grid takes 10% less room in both dimensions. */
  .hubmain .t2x2{zoom:.9}
  /* Tools hub (owner, 2026-11-05, from his screenshot of the gap):
     more room between the Studio cards and the "Free tools and
     calculators" heading. Measured gap before: 28px (the grid's
     bottom margin, the heading's top margin being 0); the heading's
     top margin now sets the collapsed gap to 58px. Desktop only;
     the phone stack is untouched. */
  h2.sect.tools-sect{margin-top:58px}
  /* Finance twin of the Tools rule (owner screenshot ruling,
     2026-11-05): the "Statistics for investors" heading sat 28px
     under the Book/Suite cards; its top margin now sets the same
     58px gap. Desktop only, like Tools; the phone stack is
     untouched. */
  h2.sect.fin-sect{margin-top:58px}
}
@media(max-width:860px){
  .d7-feature{padding:22px}
  .d7-feature-head{flex-direction:column;gap:14px;margin-bottom:18px}
  .d7-feature-name{gap:12px}
  .d7-feature-name img{width:52px;height:52px;padding:4px}
  .d7-feature-title h3{font-size:1.12rem}
  .d7-feature-tag{margin-top:5px}
  /* Row side is Daily 7 ONLY (2026-11-15 fix): the unscoped row put the
     long "Open X Studio" button beside the guide links on the Studios
     cards and blew them past the phone edge. Every other card keeps the
     base column side. */
  .d7f-d7 .d7-feature-side{flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px}
  .d7-feature-side .btn{padding:11px 16px;font-size:.95rem}
  .d7-feature-links{justify-content:flex-start}
  /* Two-column cards on phones (2026-11-15): the .t2x2 grid rules live
     in the min-width:861px block, so on phones these cards had no phone
     treatment at all — the scrolling facts strip showed mid-loop and
     the long tagline ran full length. Mirror the desktop treatment in
     one column: short tagline, facts as a 2-up grid. */
  .t2x2{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
  /* The head is a column flex whose items size to content, so the side
     took its max-content width (232px) and poked past the card. Stretch
     the head's children to the card width and cap the side at it. */
  .t2x2 .d7-feature-head{align-items:stretch}
  .t2x2 .d7-feature-side{align-items:stretch;min-width:0;max-width:100%}
  /* The studio cards sit inside nested wraps, so at 348px their content
     is only ~180px wide: the long CTA and the long guide link took their
     max-content width and poked 19px/32px past the card edge. Constrain
     both to the card and let them wrap. */
  .t2x2 .d7-feature-side .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.4}
  .t2x2 .d7-feature-links{max-width:100%}
  /* Guide links are nowrap site-wide; the long Valuation link is 232px
     in a 180px card, so let the studio cards' links wrap on phones. */
  .t2x2 .d7-guide-link{white-space:normal}
  .t2x2 .d7-feature-links{height:auto}
  .t2x2 .d7-tag-std{display:none}
  .t2x2 .d7-tag-grid{display:block;min-height:0}
  .t2x2 .d7-minis{display:none}
  .t2x2 .d7-gridpanel{display:block;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:18px 20px}
  .t2x2 .d7f-cry .d7-gridpanel{background:rgba(29,27,76,.06);border-color:rgba(29,27,76,.14)}
  .t2x2 .d7-gridtrack{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .t2x2 .d7-gridtrack .d7-fact{width:auto;margin:0;background:rgba(255,255,255,.09);border-radius:10px;padding:14px}
  .t2x2 .d7f-cry .d7-gridtrack .d7-fact{background:rgba(29,27,76,.07)}
  /* Studios cards too narrow on phones (2026-11-15): the page nests
     two 32px wraps (page .wrap.wrap-wide + section .wrap.wide), so at
     390px the cards were 262px (67%). Cut the outer wrap to 16px on
     this page only and drop the inner wrap's padding, leaving 16px
     gutters: cards span ~92% at 390, ~91% at 360/348. The hero's wrap
     takes the same 16px so its text stays on the cards' edge. Scoped
     to the Studios page (body class + section class); the .wrap and
     .wrap-wide defaults — and every other page — do not move. */
  body.pg-studios .wrap.wrap-wide{padding-left:16px;padding-right:16px}
  body.pg-studios .hero.page .wrap{padding-left:16px;padding-right:16px}
  .studios-hub>.wrap.wide{padding-left:0;padding-right:0}
  .d7-minis{padding:18px 20px}
  .d7-fact{width:150px;margin-right:26px}
  .d7-fact-wide{width:236px}
  .d7-fact-num{width:84px}
  .d7-fact-t{white-space:normal}
  .d7-fact-p{font-size:.9rem}
  .d7-fact-n{font-size:.9rem}
  .d7-track .d7-mini{flex-basis:132px}
}
@media (prefers-reduced-motion: reduce){
  .d7-track .d7-dup{display:none}
}
@media(max-width:640px){.d7-rows{grid-template-columns:minmax(0, 1fr)}.d7-price{text-align:left}.d7-hub{flex-direction:column;align-items:flex-start}.d7-feature{padding:18px 20px}.d7-feature-side{gap:10px}.d7-feature-side .btn{padding:10px 12px;font-size:.85rem}.d7-guide-link{font-size:.9rem}}
/* Statistical Tables library and Statistical Calculators suite
   (2026-11-11): ported from the verified package prototypes with the
   measured values kept (grid #8A8F98, header band #14181D, cell
   padding 6px 10px, rail 300px). Scoped under .stlib so no house
   class moves. */
.stlib{--stink:#1C2733;--storg:#F29B26;--sthair:#D8DCE1;--stgrid:#8A8F98;--stband:#5C646D;--stwash:rgba(242,155,38,.16);--stwash2:rgba(242,155,38,.40);--stgrey:#5A6572;color:var(--stink)}
.stlib h1{font-size:34px;line-height:1.2;margin:28px 0 12px}
.stlib h2{font-size:24px;margin:40px 0 8px}
.stlib h3{font-size:19px;margin:28px 0 6px}
.stlib .lede{font-size:18px;max-width:46rem}
.stlib .crumb{margin-top:20px;font-size:15px}
.stlib a{color:var(--stink);text-decoration-color:var(--storg);text-underline-offset:3px}
.stlib a:focus-visible,.stlib button:focus-visible,.stlib input:focus-visible,.stlib select:focus-visible,.stlib textarea:focus-visible{outline:3px solid var(--storg);outline-offset:2px}
.stlib .twrap{overflow-x:auto;margin:14px 0 8px}
.stlib table.stat{border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.45;min-width:100%}
.stlib table.stat caption{caption-side:top;text-align:left;font-weight:700;font-size:17px;color:var(--stink);padding:0 0 8px}
.stlib table.stat th,.stlib table.stat td{border:1px solid var(--stgrid);padding:6px 10px;text-align:center;white-space:nowrap}
.stlib table.stat thead th{background:var(--stband);color:#fff;font-weight:700}
.stlib table.stat thead th small{display:block;font-weight:600;font-size:12.5px;color:#C9D1D9}
.stlib table.stat td:first-child{text-align:left;font-weight:600}
.stlib tr.hl td,.stlib tr.hl th{background:var(--stwash)}
.stlib td.hlc{background:var(--stwash2);font-weight:700}
.stlib table.mini{min-width:0}
.stlib table.mini .hlrow td,.stlib table.mini .hlrow th{background:var(--stwash)}
.stlib table.mini td.hlcol,.stlib table.mini th.hlcol{background:var(--stwash)}
.stlib table.mini td.meet{background:var(--stwash2);font-weight:700}
.stlib .finder{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;border:1px solid var(--sthair);border-radius:10px;padding:16px;margin:18px 0}
.stlib .finder label{font-weight:600;display:block;margin-bottom:4px}
.stlib .finder input,.stlib .finder select{height:44px;font-size:16px;padding:0 10px;border:1px solid var(--stgrid);border-radius:6px;width:180px;font-family:inherit;background:#fff;color:var(--stink)}
.stlib .finder button{height:44px;padding:0 18px;font-size:16px;font-weight:600;background:var(--storg);color:var(--stink);border:0;border-radius:6px;cursor:pointer}
.stlib .finder .msg{flex-basis:100%;margin:2px 0 0;color:var(--stgrey);font-size:15px}
.stlib .example{border:1px solid var(--sthair);border-left:4px solid var(--storg);border-radius:8px;padding:16px 18px;margin:20px 0}
.stlib .example h3{margin-top:0}
.stlib .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 6px}
.stlib .card{border:1px solid var(--sthair);border-radius:10px;padding:14px 16px}
.stlib a.card{display:block;text-decoration:none}
.stlib .card .ct{font-weight:700;font-size:17px;text-decoration:underline;text-decoration-color:var(--storg);text-underline-offset:3px}
.stlib .card p{margin:6px 0 0;font-size:15px;color:var(--stgrey)}
.stlib .rel{border-top:1px solid var(--sthair);margin-top:36px;padding-top:14px}
.stlib .rel a{margin-right:18px}
.stlib .method{color:var(--stgrey);font-size:14.5px;border-top:1px solid var(--sthair);margin-top:30px;padding-top:12px}
.stlib .dl{display:inline-block;margin:8px 0;font-weight:600}
.stlib .layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.stlib .main{grid-column:1;grid-row:1;min-width:0}
.stlib .rail{grid-column:2;grid-row:1}
.stlib aside.rail{position:sticky;top:16px}
.stlib .railcard{border:1px solid var(--sthair);border-radius:10px;padding:16px 18px;margin-bottom:16px}
.stlib .railcard h2{font-size:19px;margin:0 0 6px}
.stlib .railcard p{margin:6px 0;font-size:15px}
.stlib .railcard a{display:block;padding:3px 0;font-weight:600}
.stlib .calc{border:1px solid var(--sthair);border-radius:10px;padding:16px 18px}
.stlib .main .calc{padding:18px 20px}
.stlib .calc h2{font-size:19px;margin:0 0 4px}
.stlib .main .calc h2{font-size:21px}
.stlib .calc label{font-weight:600;display:block;margin:12px 0 4px;font-size:15px}
.stlib .calc input,.stlib .calc select,.stlib .calc textarea{height:44px;font-size:16px;padding:0 10px;border:1px solid var(--stgrid);border-radius:6px;width:100%;font-family:inherit;background:#fff;color:var(--stink)}
.stlib .calc textarea{height:auto;min-height:96px;padding:8px 10px;line-height:1.5}
.stlib .calc button{height:44px;width:100%;margin-top:14px;padding:0 18px;font-size:16px;font-weight:600;background:var(--storg);color:var(--stink);border:0;border-radius:6px;cursor:pointer}
.stlib .main .calc button{width:auto;padding:0 22px}
.stlib .cgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.stlib .calc [data-out]{margin-top:6px}
.stlib .main .calc [data-out]{margin-top:8px}
.stlib .calc .crow{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid var(--sthair);font-size:15px}
.stlib .calc .crow:last-of-type{border-bottom:0}
.stlib .calc .cerr{color:#9C2B12;font-size:15px;margin:10px 0 0}
.stlib .calc .cerr:empty{margin:0}
.stlib .calc .cnote{font-size:14px;color:var(--stgrey);margin:12px 0 0}
.stlib .calc .cconcl{font-size:16px;border-top:1px solid var(--sthair);margin:12px 0 0;padding-top:12px}
.stlib .calc .cwarn{border:1px solid var(--sthair);border-left:4px solid var(--storg);border-radius:6px;padding:10px 12px;font-size:14.5px;margin:12px 0 0}
.stlib .outwrap{overflow-x:auto}
@media (max-width:900px){.stlib .layout{grid-template-columns:minmax(0,1fr)}.stlib .main,.stlib .rail{grid-column:1;grid-row:auto}.stlib aside.rail{position:static}.stlib .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.stlib h1{font-size:28px}.stlib table.stat{font-size:14px}.stlib .cards{grid-template-columns:minmax(0,1fr)}.stlib .cgrid{grid-template-columns:minmax(0,1fr)}}
/* Suite hubs (owner, 2026-11-17): the Statistical Tables and
   Statistical Calculators hubs follow the Elections hub design
   language — sticky jump bar, 7/5 editorial hero with a ledger,
   numbered sections, feature card. Scoped under .stlib.sh-hub so
   the 25 child pages never move. Terracotta is the literal #C2591C
   (the site stylesheet has no --terra var; the Elections frame
   defines its own). The jump bar bleeds to the viewport edges
   (the wrap's padding is 32px at every width), and sticks under
   the 70px site header (65px on phones). */
.stlib.sh-hub .sh-jump{position:sticky;top:70px;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);margin:0 -32px;padding:0 32px}
.stlib.sh-hub .sh-jump-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.stlib.sh-hub .sh-jump-in::-webkit-scrollbar{display:none}
.stlib.sh-hub .sh-jump a{flex:0 0 auto;display:flex;align-items:center;gap:7px;padding:11px 10px;font-size:.8rem;font-weight:600;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.stlib.sh-hub .sh-jump a span{font-size:.68rem;font-weight:700;color:#C2591C;letter-spacing:.04em}
.stlib.sh-hub .sh-jump a:hover{color:var(--ink)}
.stlib.sh-hub .sh-jump a.is-active{color:var(--ink);border-bottom-color:var(--orange)}
.stlib.sh-hub .sh-section{scroll-margin-top:124px;margin-top:56px}
.stlib.sh-hub .sh-sec-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#C2591C;margin:0 0 6px}
.stlib.sh-hub .sh-section>h2{margin-top:0}
.stlib.sh-hub .sh-sec-intro{color:var(--stgrey);max-width:70ch;margin:0 0 22px}
.stlib.sh-hub .sh-hero{padding:8px 0 0}
.stlib.sh-hub .sh-hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:44px;align-items:start}
.stlib.sh-hub .sh-hero-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px}
.stlib.sh-hub .sh-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#C2591C;margin:0}
.stlib.sh-hub .sh-badge{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:#fff}
.stlib.sh-hub .sh-hero h1{margin:0 0 14px;font-size:clamp(1.8rem,4vw,2.3rem)}
.stlib.sh-hub .sh-pills{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px}
.stlib.sh-hub .sh-pills-label{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.stlib.sh-hub .sh-pill{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-size:.85rem;font-weight:600;color:var(--ink);background:#fff;text-decoration:none}
.stlib.sh-hub .sh-pill:hover{border-color:var(--ink)}
.stlib.sh-hub .sh-pill b{color:#C2591C;font-weight:700}
.stlib.sh-hub .sh-ledger{border:1px solid var(--line);border-top:2px solid var(--ink);border-radius:12px;background:#fff;overflow:hidden}
.stlib.sh-hub .sh-ledger-head{padding:13px 16px;border-bottom:1px solid var(--line);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.stlib.sh-hub .sh-ledger-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.stlib.sh-hub .sh-ledger-cell{padding:14px 16px;border-bottom:1px solid var(--line)}
.stlib.sh-hub .sh-ledger-cell:nth-child(odd){border-right:1px solid var(--line)}
.stlib.sh-hub .sh-ledger-cell:nth-child(3),.stlib.sh-hub .sh-ledger-cell:nth-child(4){border-bottom:0}
.stlib.sh-hub .sh-l-label{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.stlib.sh-hub .sh-l-value{font-family:"Space Grotesk",Inter,system-ui,sans-serif;font-size:1.25rem;font-weight:600;line-height:1.15}
.stlib.sh-hub .sh-l-sub{font-size:.8rem;color:var(--muted);margin-top:3px}
.stlib.sh-hub .sh-ledger-foot{padding:12px 16px;border-top:1px solid var(--line);display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.stlib.sh-hub .sh-ec{margin-top:44px;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:12px;background:#fff;padding:20px 22px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
.stlib.sh-hub .sh-ec h3{margin:0;font-size:1.15rem}
.stlib.sh-hub .sh-ec p{margin:4px 0 0;color:var(--muted);max-width:62ch}
.stlib.sh-hub .sh-ec-link{margin-left:auto;font-weight:700;white-space:nowrap}
@media (max-width:860px){.stlib.sh-hub .sh-jump{top:65px}}
@media (max-width:1000px){.stlib.sh-hub .sh-hero-grid{grid-template-columns:minmax(0,1fr);gap:28px}}
/* Studios directory (owner-supplied design, 2026-11-17): the /studios/
   page rebuilt to the supplied directory design. Scoped to
   body.pg-studios throughout; nothing here touches any other page.
   Translations from the supplied file, applied silently: the file's
   Plus Jakarta Sans / IBM Plex Mono (Google Fonts) and Tailwind CDN
   are NOT adopted — Space Grotesk (display/numerals) and Inter
   (body) govern, with the file's mono labels as Inter 600 uppercase
   with letter-spacing; the file's standalone header/footer are NOT
   carried over (the site frame governs); the matrix header band is
   Gray 2 #5C646D per the standing table rule (the file's white
   header is not copied). The file's surface toggle lives in the
   filter row. The Inspect button gets a light-mode rule the file
   omits (without it the button is white-on-white when the light
   surface is on). */
body.pg-studios{background:#fff}
/* Width round (owner, 2026-11-17): the page was widened to 1240px for the
   comparison matrix; the matrix is tightened below so the page sits on
   the standard 1120px wrap like the rest of the site. */
body.pg-studios .wrap.wrap-wide{max-width:1120px}
/* Hero */
body.pg-studios .st-hero{padding:40px 0 32px;border-bottom:1px solid #E2E8F0}
body.pg-studios .st-hero-in{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
body.pg-studios .st-hero-text{max-width:640px}
body.pg-studios .st-kicker{font-family:Inter,sans-serif;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:#B45309;margin-bottom:10px}
body.pg-studios .st-kicker .st-dot{margin:0 6px;color:#CBD5E1}
body.pg-studios .st-hero h1{font-family:'Space Grotesk',Inter,sans-serif;font-size:42px;font-weight:800;letter-spacing:-.02em;line-height:1.12;color:#0F172A;margin:0}
body.pg-studios .st-hero p.st-intro{margin:12px 0 0;font-family:Inter,sans-serif;font-size:18px;line-height:1.6;color:#475569}
body.pg-studios .st-telemetry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:none}
body.pg-studios .st-tele{padding:10px 14px;border:1px solid #E2E8F0;border-radius:12px;background:#fff}
body.pg-studios .st-tele-t{display:block;font-family:Inter,sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#94A3B8}
body.pg-studios .st-tele-v{display:block;font-family:'Space Grotesk',Inter,sans-serif;font-size:18px;font-weight:600;color:#0F172A;margin-top:2px;white-space:nowrap}
body.pg-studios .st-tele-v.st-green{color:#047857}
/* Filter + search controls */
body.pg-studios .st-controls{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:16px}
body.pg-studios .st-pills{display:flex;gap:6px;overflow-x:auto;padding-bottom:1px}
body.pg-studios .st-pill{flex:none;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:10px 14px;border-radius:8px;border:1px solid #E2E8F0;background:#fff;color:#475569;cursor:pointer;white-space:nowrap}
body.pg-studios .st-pill:hover{border-color:#CBD5E1;color:#0F172A}
body.pg-studios .st-pill.on{background:#0F172A;border-color:#0F172A;color:#fff}
body.pg-studios .st-search-group{display:flex;align-items:center;gap:8px;flex:none}
body.pg-studios .st-search{position:relative;width:288px}
body.pg-studios .st-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#94A3B8;pointer-events:none}
body.pg-studios .st-search input{width:100%;padding:9px 32px 9px 36px;font-family:Inter,sans-serif;font-size:12px;color:#0F172A;background:#fff;border:1px solid #E2E8F0;border-radius:8px}
body.pg-studios .st-search input::placeholder{color:#94A3B8}
body.pg-studios .st-search input:focus{outline:none;border-color:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.15)}
body.pg-studios .st-clear{display:none;position:absolute;right:10px;top:50%;transform:translateY(-50%);font-family:Inter,sans-serif;font-size:11px;font-weight:600;color:#94A3B8;background:none;border:0;cursor:pointer;padding:2px}
body.pg-studios .st-clear:hover{color:#475569}
body.pg-studios .st-clear.show{display:block}
body.pg-studios .st-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;padding:0;border-radius:8px;border:1px solid #E2E8F0;background:#fff;cursor:pointer}
body.pg-studios .st-toggle:hover{background:#F8FAFC}
body.pg-studios .st-toggle:focus-visible{outline:2px solid #F59E0B;outline-offset:2px}
body.pg-studios .st-toggle svg{width:16px;height:16px;color:#F59E0B}
body.pg-studios.light-cards-mode .st-toggle{background:#FFFBEB;border-color:#F59E0B}
/* Studio cards */
body.pg-studios .st-grid{margin-top:28px;padding-bottom:64px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:stretch}
body.pg-studios .studio-card{border-radius:22px;padding:32px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .24s cubic-bezier(.16,1,.3,1),box-shadow .24s cubic-bezier(.16,1,.3,1),border-color .2s ease}
body.pg-studios .studio-card:hover{transform:translateY(-4px)}
body.pg-studios .st-card-head{display:flex;align-items:flex-start;gap:20px}
body.pg-studios .st-icon{width:68px;height:68px;flex:none;border-radius:16px;background:#fff;padding:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center}
body.pg-studios .st-icon-in{width:100%;height:100%;border-radius:11px;background:#0B0D13;display:flex;align-items:center;justify-content:center}
body.pg-studios .st-icon-in svg{width:40px;height:40px}
body.pg-studios .st-card-id{flex:1;min-width:0;padding-top:2px}
body.pg-studios .st-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body.pg-studios .card-title{font-family:'Space Grotesk',Inter,sans-serif;font-size:23px;font-weight:700;letter-spacing:-.01em;line-height:1.25;color:#fff;margin:0}
body.pg-studios .live-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-family:Inter,sans-serif;font-size:12px;font-weight:500;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);color:#fff;white-space:nowrap}
body.pg-studios .live-pill i{width:8px;height:8px;border-radius:50%;background:#34D399;flex:none}
body.pg-studios .cat-pill{display:block;margin-top:6px;font-family:Inter,sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#FBBF24}
body.pg-studios .card-desc{margin:20px 0 0;font-family:Inter,sans-serif;font-size:15.5px;line-height:1.65;color:#CBD5E1}
body.pg-studios .st-card-bottom{margin-top:28px;display:flex;flex-direction:column;gap:20px}
body.pg-studios .st-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* The CTA is inline-block, not the design's inline-flex: the build's
   brand protector wraps the studio name in a notranslate span, and
   inside a flex container the space between "Open" and that span
   collapses, rendering "OpenStock". Inline-block keeps the space. */
body.pg-studios .btn-amber{display:inline-block;text-align:center;padding:12px 20px;border-radius:11px;font-family:Inter,sans-serif;font-size:14px;font-weight:700;color:#111318;background:linear-gradient(180deg,#EDA032 0%,#E59524 100%);box-shadow:0 2px 6px rgba(229,149,36,.28),inset 0 1px 0 rgba(255,255,255,.35);text-decoration:none;transition:all .18s ease}
body.pg-studios .btn-amber:hover{background:linear-gradient(180deg,#F5AB40 0%,#EB9C2B 100%);transform:translateY(-1px);box-shadow:0 6px 16px rgba(229,149,36,.4),inset 0 1px 0 rgba(255,255,255,.45);color:#111318}
body.pg-studios .btn-amber:active{transform:translateY(0)}
body.pg-studios .st-inspect{padding:12px 14px;border-radius:11px;font-family:Inter,sans-serif;font-size:12px;font-weight:600;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.04);color:#E2E8F0;cursor:pointer;transition:background-color .15s ease}
body.pg-studios .st-inspect:hover{background:rgba(255,255,255,.1)}
body.pg-studios .st-doclinks{display:flex;flex-wrap:wrap;gap:8px 20px}
body.pg-studios .doc-link{display:inline-flex;align-items:center;gap:4px;font-family:Inter,sans-serif;font-size:13.5px;font-weight:700;color:#fff;text-decoration:none;transition:color .15s ease}
body.pg-studios .doc-link:hover{color:#FBBF24}
body.pg-studios .doc-link .arrow{display:inline-block;transition:transform .18s ease}
body.pg-studios .doc-link:hover .arrow{transform:translateX(3px)}
body.pg-studios .spec-tray{border-radius:15px;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
body.pg-studios .spec-box{border-radius:11px;padding:14px;min-height:82px;display:flex;flex-direction:column;justify-content:space-between}
body.pg-studios .spec-label{font-family:Inter,sans-serif;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#94A3B8}
body.pg-studios .spec-val-primary{font-family:Inter,sans-serif;font-size:14.5px;font-weight:700;color:#fff;margin-top:8px}
body.pg-studios .spec-num{font-family:'Space Grotesk',Inter,sans-serif;font-size:16px;font-weight:700;margin-top:8px}
/* Card themes (exact supplied values) */
body.pg-studios .theme-stock{background:radial-gradient(120% 100% at 100% 0%,#232733 0%,#14161B 55%,#101216 100%);border:1px solid #262934;box-shadow:0 20px 40px -15px rgba(16,18,22,.22),inset 0 1px 0 rgba(255,255,255,.08);color:#F8FAFC}
body.pg-studios .theme-stock:hover{border-color:rgba(229,149,36,.55);box-shadow:0 26px 50px -12px rgba(16,18,22,.32),0 0 0 1px rgba(229,149,36,.25)}
body.pg-studios .theme-stock .spec-tray{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
body.pg-studios .theme-stock .spec-box{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07)}
body.pg-studios .theme-analysis{background:radial-gradient(120% 100% at 100% 0%,#3E304E 0%,#2C2237 55%,#231B2C 100%);border:1px solid #413352;box-shadow:0 20px 40px -15px rgba(35,27,44,.22),inset 0 1px 0 rgba(255,255,255,.08);color:#F8FAFC}
body.pg-studios .theme-analysis:hover{border-color:rgba(229,149,36,.55);box-shadow:0 26px 50px -12px rgba(35,27,44,.32),0 0 0 1px rgba(229,149,36,.25)}
body.pg-studios .theme-analysis .spec-tray{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09)}
body.pg-studios .theme-analysis .spec-box{background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.08)}
body.pg-studios .theme-analysis .card-desc{color:rgba(226,232,240,.9)}
body.pg-studios .theme-analysis .spec-label{color:rgba(226,232,240,.75)}
body.pg-studios .theme-analysis .spec-num{color:#F59E0B}
body.pg-studios .theme-sae{background:radial-gradient(120% 100% at 100% 0%,#252C5A 0%,#171B3A 55%,#12152E 100%);border:1px solid #2A3163;box-shadow:0 20px 40px -15px rgba(18,21,46,.22),inset 0 1px 0 rgba(255,255,255,.08);color:#F8FAFC}
body.pg-studios .theme-sae:hover{border-color:rgba(229,149,36,.55);box-shadow:0 26px 50px -12px rgba(18,21,46,.32),0 0 0 1px rgba(229,149,36,.25)}
body.pg-studios .theme-sae .spec-tray{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
body.pg-studios .theme-sae .spec-box{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
body.pg-studios .theme-sae .card-desc{color:rgba(226,232,240,.9)}
body.pg-studios .theme-sae .spec-label{color:rgba(226,232,240,.75)}
body.pg-studios .theme-crypto{background:linear-gradient(145deg,#D5D8E2 0%,#C8CCD8 60%,#BFC4D2 100%);border:1px solid #B2B8C8;box-shadow:0 20px 40px -15px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.65);color:#161E31}
body.pg-studios .theme-crypto:hover{border-color:#E59524;box-shadow:0 26px 50px -12px rgba(15,23,42,.2),0 0 0 1px rgba(229,149,36,.35)}
body.pg-studios .theme-crypto .spec-tray{background:rgba(15,23,42,.045);border:1px solid rgba(15,23,42,.11)}
body.pg-studios .theme-crypto .spec-box{background:rgba(15,23,42,.055);border:1px solid rgba(15,23,42,.08)}
body.pg-studios .theme-crypto .card-title{color:#182038}
body.pg-studios .theme-crypto .live-pill{background:rgba(15,23,42,.06);border-color:rgba(15,23,42,.2);color:#182038;font-weight:600}
body.pg-studios .theme-crypto .live-pill i{background:#059669}
body.pg-studios .theme-crypto .cat-pill{color:#334155}
body.pg-studios .theme-crypto .card-desc{color:#252F48}
body.pg-studios .theme-crypto .doc-link{color:#182038}
body.pg-studios .theme-crypto .doc-link:hover{color:#B45309}
body.pg-studios .theme-crypto .st-inspect{border-color:rgba(15,23,42,.15);background:rgba(255,255,255,.4);color:#182038}
body.pg-studios .theme-crypto .st-inspect:hover{background:rgba(255,255,255,.7)}
body.pg-studios .theme-crypto .spec-label{color:#64748B}
body.pg-studios .theme-crypto .spec-val-primary{color:#182038}
body.pg-studios .theme-crypto .spec-num{color:#B86600}
/* High-contrast light cards (surface toggle) */
body.pg-studios.light-cards-mode .studio-card{background:#fff;border:1.5px solid #E2E8F0;color:#0F172A;box-shadow:0 12px 32px -10px rgba(15,23,42,.07)}
body.pg-studios.light-cards-mode .studio-card:hover{border-color:#E59524;box-shadow:0 20px 40px -12px rgba(15,23,42,.12)}
body.pg-studios.light-cards-mode .studio-card .card-title,body.pg-studios.light-cards-mode .studio-card .doc-link,body.pg-studios.light-cards-mode .studio-card .spec-val-primary{color:#0F172A}
body.pg-studios.light-cards-mode .studio-card .card-desc{color:#334155}
body.pg-studios.light-cards-mode .studio-card .spec-tray{background:#F8FAFC;border:1px solid #E2E8F0}
body.pg-studios.light-cards-mode .studio-card .spec-box{background:#fff;border:1px solid #E2E8F0}
body.pg-studios.light-cards-mode .studio-card .spec-label{color:#64748B}
body.pg-studios.light-cards-mode .studio-card .live-pill{background:#F1F5F9;border-color:#CBD5E1;color:#0F172A}
body.pg-studios.light-cards-mode .studio-card .cat-pill{background:#FFFBEB;color:#B45309;border:1px solid #FDE68A;padding:2px 8px;border-radius:6px}
body.pg-studios.light-cards-mode .studio-card .st-inspect{border-color:#CBD5E1;background:#fff;color:#0F172A}
body.pg-studios.light-cards-mode .studio-card .st-inspect:hover{background:#F8FAFC}
/* Empty filter state */
body.pg-studios .st-empty{display:none;padding:64px 16px;text-align:center;border:1px dashed #E2E8F0;border-radius:16px;background:#fff;margin-top:28px}
body.pg-studios .st-empty.show{display:block}
body.pg-studios .st-empty p{margin:0;font-family:Inter,sans-serif;font-size:16px;font-weight:600;color:#1E293B}
body.pg-studios .st-empty p+p{margin-top:4px;font-size:12px;font-weight:400;color:#64748B}
body.pg-studios .st-empty button{margin-top:16px;padding:8px 16px;border-radius:8px;border:0;background:#0F172A;color:#fff;font-family:Inter,sans-serif;font-size:12px;font-weight:600;cursor:pointer}
body.pg-studios .st-empty button:hover{background:#1E293B}
body.pg-studios .st-hide{display:none}
/* Comparison matrix */
body.pg-studios .st-matrix{margin-top:0;border-top:1px solid #E2E8F0;padding:56px 0 64px}
body.pg-studios .st-matrix-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px}
body.pg-studios .st-matrix h2{font-family:'Space Grotesk',Inter,sans-serif;font-size:30px;font-weight:800;letter-spacing:-.02em;color:#0F172A;margin:4px 0 0}
body.pg-studios .st-matrix-note{font-family:Inter,sans-serif;font-size:14px;color:#64748B;max-width:420px;margin:0}
body.pg-studios .st-table-wrap{overflow-x:auto;border:1px solid #E2E8F0;border-radius:16px;background:#fff}
body.pg-studios .st-matrix table{width:100%;border-collapse:collapse;text-align:left;font-family:Inter,sans-serif}
/* Width round (owner, 2026-11-17): cell padding 20px -> 12px and headers
   allowed to wrap, so the matrix fits the 1056px standard-wrap content
   width with no horizontal scroll. Studio names and Launch stay nowrap. */
body.pg-studios .st-matrix th{background:#5C646D;color:#fff;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:16px 12px}
body.pg-studios .st-matrix td{padding:16px 12px;font-size:14px;color:#475569;border-top:1px solid #E2E8F0;vertical-align:middle}
body.pg-studios .st-matrix tbody tr:first-child td{border-top:0}
body.pg-studios .st-matrix tbody tr:hover{background:#F8FAFC}
body.pg-studios .st-matrix .st-m-studio{font-weight:700;color:#0F172A;white-space:nowrap}
body.pg-studios .st-matrix .st-m-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:10px;vertical-align:baseline}
body.pg-studios .st-matrix .st-m-mono{font-size:12px;font-weight:600;color:#1E293B}
body.pg-studios .st-chip{display:inline-flex;align-items:center;padding:2px 10px;border-radius:6px;font-size:12px;font-weight:600}
body.pg-studios .st-chip-green{background:#ECFDF5;color:#065F46;border:1px solid #A7F3D0}
body.pg-studios .st-chip-amber{background:#FFFBEB;color:#92400E;border:1px solid #FDE68A}
body.pg-studios .st-chip-blue{background:#EFF6FF;color:#1E40AF;border:1px solid #BFDBFE}
body.pg-studios .st-launch{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#B45309;text-decoration:none;white-space:nowrap}
body.pg-studios .st-launch:hover{color:#92400E}
/* Spec modal */
body.pg-studios .st-modal{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,42,.6)}
body.pg-studios .st-modal.open{display:flex}
body.pg-studios .st-modal-box{background:#fff;border:1px solid #E2E8F0;border-radius:16px;max-width:512px;width:100%;padding:24px;box-shadow:0 25px 50px rgba(0,0,0,.25);font-family:Inter,sans-serif}
body.pg-studios .st-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #E2E8F0;padding-bottom:16px}
body.pg-studios .st-modal-tag{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#B45309}
body.pg-studios .st-modal-box h3{font-family:'Space Grotesk',Inter,sans-serif;font-size:20px;font-weight:800;color:#0F172A;margin:2px 0 0}
body.pg-studios .st-modal-x{padding:6px;border-radius:8px;border:0;background:none;color:#94A3B8;cursor:pointer;line-height:0}
body.pg-studios .st-modal-x:hover{background:#F1F5F9;color:#334155}
body.pg-studios .st-modal-x svg{width:20px;height:20px}
body.pg-studios .st-modal-body{padding:16px 0;font-size:14px;line-height:1.6;color:#475569}
body.pg-studios .st-modal-body ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
body.pg-studios .st-modal-body li{display:flex;align-items:flex-start;gap:10px}
body.pg-studios .st-modal-body li i{width:6px;height:6px;border-radius:50%;background:#F59E0B;flex:none;margin-top:8px}
body.pg-studios .st-modal-foot{border-top:1px solid #E2E8F0;padding-top:16px;display:flex;justify-content:flex-end;gap:12px}
body.pg-studios .st-modal-close{padding:8px 16px;border-radius:8px;border:1px solid #E2E8F0;background:#fff;font-family:Inter,sans-serif;font-size:12px;font-weight:600;color:#334155;cursor:pointer}
body.pg-studios .st-modal-close:hover{background:#F8FAFC}
body.pg-studios .st-modal-open{padding:8px 16px;font-size:12px}
@media (max-width:1023px){
  body.pg-studios .st-grid{grid-template-columns:minmax(0,1fr)}
  body.pg-studios .st-hero-in{flex-direction:column;align-items:flex-start}
  body.pg-studios .st-telemetry{width:100%}
}
@media (max-width:640px){
  body.pg-studios .st-hero{padding:32px 0 24px}
  body.pg-studios .st-hero h1{font-size:30px}
  body.pg-studios .st-hero p.st-intro{font-size:16px}
  body.pg-studios .st-controls{flex-direction:column;align-items:stretch}
  body.pg-studios .st-search-group{flex-wrap:nowrap}
  body.pg-studios .st-search{flex:1 1 auto;min-width:0;width:auto}
  body.pg-studios .studio-card{padding:24px}
  body.pg-studios .card-title{font-size:20px}
  body.pg-studios .spec-tray{grid-template-columns:minmax(0,1fr)}
  body.pg-studios .st-matrix{padding:40px 0 48px}
  body.pg-studios .st-matrix-head{flex-direction:column;align-items:flex-start}
  body.pg-studios .st-matrix h2{font-size:24px}
}
