/* ==========================================================================
   Feron Security — shared brand layer
   One header, one footer, one type system and the matrix/scramble hover,
   loaded last on every page so it wins over per-page styles.
   ========================================================================== */
:root {
  --fx-bg: #06070a;
  --fx-bg-2: #0b0c11;
  --fx-panel: #0f1016;
  --fx-fg: #edeef2;
  --fx-grey: #8a8f9c;
  --fx-dim: #5d616c;
  --fx-line: rgba(255, 255, 255, .08);
  --fx-line-2: rgba(255, 255, 255, .14);
  --fx-indigo: #5b63ff;
  --fx-violet: #8b6cff;
  --fx-mag: #e0457b;
  --fx-grad: linear-gradient(100deg, #5b63ff 0%, #8b6cff 55%, #e0457b 100%);
  --fx-grad-text: linear-gradient(100deg, #c9ccff 0%, #8b6cff 45%, #5b63ff 100%);
  --fx-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fx-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fx-ease: cubic-bezier(.22, 1, .36, 1);
  --fx-max: 1240px;
  --fx-gut: clamp(16px, 3vw, 32px);
  --fx-head-h: 64px;
  /* one type family across every page (hark.css + the per-page --x-head) */
  --sans: var(--fx-sans);
}

html { background: var(--fx-bg); scroll-padding-top: calc(var(--fx-head-h) + 24px); }
body { background: var(--fx-bg); color: var(--fx-fg); font-family: var(--fx-sans); text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(91, 99, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--fx-indigo); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2a2c36 var(--fx-bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--fx-bg); }
::-webkit-scrollbar-thumb { background: #22242d; border-radius: 10px; border: 2px solid var(--fx-bg); }
::-webkit-scrollbar-thumb:hover { background: #343744; }

/* the per-page navigations and footers this layer replaces */
.fx-legacy { display: none !important; }

.fx-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; border-radius: 8px; background: var(--fx-fg); color: var(--fx-bg); font: 500 14px var(--fx-sans); text-decoration: none; transition: top .2s var(--fx-ease); }
.fx-skip:focus { top: 12px; }

.fx-wrap { width: 100%; max-width: var(--fx-max); margin-inline: auto; padding-inline: var(--fx-gut); }
.fx-mono { font: 400 12px/1.5 var(--fx-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--fx-grey); }

/* ---------- buttons ---------- */
.fx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--fx-line-2); background: rgba(255, 255, 255, .03); color: var(--fx-fg); font: 500 14px/1 var(--fx-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .2s var(--fx-ease), background .2s var(--fx-ease), box-shadow .2s var(--fx-ease), transform .2s var(--fx-ease); }
.fx-btn:hover { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.fx-btn--fill { border-color: transparent; background: var(--fx-fg); color: #07080b; }
.fx-btn--fill:hover { background: #fff; box-shadow: 0 0 0 4px rgba(91, 99, 255, .18), 0 8px 30px rgba(91, 99, 255, .35); }
.fx-btn--brand { border-color: rgba(139, 108, 255, .5); background: linear-gradient(180deg, rgba(110, 104, 255, .95), rgba(91, 99, 255, .95)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 24px rgba(91, 99, 255, .35); }
.fx-btn--brand:hover { background: linear-gradient(180deg, #7b74ff, #6168ff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 34px rgba(91, 99, 255, .5); }
.fx-btn--lg { min-height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.fx-btn .fx-arrow { transition: transform .2s var(--fx-ease); }
.fx-btn:hover .fx-arrow { transform: translateX(3px); }

/* ---------- announcement ---------- */
.fx-bar { position: relative; z-index: 61; display: block; padding: 9px 16px; text-align: center; border-bottom: 1px solid var(--fx-line); background: radial-gradient(60% 140% at 50% 0%, rgba(91, 99, 255, .16), transparent 70%), var(--fx-bg); color: var(--fx-grey); font: 400 12px/1.5 var(--fx-mono); letter-spacing: .02em; text-decoration: none; }
.fx-bar b { color: var(--fx-violet); font-weight: 500; }
.fx-bar span { color: var(--fx-fg); }
.fx-bar:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.fx-head { position: sticky; top: 0; z-index: 60; height: var(--fx-head-h); border-bottom: 1px solid var(--fx-line); background: rgba(6, 7, 10, .72); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); transition: background .25s var(--fx-ease), border-color .25s var(--fx-ease); }
.fx-head.is-scrolled { background: rgba(6, 7, 10, .9); border-bottom-color: var(--fx-line-2); }
.fx-head__in { display: flex; align-items: center; gap: 28px; height: 100%; }
.fx-logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.fx-logo img { display: block; height: 24px; width: auto; transition: filter .2s var(--fx-ease); }
.fx-logo:hover img { filter: drop-shadow(0 0 12px rgba(139, 108, 255, .55)); }
.fx-menu { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.fx-menu > li { position: static; }
.fx-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--fx-grey); font: 450 14px/1 var(--fx-sans); text-decoration: none; cursor: pointer; transition: color .15s var(--fx-ease), background .15s var(--fx-ease); }
.fx-link:hover, .fx-dd.is-open > .fx-link { color: var(--fx-fg); background: rgba(255, 255, 255, .04); }
.fx-link[aria-current="page"], .fx-link.is-current { color: var(--fx-fg); }
.fx-link[aria-current="page"]::after, .fx-link.is-current::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--fx-indigo); box-shadow: 0 0 8px var(--fx-indigo); margin-left: 2px; }
.fx-caret { width: 8px; height: 8px; transition: transform .2s var(--fx-ease); }
.fx-dd.is-open .fx-caret { transform: rotate(180deg); }
.fx-head__cta { display: flex; align-items: center; gap: 8px; flex: none; }

/* mega panels */
.fx-panel { position: absolute; left: 0; right: 0; top: 100%; padding-top: 1px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--fx-ease), transform .2s var(--fx-ease), visibility 0s .2s; }
.fx-dd.is-open .fx-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fx-panel__box { display: grid; grid-template-columns: 1fr 280px; gap: 12px; margin-top: 8px; padding: 12px; border: 1px solid var(--fx-line-2); border-radius: 16px; background: rgba(12, 13, 19, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .4); }
.fx-panel__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
.fx-row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--fx-fg); text-decoration: none; transition: border-color .15s var(--fx-ease), background .15s var(--fx-ease); }
.fx-row:hover, .fx-row:focus-visible { border-color: var(--fx-line-2); background: rgba(255, 255, 255, .03); }
.fx-row b { display: block; font: 500 14px/1.3 var(--fx-sans); }
.fx-row small { display: block; margin-top: 2px; color: var(--fx-grey); font: 400 13px/1.35 var(--fx-sans); }
.fx-tile { flex: none; display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid var(--fx-line); border-radius: 10px; background: linear-gradient(180deg, #14151c, #0d0e13); font: 600 15px/1 var(--fx-sans); text-align: center; transition: border-color .2s, box-shadow .2s; }
.fx-tile i { display: block; margin-bottom: 3px; color: var(--fx-grey); font: normal 400 10px/1 var(--fx-mono); }
.fx-tile--sym { display: block; padding: 3px; overflow: hidden; }
.fx-tile--sym canvas { display: block; width: 100%; height: 100%; }
.fx-row:hover .fx-tile { border-color: rgba(91, 99, 255, .55); box-shadow: 0 0 18px rgba(91, 99, 255, .35); }
.fx-num { flex: none; width: 26px; color: var(--fx-dim); font: 400 12px var(--fx-mono); }
.fx-row:hover .fx-num { color: var(--fx-violet); }
.fx-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 180px; padding: 18px; border: 1px solid var(--fx-line); border-radius: 12px; background: radial-gradient(120% 90% at 100% 0%, rgba(139, 108, 255, .28), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(91, 99, 255, .2), transparent 60%), #0d0e14; color: var(--fx-fg); text-decoration: none; transition: border-color .2s; }
.fx-feature:hover { border-color: rgba(139, 108, 255, .5); }
.fx-feature b { font: 600 19px/1.15 var(--fx-sans); letter-spacing: -.02em; }
.fx-feature span:last-child { color: var(--fx-grey); font-size: 13px; }
.fx-pill { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: auto; padding: 4px 9px; border: 1px solid var(--fx-line-2); border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--fx-fg); font: 400 12px/1 var(--fx-mono); letter-spacing: .04em; text-transform: uppercase; }
.fx-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fx-indigo); box-shadow: 0 0 8px var(--fx-indigo); }

/* burger + mobile sheet */
.fx-burger { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--fx-line); border-radius: 10px; background: transparent; cursor: pointer; }
.fx-burger span, .fx-burger span::before, .fx-burger span::after { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--fx-fg); transition: transform .25s var(--fx-ease), background .2s; }
.fx-burger span { position: relative; }
.fx-burger span::before, .fx-burger span::after { content: ""; position: absolute; left: 0; }
.fx-burger span::before { top: -5px; }
.fx-burger span::after { top: 5px; }
.fx-head.is-menu .fx-burger span { background: transparent; }
.fx-head.is-menu .fx-burger span::before { transform: translateY(5px) rotate(45deg); }
.fx-head.is-menu .fx-burger span::after { transform: translateY(-5px) rotate(-45deg); }
.fx-sheet { display: none; }

