/* Edgeball brand system for the standalone pages (Edgeball Products, The Edgeball Edge).
   Tokens match edgeballstrategies.com: orange #FF5900, court green #00A859, dark #1A1F23, paper #F5F4F0.
   Type: Montserrat 900 display (uppercase), Fraunces italic accents, Plus Jakarta Sans text, mono labels. */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-var.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic-var.woff2") format("woff2-variations"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --orange: #FF5900; --orange-600: #E04E00; --orange-100: #FFE8DA;
  --green: #00A859; --green-700: #0F7A44; --green-100: #DDF5E8;
  --ink: #141414; --ink-2: #3A3F44; --ink-3: #5F666D; --ink-4: #8A9198;
  --dark: #1A1F23; --dark-2: #232A30; --dark-3: #2E363D; --dark-0: #111518;
  --paper: #F5F4F0; --paper-2: #ECEAE3; --white: #FFFFFF; --line: #E2E0D8; --line-dark: rgba(255,255,255,.12);
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-text: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --radius: 10px; --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(20,20,20,.05), 0 12px 32px -14px rgba(20,20,20,.22);
  --container: 1200px; --gutter: 20px; --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); text-transform: uppercase; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -.01em; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--orange); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.section-dark { background: var(--dark); color: #E6E9EC; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-white { background: var(--white); }
.muted { color: var(--ink-3); }
.section-dark .muted { color: #A9B2BA; }
.mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 62ch; }
.section-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 48px); }

.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 18px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--orange); flex-shrink: 0; }
.kicker .idx { color: var(--ink-4); }
.section-dark .kicker { color: #FFB080; }
.section-dark .kicker .idx { color: #6E7A85; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent; font-family: var(--font-display); font-weight: 800; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(255,89,0,.7); }
.btn-primary:hover { background: var(--orange-600); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.section-dark .btn-outline, .btn-outline.on-dark { border-color: rgba(255,255,255,.55); color: #fff; }
.section-dark .btn-outline:hover, .btn-outline.on-dark:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .78rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,244,240,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: auto; flex-shrink: 0; }
.brand-text { font-family: var(--font-display); font-weight: 900; font-size: 1rem; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.brand-text span { display: block; margin-top: 3px; font-size: .62rem; font-weight: 800; letter-spacing: .2em; color: var(--orange); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 600; font-size: .92rem; color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--orange-600); border-color: var(--orange); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .brand img { width: 40px; } .brand-text { font-size: .86rem; } .site-header .btn-sm { padding: 8px 12px; font-size: .7rem; } }

/* Hero (dark) */
.hero { background: var(--dark); color: #E6E9EC; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { color: #fff; }
.hero .kicker { color: #FFB080; }
.hero .kicker .idx { color: #6E7A85; }
.hero .lede { color: #C9D0D6; }
.hero .ghost { position: absolute; top: clamp(8px, 2vw, 28px); left: -1vw; font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 22vw, 19rem); line-height: .85; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none; user-select: none; }
.hero .container { position: relative; }
.hero-rule { height: 2px; background: var(--orange); margin-top: clamp(28px, 4vw, 44px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8F9AA4; margin-top: 18px; }
.hero-meta b { color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255,89,0,.45); background: rgba(255,89,0,.1); border-radius: 4px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #FFB080; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* Footer */
.site-footer { background: var(--dark-0); color: #A9B2BA; padding: 44px 0 28px; font-size: .92rem; }
.site-footer a { color: #E6E9EC; }
.site-footer a:hover { color: var(--orange); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: .82rem; color: #77828C; }
