/* Clutch Minister website, "Arena Night" look (same tokens as the app's Theme). Always dark, like the app. */
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Rajdhani-Bold.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Rajdhani-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0B0F1A;
  --bg-2: #111729;
  --panel: #151C30;
  --panel-2: #1B2440;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F2F4F8;
  --text-2: #B4BCCF;
  --text-3: #8892A8;
  --accent: #FF8A1F;
  --accent-deep: #D96400;
  --gold: #F5C542;
  --win: #3DDC97;
  --radius: 18px;
  --display: "Rajdhani", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body);
  background-image: radial-gradient(1200px 600px at 50% -200px, #1C2445 0%, rgba(11, 15, 26, 0) 70%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 15, 26, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.nav .lang { border: 1px solid var(--line); margin-left: 4px; }
@media (max-width: 560px) {
  .nav .hide-s { display: none; } .brand span { display: none; }
  .top .wrap { gap: 8px; } .nav { flex-wrap: nowrap; gap: 2px; }
  .nav a { font-size: 13px; padding: 7px 6px; white-space: nowrap; }
}

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 88px 0 64px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); background: rgba(245, 197, 66, 0.1); border: 1px solid rgba(245, 197, 66, 0.25); padding: 8px 12px; border-radius: 999px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(255, 138, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); } }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: 0.01em; margin: 0; }
.hero h1 { font-size: clamp(44px, 9vw, 84px); text-transform: uppercase; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 700 19px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.btn-primary { background: linear-gradient(#FFA041, var(--accent)); color: #1A0E00; box-shadow: 0 4px 0 var(--accent-deep), 0 10px 30px rgba(255, 138, 31, 0.28); }
.btn-primary:hover { color: #1A0E00; transform: translateY(1px); box-shadow: 0 3px 0 var(--accent-deep), 0 8px 24px rgba(255, 138, 31, 0.28); }
.btn-primary[aria-disabled="true"] { cursor: default; transform: none; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--panel); }
.btn-ghost:hover { color: var(--text); background: var(--panel-2); }
.btn small { font: 600 12px/1 var(--body); letter-spacing: 0; text-transform: none; opacity: 0.8; display: block; margin-bottom: 4px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; }
.note { font-size: 13px; color: var(--text-3); margin-top: 14px; }

/* Hero visual: the app icon and a live scoreboard card */
.stage { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.stage .icon { width: 62%; margin: 0 auto; border-radius: 22%; box-shadow: 0 30px 80px rgba(255, 138, 31, 0.25), 0 0 0 1px var(--line); }
.score { position: relative; margin: -36px 0 0; background: rgba(21, 28, 48, 0.94); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.score-head { display: flex; align-items: center; justify-content: space-between; font: 700 13px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.score-head .live { color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.score-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0; }
.team { font: 700 20px/1 var(--display); letter-spacing: 0.04em; }
.team.away { text-align: right; }
.team small { display: block; font: 600 11px/1.3 var(--body); color: var(--text-3); letter-spacing: 0; margin-top: 4px; }
.nums { font: 700 40px/1 var(--display); letter-spacing: 0.02em; }
.nums b { color: var(--gold); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.feed li { display: flex; justify-content: space-between; gap: 8px; background: var(--bg-2); border-radius: 10px; padding: 8px 10px; }
.feed li span:last-child { color: var(--text-3); white-space: nowrap; }
.feed .key { color: var(--gold); font-weight: 600; }

/* Sections */
section { padding: 48px 0; }
@media (min-width: 900px) { section { padding: 72px 0; } }
.section-title { font-size: clamp(32px, 5vw, 48px); text-transform: uppercase; margin-bottom: 12px; }
.section-lead { color: var(--text-2); max-width: 40em; margin: 0 0 32px; }
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 26px; text-transform: uppercase; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 138, 31, 0.12); color: var(--accent); }
.glyph svg { width: 26px; height: 26px; }
.card:nth-child(2) .glyph { background: rgba(245, 197, 66, 0.12); color: var(--gold); }
.card:nth-child(3) .glyph { background: rgba(61, 220, 151, 0.12); color: var(--win); }
.card:nth-child(4) .glyph { background: rgba(124, 156, 255, 0.14); color: #9DB2FF; }

.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); color: var(--text-2); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 34px/1 var(--display); color: var(--accent); margin-bottom: 10px; }
.steps strong { color: var(--text); }
.final { text-align: center; }
.final .cta { justify-content: center; }
.final p { color: var(--text-2); margin: 0 auto 26px; max-width: 34em; }

/* Long-form pages */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(38px, 7vw, 60px); text-transform: uppercase; margin-bottom: 8px; }
.doc .updated { color: var(--text-3); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 28px; text-transform: uppercase; margin: 44px 0 12px; padding-top: 8px; color: var(--text); scroll-margin-top: 80px; }
.doc h3 { font-size: 21px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.summary { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; }
.summary p { margin: 6px 0; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 0 0 12px; }
.toc ol { margin: 6px 0; padding-left: 1.3em; columns: 2 220px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--text-2); }
th { color: var(--text); font-weight: 600; background: var(--panel); }
tr:last-child td { border-bottom: 0; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 700 22px/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 14px; color: var(--text-2); }
.faq details > div p { margin: 0 0 8px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.contact-card p { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: grid; gap: 16px; }
@media (min-width: 720px) { footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer p { margin: 0; }