@media (max-width: 960px) {
  .fx-menu, .fx-head__cta { display: none; }
  .fx-burger { display: grid; }
  .fx-sheet { position: fixed; inset: var(--fx-sheet-top, var(--fx-head-h)) 0 0; z-index: 59; display: block; overflow-y: auto; padding: 16px var(--fx-gut) 40px; background: rgba(6, 7, 10, .98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--fx-ease), transform .25s var(--fx-ease), visibility 0s .25s; }
  .fx-menu-open .fx-sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .fx-sheet details { border-bottom: 1px solid var(--fx-line); }
  .fx-sheet summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; color: var(--fx-fg); font: 500 18px var(--fx-sans); cursor: pointer; list-style: none; }
  .fx-sheet summary::-webkit-details-marker { display: none; }
  .fx-sheet summary::after { content: "+"; color: var(--fx-grey); font: 400 20px var(--fx-mono); transition: transform .2s; }
  .fx-sheet details[open] summary::after { transform: rotate(45deg); }
  .fx-sheet details ul { margin: 0 0 12px; padding: 0; list-style: none; }
  .fx-sheet details a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; color: var(--fx-grey); text-decoration: none; font-size: 15px; }
  .fx-sheet details a:hover { color: var(--fx-fg); }
  .fx-sheet > a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--fx-line); color: var(--fx-fg); text-decoration: none; font: 500 18px var(--fx-sans); }
  .fx-sheet__cta { display: grid; gap: 10px; margin-top: 24px; }
  .fx-sheet__cta .fx-btn { min-height: 48px; }
}
@media (min-width: 961px) { .fx-panel { max-width: var(--fx-max); margin-inline: auto; padding-inline: var(--fx-gut); } }
.fx-panel--svc .fx-panel__box { grid-template-columns: 1fr 280px; }

