/* BoxRobot на box.abso.tech — в фирменном стиле abso.tech: «пустота», плазма, Unbounded и Onest. */

@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('fonts/unbounded-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url('fonts/unbounded-latin-900-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Unbounded'; font-weight: 700; font-display: swap; src: url('fonts/unbounded-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('fonts/unbounded-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 900; font-display: swap; src: url('fonts/unbounded-cyrillic-900-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url('fonts/onest-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url('fonts/onest-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url('fonts/onest-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 700; font-display: swap; src: url('fonts/onest-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url('fonts/onest-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url('fonts/onest-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url('fonts/onest-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 700; font-display: swap; src: url('fonts/onest-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+2116; }

:root {
  --ink: #0b0c0f;
  --void: #07080a;
  --panel: #111318;
  --panel-2: #171a22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eceef2;
  --muted: #a6abb8;
  --dim: #858a98;
  --plasma: #ff4fd8;
  --plasma-soft: rgba(255, 79, 216, 0.14);
  --ember: #ff7a1a;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --title: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--plasma); text-underline-offset: 3px; }
a:hover { color: var(--plasma); }
:focus-visible { outline: 2px solid var(--plasma); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { margin: 0; font-family: var(--title); letter-spacing: -0.03em; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.05; margin-bottom: 18px; }
h3 { font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--plasma); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- шапка */

.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 10, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand:hover { color: var(--text); }
.wordmark { display: inline-flex; align-items: center; font: 900 21px/1 var(--title); letter-spacing: -0.04em; transform: skewX(-10deg); color: var(--text); white-space: nowrap; }
.wm-pin { width: 0.73em; height: 1em; margin: 0 0.02em; flex: none; filter: drop-shadow(0 0 8px rgba(255, 79, 216, 0.55)); }
.crumb { font: 700 14px/1 var(--title); letter-spacing: -0.01em; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line-2); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--plasma); color: var(--ink); font: 700 16px/1 var(--body); text-decoration: none; border: 1px solid var(--plasma); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 40px rgba(255, 79, 216, 0.35); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--plasma); box-shadow: none; }

/* ---------------------------------------------------------------- первый экран */

.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 72px); background:
  radial-gradient(900px 480px at 82% 8%, rgba(255, 79, 216, 0.16), transparent 62%),
  radial-gradient(700px 420px at 6% 30%, rgba(255, 122, 26, 0.10), transparent 60%),
  linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 700 12px/1.3 var(--title); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.hero h1 { font-weight: 900; font-size: clamp(38px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; max-width: 14ch; }
.hl { display: inline-block; background: var(--plasma); color: var(--ink); padding: 0.02em 0.16em 0.08em; border-radius: 0.14em; box-shadow: 0 0 60px rgba(255, 79, 216, 0.4); }
.lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--muted); margin: 26px 0 0; max-width: 60ch; }

.film { margin: clamp(28px, 4vw, 44px) 0 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: 0 30px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 79, 216, 0.10); }
.film figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); }

.facts { list-style: none; padding: 0; margin: clamp(26px, 4vw, 40px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts li { background: var(--panel); padding: 20px 22px 22px; }
.facts b { display: block; font: 800 20px/1.1 var(--title); letter-spacing: -0.03em; margin-bottom: 8px; }
.facts span { display: block; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* ---------------------------------------------------------------- разделы */

.sec { padding: clamp(52px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.sub { font-size: 19px; line-height: 1.5; color: var(--muted); margin-bottom: 32px; }
.note { font-size: 15px; color: var(--dim); margin: 26px 0 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.shot { width: 100%; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); }
.shot.wide { margin-bottom: 28px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 26px; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

.voices { align-items: start; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.persona-list { display: grid; gap: 12px; }
.persona { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--r-sm); padding: 18px 22px 20px; }
.persona h3 { color: var(--c); margin-bottom: 8px; }
.persona blockquote { margin: 0 0 8px; font-size: 18px; line-height: 1.4; font-weight: 500; }
.persona p { margin: 0; font-size: 15px; color: var(--muted); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 58px 20px 22px; position: relative; font-size: 16px; line-height: 1.45; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; font: 900 26px/1 var(--title); color: var(--plasma); }
.steps b { display: block; color: var(--text); font-weight: 700; margin-bottom: 4px; }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.rung { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; overflow: hidden; }
.rung img { width: calc(100% + 44px); max-width: none; margin: -22px -22px 18px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; border-bottom: 1px solid var(--line); }
.rung:first-child { background: linear-gradient(160deg, rgba(255, 79, 216, 0.16), var(--panel) 62%); justify-content: flex-end; }
.rung .n { font: 900 15px/1 var(--title); color: var(--plasma); margin-bottom: 12px; }
.rung p { margin: 0 0 14px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.rung .price { margin: auto 0 0; padding-top: 6px; font: 700 14px/1.2 var(--title); letter-spacing: -0.01em; color: var(--text); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th { font: 700 12px/1.3 var(--title); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
tbody th { font-weight: 700; white-space: nowrap; }
tbody th small { display: block; font-weight: 500; font-size: 12px; color: var(--dim); }
tbody td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tr.us th, tr.us td { background: var(--plasma-soft); color: var(--text); }
tr.us th { box-shadow: inset 4px 0 0 var(--plasma); }

.plan { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 12px; }
.plan li { counter-increment: p; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px 18px 62px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.plan li::before { content: counter(p); position: absolute; left: 20px; top: 16px; font: 900 22px/1 var(--title); color: var(--plasma); }
.plan b { color: var(--text); }

.join { background: radial-gradient(800px 420px at 50% 110%, rgba(255, 79, 216, 0.14), transparent 65%); }
.join h2 { margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; max-width: none; }

.foot { padding: 34px 0 48px; font-size: 15px; }
.foot p { max-width: 80ch; margin-bottom: 8px; }
.dim { color: var(--dim); font-size: 14px; }

/* ---------------------------------------------------------------- узкие экраны */

@media (max-width: 980px) {
  .nav { display: none; }
  .top-in { gap: 14px; }
  .btn-sm { margin-left: auto; }
  .two, .voices { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ladder { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .crumb { display: none; }
  .grid3, .steps, .ladder { grid-template-columns: 1fr; }
  .facts li { padding: 16px 16px 18px; }
  .facts b { font-size: 17px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
