@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --bg: #0a0c0f;
  --bg-raised: #0e1115;
  --panel: #14181e;
  --panel-high: #191e26;
  --line: #242a33;
  --line-soft: #1c222a;
  --line-gold: rgba(201, 162, 39, .42);
  --txt: #e6e9ee;
  --txt-2: #aab2bd;
  --txt-3: #727c88;
  --gold: #c9a227;
  --gold-bright: #e8c24a;
  --gold-deep: #806719;
  --gold-tint: rgba(201, 162, 39, .08);
  --pos: #3fb27f;
  --neg: #e5484d;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Space Grotesk", Inter, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --step--1: clamp(.72rem, .69rem + .1vw, .78rem);
  --step-0: clamp(.92rem, .87rem + .18vw, 1rem);
  --step-1: clamp(1.1rem, 1rem + .4vw, 1.28rem);
  --step-2: clamp(1.35rem, 1.12rem + .8vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.38rem + 1.45vw, 2.6rem);
  --step-4: clamp(3rem, 1.9rem + 4.1vw, 6.4rem);
  --space-1: .375rem;
  --space-2: .75rem;
  --space-3: 1.125rem;
  --space-4: 1.75rem;
  --space-5: 2.75rem;
  --space-6: 4.5rem;
  --space-7: 7.5rem;
  --hairline: 1px solid var(--line);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 180ms;
  --slow: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 400 var(--step-0)/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--gold); color: #0a0c0f; }
:focus-visible { outline: 1px solid var(--gold-bright); outline-offset: 4px; }

.shell { width: min(100% - 3rem, 1380px); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 300; letter-spacing: -.045em; line-height: .97; text-wrap: balance; }
.eyebrow, .label { color: var(--gold); font: 500 var(--step--1)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.mono, [data-number] { font-family: var(--mono); font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--txt-3); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: var(--hairline); background: rgba(10, 12, 15, .82); backdrop-filter: blur(18px) saturate(130%); }
.site-nav { min-height: 76px; display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
.brand-lockup { display: flex; align-items: center; gap: .8rem; min-width: max-content; }
.brand-lockup img { width: 31px; height: 31px; object-fit: contain; }
.brand-name { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.brand-descriptor { color: var(--txt-3); font: 400 .61rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); margin-left: auto; }
.nav-links a { position: relative; color: var(--txt-2); font-size: .79rem; letter-spacing: .02em; transition: color var(--fast); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.65rem; height: 1px; background: var(--gold); transition: right var(--fast) var(--ease); }
.nav-links a:hover { color: var(--txt); }
.nav-links a:hover::after { right: 0; }

.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .6rem; border: 1px solid var(--line-gold); border-radius: 0; padding: .65rem 1rem; background: transparent; color: var(--gold-bright); font-size: .77rem; font-weight: 500; letter-spacing: .035em; cursor: pointer; transition: transform var(--fast) var(--ease), background var(--fast), border-color var(--fast); }
.btn:hover { transform: translateY(-2px); border-color: var(--gold-bright); background: var(--gold-tint); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #111005; }
.btn-primary:hover { background: var(--gold-bright); }
.btn img { width: 17px; height: 17px; object-fit: contain; }

.frame { position: relative; border: var(--hairline); background: rgba(14, 17, 21, .72); }
.frame::before, .frame::after { content: ""; position: absolute; width: 5px; height: 5px; pointer-events: none; }
.frame::before { top: -1px; left: -1px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.frame::after { right: -1px; bottom: -1px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.panel { border: var(--hairline); background: var(--panel); box-shadow: var(--shadow); }

table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th { padding: 1rem 1.25rem; border-bottom: var(--hairline); color: var(--txt-3); font: 500 .65rem/1.2 var(--mono); letter-spacing: .12em; text-align: left; text-transform: uppercase; }
td { padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--line-soft); color: var(--txt-2); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--fast); }
tbody tr:hover { background: rgba(255,255,255,.018); }
input, select, textarea { border: var(--hairline); border-radius: 0; background: var(--bg-raised); color: var(--txt); padding: .75rem .9rem; }

.pill { display: inline-flex; border: var(--hairline); padding: .25rem .5rem; color: var(--txt-3); font: 400 .62rem/1.2 var(--mono); letter-spacing: .03em; }
.pill.cat { border-color: var(--line-gold); background: var(--gold-tint); color: var(--gold-bright); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) { .nav-links { display: none; } .site-nav { min-height: 68px; } .site-nav .btn { margin-left: auto; } }
@media (max-width: 620px) { .shell { width: min(100% - 1.5rem, 1380px); } .brand-descriptor { display: none; } .site-nav .btn { padding: .55rem .7rem; font-size: .68rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