/* ---------- footer ---------- */
.fx-foot { position: relative; overflow: hidden; margin-top: 0; border-top: 1px solid var(--fx-line); background: radial-gradient(70% 60% at 50% 0%, rgba(91, 99, 255, .08), transparent 70%), var(--fx-bg); }
.fx-foot__in { position: relative; z-index: 1; }
.fx-foot__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 48px; border-bottom: 1px solid var(--fx-line); }
.fx-foot__cta h2 { margin: 8px 0 0; font: 600 clamp(28px, 3.6vw, 44px)/1.04 var(--fx-sans); letter-spacing: -.035em; }
.fx-foot__cta h2 em { font-style: normal; background: var(--fx-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-foot__cta div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 32px; padding: 56px 0 48px; }
.fx-foot__brand img { height: 24px; width: auto; }
.fx-foot__brand p { max-width: 320px; margin: 18px 0 20px; color: var(--fx-grey); font-size: 14px; line-height: 1.6; }
.fx-foot__mail { display: inline-flex; align-items: center; gap: 8px; color: var(--fx-fg); font: 400 13px var(--fx-mono); text-decoration: none; }
.fx-foot__mail::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.fx-foot__mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fx-foot h3 { margin: 0 0 16px; color: var(--fx-dim); font: 400 12px/1.4 var(--fx-mono); letter-spacing: .06em; text-transform: uppercase; }
.fx-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.fx-foot ul a { display: inline-flex; align-items: center; min-height: 30px; color: var(--fx-grey); font: 400 14px/1.3 var(--fx-sans); text-decoration: none; transition: color .15s; }
.fx-foot ul a:hover, .fx-foot ul a:focus-visible { color: var(--fx-fg); }
.fx-foot ul a::before { content: ">"; width: 0; overflow: hidden; color: var(--fx-violet); font-family: var(--fx-mono); transition: width .2s var(--fx-ease), margin .2s var(--fx-ease); }
.fx-foot ul a:hover::before { width: 1ch; margin-right: 6px; }
.fx-foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--fx-line); color: var(--fx-dim); font: 400 12px/1.5 var(--fx-mono); }
.fx-foot__base nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fx-foot__base a { color: var(--fx-grey); text-decoration: none; }
.fx-foot__base a:hover { color: var(--fx-fg); }
.fx-top { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--fx-grey); font: 400 12px var(--fx-mono); cursor: pointer; padding: 6px 0; }
.fx-top:hover { color: var(--fx-fg); }
@media (max-width: 960px) { .fx-foot__grid { grid-template-columns: 1fr 1fr; } .fx-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fx-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .fx-foot__cta { padding-top: 44px; } }

