:root {
  --page: #f3f3e9;
  --page-deep: #e9ece1;
  --surface: #fbfcf8;
  --ink: #07152b;
  --ink-soft: #526075;
  --panel: #050a08;
  --panel-text: #f4f8f5;
  --panel-muted: #809087;
  --accent: #16e6a1;
  --accent-soft: #7debc7;
  --navy: #12377c;
  --line: rgba(7, 21, 43, .13);
  --line-on-panel: rgba(238, 248, 242, .11);
  --radius: 14px;
  --duration-fast: 250ms;
  --duration-medium: 400ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-header: 0 18px 50px rgba(3, 10, 24, .15), 0 3px 12px rgba(3, 10, 24, .08);
}

/* The transitions.dev sliding-tabs defaults are kept intact. */
:root {
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-text-muted: rgba(15, 15, 15, 0.8);
  --tabs-text-active: #0f0f0f;
  --tabs-bar-bg: #f1f1f1;
  --tabs-pill-bg: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--ink); }
body,
body.hyd-home { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--page); font-family: "Manrope", sans-serif; font-size: 16px; line-height: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::selection { color: var(--panel); background: var(--accent); }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 11px; height: 9px; }
::-webkit-scrollbar-track { background: #030806; }
::-webkit-scrollbar-thumb { background: #53635c; border: 3px solid #030806; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
a, button { -webkit-tap-highlight-color: transparent; }
button, a { font: inherit; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
.sheet-row__button:focus-visible { outline-color: var(--navy); }
.hero a:focus-visible, .hero button:focus-visible, .performance-panel a:focus-visible, .performance-panel button:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent); }
svg { display: block; }
.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: fixed; z-index: 1000; top: 12px; left: 16px; padding: 11px 15px; color: var(--panel); background: var(--accent); border-radius: 9px; font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform var(--duration-fast) var(--ease-out); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
main, .site-footer { position: relative; z-index: 1; }
body.hyd-home #ast-scroll-top { display: none !important; }

.site-film { position: fixed; z-index: 0; inset: 0; overflow: hidden; background: var(--ink) url("../media/hyd-monkey-hero-poster.webp") center / cover no-repeat; pointer-events: none; }
.site-film__video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; filter: none; transition: opacity var(--duration-medium) ease-in-out; }
body:not([data-video-state="loading"]) .site-film__video { opacity: 1; }
.site-film__grade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 10, 24, .96) 0%, rgba(4, 13, 30, .91) 35%, rgba(5, 18, 37, .50) 63%, rgba(3, 10, 24, .18) 100%), linear-gradient(180deg, rgba(3, 10, 24, .54) 0%, rgba(3, 10, 24, .06) 45%, rgba(3, 10, 24, .78) 100%); }
.site-film__grain { position: absolute; inset: -40%; opacity: .038; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); transform: rotate(.01deg); }

.site-header { position: fixed; z-index: 100; top: 18px; left: 50%; display: flex; width: min(1180px, calc(100% - 36px)); min-height: 66px; padding: 7px 8px 7px 16px; align-items: center; justify-content: space-between; color: var(--ink); background: rgba(251, 252, 248, .96); border: 1px solid rgba(255, 255, 255, .76); border-radius: 16px; box-shadow: var(--shadow-header); transform: translateX(-50%); transition: top var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); backdrop-filter: blur(16px); }
.site-header.is-scrolled { top: 9px; }
.admin-bar .site-header { top: 50px; }
.admin-bar .site-header.is-scrolled { top: 41px; }
.brand { display: grid; width: 116px; height: 49px; align-items: center; overflow: hidden; }
.brand img { width: 108px; height: auto; mix-blend-mode: multiply; }
.site-header__right { display: flex; min-width: 0; align-items: center; gap: 8px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { display: inline-flex; min-height: 44px; padding-inline: 14px; align-items: center; color: var(--ink-soft); border-radius: 9px; font-size: 12px; font-weight: 700; text-decoration: none; transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out); }
.site-nav a:hover { color: var(--ink); background: rgba(7, 21, 43, .055); }
.header-action, .button { display: inline-flex; min-height: 50px; padding: 0 19px; align-items: center; justify-content: center; gap: 17px; color: var(--surface); background: var(--ink); border: 1px solid var(--ink); border-radius: 10px; font-size: 12px; font-weight: 800; text-decoration: none; transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.header-action svg, .button svg, .sheet-row__button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.header-action:hover, .button:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }

