/* Paragon Growth — public site in the design system of digital-paragon.ru (same tokens and components:
   Unbounded headings, Mulish text, violet #6b5ee8, lavender surfaces, big radii, pill buttons). Plain CSS. */

:root {
  --font-heading: "Unbounded", "Mulish", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --color-bg: #ffffff;
  --color-surface: #f1effc;
  --color-text: #1d1a3a;
  --color-divider: rgba(29, 26, 58, 0.12);
  --color-accent: #6b5ee8;
  --color-neutral-100: #f7f6ff;
  --color-neutral-200: #efeefc;
  --color-neutral-700: #5f5b8a;
  --color-neutral-800: #423e6b;
  --color-accent-100: #f1effc;
  --color-accent-200: #e4e1fb;
  --color-accent-300: #cbc5f7;
  --color-accent-400: #a49af0;
  --color-accent-600: #5b4fd6;
  --color-accent-700: #4a3fbd;
  --color-accent-800: #3a3199;
  --shadow-sm: 0 1px 2px rgba(23, 26, 34, 0.08);
  --shadow-md: 0 3px 10px rgba(23, 26, 34, 0.10);
  --shadow-lg: 0 12px 32px rgba(23, 26, 34, 0.14);
  --pad: clamp(20px, 5vw, 72px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ol, ul { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 90px; }
[tabindex='-1']:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: rgba(107, 94, 232, .3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--color-accent); color: #fff; font-weight: 700;
}
.skip:focus { top: 12px; }

/* — buttons & tags (as on digital-paragon.ru) — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 400; font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 9px 18px;
  white-space: nowrap; transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn-lg { font-size: 16px; padding: 13px 26px; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); background: var(--color-bg); }
.btn-secondary:hover { background: rgba(29, 26, 58, .06); color: var(--color-accent-700); }
.btn-ghost { color: var(--color-accent); padding-inline: 10px; }
.btn-ghost:hover { background: rgba(107, 94, 232, .1); color: var(--color-accent-700); }
.btn-white { background: #fff; color: var(--color-accent-700); }
.btn-white:hover { background: var(--color-neutral-100); }
.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }

/* Signed-in visitors see «Открыть кабинет» instead of sign-up buttons (set by site.js). */
.when-in { display: none !important; }
.signed-in .when-in { display: inline-flex !important; }
.signed-in .when-out { display: none !important; }

/* — page frame — */
.page { position: relative; min-height: 100vh; overflow-x: clip; }
.bg {
  position: absolute; inset: 0 0 auto 0; height: 820px; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.blob-a { right: -120px; top: -160px; width: 560px; height: 560px; background: var(--color-accent-200); animation: floatA 14s ease-in-out infinite; }
.blob-b { right: 260px; top: 120px; width: 360px; height: 360px; background: var(--color-accent-300); opacity: .7; animation: floatB 18s ease-in-out infinite; }
.blob-c { right: 40px; top: 380px; width: 300px; height: 300px; background: var(--color-accent-400); opacity: .35; animation: floatC 22s ease-in-out infinite; }
.blob-d { left: -140px; top: 520px; width: 380px; height: 380px; background: var(--color-accent-200); opacity: .8; animation: floatD 20s ease-in-out infinite; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }

.container { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* — header — */
.sticky { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.sticky.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--color-divider); }
.nav { position: relative; display: flex; align-items: center; gap: 10px 16px; max-width: 1280px; margin: 0 auto; padding: 18px var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: 8px; color: var(--color-text); }
.brand img { height: 36px; width: auto; }
.brand span { font-family: var(--font-heading); font-size: 20px; line-height: 1; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px 12px; flex: 1 1 auto; margin-left: auto; }
.links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.links a {
  font-size: 14px; color: var(--color-text); padding: 6px 10px; border-radius: 999px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.links a:hover, .links a.is-active { color: var(--color-accent-700); background: var(--color-accent-100); }
.burger {
  display: none; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; padding: 0;
  border: 1px solid var(--color-divider); border-radius: 50%; background: var(--color-bg); color: var(--color-text); cursor: pointer;
}
.burger .i { width: 19px; height: 19px; }
.burger .i-x { display: none; }

/* — hero — */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 48px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px clamp(24px, 4vw, 72px); align-items: start; margin-right: calc(-1 * clamp(0px, 3vw, 48px));
}
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.06; margin-left: -.03em; letter-spacing: 0; }
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, 1fr) 420px; } }
.typed-box { display: grid; grid-template-columns: 1fr; }
.typed-box > span { grid-area: 1 / 1; }
.typed-box .ghost { visibility: hidden; }
.typed-box .typed-line { color: var(--color-accent); }
.caret {
  display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em;
  background: var(--color-accent); animation: blink 1s steps(2) infinite;
}
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 58ch; margin-top: 28px; color: var(--color-neutral-800); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13.5px; color: var(--color-neutral-700); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