/* ---------- scramble (matrix) text ---------- */
[data-fx-scramble] { font-variant-ligatures: none; }
.fx-glyph { color: var(--fx-violet); }

/* links that used to be dead spans */
.fx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .fx-panel, .fx-sheet, .fx-btn, .fx-burger span, .fx-burger span::before, .fx-burger span::after { transition: none !important; }
}

/* wordmark inside the footer, below the columns */
.fx-foot .x-word.x-word--foot { margin-top: 0; margin-bottom: 8px; padding: 8px 0 16px; }
.fx-foot__grid { padding-bottom: 24px; }

/* ---------- attack depth (scroll-pinned, Feron's own) ---------- */
.fx-depth { position: relative; height: 300vh; border-top: 1px solid var(--fx-line); }
.fx-depth__pin { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 24px; }
.fx-depth__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.fx-depth__top .x-mono { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--fx-violet); font: 400 12px/1.5 var(--fx-mono); letter-spacing: .04em; text-transform: uppercase; }
.fx-depth__top .x-mono::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.fx-depth__top h2 { margin: 0; max-width: 640px; font: 600 clamp(28px, 3.6vw, 44px)/1.04 var(--fx-sans); letter-spacing: -.035em; }
.fx-depth__top h2 em { font-style: normal; background: var(--fx-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-depth__meter { flex: none; text-align: right; font-family: var(--fx-mono); color: var(--fx-grey); }
.fx-depth__meter b { display: block; color: var(--fx-fg); font: 500 clamp(40px, 5vw, 64px)/1 var(--fx-mono); letter-spacing: -.04em; }
.fx-depth__meter b small { color: var(--fx-dim); font-size: .4em; }
.fx-depth__meter span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-depth__stage { position: relative; flex: 1 1 auto; min-height: 260px; max-height: 460px; }
.fx-depth__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.fx-depth__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--fx-line); }
.fx-depth__card { --fill: 0; position: relative; padding: 18px 24px 4px 0; cursor: pointer; }
.fx-depth__card + .fx-depth__card { padding-left: 24px; border-left: 1px solid var(--fx-line); }
.fx-depth__card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, var(--fx-indigo), var(--fx-violet), var(--fx-mag)); transform-origin: left; transform: scaleX(var(--fill)); }
.fx-depth__card h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; color: #6f7380; font: 600 clamp(17px, 1.6vw, 20px)/1.2 var(--fx-sans); letter-spacing: -.02em; transition: color .35s; }
.fx-depth__card h3 span { color: var(--fx-dim); font: 400 12px var(--fx-mono); }
.fx-depth__card p { margin: 0; max-width: 40ch; color: var(--fx-dim); font-size: 14.5px; line-height: 1.6; transition: color .35s; }
.fx-depth__card.is-on h3, .fx-depth__card.is-done h3 { color: var(--fx-fg); }
.fx-depth__card.is-on h3 span { color: var(--fx-violet); }
.fx-depth__card.is-on p { color: var(--fx-grey); }
@media (max-width: 860px) {
  .fx-depth { height: 240vh; }
  .fx-depth__top { flex-direction: column; align-items: flex-start; }
  .fx-depth__meter { display: none; }
  .fx-depth__stage { min-height: 220px; }
  .fx-depth__cards { grid-template-columns: 1fr; }
  .fx-depth__card, .fx-depth__card + .fx-depth__card { display: none; padding: 14px 0 0; border-left: 0; }
  .fx-depth__card.is-on { display: block; }
}
@media (prefers-reduced-motion: reduce) { .fx-depth { height: auto; } .fx-depth__pin { position: relative; top: 0; height: auto; min-height: 640px; } .fx-depth__card { display: block !important; } }

/* ===================================================================
   v19 SITE STANDARD: one type scale, one hero-object size, responsive
   =================================================================== */
