/* Fight Klub — site styles. No scripts, no outside requests. */
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("fonts/bebas-neue-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }

:root {
  --bg: #0b0a09;
  --card: #14110e;
  --raised: #201b16;
  --line: #2a231d;
  --text: #ede8e2;
  --muted: #a39a90;
  --orange: #f08a2e;
  --orange-ink: #140f0a;
  --red: #d9482b;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: #ffa552; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--orange); color: var(--orange-ink); padding: 8px 14px; border-radius: 6px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.k { color: var(--orange); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: rgba(11, 10, 9, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 28px; letter-spacing: 0.04em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--orange); }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 78% 30%, rgba(240, 138, 46, 0.16), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 86px, rgba(240, 138, 46, 0.07) 86px 88px);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.hero h1 { font-size: clamp(64px, 11vw, 132px); letter-spacing: 0.01em; }
.hero .lead { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.4; margin: 20px 0 28px; max-width: 30ch; }
.hero .sub { color: var(--muted); max-width: 46ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 15px; }
.pills li.on { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 600; }

/* Fight card (illustration) */
.ring { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.ring::before, .ring::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); top: -6px; }
.ring::before { left: -6px; } .ring::after { right: -6px; }
.ring .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.ring .prompt { background: var(--raised); border-radius: 12px; padding: 12px 14px; font-size: 16px; margin-bottom: 14px; }
.corners { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.corner { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.corner strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.04em; color: var(--text); margin-bottom: 4px; }
.corner.win { border-color: var(--orange); }
.vs { align-self: center; font-family: var(--display); font-size: 26px; color: var(--orange); }
.verdict { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 15px; }
.verdict b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.04em; color: var(--orange); display: block; }
.caption { color: var(--muted); font-size: 13px; text-align: center; margin: 12px 0 0; }

/* Sections */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.band .intro { color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.tile h3 { font-size: 30px; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.tile .n { font-family: var(--display); font-size: 20px; color: var(--orange); letter-spacing: 0.08em; margin-bottom: 10px; }
.tile .count { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }

.mt { margin-top: 18px; }
.mt-l { margin-top: 26px; }

.promise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.promise li { padding-left: 26px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.promise b { font-weight: 600; }
.promise span { color: var(--muted); display: block; font-size: 16px; }

.cta { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); margin: 0; }
.btn { display: inline-block; background: var(--orange); color: var(--orange-ink); font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 10px; }
.btn:hover { background: #ffa552; color: var(--orange-ink); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--orange); color: var(--text); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Document pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(52px, 8vw, 84px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 34px; margin: 44px 0 12px; scroll-margin-top: 84px; }
.doc h3 { font-family: var(--body); font-weight: 600; font-size: 18px; letter-spacing: 0; line-height: 1.4; margin: 24px 0 6px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
.doc .box p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.toc { columns: 2; column-gap: 28px; padding: 0; list-style: none; margin: 0 0 12px; font-size: 16px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.doc address { font-style: normal; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
details p:last-child, details ol:last-child, details ul:last-child { padding-bottom: 14px; margin-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h2 { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot address { font-style: normal; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; line-height: 1.5; }
.legal p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 40px; }
  .hero .wrap, .cta { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .btns { justify-content: flex-start; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .promise { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  .nav { gap: 16px; }
  .top .wrap { padding-top: 8px; padding-bottom: 8px; }
  .corners { grid-template-columns: 1fr; }
  .vs { justify-self: center; }
  .cta { padding: 24px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td:first-child { font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: #fff; color: #000; }
  .top, .foot .wrap > div:not(.legal), .hero::before { display: none; }
  a { color: #000; }
}
