:root {
  --bg: #0d0c0b;
  --surface: #171512;
  --surface-2: #211e1a;
  --line: #2e2a25;
  --text: #f4f1ec;
  --muted: #a39d93;
  --orange: #ff6b1a;
  --orange-hi: #ff8a3d;
  --orange-ink: #1a0a00;
  --green: #4ade80;
  --red: #f87171;
  --radius: 22px;
  --max: 1160px;
  --font: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange-hi); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--orange-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font: inherit; font-weight: 600; padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); }
.btn img { flex: none; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

.adbar { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); padding: 8px 0; line-height: 1.45; }
.adbar strong { color: var(--text); }
.adbar a { color: var(--orange-hi); }

header.top { position: sticky; top: 0; z-index: 50; background: rgba(13,12,11,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo small { font-weight: 500; color: var(--muted); font-size: .8rem; letter-spacing: 0; }
#menu ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
#menu a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .98rem; }
#menu a:hover { color: var(--text); }
#menu .btn { padding: 10px 20px; font-size: .95rem; color: var(--orange-ink); }
#menu .btn:hover { color: var(--orange-ink); }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  #menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto;
    padding: 8px 20px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  #menu.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  #menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  #menu li { border-bottom: 1px solid var(--line); }
  #menu li:last-child { border: 0; padding-top: 20px; }
  #menu a:not(.btn) { display: block; padding: 16px 2px; font-size: 1.15rem; color: var(--text); }
  #menu .btn { display: flex; padding: 15px 24px; font-size: 1.05rem; }
}
@media (max-width: 480px) { .logo small { display: none; } }

section { padding: 96px 0; }
.head { max-width: 720px; margin-bottom: 56px; }
.head p { margin-top: 18px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
}

footer { padding: 56px 0 48px; color: var(--muted); font-size: .9rem; }
.foot { display: grid; gap: 22px; border-top: 1px solid var(--line); padding-top: 36px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--orange-hi); }
.risk { border-left: 3px solid var(--orange); padding-left: 16px; max-width: 90ch; }
.legal { max-width: 90ch; font-size: .82rem; opacity: .85; }
.risk strong, .legal strong { color: var(--text); }
.company { max-width: 90ch; font-size: .85rem; color: var(--text); opacity: .9; }
.company a { text-decoration: none; }
.company a:hover { color: var(--orange-hi); }

html.js .rv {
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
html.js .rv.in, html.rv-all .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