.hero { position: relative; display: flex; min-height: 100svh; padding: 144px 0 154px; align-items: center; color: var(--surface); }
.hero__inner { position: relative; display: flex; min-height: calc(100svh - 298px); align-items: center; }
.hero__copy { width: min(850px, 73vw); }
.hero h1 { max-width: 10.5ch; margin: 0; color: var(--surface); font-size: clamp(58px, 7vw, 94px); font-weight: 700; letter-spacing: -.04em; line-height: .94; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 .hero__accent { color: var(--accent-soft); }
.hero__support { display: grid; grid-template-columns: minmax(300px, 480px); margin-top: 38px; }
.hero__support > p:first-child { margin: 0; color: #c8d2df; font-size: 17px; line-height: 1.72; }
.hero__actions { display: flex; margin-top: 29px; align-items: center; gap: 24px; }
.hero__actions .button { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.hero__actions .button:hover { background: #8bf0cf; border-color: #8bf0cf; }
.hero__text-link { display: inline-flex; min-height: 48px; align-items: center; color: #edf5fb; font-size: 12px; font-weight: 750; text-decoration-color: rgba(237, 245, 251, .42); transition: color var(--duration-fast) var(--ease-out), text-decoration-color var(--duration-fast) var(--ease-out); }
.hero__text-link:hover { color: var(--accent-soft); text-decoration-color: currentColor; }
.t-stagger-line { opacity: 1; filter: blur(0); transform: translateY(0); transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.t-stagger:not(.is-shown) .t-stagger-line { opacity: 0; filter: blur(3px); transform: translateY(12px); }
.t-stagger-line--2 { transition-delay: 40ms; }

.proof-ledger { position: relative; z-index: 2; margin-top: -78px; padding-bottom: clamp(72px, 8vw, 108px); background: linear-gradient(180deg, transparent 0 78px, var(--page) 78px 100%); }
.proof-ledger__inner { position: relative; display: grid; min-height: 176px; grid-template-columns: minmax(370px, 1.15fr) minmax(0, 1fr); padding: 30px 34px 26px; align-items: stretch; gap: 40px; background: var(--surface); border: 1px solid rgba(7, 21, 43, .14); border-radius: 5px; box-shadow: 0 30px 70px rgba(4, 14, 28, .12), 0 4px 12px rgba(4, 14, 28, .06); }
.proof-ledger__inner::before { position: absolute; top: -1px; right: -1px; left: -1px; height: 3px; background: var(--accent); content: ""; }
.proof-ledger__statement { display: flex; margin: 0; padding-right: 35px; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-ledger__statement > span:first-child { color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.proof-ledger__statement strong { margin: 7px 0 5px; color: var(--ink); font-size: clamp(42px, 5vw, 66px); font-weight: 700; letter-spacing: -.04em; line-height: .92; font-variant-numeric: tabular-nums; }
.proof-ledger__statement strong.is-negative { color: #a94036; }
.proof-ledger__statement > span:last-child { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.proof-ledger__statement b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.proof-ledger__details { display: grid; margin: 0; align-content: stretch; }
.proof-ledger__details > div { display: grid; grid-template-columns: 88px 1fr; padding: 12px 0; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.proof-ledger__details > div:last-child { border-bottom: 0; }
.proof-ledger__details dt { color: #5f6b7e; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.proof-ledger__details dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

.section-intro { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .74fr); margin-bottom: 34px; align-items: end; gap: clamp(32px, 7vw, 108px); }
.section-intro h2 { max-width: 14ch; margin: 0; color: var(--ink); font-size: clamp(39px, 4.7vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: .97; text-wrap: balance; }
.section-intro > p { max-width: 60ch; margin: 0 0 2px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

.performance { padding: 0 0 clamp(88px, 10vw, 138px); background: var(--page); }
.performance__intro { margin-bottom: 37px; }
.performance-panel { --tabs-text-muted: #8c9992; --tabs-text-active: #07110d; --tabs-bar-bg: #0b110e; --tabs-pill-bg: var(--accent); position: relative; overflow: hidden; color: var(--panel-text); background: var(--panel); border: 1px solid #26312b; border-radius: 10px; box-shadow: 0 28px 75px rgba(5, 10, 8, .18); }
.performance-panel::before { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); content: ""; pointer-events: none; }
.performance-panel__header { display: grid; grid-template-columns: 1fr auto; padding: 23px 26px 4px; align-items: start; gap: 28px; }
.performance-panel__header h3 { max-width: 780px; margin: 0; color: var(--panel-text); font-size: clamp(19px, 1.8vw, 25px); font-weight: 700; letter-spacing: -.03em; line-height: 1.16; }
.performance-panel__header p { margin: 7px 0 0; color: var(--panel-muted); font-size: 12px; font-weight: 600; }
.performance-total { display: grid; justify-items: end; font-variant-numeric: tabular-nums; }
.performance-total span { color: var(--panel-muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.performance-total strong { margin-top: 4px; color: var(--accent); font-size: clamp(24px, 2.7vw, 36px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.performance-total strong.is-negative { color: #ff8c7f; }
.performance-chart { position: relative; height: 300px; margin: 0 17px; overflow: hidden; background: linear-gradient(180deg, rgba(22, 230, 161, .015), transparent 48%); }
.performance-chart__svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.performance-chart__grid line { stroke: rgba(231, 244, 237, .075); stroke-width: 1; vector-effect: non-scaling-stroke; }
.performance-chart__grid line.is-zero { stroke: rgba(231, 244, 237, .19); }
.performance-chart__grid text, .performance-chart__dates text { fill: #819189; font-family: "Manrope", sans-serif; font-size: 11px; font-variant-numeric: tabular-nums; }
.performance-chart__data { opacity: 1; transition: opacity var(--duration-fast) var(--ease-out); }
.performance-chart__area { fill: url(#performance-area-gradient); stroke: none; }
.performance-chart__line { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 4px 7px rgba(22, 230, 161, .14)); }
.performance-chart__point-halo { fill: var(--accent); opacity: .16; }
.performance-chart__point { fill: #d7fff1; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.performance-chart__cursor { pointer-events: none; }
.performance-chart__cursor line { stroke: rgba(199, 244, 226, .5); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.performance-chart__cursor-halo { fill: var(--accent); opacity: .18; }
.performance-chart__cursor-point { fill: #e5fff6; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.performance-chart__explorer { position: absolute; z-index: 2; inset: 0; cursor: crosshair; touch-action: pan-y; }
.performance-chart__explorer[aria-disabled="true"] { pointer-events: none; }
.performance-chart__explorer:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.performance-chart__tooltip { position: absolute; z-index: 4; width: 218px; padding: 13px; color: #d9e6df; background: rgba(8, 15, 12, .97); border: 1px solid rgba(133, 239, 202, .3); border-radius: 10px; box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 0 4px 12px rgba(0, 0, 0, .22); pointer-events: none; }
.performance-chart__tooltip > span { display: block; color: #95a69d; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.performance-chart__tooltip > strong { display: block; margin-top: 5px; color: var(--accent); font-size: 20px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.performance-chart__tooltip > strong.is-negative { color: #ff8c7f; }
.performance-chart__tooltip > small { display: block; margin-top: 2px; color: #819189; font-size: 9px; font-weight: 600; }
.performance-chart__tooltip dl { display: grid; margin: 12px 0 0; gap: 7px; }
.performance-chart__tooltip dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.performance-chart__tooltip dt { color: #8fa097; font-size: 10px; }
.performance-chart__tooltip dd { margin: 0; color: #eef7f2; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.performance-chart__tooltip button { width: 100%; min-height: 44px; margin-top: 12px; color: #06110c; background: var(--accent); border: 0; border-radius: 7px; cursor: pointer; font-size: 10px; font-weight: 800; pointer-events: auto; }
.performance-chart__tooltip button:hover { background: #8bf0cf; }
.performance-chart__hint { position: absolute; z-index: 3; top: 9px; right: 11px; margin: 0; color: #82928a; font-size: 9px; font-weight: 700; letter-spacing: .035em; pointer-events: none; transition: opacity var(--duration-fast) var(--ease-out); }
.performance-chart.is-exploring .performance-chart__hint { opacity: 0; }
.performance-panel[data-state="updating"] .performance-chart__data { opacity: .72; }
.performance-skeleton { position: absolute; inset: 20px 18px 28px 50px; display: none; align-content: stretch; }
.performance-skeleton span { position: relative; display: block; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.performance-skeleton::after { position: absolute; inset: 18% 1% 11%; background: linear-gradient(105deg, transparent 0 14%, rgba(22, 230, 161, .08) 38%, rgba(22, 230, 161, .20) 56%, rgba(22, 230, 161, .07) 76%, transparent 100%); clip-path: polygon(0 88%, 8% 78%, 15% 82%, 23% 61%, 31% 66%, 39% 43%, 48% 49%, 57% 31%, 66% 36%, 75% 18%, 84% 27%, 92% 8%, 100% 2%, 100% 100%, 0 100%); content: ""; animation: skeleton-breathe 1.7s ease-in-out infinite alternate; }
.performance-panel[data-state="loading"] .performance-skeleton { display: grid; grid-template-rows: repeat(4, 1fr); }
.performance-panel[data-state="loading"] .performance-chart__svg { opacity: 0; }
.performance-panel[data-state="loading"] .performance-chart__explorer,
.performance-panel[data-state="error"] .performance-chart__explorer,
.performance-panel[data-state="empty"] .performance-chart__explorer { pointer-events: none; }
@keyframes skeleton-breathe { from { opacity: .4; } to { opacity: .95; } }
.performance-message { position: absolute; z-index: 5; inset: 0; display: grid; padding: 30px; place-content: center; justify-items: center; color: var(--panel-muted); text-align: center; }
.performance-message strong { color: var(--panel-text); font-size: 17px; }
.performance-message > span { max-width: 45ch; margin-top: 8px; font-size: 12px; line-height: 1.6; }
.performance-message > div { display: flex; margin-top: 19px; gap: 9px; }
.performance-message button { min-height: 44px; padding: 0 15px; color: var(--panel-text); background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700; }
.performance-message button:hover { color: var(--panel); background: var(--accent); border-color: var(--accent); }
.performance-toolbar { display: flex; min-height: 72px; padding: 10px 22px 8px; align-items: flex-end; justify-content: space-between; gap: 18px; }
.performance-filters { display: grid; min-width: 0; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.performance-filters::-webkit-scrollbar { display: none; }
.performance-filter-label { color: #b9c7c0; font-size: 11px; font-weight: 700; letter-spacing: .015em; }

/* The bar is just a flex container with padding for the pill
   to sit inside. Tabs sit on z-index: 1, the pill on z-index: 0,
   so labels read above the pill background. */
.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 48px;
  background: var(--tabs-bar-bg);
}
.t-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  height: 30px;
  padding: 4px 12px;
  color: var(--tabs-text-muted);
  cursor: pointer;
  border-radius: 48px;
  z-index: 1;
  transition: color var(--tabs-dur) var(--tabs-ease);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] {
  color: var(--tabs-text-active);
}

/* The pill: width + transform are written inline by JS so
   the transition tweens between the previous and next
   measured positions. */
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  transform: translateX(0);
  transition:
    transform var(--tabs-dur) var(--tabs-ease),
    width     var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .t-tabs-pill, .t-tab { transition: none !important; }
}

.performance-toolbar .t-tabs { flex: 0 0 auto; min-width: max-content; }
.performance-toolbar .t-tab { height: 42px; padding: 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.performance-toolbar .t-tabs-pill { height: 42px; }
.t-tab__short { display: none; }
.performance-panel[data-state="loading"] .t-tab, .performance-panel[data-state="error"] .t-tab { cursor: wait; opacity: .48; }
.performance-toolbar__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.performance-refresh,
.performance-filter-toggle { display: inline-flex; min-height: 44px; padding: 0 11px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; color: #adbbb3; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700; }
.performance-filter-toggle { padding-inline: 13px 10px; color: #d4ded8; border-color: rgba(255, 255, 255, .14); }
.performance-refresh:hover,
.performance-filter-toggle:hover { color: var(--panel-text); background: rgba(255, 255, 255, .045); }
.performance-refresh:disabled { cursor: wait; opacity: .55; }
.performance-refresh svg,
.performance-filter-toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.performance-filter-toggle__chevron { margin-left: 1px; transition: transform var(--duration-fast) var(--ease-out); }
.performance-filter-toggle[aria-expanded="true"] .performance-filter-toggle__chevron { transform: rotate(180deg); }
.performance-filter-count { display: grid; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; color: #07110d; background: var(--accent); border-radius: 999px; font-size: 10px; font-variant-numeric: tabular-nums; }
.performance-panel[data-state="updating"] .performance-refresh svg { animation: refresh-spin .9s linear infinite; }
@keyframes refresh-spin { to { transform: rotate(360deg); } }
.performance-advanced { padding: 17px 22px 19px; background: #080e0b; border-top: 1px solid var(--line-on-panel); border-bottom: 1px solid var(--line-on-panel); }
.performance-advanced__intro { display: flex; min-height: 25px; align-items: center; justify-content: space-between; gap: 18px; }
.performance-advanced__intro p { margin: 0; color: #aebdb5; font-size: 11px; font-weight: 700; }
.performance-advanced__intro button { min-height: 44px; padding: 0 5px; color: var(--accent); background: transparent; border: 0; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 700; }
.performance-advanced__intro button:hover { color: #a4f4d8; }
.performance-advanced__intro button:disabled { color: #647169; cursor: default; }
.performance-filter-grid { display: grid; grid-template-columns: minmax(145px, .9fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, .8fr); margin-top: 9px; gap: 10px; }
.performance-filter-field { display: grid; min-width: 0; gap: 7px; color: #b9c7c0; font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.performance-filter-field select,
.performance-filter-field input { width: 100%; height: 44px; min-width: 0; padding: 0 35px 0 12px; color: #edf4f0; background-color: #0d1511; border: 1px solid rgba(237, 244, 240, .16); border-radius: 8px; outline: 0; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.performance-filter-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2395a49c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-position: right 10px center; background-repeat: no-repeat; background-size: 16px; cursor: pointer; }
.performance-filter-field input { padding-left: 36px; }
.performance-filter-field input::placeholder { color: #809087; opacity: 1; }
.performance-filter-field input::-webkit-search-cancel-button { filter: invert(1); opacity: .55; }
.performance-filter-field--date input { padding-inline: 11px 8px; color-scheme: dark; font-variant-numeric: tabular-nums; }
.performance-filter-field--date input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .72; }
.performance-filter-field select:hover,
.performance-filter-field input:hover { border-color: rgba(237, 244, 240, .28); }
.performance-filter-field select:focus-visible,
.performance-filter-field input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22, 230, 161, .13); }
.performance-filter-field input[aria-invalid="true"] { border-color: #ff8c7f; }
.performance-filter-field select:disabled,
.performance-filter-field input:disabled { color: #748078; cursor: wait; opacity: .72; }
.performance-filter-input-wrap { position: relative; display: block; }
.performance-filter-input-wrap > svg { position: absolute; z-index: 1; top: 50%; left: 12px; width: 15px; fill: none; stroke: #819188; stroke-linecap: round; stroke-width: 1.5; pointer-events: none; transform: translateY(-50%); }
.performance-active-filters { display: flex; margin-top: 13px; align-items: center; gap: 10px; }
.performance-active-filters > span { flex: 0 0 auto; color: #819188; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.performance-active-filters > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px; }
.performance-filter-chip { display: inline-flex; min-height: 44px; padding: 0 11px 0 12px; align-items: center; gap: 7px; color: #d9e5df; background: #101a15; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 700; }
.performance-filter-chip:hover { color: #07110d; background: var(--accent); border-color: var(--accent); }
.performance-filter-chip svg { width: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.performance-meta { display: flex; min-height: 42px; padding: 0 26px; align-items: center; justify-content: space-between; gap: 22px; color: #95a49c; border-top: 1px solid var(--line-on-panel); font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.performance-status { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; text-align: right; }
.performance-status__dot { width: 6px; height: 6px; flex: 0 0 auto; background: var(--accent); border-radius: 50%; }
.performance-panel[data-state="loading"] .performance-status__dot, .performance-panel[data-state="updating"] .performance-status__dot { animation: status-pulse 1.2s ease-in-out infinite; }
.performance-panel[data-state="stale"] .performance-status__dot { background: #f1c56f; }
.performance-panel[data-state="error"] .performance-status__dot { background: #ff8c7f; }
@keyframes status-pulse { 50% { opacity: .28; transform: scale(.78); } }
.method { padding: clamp(88px, 10vw, 140px) 0 clamp(78px, 9vw, 124px); color: var(--ink); background: var(--page-deep); border-top: 1px solid var(--line); }
.method__layout { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(440px, 1.25fr); gap: clamp(56px, 10vw, 150px); }
.method__intro { position: sticky; top: 124px; align-self: start; }
.method__intro h2 { max-width: 8ch; margin: 0; color: var(--ink); font-size: clamp(47px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: .95; text-wrap: balance; }
.method__intro p { max-width: 48ch; margin: 30px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.78; }
.method-flow { position: relative; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(7, 21, 43, .22); }
.method-flow::before { position: absolute; top: 0; bottom: 0; left: 23px; width: 1px; background: linear-gradient(180deg, var(--accent) 0%, rgba(22, 230, 161, .22) 75%, transparent 100%); content: ""; }
.method-flow li { position: relative; display: grid; min-height: 148px; grid-template-columns: 48px 1fr; padding: 31px 0 30px; align-items: start; gap: 23px; border-bottom: 1px solid rgba(7, 21, 43, .18); }
.method-flow__index { position: relative; z-index: 1; display: grid; width: 47px; height: 34px; place-items: center; color: var(--ink); background: var(--page-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.method-flow li:first-child .method-flow__index::before { position: absolute; top: -32px; width: 7px; height: 7px; background: var(--accent); border: 3px solid var(--page-deep); border-radius: 50%; box-shadow: 0 4px 12px rgba(22, 230, 161, .28); content: ""; }
.method-flow h3 { margin: 0; color: var(--ink); font-size: clamp(23px, 2.2vw, 31px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.method-flow p { max-width: 50ch; margin: 13px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.72; }
.reading-guide { margin-top: clamp(70px, 8vw, 108px); padding-top: 27px; border-top: 1px solid rgba(7, 21, 43, .22); }
.reading-guide > h3 { margin: 0; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.reading-guide dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 27px 0 0; gap: 0; }
.reading-guide dl > div { padding: 4px 32px 0; border-left: 1px solid rgba(7, 21, 43, .18); }
.reading-guide dl > div:first-child { padding-left: 0; border-left: 0; }
.reading-guide dt { font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.reading-guide dd { max-width: 36ch; margin: 10px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }

.sheets { padding-block: clamp(88px, 10vw, 140px); color: var(--ink); background: var(--page); border-top: 1px solid var(--line); }
.sheets__intro { margin-bottom: 44px; }
.sheets__intro h2 { max-width: 13ch; }
.sheet-list { border-top: 1px solid rgba(7, 21, 43, .22); }
.sheet-row { display: grid; grid-template-columns: minmax(190px, .72fr) minmax(280px, 1.05fr) minmax(190px, auto); min-height: 154px; padding: 31px 0; align-items: center; gap: clamp(28px, 5vw, 74px); border-bottom: 1px solid rgba(7, 21, 43, .22); }
.sheet-row__identity > span { display: block; margin-bottom: 11px; color: #5f6b7e; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sheet-row h3 { margin: 0; color: var(--ink); font-size: clamp(27px, 2.8vw, 39px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.sheet-row > p { max-width: 48ch; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.sheet-row__actions { display: grid; min-width: 190px; justify-items: stretch; gap: 10px; }
.sheet-row__button { display: inline-flex; min-width: 174px; min-height: 50px; padding: 0 15px; align-items: center; justify-content: space-between; gap: 18px; color: var(--ink); background: transparent; border: 1px solid rgba(7, 21, 43, .28); border-radius: 9px; font-size: 11px; font-weight: 800; text-decoration: none; transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.sheet-row__button:hover { color: var(--surface); background: var(--ink); border-color: var(--ink); }
.sheet-row--unlimited .sheet-row__button { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.sheet-row--unlimited .sheet-row__button:hover { background: #8bf0cf; border-color: #8bf0cf; }
.sheet-row__secondary { min-height: 32px; color: var(--ink-soft); font-size: 10px; font-weight: 750; text-align: center; text-decoration-color: rgba(7, 21, 43, .25); }
.sheet-row__secondary:hover { color: var(--ink); text-decoration-color: currentColor; }

.faq { padding-block: clamp(88px, 10vw, 138px); color: var(--ink); background: var(--surface); border-top: 1px solid var(--line); }
.faq__layout { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(470px, 1.3fr); gap: clamp(56px, 10vw, 148px); }
.faq__intro h2 { max-width: 11ch; margin: 0; color: var(--ink); font-size: clamp(43px, 5vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: .97; text-wrap: balance; }
.faq__intro p { max-width: 34ch; margin: 27px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.faq__list { border-top: 1px solid rgba(7, 21, 43, .22); }
.faq details { border-bottom: 1px solid rgba(7, 21, 43, .18); }
.faq summary { display: grid; min-height: 74px; grid-template-columns: 1fr 26px; padding: 0 2px; align-items: center; gap: 24px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; transition: transform var(--duration-fast) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 65ch; margin: -4px 54px 24px 2px; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.faq summary:hover { color: #0a6951; }

.closing-cta { position: relative; padding: clamp(78px, 9vw, 120px) 0; overflow: hidden; color: var(--surface); background: var(--ink); }
.closing-cta::before { position: absolute; top: 0; left: 50%; width: min(1180px, calc(100% - 48px)); height: 1px; background: linear-gradient(90deg, var(--accent), rgba(22, 230, 161, .08)); content: ""; transform: translateX(-50%); }
.closing-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 56px; }
.closing-cta h2 { max-width: 11ch; margin: 0; color: var(--surface); font-size: clamp(48px, 6vw, 82px); font-weight: 700; letter-spacing: -.04em; line-height: .94; text-wrap: balance; }
.closing-cta p { max-width: 52ch; margin: 25px 0 0; color: #aebbcf; font-size: 13px; line-height: 1.7; }
.closing-cta__actions { display: flex; align-items: center; gap: 10px; }
.button--light { color: var(--surface); background: transparent; border-color: rgba(251, 252, 248, .34); }
.button--light:hover { color: var(--ink); background: var(--surface); border-color: var(--surface); }
.button--accent { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.button--accent:hover { color: var(--ink); background: #8bf0cf; border-color: #8bf0cf; }

.site-footer { padding: 36px 0; color: #7e8a9e; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; font-size: 10px; }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a { color: #c5cfdd; font-weight: 700; }
.site-footer__inner p { justify-self: end; margin: 0; text-align: right; }

@media (max-width: 1040px) {
  .site-nav__faq { display: none !important; }
  .proof-ledger__inner { grid-template-columns: minmax(330px, 1fr) minmax(0, 1fr); gap: 30px; }
  .sheet-row { grid-template-columns: minmax(170px, .62fr) minmax(250px, 1fr) 176px; gap: 30px; }
  .sheet-row__actions { min-width: 176px; }
  .sheet-row__button { min-width: 176px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 78px; }
  .section-shell { width: min(100% - 36px, 680px); }
  .site-film__video { object-fit: contain; object-position: center 30%; filter: none; transform: scale(1.13); }
  body:not([data-video-state="loading"]) .site-film__video { opacity: .82; }
  .site-film__grade { background: linear-gradient(180deg, rgba(3, 10, 24, .74) 0%, rgba(3, 10, 24, .56) 30%, rgba(3, 10, 24, .91) 74%, rgba(3, 10, 24, .98) 100%), linear-gradient(90deg, rgba(3, 10, 24, .69), rgba(3, 10, 24, .34)); }
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 58px; padding: 6px 7px 6px 12px; border-radius: 14px; }
  .site-header.is-scrolled { top: 8px; }
  .admin-bar .site-header { top: 42px; }
  .admin-bar .site-header.is-scrolled { top: 40px; }
  .brand { width: 101px; height: 44px; }
  .brand img { width: 94px; }
  .site-header__right { gap: 4px; }
  .site-nav { gap: 0; }
  .site-nav a { min-height: 44px; padding-inline: 9px; font-size: 10px; }
  .header-action { min-height: 44px; padding-inline: 14px; gap: 10px; font-size: 10px; }
  .header-action svg { width: 15px; }
  .hero { min-height: max(700px, 100svh); padding: 126px 0 94px; }
  .hero__inner { min-height: calc(100svh - 220px); align-items: flex-end; }
  .hero__copy { width: 100%; }
  .hero h1 { max-width: 10.4ch; font-size: clamp(46px, 12.7vw, 67px); }
  .hero__support { grid-template-columns: 1fr; margin-top: 28px; }
  .hero__support > p:first-child { max-width: 34ch; font-size: 15px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero__actions .button { width: 100%; }
  .hero__text-link { min-height: 44px; justify-content: center; }
  .proof-ledger { margin-top: 0; padding: 0 0 68px; background: var(--page); }
  .proof-ledger__inner { width: 100%; min-height: 0; grid-template-columns: 1fr; padding: 35px max(18px, calc((100% - 644px) / 2)); gap: 26px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .proof-ledger__statement { padding: 0 0 27px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-ledger__statement strong { font-size: clamp(46px, 13vw, 64px); }
  .proof-ledger__details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-ledger__details > div { display: block; padding: 0 18px; border-bottom: 0; border-left: 1px solid var(--line); }
  .proof-ledger__details > div:first-child { padding-left: 0; border-left: 0; }
  .proof-ledger__details dt { margin-bottom: 8px; }
  .proof-ledger__details dd { line-height: 1.5; }
  .section-intro { grid-template-columns: 1fr; margin-bottom: 28px; align-items: start; gap: 21px; }
  .section-intro h2 { max-width: 13ch; font-size: clamp(38px, 10vw, 51px); }
  .section-intro > p { max-width: 48ch; font-size: 13px; }
  .performance { padding: 0 0 76px; }
  .performance__intro { margin-bottom: 28px; }
  .performance-panel__header { grid-template-columns: 1fr; padding: 21px 20px 3px; gap: 14px; }
  .performance-panel__header h3 { max-width: 22ch; font-size: clamp(19px, 5.7vw, 23px); }
  .performance-total { justify-items: start; }
  .performance-total strong { font-size: clamp(29px, 9vw, 36px); }
  .performance-chart { height: 250px; margin-inline: 6px; }
  .performance-chart__grid text, .performance-chart__dates text { font-size: 11px; }
  .performance-toolbar { padding: 12px 13px 8px; align-items: stretch; flex-direction: column; gap: 8px; }
  .performance-filter-label { font-size: 12px; }
  .performance-toolbar .t-tab { height: 44px; padding-inline: 12px; font-size: 11px; letter-spacing: 0; }
  .performance-toolbar .t-tabs-pill { height: 44px; }
  .t-tab__full { display: none; }
  .t-tab__short { display: inline; }
  .performance-toolbar__actions { justify-content: space-between; }
  .performance-filter-toggle,
  .performance-refresh { min-height: 44px; }
  .performance-advanced { padding: 15px 13px 17px; }
  .performance-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 8px; }
  .performance-filter-field--date { order: 1; grid-column: 1 / -1; }
  .performance-filter-field--sport { order: 2; }
  .performance-filter-field--result { order: 3; }
  .performance-filter-field--house { order: 4; grid-column: 1 / -1; }
  .performance-filter-field--market { order: 5; grid-column: 1 / -1; }
  .performance-active-filters { align-items: flex-start; flex-direction: column; gap: 8px; }
  .performance-meta { min-height: 66px; padding: 10px 20px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; font-size: 11px; letter-spacing: .05em; }
  .performance-status { justify-content: flex-start; text-align: left; }
  .method { padding: 76px 0 72px; }
  .method__layout { grid-template-columns: 1fr; gap: 48px; }
  .method__intro { position: static; }
  .method__intro h2 { max-width: 9ch; font-size: clamp(45px, 12vw, 62px); }
  .method__intro p { margin-top: 23px; }
  .method-flow li { min-height: 0; }
  .method-flow h3 { font-size: clamp(23px, 6vw, 28px); }
  .reading-guide { margin-top: 64px; }
  .reading-guide dl { grid-template-columns: 1fr; }
  .reading-guide dl > div { padding: 22px 0; border-top: 1px solid rgba(7, 21, 43, .15); border-left: 0; }
  .reading-guide dl > div:first-child { padding-top: 0; border-top: 0; }
  .sheets { padding-block: 76px; }
  .sheets__intro { margin-bottom: 30px; }
  .sheet-row { grid-template-columns: 1fr auto; min-height: 0; padding: 28px 0; gap: 18px 28px; }
  .sheet-row > p { grid-column: 1 / -1; grid-row: 2; }
  .sheet-row__actions { min-width: 174px; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .sheet-row__button { min-width: 174px; }
  .faq { padding-block: 76px; }
  .faq__layout { grid-template-columns: 1fr; gap: 47px; }
  .faq__intro h2 { max-width: 12ch; font-size: clamp(40px, 10.4vw, 54px); }
  .faq__intro p { margin-top: 20px; }
  .closing-cta { padding: 74px 0; }
  .closing-cta__inner { grid-template-columns: 1fr; align-items: start; gap: 35px; }
  .closing-cta h2 { font-size: clamp(46px, 11vw, 62px); }
  .closing-cta__actions { width: 100%; }
  .closing-cta__actions .button { flex: 1 1 0; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; gap: 21px; }
  .site-footer__inner p { max-width: 38ch; text-align: left; line-height: 1.6; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 56px; }
  .admin-bar .site-header.is-scrolled { top: 54px; }
}

@media (max-width: 520px) {
  .site-header { padding-left: 9px; }
  .brand { width: 62px; }
  .brand img { width: 58px; }
  .site-header__right { gap: 2px; }
  .site-nav a { padding-inline: 5px; font-size: 10px; }
  .site-nav__method, .site-nav__faq { display: none !important; }
  .header-action { width: auto; padding: 0 10px; gap: 7px; font-size: 9px; }
  .header-action > span { display: inline; }
  .header-action__prefix { display: none; }
  .header-action svg { width: 13px; }
  .hero { padding-bottom: 78px; }
  .hero h1 { font-size: clamp(43px, 13.5vw, 57px); }
  .proof-ledger__inner { padding: 31px 18px 33px; }
  .proof-ledger__details { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .proof-ledger__details > div { padding-inline: 14px; }
  .proof-ledger__details > div:first-child { padding-left: 0; }
  .proof-ledger__details > div:nth-child(3) { grid-column: 1 / -1; padding: 19px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .section-intro h2 { font-size: clamp(36px, 11vw, 46px); }
  .performance-chart__tooltip { width: min(200px, calc(100% - 22px)); }
  .performance-chart__hint { display: none; }
  .sheet-row { grid-template-columns: 1fr; gap: 17px; }
  .sheet-row > p, .sheet-row__actions { grid-column: 1; grid-row: auto; }
  .sheet-row__actions { width: 100%; min-width: 0; justify-items: stretch; }
  .sheet-row__button { width: 100%; min-width: 0; }
  .faq summary { min-height: 68px; gap: 14px; font-size: 13px; }
  .faq details p { margin-right: 34px; }
  .closing-cta__actions { align-items: stretch; flex-direction: column-reverse; }
  .closing-cta__actions .button { width: 100%; flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-film__video { display: none; }
  .site-header, .site-film__video, .site-nav a, .button, .header-action, .sheet-row__button, .performance-chart__data, .performance-filter-toggle__chevron, .performance-chart__hint, .faq summary svg { transition: none !important; }
  .t-stagger-line { transition: none !important; }
  .performance-skeleton::after, .performance-refresh svg, .performance-status__dot { animation: none !important; }
}
