/* CasinoOrganicFunnel.online: Organic Growth Flow Lab. No inline styles; strict CSP. */
@font-face { font-family: "Ascent Display"; src: url("/fonts/ascent-display-700.woff?v=261027a") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ascent Display"; src: url("/fonts/ascent-display-600.woff?v=261027a") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }

:root {
  --bg: #071325;
  --bg-2: #0a1a31;
  --panel: #0d2039;
  --panel-2: #112743;
  --panel-3: #0b1c33;
  --line: #1f3d60;
  --line-2: #2a4f78;
  --text: #eaf2fb;
  --soft: #c3d3e6;
  --muted: #9fb4cc;
  --mint: #3fe9a6;
  --mint-2: #27d391;
  --mint-ink: #04150f;
  --teal: #38d7d0;
  --amber: #f0b54a;
  --orange: #f3933e;
  --coral: #f2733a;
  --focus: #ffd166;
  --disp: "Ascent Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-f: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1320px;
  --r: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--text-f); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #8ff5cd; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { overflow-wrap: break-word; font-family: var(--disp); font-weight: 700; line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.01em; color: #fff; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.of-sr { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.of-i { flex: none; }
.of-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.of-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.of-skip:focus { top: 12px; }
main:focus { outline: none; }
.of-eyebrow { font: 600 .74rem/1.3 var(--text-f); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 0 0 12px; }

/* buttons */
.of-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 10px 22px; border-radius: 8px; font: 600 .95rem/1.2 var(--text-f); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.of-btn-mint { background: linear-gradient(90deg, var(--mint), #59f0b4); color: var(--mint-ink); }
.of-btn-mint:hover { background: #7af5c4; color: var(--mint-ink); }
.of-btn-line { border-color: #5d86b3; color: var(--text); background: rgba(10, 26, 49, .5); }
.of-btn-line:hover { border-color: var(--mint); color: #fff; }
.of-btn-ghost { border-color: var(--mint); color: var(--mint); min-height: 42px; padding: 8px 18px; }
.of-btn-ghost:hover { background: rgba(63, 233, 166, .12); color: #fff; }

/* header */
.of-head { position: sticky; top: 0; z-index: 30; background: rgba(7, 19, 37, .96); border-bottom: 1px solid var(--line); }
.of-head-in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.of-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.of-brand img { width: 40px; height: 40px; }
.of-brand-t { display: flex; flex-direction: column; }
.of-brand-n { font: 600 1.22rem/1.1 var(--disp); color: #fff; letter-spacing: -.01em; }
.of-brand-n b { font-weight: 700; color: #fff; }
.of-brand-n i { font-style: normal; color: var(--mint); font-weight: 500; }
.of-brand-s { font: 500 .62rem/1.3 var(--text-f); letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.of-nav { margin-left: auto; }
.of-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.of-nav a { display: block; padding: 10px 11px; color: var(--soft); text-decoration: none; font-size: .92rem; border-radius: 6px; }
.of-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.of-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--mint); }
.of-head-act { display: flex; align-items: center; gap: 10px; }
.of-find-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; border: 0; background: transparent; color: var(--soft); cursor: pointer; }
.of-find-btn:hover, .of-find-btn[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.of-menu-btn { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.of-quick { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px 0 22px; }
.of-quick label { display: block; font-weight: 600; margin-bottom: 8px; }
.of-quick input { width: 100%; max-width: 640px; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: #fff; }
.of-quick-list { list-style: none; margin: 12px 0 0; padding: 0; max-width: 640px; display: grid; gap: 6px; }
.of-quick-list a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: #fff; text-decoration: none; background: var(--panel); }
.of-quick-list a:hover, .of-quick-list a:focus-visible { border-color: var(--mint); }
.of-quick-list small { display: block; color: var(--muted); font-size: .84rem; }
.of-quick-n { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }

/* hero */
.of-hero { position: relative; background: radial-gradient(900px 420px at 72% 38%, rgba(56, 215, 208, .12), transparent 70%), url("/art/ridge.svg?v=261027a") center bottom / cover no-repeat, linear-gradient(180deg, #06101f 0%, #091a31 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.of-hero-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; padding-top: 40px; padding-bottom: 34px; }
.of-hero h1 { font-size: clamp(2.2rem, 1.1rem + 2.75vw, 3.45rem); line-height: 1.06; margin-bottom: .45em; }
.of-hero h1 span { display: block; background: linear-gradient(90deg, #3fe9a6, #7ef08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.of-hero-lede { font-size: 1.22rem; line-height: 1.45; color: #fff; max-width: 30em; }
.of-hero-sub { color: var(--soft); max-width: 34em; }
.of-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.of-hero-art { position: relative; }
.of-hero-script { position: absolute; right: 0; top: -6px; margin: 0; font: italic 600 1.15rem/1.15 var(--disp); color: #dfe9f5; text-align: right; transform: rotate(-4deg); }
.of-hero-script span { display: block; }
.of-funnel { margin: 8px 0 0; }
.of-funnel svg { width: 100%; height: auto; overflow: visible; }
.of-funnel figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; text-align: right; }
.of-f-l { font: 600 12.5px var(--disp); fill: #06101f; }
.of-f-v { font: 700 17px var(--disp); fill: #06101f; }
.of-f-p { font: 600 12px var(--text-f); fill: #102033; }
.of-f-n { font: 500 12px var(--text-f); fill: #b7c8dc; }
.of-f-l-inv { font: 600 12.5px var(--disp); fill: #e9fbff; }
.of-f-v-inv { font: 700 17px var(--disp); fill: #ffffff; }
.of-f-p-inv { font: 600 12px var(--text-f); fill: #bfeee2; }

/* stats strip */
.of-stats { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.of-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.of-stat { display: flex; align-items: center; gap: 16px; margin: 0; padding: 24px 22px; border-left: 1px solid var(--line); }
.of-stat:first-child { border-left: 0; padding-left: 0; }
.of-stat-i { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #2a5a5a; border-radius: 12px; color: var(--mint); background: rgba(63, 233, 166, .06); }
.of-stat-i .of-i { width: 28px; height: 28px; }
.of-stat strong { display: block; font: 700 2rem/1 var(--disp); color: #fff; }
.of-stat-l { display: block; font-weight: 600; color: #fff; margin-top: 4px; }
.of-stat-s { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* home sections */
.of-sec { padding: 22px 0 0; }
.of-sec h2 { margin-bottom: .35em; }
.of-panel, .of-lab, .of-calc { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-3) 100%); border: 1px solid var(--line); border-radius: var(--r); }
.of-lab-row { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 34px; align-items: center; }
.of-lab-copy p { color: var(--soft); }
.of-lab-copy strong { color: var(--mint); font-weight: 600; }
.of-lab-cta { margin-top: 22px; }

/* explorer */
.of-lab { padding: 18px 20px 16px; }
.of-lab-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.of-lab-title { margin: 0; font-weight: 600; color: #fff; }
.of-lab-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 0; background: transparent; color: var(--mint); cursor: pointer; border-radius: 6px; }
.of-lab-reset:hover { background: rgba(63, 233, 166, .1); }
.of-lab-form { margin: 0; }
.of-lab-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.of-lab-st { position: relative; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 10px 10px; text-align: center; display: flex; flex-direction: column; }
.of-lab-st + .of-lab-st::before { content: "›"; position: absolute; left: -9px; top: 46%; color: var(--muted); font-size: 1rem; }
.of-lab-name { font-size: .82rem; color: var(--soft); margin: 0 0 6px; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.of-lab-count { margin: 0 0 8px; font: 700 1.2rem/1.1 var(--disp); }
.of-st-0 .of-lab-count, .of-st-1 .of-lab-count { color: #fff; }
.of-st-2 .of-lab-count { color: #b9f26a; }
.of-st-3 .of-lab-count { color: var(--amber); }
.of-st-4 .of-lab-count, .of-st-5 .of-lab-count { color: var(--orange); }
.of-range { width: 100%; height: 30px; margin: 0 0 6px; accent-color: var(--mint); background: transparent; cursor: pointer; }
.of-st-3 .of-range { accent-color: var(--amber); }
.of-st-4 .of-range, .of-st-5 .of-range { accent-color: var(--orange); }
.of-lab-in { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: auto; }
.of-lab-in input { width: 100%; max-width: 92px; min-height: 36px; padding: 4px 6px; text-align: center; border-radius: 6px; border: 1px solid var(--line-2); background: #081a30; color: #fff; font-size: .88rem; }
.of-st-0 .of-lab-in input { max-width: none; }
.of-st-0 .of-lab-unit { display: none; }
.of-lab-unit { font-size: .78rem; color: var(--muted); }
.of-lab-in input[aria-invalid="true"], .of-fld input[aria-invalid="true"], .of-scen-in[aria-invalid="true"] { border-color: #ff8a7a; box-shadow: 0 0 0 2px rgba(255, 138, 122, .3); }
.of-err { display: block; min-height: 0; margin: 4px 0 0; font-size: .76rem; line-height: 1.3; color: #ffb3a7; }
.of-err:empty { margin: 0; }
.of-lab-status { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.of-lab-status.is-bad { color: #ffb3a7; }
.of-lab-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.of-lab-sum p { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.of-lab-sum span { display: block; font-size: .82rem; color: var(--muted); }
.of-lab-sum strong { font: 700 1.25rem/1.25 var(--disp); color: #fff; }
.of-lab-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.of-lab-act p { margin: 0; font-size: .84rem; color: var(--muted); flex: 1 1 280px; }

/* calculators */
.of-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.of-calc { padding: 22px 22px 18px; }
.of-calc-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.of-calc-head p:last-child { margin: 0; color: var(--soft); font-size: .94rem; }
.of-calc-head .of-eyebrow { margin-bottom: 4px; font-size: .68rem; }
.of-calc-h { font-size: 1.32rem; margin: 0 0 .3em; }
.of-calc-ico { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid #2a6a5c; background: rgba(63, 233, 166, .08); color: var(--mint); }
.of-calc-ico-o { border-color: #7a4a26; background: rgba(243, 147, 62, .1); color: var(--orange); }
.of-calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; margin: 0; }
.of-calc-grid-c { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.of-fld { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.of-fld label { font-size: .86rem; color: var(--soft); }
.of-fld-box { position: relative; display: flex; align-items: center; }
.of-fld input, .of-fld select, .of-fld textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #081a30; color: #fff; }
.of-fld select { appearance: auto; }
.of-unit { position: absolute; right: 12px; color: var(--muted); pointer-events: none; }
.of-fld-box input { padding-right: 32px; }
.of-calc-out { grid-column: span 1; border: 1px solid #2f7a62; border-radius: 10px; background: rgba(63, 233, 166, .07); padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; }
.of-calc-out p { margin: 0; font-size: .84rem; color: var(--soft); }
.of-big { font: 700 2rem/1.1 var(--disp) !important; color: var(--mint) !important; margin: 2px 0 !important; }
.of-calc-sub { font-size: .76rem !important; color: var(--muted) !important; }
.of-calc-res { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; }
.of-res { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.of-res span { display: block; font-size: .84rem; color: var(--soft); }
.of-res output { display: block; font: 700 1.6rem/1.2 var(--disp); color: var(--orange); margin-top: 4px; }
.of-res-note { display: flex; gap: 10px; align-items: flex-start; border-color: #2f7a62; background: rgba(63, 233, 166, .06); }
.of-res-note .of-i { color: var(--mint); margin-top: 2px; }
.of-res-note span { color: var(--soft); font-size: .84rem; line-height: 1.4; }
.of-calc-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.of-calc-note.is-bad { color: #ffb3a7; }

/* drop chart + scenarios */
.of-data-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.of-panel { padding: 22px; }
.of-panel h2 { font-size: 1.55rem; }
.of-panel > p { color: var(--soft); font-size: .95rem; }
.of-drop-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.of-chart { margin: 0; }
.of-chart svg { width: 100%; height: auto; }
.of-chart figcaption { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.of-c-ax { font: 500 11px var(--text-f); fill: #9fb4cc; }
.of-c-v { font: 700 13px var(--disp); fill: #fff; }
.of-c-l { font: 500 11px var(--text-f); fill: #c3d3e6; }
.of-insight-box { border: 1px solid #8a5a2a; border-radius: 10px; padding: 14px; background: rgba(243, 147, 62, .07); font-size: .9rem; color: var(--soft); }
.of-insight-h { display: flex; align-items: center; gap: 8px; color: var(--amber) !important; font-weight: 600; margin-bottom: 8px; }
.of-insight-box p:last-child { margin: 0; }
.of-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.of-tabs button { min-height: 34px; padding: 6px 14px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--soft); cursor: pointer; font-size: .88rem; }
.of-tabs button[aria-selected="true"] { border-color: var(--mint); color: #fff; background: rgba(63, 233, 166, .1); }
.of-tabs button:hover { color: #fff; }
.of-tabp-h { font-weight: 600; color: #fff; margin-bottom: 8px; }
.of-tabp-notes { font-size: .92rem; color: var(--soft); }
.of-scen-t td { white-space: nowrap; padding: 4px 8px; }
.of-scen-t tbody th { padding: 4px 8px; }
.of-panel .of-scen-t caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.of-scen-t tbody th { padding: 6px 10px; font-size: .86rem; vertical-align: middle; }
.of-scen-t td { vertical-align: middle; }
.of-scen-in { width: 64px; min-height: 30px; padding: 2px 6px; text-align: right; border-radius: 6px; border: 1px solid var(--line-2); background: #081a30; color: #fff; font-size: .88rem; }
.of-pct { color: var(--muted); margin-left: 3px; font-size: .84rem; }
.of-scen-t tfoot td, .of-scen-t tfoot th { font-weight: 700; color: var(--mint); }
.of-scen-status { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.of-scen-status.is-bad { color: #ffb3a7; }
.of-scen-more { margin: 10px 0 0; font-size: .9rem; }

/* tables */
.of-tablewrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 1.4em; background: var(--panel-3); }
.of-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.of-table caption { text-align: left; padding: 10px 14px; color: var(--muted); font-size: .82rem; caption-side: top; }
.of-table th, .of-table td { padding: 9px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.of-table thead th { background: #0f2540; color: #fff; font-weight: 600; font-size: .82rem; }
.of-table tbody th { color: #fff; font-weight: 600; }

/* methodology home */
.of-method-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 30px; align-items: center; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-3) 100%); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.of-method-copy p { color: var(--soft); }
.of-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.of-tiles li { border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px; text-align: center; background: var(--panel-2); }
.of-tile-i { display: inline-grid; place-items: center; color: var(--mint); margin-bottom: 10px; }
.of-tile-i .of-i { width: 40px; height: 40px; }
.of-tiles h3 { font-size: .98rem; margin-bottom: 6px; }
.of-tiles p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* reports */
.of-sec-reports { padding-bottom: 36px; }
.of-reports-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 26px; align-items: center; }
.of-reports-copy p { color: var(--soft); }
.of-reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.of-report { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.of-report:hover { border-color: var(--mint); }
.of-report-art { position: relative; }
.of-report-art img { width: 100%; aspect-ratio: 400 / 190; object-fit: cover; }
.of-report-tag { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 5px; background: #12b07a; color: #03140e; font: 700 .66rem/1.3 var(--text-f); letter-spacing: .1em; text-transform: uppercase; }
.of-report-art time { position: absolute; right: 12px; top: 12px; font-size: .76rem; color: #fff; background: rgba(4, 12, 24, .7); padding: 2px 8px; border-radius: 5px; }
.of-report-in { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.of-report h3 { font-size: 1.08rem; }
.of-report h3 a { color: #fff; text-decoration: none; }
.of-report h3 a::after { content: ""; position: absolute; inset: 0; }
.of-report p { font-size: .88rem; color: var(--soft); }
.of-report-go { margin: auto 0 0 !important; color: var(--mint) !important; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* band */
.of-band { padding: 0 0 40px; }
.of-band-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; background: linear-gradient(90deg, #0d2b3a, #0d2039); border: 1px solid #23506a; border-radius: var(--r); padding: 22px 26px; }
.of-band-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 12px; border: 1px solid #2f7a62; color: var(--mint); background: rgba(63, 233, 166, .08); }
.of-band h2 { font-size: 1.4rem; margin-bottom: .2em; }
.of-band p { margin: 0; color: var(--soft); }
.of-band .of-eyebrow { margin-bottom: 4px; }
.of-band-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.of-band-mail { font-size: .88rem; }

/* footer */
.of-foot { border-top: 1px solid var(--line); background: #06101f; padding: 36px 0 18px; }
.of-foot-in { display: grid; grid-template-columns: 2.1fr repeat(3, minmax(0, 1fr)) 1.6fr; gap: 26px; }
.of-foot-brand p { color: var(--muted); font-size: .86rem; margin-top: 14px; }
.of-foot-col h2 { font: 600 .9rem/1.3 var(--text-f); color: #fff; margin: 0 0 10px; }
.of-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.of-foot-col a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.of-foot-col a:hover { color: #fff; }
.of-foot-note { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px; background: var(--panel-3); font-size: .82rem; color: var(--muted); }
.of-foot-note p { margin: 0 0 6px; }
.of-foot-note-h { display: flex; gap: 8px; align-items: center; color: var(--amber); font-weight: 600; }
.of-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.of-foot-base p { margin: 0; }
.of-foot-base ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.of-foot-base a { color: var(--soft); }

/* inner pages */
.of-phead { background: radial-gradient(700px 260px at 80% 0%, rgba(56, 215, 208, .1), transparent 70%), linear-gradient(180deg, #06101f, #0a1a31); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.of-phead h1 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem); max-width: 22em; }
.of-phead .of-lede { font-size: 1.12rem; color: var(--soft); max-width: 46em; }
.of-phead-tool { background: radial-gradient(700px 260px at 80% 0%, rgba(243, 147, 62, .12), transparent 70%), linear-gradient(180deg, #06101f, #0a1a31); }
.of-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .84rem; color: var(--muted); }
.of-crumbs li + li::before { content: "/"; margin-right: 6px; color: #56708f; }
.of-crumbs a { color: var(--soft); }
.of-byline { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.of-byline a { color: var(--soft); }
.of-read { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-top: 34px; padding-bottom: 46px; }
.of-plain { padding-top: 34px; padding-bottom: 46px; }
.of-plain .of-prose { max-width: 900px; }
.of-plain-tool .of-prose, .of-plain-archive .of-prose, .of-plain-hub .of-prose { max-width: none; }
.of-prose { min-width: 0; font-size: 1.04rem; color: var(--soft); }
.of-prose h2 { margin-top: 1.6em; color: #fff; }
.of-prose h2:first-child { margin-top: 0; }
.of-prose h3 { color: #fff; margin-top: 1.2em; }
.of-prose strong { color: #fff; }
.of-prose ul, .of-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.of-prose li { margin-bottom: .45em; }
.of-prose code { font-size: .9em; background: #0f2540; padding: 1px 5px; border-radius: 4px; color: #fff; }
.of-term { text-decoration-style: dotted; }
.of-keys { border: 1px solid #2f7a62; background: rgba(63, 233, 166, .06); border-radius: var(--r); padding: 16px 20px; margin: 0 0 1.6em; }
.of-keys-h { font-size: 1.05rem !important; margin: 0 0 8px !important; color: var(--mint) !important; }
.of-keys ul { margin: 0; }
.of-before { border: 1px solid #7a5a2a; background: rgba(240, 181, 74, .07); border-radius: var(--r); padding: 16px 20px; margin: 0 0 1.6em; }
.of-before-h { font-size: 1.05rem !important; margin: 0 0 8px !important; color: var(--amber) !important; }
.of-before ul { margin: 0; }
.of-read-guide .of-prose h2 { padding-top: 4px; }
.of-checks { list-style: none; padding: 0 !important; }
.of-checks li { position: relative; padding-left: 30px; }
.of-checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.of-side { position: relative; }
.of-toc, .of-rel { position: sticky; top: 96px; }
.of-rel { position: static; margin-top: 22px; }
.of-side-h { font: 600 .78rem/1.3 var(--text-f) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) !important; margin: 0 0 10px !important; }
.of-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.of-toc a { display: block; padding: 6px 0 6px 14px; color: var(--soft); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.of-toc a:hover { color: #fff; }
.of-rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.of-rel li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--panel); }
.of-rel-k { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.of-rel a { color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; line-height: 1.3; }
.of-rel a:hover { color: var(--mint); }
.of-rel-row { margin-top: 30px; max-width: 900px; }
.of-rel-row .of-rel ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.of-faq { margin-top: 2em; }
.of-qa { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.of-qa h3 { font-size: 1.04rem; margin: 0 0 6px; }
.of-sources { margin-top: 2em; font-size: .9rem; }
.of-sources ol { padding-left: 1.4em; }
.of-src-note { font-size: .86rem; color: var(--muted); }
.of-cards { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.of-card { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.of-card:hover { border-color: var(--mint); }
.of-card img { width: 100%; aspect-ratio: 400 / 180; object-fit: cover; }
.of-card-in { padding: 14px 16px 16px; }
.of-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.of-card h3 a { color: #fff; text-decoration: none; }
.of-card h3 a::after { content: ""; position: absolute; inset: 0; }
.of-card p { font-size: .88rem; margin: 0; }
.of-chip { display: inline-block; font: 600 .68rem/1.3 var(--text-f); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin: 0 0 6px !important; }
.of-finder { margin: 0 0 2em; }
.of-finder-bar label { display: block; color: #fff; font-weight: 600; margin-bottom: 8px; }
.of-finder-row { display: flex; flex-wrap: wrap; gap: 10px; }
.of-finder-row input { flex: 1 1 320px; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: #fff; }
.of-finder-row select { min-height: 48px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: #fff; }
.of-finder-n { font-size: .86rem; color: var(--muted); margin: 10px 0; }
.of-finder-list { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.of-finder-list li { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--panel); margin: 0; }
.of-finder-list li:hover { border-color: var(--mint); }
.of-finder-list h3 { font-size: 1rem; margin: 0 0 4px; }
.of-finder-list h3 a { color: #fff; text-decoration: none; }
.of-finder-list h3 a::after { content: ""; position: absolute; inset: 0; }
.of-finder-list p { margin: 0; font-size: .86rem; }
.of-finder-empty { border: 1px dashed var(--line-2); border-radius: 10px; padding: 16px; }
.of-gloss { margin: 0; display: grid; gap: 10px; }
.of-gloss div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--panel); }
.of-gloss div:target { border-color: var(--mint); }
.of-gloss dt { font-weight: 700; color: #fff; font-family: var(--disp); }
.of-gloss dd { margin: 4px 0 0; }
.of-lost { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.of-lost a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; }
.of-k-tool .of-lab, .of-k-tool .of-calc, .of-k-tool .of-scen { margin-bottom: 1.8em; }
.of-k-tool .of-chart { max-width: 760px; margin: 0 0 1.6em; }
.of-k-tool .of-calc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.of-scen { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-3) 100%); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.of-panel .of-scen { background: none; border: 0; padding: 0; }

/* contact */
.of-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 34px; }
.of-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.of-form .of-fld-wide, .of-form .of-check, .of-form > p:last-child { grid-column: 1 / -1; }
.of-form textarea { min-height: 160px; }
.of-opt { color: var(--muted); font-size: .84rem; }
.of-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.of-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--mint); flex: none; }
.of-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.of-alert { border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid; }
.of-alert p { margin: 0; }
.of-alert-ok { border-color: #2f7a62; background: rgba(63, 233, 166, .08); }
.of-alert-wait { border-color: #7a5a2a; background: rgba(240, 181, 74, .08); }
.of-alert-bad { border-color: #a5483d; background: rgba(255, 120, 100, .08); }
.of-contact-side { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--panel); align-self: start; }
.of-contact-side h2 { font-size: 1.25rem; }
.of-contact-side h3 { font-size: 1rem; margin-top: 1em; }
.of-contact-side p { font-size: .92rem; }

@media (max-width: 1240px) {
  .of-nav a { padding: 10px 8px; font-size: .88rem; }
  .of-brand-n { font-size: 1.08rem; }
}
@media (max-width: 1120px) {
  .of-menu-btn { display: inline-flex; }
  .of-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 28px 18px; margin: 0; }
  .of-nav.is-open { display: block; }
  .of-nav ul { flex-direction: column; gap: 0; }
  .of-nav a { padding: 12px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .of-head-in { flex-wrap: nowrap; }
  .of-head-act { margin-left: 4px; }
  .of-hero-in { grid-template-columns: minmax(0, 1fr); }
  .of-hero-script { top: -24px; }
  .of-lab-row, .of-method-row, .of-reports-row { grid-template-columns: minmax(0, 1fr); }
  .of-lab-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .of-lab-st + .of-lab-st::before { display: none; }
  .of-calc-row, .of-data-row { grid-template-columns: minmax(0, 1fr); }
  .of-foot-in { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .of-foot-note { grid-column: 1 / -1; }
  .of-read { grid-template-columns: minmax(0, 1fr); }
  .of-toc { position: static; }
  .of-side { order: -1; }
}
@media (max-width: 860px) {
  .of-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .of-stat { padding: 18px 14px; }
  .of-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-reports, .of-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-drop-in { grid-template-columns: minmax(0, 1fr); }
  .of-calc-grid, .of-calc-grid-c, .of-k-tool .of-calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-calc-res { grid-template-columns: 1fr 1fr; }
  .of-res-note { grid-column: 1 / -1; }
  .of-band-in { grid-template-columns: minmax(0, 1fr); }
  .of-band-act { align-items: flex-start; }
  .of-contact { grid-template-columns: minmax(0, 1fr); }
  .of-finder-list, .of-rel-row .of-rel ul { grid-template-columns: minmax(0, 1fr); }
  .of-lab-sum { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .of-wrap { padding: 0 16px; }
  .of-nav { padding: 6px 16px 14px; }
  .of-brand-s { display: none; }
  .of-brand-n { font-size: 1rem; }
  .of-brand img { width: 34px; height: 34px; }
  .of-head-in { gap: 8px; min-height: 64px; }
  .of-head-act .of-btn-ghost { display: none; }
  .of-menu-btn span { display: none; }
  .of-hero-in { padding-top: 26px; }
  .of-hero-script { position: static; transform: none; text-align: left; margin: 0 0 6px; font-size: 1rem; }
  .of-hero-script span { display: inline; }
  .of-funnel { margin-top: 8px; }
  .of-stats-in { grid-template-columns: minmax(0, 1fr); }
  .of-stat, .of-stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .of-stat:first-child { border-top: 0; }
  .of-lab-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-calc-grid, .of-calc-grid-c, .of-k-tool .of-calc-grid, .of-calc-res { grid-template-columns: minmax(0, 1fr); }
  .of-tiles, .of-reports, .of-cards { grid-template-columns: minmax(0, 1fr); }
  .of-form { grid-template-columns: minmax(0, 1fr); }
  .of-foot-in { grid-template-columns: 1fr 1fr; }
  .of-foot-brand { grid-column: 1 / -1; }
  .of-panel, .of-calc, .of-lab, .of-method-row { padding: 16px; }
  .of-band-in { padding: 18px; }
  .of-calc-head { flex-direction: column; gap: 10px; }
}
@media (max-width: 360px) {
  .of-lab-stages { grid-template-columns: minmax(0, 1fr); }
  .of-foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .of-head, .of-band, .of-foot, .of-side { display: none; }
  body { background: #fff; color: #000; }
}

/* boxed rows that are also the page wrapper keep the gutter */
.of-method-row, .of-band-in { width: calc(100% - 56px); max-width: calc(var(--max) - 56px); }
@media (max-width: 600px) { .of-method-row, .of-band-in { width: calc(100% - 32px); } }
@media (max-width: 420px) {
  .of-brand { gap: 8px; min-width: 0; }
  .of-brand img { width: 28px; height: 28px; }
  .of-brand-n { font-size: .86rem; }
  .of-head-in { gap: 4px; }
  .of-menu-btn { padding: 8px 10px; }
  .of-find-btn { width: 40px; }
  .of-head-act { margin-left: 0; }
}
@media (max-width: 340px) {
  .of-brand-n i { display: none; }
}
@media (max-width: 600px) {
  .of-funnel { overflow-x: auto; padding-bottom: 6px; }
  .of-funnel svg { min-width: 600px; }
  .of-funnel figcaption { text-align: left; }
}
