/* Сайт РЕНТПОИНТ CRM: шрифты, общие стили, компоненты страниц */
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:600;src:url(fonts/unbounded-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:600;src:url(fonts/unbounded-latin-600-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:800;src:url(fonts/unbounded-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-style:normal;font-display:swap;font-weight:800;src:url(fonts/unbounded-latin-800-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:400;src:url(fonts/manrope-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:400;src:url(fonts/manrope-latin-400-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:500;src:url(fonts/manrope-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:500;src:url(fonts/manrope-latin-500-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/manrope-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/manrope-latin-700-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:800;src:url(fonts/manrope-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-display:swap;font-weight:800;src:url(fonts/manrope-latin-800-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:500;src:url(fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:500;src:url(fonts/jetbrains-mono-latin-500-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/jetbrains-mono-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/jetbrains-mono-latin-700-normal.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+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Посадочная страница РЕНТПОИНТ CRM. Токены - как у сайта РЕНТПОИНТ. */
:root {
  --ink: #0E1116; --paper: #E9E9E6; --page: #F4F4F1; --line: #D9D9D3; --steel: #6B7480; --signal: #FFD400;
  --tool: #D8481A; --tool-bg: #FBEBE3; --trip: #0F6E4C; --trip-bg: #E6F2EC;
  --med: #C41E3A; --med-bg: #FBE8EC; --clean: #0F7EA8; --clean-bg: #E6F2F9;
  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.eyebrow--signal { color: var(--signal); }
.dotsep { opacity: .55; margin: 0 .5em; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 100px; background: var(--signal); color: var(--ink); font-weight: 700; font-size: 14.5px; border: 1.5px solid var(--signal); cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 212, 0, .28); }
.btn--lg { padding: 16px 28px; font-size: 15.5px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: none; border-color: #fff; }
.btn--ghost-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); box-shadow: none; }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14,17,22,.94); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top__in { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); flex: none; }
.logo__crm { font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--signal); margin-left: 2px; }
.logo--sm { font-size: 15px; }
.top__nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: #B9BEC6; }
.top__nav a:hover, .top__login:hover { color: var(--signal); }
.top__login { font-size: 14px; font-weight: 600; color: #fff; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger span + span { margin-top: 7px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.drawer { display: none; }

/* первый экран */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero::before { content: ""; position: absolute; left: 58%; top: -30%; width: 900px; height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,212,0,.16), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -.05em; margin: 18px 0 22px; }
.hero h1 mark { background: none; color: var(--signal); }
.hero__lead { color: #B0B6BE; font-size: 17.5px; max-width: 34em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__facts { list-style: none; padding: 26px 0 0; margin: 34px 0 0; display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); }
.hero__facts b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 24px; color: var(--signal); letter-spacing: -.03em; }
.hero__facts span { font-size: 13px; color: #8D949E; }

/* макет приложения */
.mock { position: relative; background: #F4F4F1; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--steel); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); }
.mock__bar span { margin-left: 10px; }
.mock__body { padding: 18px; }
.mock__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: #fff; border-radius: 14px; padding: 10px 12px; border: 1.5px solid transparent; }
.tile small { display: block; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.tile b { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.tile--on { border-color: var(--ink); }
.tile--red b { color: var(--med); }
.mock__row { display: grid; grid-template-columns: 1.5fr .8fr .9fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 11px 12px; margin-top: 8px; font-size: 12.5px; }
.mock__row b { display: block; font-size: 13px; }
.mock__row span { color: var(--steel); font-size: 11.5px; }
.mock__when { font-weight: 600; font-size: 12px; }
.mock__row--late { box-shadow: inset 3px 0 0 var(--med); }
.mock__row--late .mock__when { color: var(--med); }
.mock__money { font-weight: 700; text-align: right; }
.mock__money em { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: var(--steel); }
.mock__row--late .mock__money em { color: var(--med); }
.mock__btn { background: var(--signal); border-radius: 100px; padding: 6px 11px; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.mock__toast { position: absolute; right: 16px; bottom: 16px; background: var(--trip); color: #fff; font-size: 12px; font-weight: 600; padding: 9px 14px; border-radius: 12px; box-shadow: 0 10px 24px rgba(15,110,76,.35); animation: toast 6s ease-in-out infinite; }
@keyframes toast { 0%, 12% { opacity: 0; transform: translateY(8px); } 20%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(8px); } }

/* лента */
.ribbon { background: var(--signal); overflow: hidden; }
.ribbon__row { display: flex; gap: 40px; padding: 12px 0; white-space: nowrap; width: max-content; animation: slide 36s linear infinite; }
.ribbon span { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ribbon span::before { content: "●"; margin-right: 40px; opacity: .35; }
@keyframes slide { to { transform: translateX(-50%); } }

/* блоки */
.block { padding: clamp(64px, 9vw, 110px) 0; }
.block--paper { background: var(--paper); }
.block--ink { background: var(--ink); color: #fff; }
.block__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.block h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.8vw, 46px); letter-spacing: -.04em; line-height: 1.05; margin-top: 12px; max-width: 16em; }
.block__n { color: var(--steel); max-width: 30em; font-size: 15.5px; }
.block--ink .block__n { color: #B0B6BE; }

/* направления */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dir { background: var(--bg); border-radius: 22px; padding: 26px 24px 28px; min-height: 240px; display: flex; flex-direction: column; transition: transform .2s; }
.dir:hover { transform: translateY(-6px); }
.dir__tag { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--c); }
.dir h3 { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; margin: auto 0 10px; padding-top: 40px; color: var(--c); }
.dir p { font-size: 14px; color: #3C434D; }

/* день */
.day { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: d; }
.day li { background: #fff; border-radius: 20px; padding: 22px 20px; position: relative; }
.day li::after { content: ""; position: absolute; top: 34px; right: -14px; width: 14px; height: 2px; background: var(--line); }
.day li:last-child::after { display: none; }
.day time { font-family: var(--f-mono); font-weight: 700; font-size: 13px; background: var(--ink); color: var(--signal); padding: 4px 9px; border-radius: 8px; }
.day h3 { font-size: 16px; font-weight: 800; margin: 16px 0 8px; }
.day p { font-size: 13.5px; color: var(--steel); }

/* возможности */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.feat { background: #fff; padding: 26px 26px 28px; }
.feat h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feat h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; box-shadow: 0 0 0 4px rgba(255,212,0,.18); }
.feat p { font-size: 14px; color: var(--steel); }
.feat--soon { background: #FAFAF8; }
.feat--soon h3::before { background: var(--line); box-shadow: none; }
.feat em { font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--tool-bg); color: var(--tool); padding: 3px 7px; border-radius: 6px; }

/* расчёт */
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc__card { background: #181C22; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; }
.calc__step { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); margin-bottom: 20px; }
.calc__lines p { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); font-size: 14.5px; color: #C9CED6; }
.calc__lines b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.calc__total span { color: #B0B6BE; font-size: 14px; }
.calc__total b { font-family: var(--f-display); font-weight: 600; font-size: 28px; letter-spacing: -.03em; color: var(--signal); }
.calc__note { margin-top: auto; padding-top: 18px; font-size: 13px; color: #8D949E; }

/* шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { border: 1.5px solid var(--line); border-radius: 20px; padding: 24px 22px; background: #fff; }
.steps b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--signal); font-family: var(--f-display); font-weight: 600; }
.steps h3 { font-size: 16.5px; font-weight: 800; margin: 16px 0 6px; }
.steps p { font-size: 14px; color: var(--steel); }

/* о нас */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about__text p { color: #3C434D; font-size: 16.5px; margin-top: 18px; max-width: 34em; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__cards div { background: var(--paper); border-radius: 20px; padding: 22px; }
.about__cards b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.about__cards span { font-size: 13.5px; color: var(--steel); }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { background: #fff; border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; position: relative; border: 1.5px solid transparent; }
.plan--main { border-color: var(--ink); box-shadow: 0 24px 48px rgba(14,17,22,.1); }
.plan__badge { position: absolute; top: -13px; left: 28px; background: var(--ink); color: var(--signal); font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.plan h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; }
.plan__price { margin: 14px 0 22px; color: var(--steel); }
.plan__price b { font-family: var(--f-display); font-weight: 700; font-size: 34px; color: var(--ink); letter-spacing: -.04em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { font-size: 14.5px; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--trip); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* вопросы */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 22px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 700; transition: .2s; }
.faq details[open] summary::after { content: "−"; background: var(--signal); }
.faq details p { padding: 0 0 20px; color: #3C434D; font-size: 15px; }

/* финал и подвал */
.final { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 10%; width: 800px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,212,0,.14), transparent 70%); }
.final__in { position: relative; text-align: center; padding: clamp(72px, 10vw, 120px) var(--pad); }
.final h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.05em; line-height: 1; }
.final p { color: #B0B6BE; margin: 18px 0 30px; font-size: 17px; }
.foot { background: var(--ink); color: #8D949E; border-top: 1px solid rgba(255,255,255,.08); }
.foot__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; font-size: 13.5px; }
.foot .logo { color: #fff; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--signal); }
.foot p { margin-left: auto; }

/* появление при прокрутке */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.25,1); }
.rise.is-in { opacity: 1; transform: none; }

/* адаптив */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; max-width: 640px; }
  .day { grid-template-columns: 1fr 1fr; }
  .day li::after { display: none; }
  .dirs, .steps { grid-template-columns: 1fr 1fr; }
  .feats, .calc, .plans { grid-template-columns: 1fr 1fr; }
  .about, .faq { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .top__nav, .top__login { display: none; }
  .top .btn { margin-left: auto; }
  .burger { display: block; }
  .drawer { display: none; flex-direction: column; padding: 8px var(--pad) 18px; border-top: 1px solid rgba(255,255,255,.08); }
  .drawer.is-open { display: flex; }
  .drawer a { padding: 12px 0; color: #B9BEC6; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06); }
  .drawer .drawer__cta { color: var(--ink); background: var(--signal); border-radius: 100px; text-align: center; margin-top: 12px; border: 0; }
}
@media (max-width: 640px) {
  .top .btn { display: none; }
  .burger { margin-left: auto; }
  .hero { padding: 48px 0 60px; }
  .hero__cta .btn { width: 100%; }
  .mock__tiles { grid-template-columns: 1fr 1fr; }
  .mock__row { grid-template-columns: 1fr auto; }
  .mock__when, .mock__btn { display: none; }
  .mock__toast { left: 12px; right: 12px; font-size: 11px; }
  .dirs, .steps, .day, .feats, .calc, .plans, .about__cards { grid-template-columns: 1fr; }
  .dir { min-height: 0; }
  .dir h3 { padding-top: 24px; }
  .plan--main { order: -1; }
  .foot p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon__row, .mock__toast { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= внутренние страницы ================= */
.top__nav a.is-on { color: var(--signal); }
.drop { position: relative; }
.drop__menu { display: none; position: absolute; top: 100%; left: -14px; padding-top: 14px; }
.drop__menu div { background: #181C22; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 8px; min-width: 230px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.drop__menu a { display: block; padding: 9px 12px; border-radius: 10px; color: #D5D9DF; }
.drop__menu a:hover { background: rgba(255,255,255,.06); color: var(--signal); }
.drop:hover .drop__menu, .drop:focus-within .drop__menu { display: block; }

.phero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 44px 0 64px; }
.phero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 760px; height: 560px; background: radial-gradient(closest-side, rgba(255,212,0,.13), transparent 70%); pointer-events: none; }
.phero .wrap { position: relative; }
.crumbs { font-size: 13px; color: #8D949E; margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--signal); }
.crumbs span::before { content: "/"; margin-right: 6px; opacity: .5; }
.phero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; max-width: 15em; margin: 14px 0 18px; }
.phero h1 mark { background: none; color: var(--signal); }
.phero__lead { color: #B0B6BE; font-size: 17.5px; max-width: 40em; }
.phero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.phero--split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.phero--split .mock { transform: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: #4A515B; }
.card p + p { margin-top: 8px; }
.card__more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 14px; }
.card__more::after { content: " →"; }
a.card { transition: transform .2s, border-color .2s; }
a.card:hover { transform: translateY(-4px); border-color: var(--ink); }
.card--dark { background: #181C22; border-color: rgba(255,255,255,.08); color: #fff; }
.card--dark p { color: #B0B6BE; }
.card__tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.card--dir { background: var(--bg); border-color: transparent; }
.card--dir h3 { color: var(--c); font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; font-size: 22px; }
.card--dir .card__tag { color: var(--c); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split h2 { margin-bottom: 16px; }
.split p { color: #3C434D; font-size: 16px; }
.split p + p { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--signal); box-shadow: inset 0 0 0 5px var(--signal), inset 0 0 0 8px var(--ink); }
.block--ink .ticks li { color: #D5D9DF; }

.qs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qs p { background: #fff; border-radius: 16px; padding: 16px 18px 16px 50px; position: relative; font-weight: 600; font-size: 15px; }
.qs p::before { content: "?"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--tool); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }

.panel { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 22px; }
.panel .mock { transform: none; box-shadow: none; border: 1px solid var(--line); }

/* сравнительная таблица */
.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #ECECE8; vertical-align: top; }
table.cmp thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 500; background: #FAFAF8; }
table.cmp tbody th { font-weight: 700; }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }
.yes { color: var(--trip); font-weight: 800; }
.no { color: #B0B6BE; }
.soon { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--tool-bg); color: var(--tool); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }

/* статьи */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.prose { font-size: 17px; line-height: 1.7; color: #1E232B; max-width: 46em; }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; line-height: 1.2; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 800; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 800; }
.prose a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose .note { background: #fff; border-left: 4px solid var(--signal); border-radius: 0 16px 16px 0; padding: 18px 22px; margin: 22px 0; font-size: 16px; }
.prose .example { background: var(--ink); color: #D5D9DF; border-radius: 18px; padding: 20px 24px; margin: 22px 0; font-size: 15.5px; }
.prose .example b { color: var(--signal); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; }
.prose th, .prose td { border-bottom: 1px solid #ECECE8; padding: 10px 14px; text-align: left; }
.prose th { background: #FAFAF8; font-weight: 700; }
.toc { position: sticky; top: 90px; background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--line); font-size: 14px; }
.toc b { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0; color: #3C434D; border-bottom: 1px solid #F0F0EC; }
.toc a:hover { color: var(--ink); }
.toc .btn { margin-top: 16px; width: 100%; }
.meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: #8D949E; margin-top: 16px; }

/* калькулятор и генератор */
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.form { background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; }
.form h3 { font-size: 16px; font-weight: 800; margin-top: 6px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 13px; font-weight: 700; color: #3C434D; }
.field small { font-size: 12px; color: var(--steel); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result { background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; position: sticky; top: 90px; }
.result__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.04em; color: var(--signal); line-height: 1; margin: 8px 0 6px; }
.result dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 22px 0 0; font-size: 14.5px; }
.result dt { color: #B0B6BE; }
.result dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.result__hint { margin-top: 18px; font-size: 13px; color: #8D949E; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin-top: 22px; }
.bars span { flex: 1; background: #2A3038; border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars span.pos { background: var(--signal); }
.bars span.neg { background: var(--med); }
.paper-doc { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 36px 40px; font-family: "Times New Roman", serif; font-size: 15px; line-height: 1.45; color: #000; }
.paper-doc h2 { font-family: "Times New Roman", serif; font-size: 17px; text-align: center; margin: 0 0 14px; letter-spacing: 0; }
.paper-doc h3 { font-family: "Times New Roman", serif; font-size: 15px; margin: 16px 0 6px; }
.paper-doc p { margin: 0 0 8px; }
.paper-doc table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.paper-doc td, .paper-doc th { border: 1px solid #000; padding: 4px 6px; font-size: 14px; }
.paper-doc .sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.paper-doc .blank { color: #777; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

/* журнал изменений */
.releases { display: grid; gap: 18px; }
.release { display: grid; grid-template-columns: 180px 1fr; gap: 28px; background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--line); }
.release time { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--steel); }
.release h2 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; margin: 0 0 8px; }
.release > div > p { color: #4A515B; margin-bottom: 14px; }
.release ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.release li { font-size: 15px; padding-left: 90px; position: relative; }
.release li i { position: absolute; left: 0; top: 2px; font-style: normal; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.i-new { background: var(--trip-bg); color: var(--trip); }
.i-better { background: var(--clean-bg); color: var(--clean); }
.i-fix { background: var(--tool-bg); color: var(--tool); }

/* подвал с колонками */
.foot2 { background: var(--ink); color: #8D949E; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.foot2__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.foot2 .logo { color: #fff; margin-bottom: 14px; }
.foot2 h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #6E757F; margin: 0 0 14px; }
.foot2 nav { display: grid; gap: 9px; }
.foot2 a:hover { color: var(--signal); }
.foot2__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; padding-bottom: 26px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; }

@media (max-width: 1080px) {
  .phero--split .wrap, .split, .tool, .article { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .cards, .cards--4 { grid-template-columns: 1fr 1fr; }
  .toc, .result { position: static; }
  .foot2__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot2__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cards, .cards--2, .cards--4, .qs, .row2 { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .release li { padding-left: 0; padding-top: 24px; }
  .foot2__grid { grid-template-columns: 1fr 1fr; }
  .paper-doc { padding: 20px 16px; }
  .prose { font-size: 16px; }
}
@media print {
  body * { visibility: hidden; }
  #doc, #doc * { visibility: visible; }
  #doc { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; }
}
.mini p { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed #ECECE8; }
.mini p:last-child { border-bottom: 0; }
.mini span { color: var(--steel); }
.mock--item .tile b { font-size: 17px; white-space: nowrap; }
.mock--item .tile small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