:root { --fx-h1: clamp(36px, 5.2vw, 64px); --fx-h2: clamp(28px, 3.4vw, 44px); --fx-h3: clamp(17px, 1.45vw, 20px); --fx-lede: clamp(15px, 1.35vw, 18px); --fx-obj: 440px; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
main h1, body > section h1, .x-hero h1, .h-hero h1, .d-hero h1, h1:not(.fx-foot h1) { font-size: var(--fx-h1) !important; line-height: 1.04 !important; letter-spacing: -.035em !important; overflow-wrap: break-word; }
h2:not(.fx-foot h2):not(.fx-panel h2) { font-size: var(--fx-h2) !important; line-height: 1.08 !important; letter-spacing: -.03em !important; overflow-wrap: break-word; }
h3:not(.fx-foot h3):not(.fx-panel h3):not(.fx-sheet h3) { font-size: var(--fx-h3) !important; line-height: 1.25 !important; letter-spacing: -.015em !important; }
h1 + p, .x-lede, .h-lede, .d-lede, .lede, [class*="__lede"], [class$="-lede"] { font-size: var(--fx-lede) !important; line-height: 1.55 !important; }
/* hero objects: one size on every page */
:is(.x-hero, .h-hero, .d-hero--obj) :is(.x-stage, .x-canvas-wrap, .x-canvaswrap, .x-obj, .fx-stage-wrap, .d-stage) {
  width: min(var(--fx-obj), 100%) !important; max-width: var(--fx-obj) !important; height: auto !important; aspect-ratio: 1 / 1 !important; min-height: 0 !important; justify-self: center; align-self: center; margin-inline: auto !important; }
:is(.x-hero, .h-hero, .d-hero--obj) :is(.x-stage, .x-canvas-wrap, .x-canvaswrap, .x-obj, .fx-stage-wrap, .d-stage) > canvas:not(.fx-field) { width: 100% !important; height: 100% !important; max-width: 100% !important; }
img, svg, video, canvas { max-width: 100%; }
pre, code { max-width: 100%; }
pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* min legible size */
[style*="font-size:11px"], [style*="font-size: 11px"] { font-size: 12px !important; }

/* tablet */
@media (max-width: 960px) {
  :root { --fx-obj: 380px; }
  .x-hero, .h-hero__in, .x-hero__in, .x-hero__grid, .d-hero--obj { grid-template-columns: 1fr !important; }
}
/* phone */
@media (max-width: 720px) {
  :root { --fx-obj: min(320px, 82vw); }
  .x-hero, .h-hero__in, .x-hero__in, .x-hero__grid { min-height: 0 !important; gap: 20px !important; }
  .fx-wrap, .x-wrap { padding-left: 20px !important; padding-right: 20px !important; }
  section { scroll-margin-top: 72px; }
  /* thumb-friendly targets */
  .fx-foot ul a, .fx-foot__bottom a, .fx-link, .fx-btn, .fx-skip { min-height: 44px !important; }
  .fx-foot ul { gap: 0 !important; }
  main a.btn, main button, main [class*="btn"], main [class*="cta"] a { min-height: 44px; }
  input, select, textarea { font-size: 16px !important; min-height: 44px; }
  table { display: block; overflow-x: auto; }
}
.d-doc .d-prose > h2[id] { font-size: clamp(20px, 1.9vw, 24px) !important; letter-spacing: -.02em !important; }
.h-hero .h-stage { max-width: 480px !important; width: 100%; margin-inline: auto; }
@media (max-width: 720px) { .h-hero .h-stage { max-width: min(340px, 88vw) !important; } }
.fx-bar__mid { font-style: normal; }
@media (max-width: 720px) {
  .fx-bar { padding: 10px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fx-bar__mid { display: none; }
}
/* phone & tablet: copy first, object after, on every hero */
@media (max-width: 960px) {
  :is(.x-hero, .x-hero > .x-wrap, .x-hero__in, .x-hero__grid, .d-hero--obj, .h-hero__in) > :is(.x-stage, .x-canvas-wrap, .x-canvaswrap, .x-obj, .fx-stage-wrap, .d-stage, .h-stage, [class*="stage"], [class*="visual"], [class*="media"]) { order: 2 !important; }
}
/* one gutter on phones: 20px on every page */
@media (max-width: 720px) {
  .page, .x-in, .x-hero__in { padding-left: 20px !important; padding-right: 20px !important; }
  .page :is(.x-wrap, main.main, .x-in, .x-hero__in) { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 720px) { :is(.x-in, .x-wrap, .fx-wrap) :is(.x-in, .x-wrap, .x-hero__in) { padding-left: 0 !important; padding-right: 0 !important; } }
/* one heading weight sitewide */
h1:not(.fx-foot h1), h2:not(.fx-foot h2):not(.fx-panel h2) { font-family: var(--fx-sans) !important; font-weight: 600 !important; }
h3:not(.fx-foot h3):not(.fx-panel h3):not(.fx-sheet h3) { font-weight: 550 !important; }
