:root {
  --bg: #0e1014;
  --text: #f2f4f7;
  --text-2: #b4bccb;
  --muted: #8a93a6;
  --accent: #f6b800;
  --ink: #14110a;
  --line: rgba(242, 244, 247, 0.12);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100dvh; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: rgba(14, 16, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.top-brand {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--text);
  flex: 0 0 auto;
}
.menu { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  text-decoration: none; color: var(--text-2);
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 10px; border-radius: 4px;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }

.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 28px 24px 56px;
  background:
    radial-gradient(65% 50% at 50% 18%, rgba(246, 184, 0, 0.14), transparent 60%),
    linear-gradient(180deg, #12151c 0%, var(--bg) 70%);
}
.hero-inner { width: min(640px, 100%); display: flex; flex-direction: column; align-items: center; }
.logo { width: min(280px, 72vw); margin: 0; }
.logo img { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
.headline {
  margin: 8px 0 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 6vw, 46px);
  letter-spacing: -0.01em; line-height: 1.05;
  text-transform: uppercase;
  max-width: 18ch;
}
.lead {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: clamp(16px, 3.4vw, 19px);
  line-height: 1.5; color: var(--text-2);
}
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 4px; background: var(--accent); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
}
.cta:hover { background: #ffc933; }
button.cta { border: 0; cursor: pointer; font: inherit; }
.cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 18px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28); color: var(--text);
  font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 40ch; }

.promo { padding: 0 16px 48px; background: var(--bg); }
.promo-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.promo-inner img { display: block; width: 100%; height: auto; }

.section { padding: 64px 24px; border-top: 1px solid var(--line); }
.section-inner { width: min(880px, 100%); margin: 0 auto; }
.narrow { width: min(720px, 100%); }
.section h2 {
  margin: 0 0 12px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.lead-s { margin: 0 0 28px; color: var(--text-2); font-size: 17px; line-height: 1.55; max-width: 46ch; }

.cards { display: grid; gap: 12px; }
@media (min-width: 760px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: 1fr 1fr; }
}
.card {
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.card .tag, .tag {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 8px;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--display); font-weight: 800; font-size: 24px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.card p, .prose p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.prose p + p { margin-top: 14px; }

.partner {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(246, 184, 0, 0.1), transparent 55%),
    #12151c;
}
.example {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.page-head { padding: 36px 24px 8px; }
.page-head-inner { width: min(880px, 100%); margin: 0 auto; }
.page-head h1 {
  margin: 0 0 12px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: 0.03em; text-transform: uppercase; line-height: 1;
}
.page-head p { margin: 0 0 10px; color: var(--text-2); font-size: 17px; line-height: 1.5; max-width: 52ch; }

.sheet { padding: 8px 24px 48px; }
.sheet-inner { width: min(880px, 100%); margin: 0 auto; }
.sheet h2 {
  margin: 28px 0 8px;
  font-family: var(--display); font-weight: 800;
  font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase;
}
.sheet p { color: var(--text-2); line-height: 1.5; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 13px; color: var(--muted);
}
td:nth-child(2), th:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.foot {
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  text-align: center; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text-2); }

@media print {
  .top, .tools, .foot, .promo, .cta-row { display: none !important; }
  html, body { background: #fff; color: #111; }
  .page-head, .sheet, .section { padding-left: 0; padding-right: 0; border: 0; }
  .page-head p, .sheet p, td, th { color: #111; }
  td:nth-child(2) { color: #111; }
  a { text-decoration: none; }
  @page { margin: 14mm; }
}
