/* Отпостер — сайт. Монохром с тёплым белым, редакционная типографика:
   Manrope (знак и цифры) · Inter Tight (текст; акценты — тонким 300 серебром). */
:root {
  color-scheme: dark;
  --bg: #060606;
  --bg-2: #0a0a0b;
  --ink: #f3f1ec;
  --ink-2: #cdcac3;
  --mute: #8d8a83;
  --dim: #5c5a55;
  --line: rgba(243, 241, 236, .09);
  --line-2: rgba(243, 241, 236, .17);
  --radius: 26px;
  --wrap: 1240px;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* знак Отпостера (бумажный самолётик с вырезом) — светлый, для фона */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='302 310 640 640'%3E%3Cpath d='M345 610L880 352Q925 335 918 385L722 880Q700 925 668 885L598 722Q588 695 607 672L736 528L565 662Q548 675 520 674L345 657Q318 650 322 630Q327 618 345 610Z' fill='%23f3f1ec'/%3E%3C/svg%3E");
  --chrome: linear-gradient(180deg, #ffffff 0%, #ecebe7 38%, #a9a7a1 72%, #6f6d68 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
p { margin: 0; }
/* акцент — не курсив, а контраст начертаний: жирный белый + тонкий серебристый того же гротеска */
em { font-family: var(--sans); font-style: normal; font-weight: 300; letter-spacing: -.045em; color: #a6a39c; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--ink); color: #000; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #000; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 820px; }

/* плёночное зерно и мягкий свет за курсором */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.spot {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.055), transparent 60%);
}
.spot.is-on { opacity: 1; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .4s, color .3s;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { background: var(--ink); color: #050505; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.4); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -14px rgba(243,241,236,.55), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn--line { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn--line:hover { border-color: rgba(243,241,236,.45); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); border-color: var(--line-2); }
.btn--pill { min-height: 40px; padding: 0 16px 0 18px; font-size: 14px; color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn--pill:hover { border-color: rgba(243,241,236,.5); background: var(--ink); color: #050505; }
.btn--pill:hover svg { transform: translate(2px, -2px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 17px; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled {
  background: rgba(6,6,6,.68); border-bottom-color: var(--line);
  backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px);
}
.header__row { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.03em; }
.logo__mark { width: 26px; height: 26px; fill: var(--ink); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; color: var(--mute); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ink); transition: right .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.burger { display: none; }

/* ---------- первый экран ---------- */
main, .footer { position: relative; z-index: 1; }
.hero { position: relative; padding: 36px 0 0; overflow: hidden; }
.hero__light {
  position: absolute; right: -15%; top: -10%; width: 80%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.085), transparent 72%);
}
.hero__meta { display: flex; align-items: center; gap: 14px; color: var(--mute); font-size: 13.5px; letter-spacing: .01em; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hero__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.hero__grid { position: relative; padding-top: 44px; min-height: 620px; }
.hero__text { position: relative; z-index: 2; }
.hero__title {
  font: 800 clamp(56px, 15.6vw, 236px)/.84 var(--display); letter-spacing: -.062em; margin-left: -.05em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero__lead { max-width: 470px; margin-top: 34px; font-size: 20px; line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.hero__lead em { color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__note { margin-top: 18px; color: var(--dim); font-size: 13.5px; }
.hero__art { position: absolute; z-index: 1; right: -7%; top: 90px; width: 58%; max-width: 720px; pointer-events: none; }
.plane { width: 100%; height: auto; overflow: visible; }
.plane__body { transform-origin: 330px 290px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(0,0,0,.8)) drop-shadow(0 0 40px rgba(255,255,255,.08)); }
.orbit__dot { filter: drop-shadow(0 0 6px #fff); }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-6px, -14px) rotate(-1.5deg); } }

.specs { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.specs li { display: grid; gap: 4px; padding: 26px 28px 30px 0; }
.specs li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.specs__n { font: 600 12px/1 var(--sans); color: var(--dim); letter-spacing: .14em; margin-bottom: 14px; }
/* значок пункта в стеклянной плашке */
.specs__ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.specs__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.specs b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.specs span:last-child { color: var(--mute); font-size: 15px; }

/* бегущая строка */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: 600 clamp(26px, 3.2vw, 44px)/1 var(--sans); letter-spacing: -.035em; color: var(--ink-2); white-space: nowrap; }
.marquee span em { color: var(--mute); }
.marquee i { font-style: normal; color: var(--dim); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- общее для секций ---------- */
.section { padding: 140px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--mute); }
.section h2, .head h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.section h2 em { color: #9c9993; }
.lead a, .mail { color: var(--ink); text-underline-offset: 4px; text-decoration-color: rgba(243,241,236,.35); }
.lead { margin-top: 26px; max-width: 520px; color: var(--mute); font-size: 18px; line-height: 1.6; }
.head { margin-bottom: 72px; max-width: 900px; }
.head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.head--row h2 { max-width: 760px; }

/* продукт */
.product { overflow: hidden; }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ticks { list-style: none; margin: 40px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 14px; height: 8px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }

.phone { position: relative; justify-self: center; perspective: 1400px; }
.phone__frame {
  position: relative; z-index: 1; width: 360px; border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #2a2a2c, #0d0d0e 40%, #1c1c1e); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .8s var(--ease);
}
.phone__glow { position: absolute; inset: 10% -20% -10%; z-index: 0; background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%); filter: blur(10px); }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: #17212b; border-radius: 37px 37px 0 0; }
.phone__bar b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.phone__bar small { color: #7d8b99; font-size: 12.5px; }
.phone__ava { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #000 no-repeat center/62% var(--mark); border: 1px solid rgba(255,255,255,.12); font-size: 0; }
.phone__feed {
  display: grid; gap: 10px; padding: 16px 12px 18px; min-height: 430px; align-content: end;
  background: #0e1621 radial-gradient(circle at 20% 10%, rgba(106,179,243,.06), transparent 50%);
}
.tg-post { overflow: hidden; border-radius: 16px; background: #182533; }
.tg-post__img { position: relative; height: 158px; background: linear-gradient(135deg, #2a2d33 0%, #0b0c0e 60%, #1d1f23 100%); overflow: hidden; }
.tg-post__img::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(243,241,236,.35), transparent 70%); }
.tg-post__img span { position: absolute; right: 22px; top: 22px; width: 90px; height: 78px; background: no-repeat center/contain var(--mark); filter: drop-shadow(0 8px 20px rgba(0,0,0,.6)); }
.tg-post__body { padding: 12px 14px 10px; font-size: 14.5px; line-height: 1.45; color: #e7edf3; }
.tg-post__body p + p { margin-top: 6px; }
.tg-post__btns { margin: 12px -6px 0; }
.tg-post__btns span { display: block; text-align: center; padding: 9px; border-radius: 10px; background: rgba(106,179,243,.12); color: #6ab3f3; font-size: 13.5px; font-weight: 600; }
.tg-post__meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.tg-react { padding: 3px 9px; border-radius: 999px; background: rgba(106,179,243,.16); color: #9fd0f9; font-size: 12.5px; font-weight: 600; }
.tg-post__meta small { margin-left: auto; color: #6c7883; font-size: 12px; }
.tg-bot { justify-self: start; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: #182533; color: #e7edf3; font-size: 14px; line-height: 1.45; }
.phone__kb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 10px 14px; background: #17212b; border-radius: 0 0 37px 37px; }
.phone__key { padding: 11px 8px; border-radius: 10px; background: #232e3c; text-align: center; color: #e7edf3; font-size: 13.5px; font-weight: 500; }
.phone__key--wide { grid-column: 1 / -1; }

/* возможности — редакционный список */
.feats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feat {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 40px; align-items: start;
  padding: 40px 20px 42px; border-bottom: 1px solid var(--line); isolation: isolate;
}
.feat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.06), transparent 65%);
}
.feat:hover::before { opacity: 1; }
.feat__n { font: 500 15px/1.6 var(--sans); color: var(--dim); letter-spacing: .08em; }
.feat h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; transition: transform .5s var(--ease); }
.feat:hover h3 { transform: translateX(8px); }
.feat p { color: var(--mute); font-size: 16.5px; line-height: 1.65; }
.feat__tags { grid-column: 3; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feat__tags i { font-style: normal; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; }

/* как начать */
.how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 0 40px 0 0; }
.step + .step { padding-left: 40px; border-left: 1px solid var(--line); }
.step__n { display: block; font: 800 96px/1 var(--display); letter-spacing: -.06em; margin-bottom: 32px; color: transparent; -webkit-text-stroke: 1px rgba(243,241,236,.45); }
.step h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 14px; }
.step p { color: var(--mute); font-size: 16px; }
.step a { color: var(--ink); text-underline-offset: 3px; }

/* тарифы */
.period { display: inline-flex; flex: none; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.period__btn { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--mute); font: 600 14px/1 var(--sans); transition: background .25s, color .25s; }
.period__btn:hover { color: var(--ink); }
.period__btn.is-active { background: var(--ink); color: #050505; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.plan:hover { border-color: var(--line-2); transform: translateY(-4px); }
.plan--accent { background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.015)); border-color: transparent; }
.plan--accent::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), rgba(243,241,236,.1), rgba(243,241,236,.85), rgba(243,241,236,.1) 30%, rgba(243,241,236,.1) 70%, rgba(243,241,236,.6), rgba(243,241,236,.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.plan__badge { position: absolute; top: -12px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #050505; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.plan__name { font: 800 26px/1 var(--display); letter-spacing: -.035em; }
.plan__desc { margin-top: 8px; color: var(--mute); font-size: 14.5px; min-height: 44px; }
.plan__price { margin-top: 26px; }
.plan__sum { font: 800 54px/1 var(--display); letter-spacing: -.055em; }
.plan__per { color: var(--dim); font-size: 13.5px; margin-top: 8px; min-height: 22px; }
.plan__list { list-style: none; margin: 26px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5.5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.plan__btn { width: 100%; }

.tokens { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 14px; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.tokens h3 { font: 800 26px/1 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.tokens p { color: var(--mute); font-size: 15px; }
.tokens__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tokens__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 18px 20px; background: #0b0b0c; }
.tokens__list dt { font: 700 20px/1 var(--display); letter-spacing: -.03em; }
.tokens__list dt small { font: 500 12px/1 var(--sans); color: var(--mute); letter-spacing: 0; }
.tokens__list dd { margin: 0; color: var(--ink-2); font-size: 14.5px; white-space: nowrap; }
.pay-note { margin-top: 28px; max-width: 880px; color: var(--dim); font-size: 13.5px; line-height: 1.7; }
.pay-note a { color: var(--mute); text-underline-offset: 3px; }

/* вопросы */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq-grid__head { position: sticky; top: 120px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 28px 56px 28px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--ink-2); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 56px 28px 0; color: var(--mute); font-size: 16px; line-height: 1.7; }
.faq details a { color: var(--ink); text-underline-offset: 3px; }

/* призыв */
.cta { padding: 120px 0 140px; border-top: 1px solid var(--line); }
.cta__title { font: 800 clamp(58px, 10.5vw, 168px)/.9 var(--display); letter-spacing: -.06em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.cta__title em { font-family: var(--sans); font-weight: 300; letter-spacing: -.055em; color: transparent; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.cta__row p { color: var(--mute); font-size: 18px; }

/* подвал */
.footer { padding: 48px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer__links a { color: var(--mute); text-decoration: none; font-size: 14px; transition: color .25s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--dim); font-size: 14px; }
.footer__brand p { color: var(--dim); font-size: 14px; margin-top: 6px; }
.footer__row { position: relative; z-index: 2; }
/* большое слово внизу: сплошная заливка с затуханием (без контуров — у шрифта видны внутренние линии букв),
   клики не перехватывает */
.footer__mark {
  position: relative; z-index: 1; pointer-events: none; user-select: none;
  margin: 48px 0 -0.2em; text-align: center; white-space: nowrap;
  font: 800 clamp(64px, 17.4vw, 262px)/.86 var(--display); letter-spacing: -.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(243,241,236,.16) 0%, rgba(243,241,236,.06) 45%, rgba(243,241,236,0) 82%);
  -webkit-background-clip: text; background-clip: text;
}

/* ✉️ меню «Написать через…» (script.js) */
.mailpop {
  position: fixed; z-index: 120; width: 268px; padding: 8px;
  border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(18,18,19,.92); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.mailpop.is-up { transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.mailpop.is-open { opacity: 1; transform: none; }
.mailpop__head { padding: 8px 10px 10px; color: var(--mute); font-size: 12.5px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mailpop__head b { display: block; margin-top: 2px; color: var(--ink); font-size: 14px; font-weight: 600; }
.mailpop__item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 11px;
  background: transparent; color: var(--ink); font: 500 14.5px/1.2 var(--sans); text-align: left; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.mailpop__item:hover, .mailpop__item:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.mailpop__item i { margin-left: auto; font-style: normal; color: var(--dim); font-size: 13px; }
.mailpop__ico {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); font: 700 13px/1 var(--display); color: var(--ink-2);
}
.mailpop__copy.is-done { color: #b7f0c6; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* полоса прокрутки */
html { scrollbar-width: thin; scrollbar-color: rgba(243,241,236,.28) #060606; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #060606; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(243,241,236,.34), rgba(243,241,236,.14)); border-radius: 999px; border: 3px solid #060606; min-height: 48px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(243,241,236,.6), rgba(243,241,236,.3)); }
::-webkit-scrollbar-thumb:active { background: var(--ink); }
::-webkit-scrollbar-corner { background: #060606; }

/* ---------- документы ---------- */
.doc { padding: 64px 0 120px; }
.doc__back { display: inline-flex; gap: 8px; color: var(--mute); text-decoration: none; font-weight: 500; font-size: 14px; margin-bottom: 36px; }
.doc__back:hover { color: var(--ink); }
.doc h1 { font: 800 clamp(36px, 5vw, 58px)/1 var(--display); letter-spacing: -.05em; }
.doc__date { color: var(--dim); margin: 16px 0 44px; font-size: 14px; }
.doc h2 { font-size: 22px; font-weight: 600; margin: 44px 0 14px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink-2); font-weight: 400; line-height: 1.75; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink); font-weight: 600; }

/* ---------- адаптив ---------- */
@media (max-width: 1120px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--accent { order: -1; }
  .feat { grid-template-columns: 70px minmax(0, 1fr); }
  .feat p, .feat__tags { grid-column: 2; }
  .feat p { margin-top: 14px; }
  .tokens { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 960px) {
  .hero__grid { min-height: 0; padding-top: 28px; }
  .hero__art { position: relative; right: auto; top: auto; width: 92%; margin: -10px -8% -30px auto; }
  .hero__text { display: contents; }
  .hero__title { order: -2; }
  .hero__grid { display: flex; flex-direction: column; }
  .hero__art { order: -1; }
  .product__grid { grid-template-columns: 1fr; gap: 64px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step, .step + .step { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step__n { font-size: 64px; margin-bottom: 18px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid__head { position: static; }
  .head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .header__row { height: 64px; gap: 12px; }
  .header__cta { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
  .burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 8px 18px 20px; background: rgba(6,6,6,.97); border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 16px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .hero__meta { font-size: 12px; gap: 10px; flex-wrap: wrap; }
  .hero__title { font-size: 19.4vw; }
  .hero__meta-dot { display: none; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero__lead { font-size: 18px; margin-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .specs { grid-template-columns: 1fr; margin-top: 48px; }
  .specs li, .specs li + li { padding: 20px 0; border-left: 0; }
  .specs li + li { border-top: 1px solid var(--line); }
  .section { padding: 96px 0; }
  .head { margin-bottom: 44px; }
  .feat { grid-template-columns: 1fr; padding: 30px 0; }
  .feat__n { margin-bottom: 12px; }
  .feat p, .feat__tags { grid-column: 1; }
  .feat:hover h3 { transform: none; }
  .plans { grid-template-columns: 1fr; }
  .plan__desc { min-height: 0; }
  .phone__frame { width: min(340px, 86vw); transform: none; }
  .tokens { padding: 24px 18px; }
  .tokens__list { grid-template-columns: repeat(2, 1fr); }
  .period { width: 100%; }
  .period__btn { flex: 1; padding: 0 8px; }
  .faq summary { font-size: 17px; padding-right: 44px; }
  .faq details p { padding-right: 0; }
  .cta { padding: 90px 0 100px; }
  .cta__row .btn { width: 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
}
@media (hover: none) { .spot { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plane__body, .marquee__track, .grain, .plan--accent::before { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .orbit__dot { display: none; }
  .phone__frame { transform: none; }
}
