/* ---------- písma (uložené na webe, bez Google Fonts) ---------- */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cinzel-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/cinzel-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/cinzel-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/cinzel-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/cinzel-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/cinzel-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --blood: #a3121a;
  --blood-hi: #c8202a;
  --head: "Cinzel", "Copperplate", Georgia, serif;
  --serif: "Cinzel", "Copperplate", Georgia, serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }
h3 { font-size: 20px; }
p { margin: 0; }
em { font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  background: var(--text); color: var(--bg);
  font: 600 14px/1 var(--head); letter-spacing: .18em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--blood); color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); clip-path: none; }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--small { padding: 11px 20px; font-size: 13px; }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font: 700 13px/1 var(--serif); letter-spacing: .32em; text-transform: uppercase;
  color: var(--blood-hi);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10,10,10,.92); backdrop-filter: blur(8px); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 52px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a:not(.btn) {
  font: 500 14px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 110px var(--gutter) 90px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 50% 42%, rgba(255,255,255,.06), transparent 70%),
    radial-gradient(ellipse 30% 30% at 50% 30%, rgba(255,255,255,.05), transparent 70%);
}
.hero__raven { position: relative; width: auto; height: min(42vh, 440px); max-width: 62vw; object-fit: contain; margin-bottom: 26px; animation: rise 1.1s ease-out both; }
.hero__title { position: relative; margin: 0 0 22px; animation: rise 1.1s .15s ease-out both; }
.hero__title img { width: min(520px, 84vw); }
.hero__tag {
  position: relative; max-width: 640px; font: 700 clamp(14px, 1.9vw, 17px)/1.6 var(--serif);
  letter-spacing: .14em; text-transform: uppercase; color: var(--blood-hi);
  animation: rise 1.1s .25s ease-out both;
}
.hero__lead {
  position: relative; max-width: 560px; margin: 18px auto 34px; color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  animation: rise 1.1s .4s ease-out both;
}
.hero__cta { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise 1.1s .55s ease-out both; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; width: 2px; height: 44px; margin-left: -1px;
  background: linear-gradient(var(--text), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0%, 100% { opacity: .2; transform: scaleY(.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pillar { padding: 44px 32px; border-right: 1px solid var(--line); transition: background .25s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--bg-2); }
.pillar__num { display: block; margin-bottom: 14px; font: 700 15px/1 var(--serif); color: var(--blood-hi); letter-spacing: .2em; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 140px) var(--gutter); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head p { margin-top: 20px; color: var(--muted); font-size: 18px; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative; padding: 28px 26px 30px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #444; transform: translateY(-4px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__img {
  display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 24px;
  background: radial-gradient(circle at 50% 45%, #222, var(--bg) 75%);
}
.card__img svg { width: 42%; fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.card--supp { padding-top: 34px; border-top: 3px solid var(--blood); }
.card--supp h3 { font-size: 24px; }
.card__label { display: block; margin-bottom: 14px; font: 600 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--blood-hi); }

.note { margin-top: 30px; color: var(--muted); font-size: 15px; border-left: 2px solid var(--blood); padding-left: 14px; }

/* split */
.section--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__text h2 { margin-bottom: 22px; }
.split__text > p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.split__visual {
  position: relative; padding: 40px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 65%);
}
.split__visual img { width: min(340px, 100%); margin: 0 auto; }
.list { list-style: none; margin: 0 0 34px; padding: 0; }
.list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); color: var(--muted); }
.list li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 10px;
  background: var(--blood); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  clip-path: polygon(50% 0, 100% 55%, 100% 100%, 0 100%, 0 55%);
}
.list strong { color: var(--text); font-weight: 600; }