/* hero chat card */
.chat-wrap { position: relative; justify-self: end; width: 100%; max-width: 420px; min-width: 0; margin-top: -8px; }
.chat {
  position: relative; width: 100%; background: var(--color-bg); border: 1px solid var(--color-divider);
  border-radius: 40px; box-shadow: var(--shadow-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--color-divider); }
.chat-head img { width: 36px; height: 36px; border-radius: 10px; }
.chat-head b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.chat-head small { font-size: 12.5px; color: var(--color-neutral-700); }
.online { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
.log { display: flex; flex-direction: column; gap: 10px; }
.msg {
  max-width: 88%; padding: 12px 16px; border-radius: 20px; font-size: 14px; line-height: 1.45;
  animation: pop .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.4s + var(--i, 0) * .7s);
}
.msg.agent { align-self: flex-start; background: var(--color-accent); color: #fff; border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--color-surface); border-bottom-right-radius: 6px; }
.pay {
  display: block; margin-top: 10px; padding: 10px 16px; border-radius: 999px; background: #fff;
  color: var(--color-accent-700); font-family: var(--font-heading); font-size: 13.5px; text-align: center;
}
.chips-q { display: flex; flex-wrap: wrap; gap: 8px; animation: pop .5s both; animation-delay: calc(.4s + var(--i, 0) * .7s); }
.chips-q span { padding: 7px 14px; border: 1px solid var(--color-divider); border-radius: 999px; font: 500 13px/1.3 var(--font-body); }
.chat-input { display: flex; gap: 8px; }
.chat-input span {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; display: flex; align-items: center;
  border: 1px solid var(--color-divider); border-radius: 999px; color: var(--color-neutral-700); font-size: 14px;
}
.chat-input a {
  width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--color-accent); color: #fff;
  display: grid; place-items: center;
}
.chat-input a:hover { background: var(--color-accent-600); }
.chat-foot {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: var(--color-surface); font-size: 12.5px; color: var(--color-neutral-800);
}
.chat-foot .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--color-bg); color: var(--color-accent); display: grid; place-items: center; flex: none; }
.chat-foot .i { width: 14px; height: 14px; }
.sample { position: absolute; top: 20px; right: 64px; }

/* — circles — */
.circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; padding: 24px 0 72px; }
.circle {
  aspect-ratio: 1; max-width: 240px; width: 100%; margin: 0 auto; border-radius: 50%;
  background: var(--color-accent-100); display: grid; place-content: center; text-align: center; padding: 20px;
}
.circle:nth-child(even) { background: var(--color-accent-200); }
.circle b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(34px, 3.2vw, 44px); line-height: 1; color: var(--color-accent-700); white-space: nowrap; }
.circle span { margin-top: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-800); }

/* — chip rows — */
.rows { padding: 0 0 64px; display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.row-label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--color-neutral-700); margin-right: 8px; min-width: 140px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-divider); font-size: 14px; font-weight: 600; }
.chip.fill { border-color: transparent; background: var(--color-accent-100); color: var(--color-accent-800); }

