/* Apex Player Placement marketing site. Palette and type follow apexsoccer.app. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Inter-700.woff2') format('woff2'); }

:root {
  --bg: #000000;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --line: #2a2a2a;
  --ink: #f8fafc;
  --ink-2: #cbd5e1;
  --ink-3: #64748b;
  --gold: #1eb4ff;
  --gold-2: #0a84e0;
  --green: #10b981;
  --amber: #fb923c;
  --red: #ef4444;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--gold); }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--ink-3); }
.lead { font-size: 1.2rem; max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(17,17,17,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--gold), #e5e7eb, var(--gold-2)) 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--gold); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 30px; height: 30px; }
.brand small { color: var(--ink-3); font-weight: 500; font-size: .85rem; }
.nav { display: flex; gap: 1.4rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2rem, 6vw, 4rem); background: linear-gradient(135deg, #000 0%, #0c0c0e 55%, #111 100%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
.hero .eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); display: block; }
.hero .lead { color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 1px solid transparent; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #00142a; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.price { color: var(--ink-3); font-size: .95rem; }
.price b { color: var(--ink); font-weight: 600; }
.lion { position: absolute; right: -2%; top: 50%; width: min(50vw, 440px); transform: translateY(-50%); opacity: .12; pointer-events: none; filter: saturate(.6); }
.brand img { width: 34px; height: 34px; }

/* Mock of the teams board */
.board { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: #0a0a0a; border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: 0 30px 80px rgba(30,180,255,.10); font-size: 12px; }
.team { background: #111; border: 1px solid #222; border-radius: 14px; padding: 10px; min-width: 0; }
.team h4 { margin: 0; color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team .stat { color: var(--ink-3); font-size: 10px; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.team .stat b { color: var(--gold); }
.team ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.team li { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 8px; background: #161616; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.team li i { font-style: normal; flex: none; width: 22px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: rgba(30,180,255,.15); color: var(--gold); }
.team li.tag { border: 1px dashed rgba(30,180,255,.45); }
.board-note { grid-column: 1 / -1; text-align: center; color: var(--ink-3); font-size: 11px; }
@media (max-width: 420px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board .team:nth-child(3) { display: none; } }

/* Sections */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
.feature { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .9rem; background: rgba(30,180,255,.12); color: var(--gold); }
.feature p { margin: 0; color: var(--ink-2); }
.steps { counter-reset: step; display: grid; gap: 1.2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-left: 3.4rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #00142a; font-weight: 700; }
.steps h3 { margin-bottom: .2rem; }
.promise { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
.promise div { display: flex; gap: .7rem; align-items: flex-start; }
.promise svg { flex: none; margin-top: .25rem; color: var(--green); }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: .7rem 0 0; }

/* Prose pages */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose .updated { color: var(--ink-3); font-size: .95rem; }
.note { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--ink-3); font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 759px) {
  .nav a:not(:last-child) { display: none; }
  .lion { display: none; }
}