/* podstránky */
.page-hero { position: relative; overflow: hidden; padding: 170px var(--gutter) 90px; border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; max-width: 820px; margin-bottom: 22px; }
.page-hero p { max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin-bottom: 32px; }
.hero__cta--left { justify-content: flex-start; animation: none; }
.nav__menu a[aria-current="page"] { color: var(--text); }
.partner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.partner__logo { padding: 34px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, #1f1f1f, var(--bg-2) 75%); }
.partner__logo img { width: 100%; }
.partner__text h2 { margin-bottom: 20px; }
.partner__text p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.partner__text strong { color: var(--text); font-weight: 600; }
.coach__photo { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 20px; background: radial-gradient(circle at 50% 40%, #222, var(--bg) 75%); }
.coach__photo svg { width: 38%; fill: none; stroke: #555; stroke-width: 2; }

/* členstvo */
.membership { align-items: center; }
.membership .tier { max-width: 420px; justify-self: end; width: 100%; }

/* medzi nami */
.quote-box { padding: 40px 36px; border: 1px solid var(--line); background: var(--bg); }
.quote-box .quote { margin-bottom: 14px; font-size: clamp(20px, 2.4vw, 26px); }
.quote-box__note { color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tier { display: flex; flex-direction: column; }
.tier h3 { font-size: 24px; margin-bottom: 10px; }
.card .tier__price { font: 800 34px/1.1 var(--head); color: var(--text); margin-bottom: 18px; }
.tier__price small { font: 500 14px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.tier .program__list strong { color: var(--text); font-weight: 600; }
.card .tier__note { color: var(--blood-hi); font-size: 13px; margin: -8px 0 18px; }
.tier .btn { margin-top: auto; }
.tier--featured { border-color: var(--blood); box-shadow: 0 0 0 1px var(--blood) inset; }
.tier--featured .program__num { background: var(--blood); color: var(--text); }
.faq-wrap .section__head { margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font: 700 17px/1.4 var(--head); letter-spacing: .04em; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--blood-hi); font-size: 22px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 760px; }

/* hybridný tréning */
.more { margin-top: 10px; }
.free {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-bottom: 26px; padding: 30px 32px; border: 1px solid var(--line); border-left: 3px solid var(--blood);
  background: linear-gradient(100deg, rgba(163,18,26,.10), transparent 60%), var(--bg-2);
}
.free h3 { font-size: 26px; margin-bottom: 8px; }
.free p { color: var(--muted); max-width: 560px; }
.program { display: flex; flex-direction: column; }
.program__num { font: 700 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
  display: inline-block; align-self: flex-start; padding: 7px 10px; background: var(--bg-3); }
.program h3 { font-size: 24px; margin-bottom: 14px; }
.program__list { list-style: none; margin: 0 0 22px; padding: 0; color: var(--muted); font-size: 15px; }
.program__list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.program__price { margin-top: auto; font: 800 18px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.program--accent { border-color: #444; }
.program--accent .program__num { background: var(--blood); color: var(--text); }

/* alternatívna sekcia na celú šírku */
.section--alt { max-width: none; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__inner { max-width: var(--max); margin: 0 auto; }
.section--alt .card { background: var(--bg); }
.card--plain { border-top: 3px solid var(--text); }
.quote {
  margin: 0 0 26px; padding: 18px 22px; border-left: 3px solid var(--blood);
  background: var(--bg-2); font: 600 19px/1.5 var(--serif); letter-spacing: .02em; color: var(--text);
}
.split__text em { font-style: italic; color: var(--text); }

/* akadémia */
.academy { border-top: 1px solid var(--line); background:
  radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,.05), transparent 70%), var(--bg); }
.academy__inner { max-width: 820px; margin: 0 auto; padding: clamp(80px, 11vw, 130px) var(--gutter); text-align: center; }
.academy__inner p { margin: 20px auto 30px; color: var(--muted); font-size: 18px; max-width: 640px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tags li { padding: 9px 16px; border: 1px solid var(--line); font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* kodex */
.kodex { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kodex__inner { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 120px) var(--gutter); text-align: center; }
.kodex__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: k; }
.kodex__list li { counter-increment: k; padding: 30px 24px; color: var(--muted); font-size: 15px; border-left: 1px solid var(--line); }
.kodex__list li:first-child { border-left: 0; }
.kodex__list li::before { content: counter(k, upper-roman); display: block; font: 700 14px/1 var(--serif); color: var(--blood-hi); letter-spacing: .2em; margin-bottom: 16px; }
.kodex__list span { display: block; margin-bottom: 10px; font: 800 22px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }

/* join */
.join { text-align: center; }
.join .section__head { margin-left: auto; margin-right: auto; }
.join__actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.contact {
  display: flex; align-items: center; gap: 16px; min-width: 280px;
  padding: 20px 26px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.contact:hover { border-color: var(--blood); background: var(--bg-3); }
.contact svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.6; }
.contact svg .fill { fill: var(--text); stroke: none; }
.contact span { font: 600 17px/1.3 var(--body); letter-spacing: .01em; }
.contact small { display: block; font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* zápis e-mailov */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { max-width: 760px; margin: 0 auto 44px; text-align: left; }
.signup__row { display: flex; gap: 12px; }
.signup input[type=text], .signup input[type=email] {
  flex: 1; min-width: 0; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); font: 400 16px/1.2 var(--body); border-radius: 0;
}
.signup input[type=text] { flex: .6; }
.signup input:focus { outline: none; border-color: var(--blood-hi); }
.signup .btn { flex: none; border: 0; cursor: pointer; }
.signup__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.signup__consent input { margin-top: 3px; accent-color: var(--blood-hi); flex: none; }
.signup__consent a { color: var(--text); text-decoration: underline; }
.signup__msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; }
.signup__msg.is-error { color: var(--blood-hi); }
.signup__msg.is-ok { color: var(--text); }

/* právne stránky */
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; }
.legal h3 { font-size: 16px; margin: 26px 0 10px; color: var(--text); letter-spacing: .1em; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 20px 22px; margin-bottom: 36px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.legal__toc a { color: var(--muted) !important; text-decoration: none !important; }
.legal__toc a:hover { color: var(--text) !important; }
.legal__box { padding: 20px 22px; margin-bottom: 12px; border-left: 3px solid var(--blood); background: var(--bg-2); }
.legal__box p { color: var(--text); }
.legal__form { margin-top: 18px; padding: 22px; border: 1px dashed var(--line); }
.legal__form p { font-size: 15px; }
.legal__table { overflow-x: auto; margin: 6px 0 16px; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); background: var(--bg-2); font-weight: 600; }
.legal h2[id] { scroll-margin-top: 90px; }
.page-hero--short { min-height: 0; padding-top: 150px; padding-bottom: 60px; }
.legal__date { margin-top: 44px; font-size: 14px !important; }

/* footer */
.footer { padding: 56px var(--gutter) 46px; text-align: center; border-top: 1px solid var(--line); }
.footer img { margin: 0 auto 10px; width: 208px; opacity: .9; }
.footer__small { margin-top: 12px; color: #666; font-size: 13px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 18px 0 4px; font-size: 14px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__seller { max-width: 860px; margin: 18px auto 0; color: #6f6f6f; font-size: 13px; line-height: 1.7; }
.footer__seller strong { color: var(--muted); font-weight: 600; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__raven, .hero__title, .hero__tag, .hero__lead, .hero__cta { opacity: 1; transform: none; animation: none; transition: none; }
  .hero__scroll { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kodex__list { grid-template-columns: repeat(2, 1fr); }
  .kodex__list li:nth-child(3) { border-left: 0; }
  .kodex__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav__toggle {
    display: flex; flex-direction: column; gap: 7px; justify-content: center;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--text); transition: transform .25s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: rgba(10,10,10,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__menu .btn { margin-top: 18px; }
  .nav.menu-open { background: rgba(10,10,10,.97); }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 4px; }
  .pillar:last-child { border-bottom: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .section--split { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; }
  .membership .tier { justify-self: stretch; max-width: none; }
  .partner__logo { max-width: 240px; }
  .split__visual { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid--4 { grid-template-columns: 1fr; }
  .kodex__list { grid-template-columns: 1fr; }
  .kodex__list li { border-left: 0; border-top: 1px solid var(--line); }
  .kodex__list li:first-child { border-top: 0; }
  .contact { min-width: 0; width: 100%; }
  .signup__row { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .nav__brand img { height: 44px; }
}