/* — sections — */
.section { padding: 32px 0 72px; }
.kicker { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); margin-bottom: 14px; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; max-width: 22ch; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.muted-p { font-size: 15.5px; line-height: 1.55; color: var(--color-neutral-800); max-width: 46ch; margin-top: 24px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.fcard {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 32px;
  background: var(--color-surface); color: var(--color-text); min-height: 220px; transition: background .15s;
}
a.fcard:hover { background: var(--color-accent-200); }
.fcard .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--color-bg); color: var(--color-accent); display: grid; place-items: center; }
.fcard .t { font-family: var(--font-heading); font-size: 22px; line-height: 1.15; margin-top: auto; }
.fcard .d { font-size: 14.5px; line-height: 1.5; color: var(--color-neutral-800); }
.fcard .m { font-size: 12px; color: var(--color-neutral-700); }
.fcard.accent { background: var(--color-accent); color: #fff; }
.fcard.accent:hover { background: var(--color-accent-600); }
.fcard.accent .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.fcard.accent .d { color: #fff; opacity: .9; }
.fcard.accent .go { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* big surface block */
.panel {
  background: var(--color-surface); border-radius: 56px; padding: clamp(32px, 5vw, 64px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px clamp(24px, 5vw, 80px); align-items: start;
}
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: var(--color-bg); transition: box-shadow .15s; }
.tile:hover { box-shadow: var(--shadow-md); }
.tile .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface); color: var(--color-accent); display: grid; place-items: center; }
.tile .ic .i { width: 18px; height: 18px; }
.tile b { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.tile span { font-size: 12.5px; line-height: 1.4; color: var(--color-neutral-700); }
.tile.last { background: var(--color-accent); color: #fff; }
.tile.last .ic { background: rgba(255, 255, 255, .2); color: #fff; }
.tile.last span { color: rgba(255, 255, 255, .85); }
.report { grid-column: 1 / -1; background: var(--color-bg); border-radius: 32px; padding: 8px 24px 12px; }
.report-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 8px 8px; font-family: var(--font-heading); font-size: 16px; }
.report table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report th, .report td { padding: 12px 8px; text-align: right; white-space: nowrap; }
.report thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; border-bottom: 1px solid var(--color-divider); }
.report th:first-child { text-align: left; white-space: normal; }
.report tbody tr + tr { border-top: 1px solid var(--color-divider); }
.report tbody th { font-weight: 400; }
.report tbody th b { display: block; font-weight: 700; }
.report tbody th small { font-size: 12px; color: var(--color-neutral-700); }
.report td { font-weight: 700; font-variant-numeric: tabular-nums; }
.romi { padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 800; }
.romi.none { background: none; color: var(--color-neutral-700); }

/* why grid */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 48px; margin-top: 8px; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 0; }
.why-item .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface); color: var(--color-accent); display: grid; place-items: center; }
.why-item h3 { font-size: 24px; line-height: 1.15; margin: 0 0 8px; }
.why-item p { font-size: 15px; line-height: 1.55; color: var(--color-neutral-800); max-width: 44ch; }

/* steps */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px clamp(24px, 5vw, 96px); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.steps li { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--color-divider); }
.steps .n { width: 48px; height: 48px; border-radius: 50%; background: var(--color-surface); display: grid; place-items: center; font-family: var(--font-heading); font-size: 20px; color: var(--color-accent); }
.steps h3 { font-size: 20px; line-height: 1.2; margin: 0 0 6px; }
.steps p { font-size: 14.5px; line-height: 1.5; color: var(--color-neutral-800); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-radius: 36px; background: var(--color-surface); }
.plan.pop { background: var(--color-accent); color: #fff; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-name { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; opacity: .8; white-space: nowrap; }
.plan.pop .tag-accent { background: #fff; color: var(--color-accent-700); }
.price { font-family: var(--font-heading); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; white-space: nowrap; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--color-neutral-700); margin-left: 6px; }
.plan.pop .price small { color: rgba(255, 255, 255, .8); }
.plan-tagline { font-size: 14px; color: var(--color-neutral-800); margin-top: -8px; }
.plan.pop .plan-tagline { color: rgba(255, 255, 255, .85); }
.dots { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.45; flex: 1; }
.dots li { display: flex; gap: 10px; align-items: baseline; }
.dots li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; opacity: .6; }
.plan .btn { align-self: flex-start; font-size: 15px; padding: 12px 22px; }
.plan.pop .btn-secondary { background: #fff; border-color: #fff; color: var(--color-accent-700); }
.price-note { margin-top: 20px; font-size: 14px; color: var(--color-neutral-700); }

/* faq */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px clamp(24px, 5vw, 96px); }
.faq-list { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--color-divider); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 14px 0; font-family: var(--font-heading); font-size: 19px; line-height: 1.3; transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent-700); }
.faq summary .pm {
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-surface); color: var(--color-accent);
  display: grid; place-items: center; flex: none; font: 600 18px/1 var(--font-body); transition: transform .2s;
}
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--color-neutral-800); max-width: 56ch; }

/* seo text & cta */
.seo { padding: 0 0 72px; max-width: 860px; }
.seo h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin: 0 0 20px; }
.seo p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--color-neutral-800); }
.cta-box {
  background: var(--color-accent-100); border-radius: 56px; padding: clamp(32px, 5vw, 64px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center;
}
.cta-box h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.cta-box p { margin-top: 20px; font-size: 15.5px; line-height: 1.55; color: var(--color-neutral-800); max-width: 46ch; }
.cta-box .actions { margin-top: 0; }

/* footer */
.footer { max-width: 1280px; margin: 0 auto; padding: 56px var(--pad) 40px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px 28px; align-items: start; }
.f-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.f-col a { transition: color .15s; }
.f-col a:hover { color: var(--color-accent-700); }
.f-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent); }
.f-brand { display: flex; flex-direction: column; gap: 12px; }
.f-brand p { font-size: 14px; line-height: 1.5; color: var(--color-neutral-700); max-width: 28ch; }
.f-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--color-divider); font-size: 13px; color: var(--color-neutral-700);
}
.f-bottom .fn { flex-basis: 100%; font-size: 12px; }

/* floating CTA on phones */
.float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; }
.float .btn { box-shadow: var(--shadow-lg); }

/* legal documents */
.doc { max-width: 860px; margin: 24px auto 72px; padding: clamp(24px, 5vw, 56px); border-radius: 40px; background: var(--color-bg); border: 1px solid var(--color-divider); box-shadow: var(--shadow-lg); }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.doc-tabs a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--color-surface); }
.doc-tabs a:hover { color: var(--color-accent-700); }
.doc-tabs a[aria-current='page'] { background: var(--color-accent); color: #fff; }
.doc h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; }
.doc .meta { margin: 12px 0 28px; font-size: 14px; color: var(--color-neutral-700); }
.doc-body { font-size: 15px; line-height: 1.7; color: var(--color-neutral-800); }
.doc-body h2 { margin: 34px 0 12px; font: 400 20px/1.25 var(--font-heading); color: var(--color-text); }
.doc-body p { margin: 0 0 12px; }
.doc-body ul, .doc-body ol { margin: 0 0 14px; padding-left: 22px; }
.doc-body ul { list-style: disc; }
.doc-body ol { list-style: decimal; }
.doc-body li { margin-bottom: 6px; }
.doc-body a { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 3px; }
.doc-body .note { padding: 16px 20px; margin: 0 0 20px; border-radius: 24px; background: var(--color-surface); color: var(--color-accent-800); }
.req { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--color-divider); font-size: 14px; color: var(--color-neutral-800); }
.req h2 { margin: 0 0 12px; font: 400 20px/1.25 var(--font-heading); color: var(--color-text); }
.req p { margin: 0 0 4px; overflow-wrap: anywhere; }
.req a { color: var(--color-accent-700); }

/* reveal on scroll (set by site.js; without JS everything is visible) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }

@keyframes floatA { 50% { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes floatB { 50% { transform: translate(70px, -60px) scale(.9); } }
@keyframes floatC { 50% { transform: translate(-50px, -80px) scale(1.2); } }
@keyframes floatD { 50% { transform: translate(60px, 50px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .links a { padding: 6px 8px; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .links, .nav-login { display: none !important; }
  .nav.open .links {
    display: flex !important; position: absolute; top: calc(100% - 4px); left: var(--pad); right: var(--pad); z-index: 50;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: var(--color-bg);
    border: 1px solid var(--color-divider); border-radius: 20px; box-shadow: var(--shadow-lg);
  }
  .nav.open .links a { padding: 12px 16px; border-radius: 12px; font-size: 15px; }
  .nav.open .burger .i-menu { display: none; }
  .nav.open .burger .i-x { display: block; }
  .float { display: block; }
  .chat-wrap { justify-self: stretch; max-width: none; }
}
@media (max-width: 640px) {
  .chat { padding: 20px; border-radius: 32px; }
  .panel, .cta-box { border-radius: 36px; }
  .report { padding: 4px 12px 8px; border-radius: 24px; }
  .report .opt { display: none; }
  .report th, .report td { padding: 10px 4px; font-size: 13px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps .tag { grid-column: 2; justify-self: start; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .doc { margin: 8px 0 48px; border-radius: 28px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
