/* ============================================================
   Xanov Backup — светлая «бумажная» тема
   Серифные заголовки, терминал, bento-сетка, таймлайн
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-2: #f0ecdf;
  --card: #fffdf7;
  --ink: #17221a;
  --muted: #5d6c60;
  --muted-2: #8a968b;
  --line: #e0dac9;
  --line-strong: #cfc7b2;
  --green: #0c7a4d;
  --green-deep: #083f28;
  --green-soft: #e2f1e7;
  --amber: #a8641c;
  --dark: #101b14;
  --dark-2: #16241b;
  --dark-line: rgba(233, 242, 234, 0.13);
  --cream: #f2eede;
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(23, 34, 26, 0.05), 0 14px 34px rgba(23, 34, 26, 0.07);
  --shadow-lift: 0 2px 4px rgba(23, 34, 26, 0.06), 0 22px 48px rgba(23, 34, 26, 0.12);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(12, 122, 77, 0.22); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #c9c2ad; border-radius: 20px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: #b3ab93; }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 6px; }
button:disabled { cursor: not-allowed; opacity: 0.5; }
.container { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(860px, calc(100% - 48px)); }
.i { width: 18px; height: 18px; flex: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; }

/* ---------- Верхняя строка ---------- */
.topline { background: var(--dark); color: #cfe0d2; font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em; }
.topline-inner { display: flex; align-items: center; justify-content: center; gap: 9px; height: 36px; }
.topline-dot { width: 6px; height: 6px; border-radius: 50%; background: #3fd68f; box-shadow: 0 0 0 0 rgba(63, 214, 143, 0.5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 214, 143, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(63, 214, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 214, 143, 0); } }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); transition: box-shadow 0.4s ease, border-color 0.4s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(23, 34, 26, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(150deg, #12a06a, #0a5c3c); box-shadow: 0 6px 18px rgba(10, 92, 60, 0.35); transition: transform 0.5s var(--ease-out); }
.brand-mark svg { width: 19px; height: 19px; }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-name { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name small { display: block; margin-top: 1px; color: var(--muted-2); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { position: relative; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 6px 0; transition: color 0.25s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease-out); }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 20px; border-radius: 12px; border: 1.5px solid transparent; font-size: 13.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; z-index: 0; transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease-out); z-index: -1; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.btn:hover:not(:disabled)::before { transform: scaleX(1); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 14px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 12px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover:not(:disabled) { color: #fff; box-shadow: 0 12px 30px rgba(12, 122, 77, 0.35); }
.btn-green { background: var(--green); color: #fff; }
.btn-green::before { background: var(--green-deep); }
.btn-green:hover:not(:disabled) { box-shadow: 0 12px 30px rgba(8, 63, 40, 0.35); }
.btn-line { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-line:hover:not(:disabled) { color: #fff; border-color: var(--green); }
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream::before { background: #fff; }
.btn-cream:hover:not(:disabled) { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .i { display: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Прогресс скролла ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Анимации ---------- */
@keyframes in-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.in-up { opacity: 0; animation: in-up 0.9s var(--ease-out) both; }
.fx { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.fx.on { opacity: 1; transform: none; }
.d-0 { animation-delay: 0.05s; } .d-1 { animation-delay: 0.13s; } .d-2 { animation-delay: 0.21s; } .d-3 { animation-delay: 0.29s; } .d-4 { animation-delay: 0.37s; }
.x1 { transition-delay: 0.08s; } .x2 { transition-delay: 0.16s; } .x3 { transition-delay: 0.24s; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 40px; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--card); color: var(--muted); font-size: 12px; font-weight: 700; }
.eyebrow-tick { color: var(--green); font-weight: 800; }
.hero h1 { margin: 26px auto 20px; max-width: 820px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--green); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.06em; height: 0.09em; background: rgba(12, 122, 77, 0.25); border-radius: 10px; }
.hero-lead { margin: 0 auto 30px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; font-weight: 650; }
.hero-facts li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-facts li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Терминал ---------- */
.terminal { max-width: 860px; margin: 54px auto 0; border-radius: 18px; background: var(--dark); color: #d7e6da; text-align: left; box-shadow: var(--shadow-lift); overflow: hidden; }
.term-head { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 18px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(233, 242, 234, 0.16); }
.term-dots i:first-child { background: #e07a68; }
.term-dots i:nth-child(2) { background: #dfb35c; }
.term-dots i:nth-child(3) { background: #43c684; }
.term-title { flex: 1; text-align: center; color: #93a899; font-family: var(--mono); font-size: 11px; }
.term-status { display: flex; align-items: center; gap: 7px; color: #3fd68f; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.term-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3fd68f; animation: ping 2s ease-out infinite; }
.term-body { padding: 18px 20px 20px; font-family: var(--mono); font-size: 12.2px; line-height: 2.05; min-height: 218px; }
.term-line { display: flex; gap: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); animation: term-in 0.5s var(--ease-out) both; }
@keyframes term-in { to { opacity: 1; transform: none; } }
.t-time { color: #7e9484; flex: none; }
.t-ok { color: #3fd68f; font-weight: 700; flex: none; }
.term-line:nth-child(even) span:last-child { color: #b9cbbd; }

/* ---------- Бегущая строка аудитории ---------- */
.tagline-strip { margin: 64px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--card); }
.tagline-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 36s linear infinite; }
.tagline-strip:hover .tagline-track { animation-play-state: paused; }
.tagline-track span { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 15px; white-space: nowrap; }
.tagline-track i { color: var(--green); font-style: normal; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: 100px 0 30px; }
.section-last { padding-bottom: 60px; }
.kicker { display: block; margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-cell { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.3s ease; }
.bento-cell:hover { transform: translateY(-5px); border-color: rgba(12, 122, 77, 0.4); box-shadow: var(--shadow-lift); }
.bento-cell.span-2 { grid-column: span 2; }
.cell-ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: var(--green); background: var(--green-soft); transition: transform 0.45s var(--ease-out); }
.cell-ico .i { width: 20px; height: 20px; }
.bento-cell:hover .cell-ico { transform: rotate(-8deg) scale(1.1); }
.bento-cell h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.25; }
.bento-cell p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.cell-demo { display: grid; gap: 8px; margin-top: 18px; }
.sched { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); font-size: 12px; }
.sched b { font-weight: 750; }
.sched i { color: var(--muted-2); font-style: normal; flex: 1; text-align: right; }
.sched-next { border-style: dashed; color: var(--muted); }
.dot-on { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.dot-next { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px #f4e8d7; }
.restore-chip { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); font-size: 12px; font-weight: 650; }
.restore-chip .i { width: 14px; height: 14px; color: var(--green); }
.restore-doing { color: var(--muted); border-style: dashed; }
.mini-bar { width: 90px; height: 5px; border-radius: 20px; background: linear-gradient(90deg, var(--green) 60%, var(--line) 60%); animation: mini-fill 2.6s var(--ease-out) infinite; }
@keyframes mini-fill { 0% { background: linear-gradient(90deg, var(--green) 8%, var(--line) 8%); } 60% { background: linear-gradient(90deg, var(--green) 92%, var(--line) 92%); } 100% { background: linear-gradient(90deg, var(--green) 100%, var(--line) 100%); } }

/* ---------- Цифры ---------- */
.stats-band { padding: 74px 0 20px; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line); transition: background 0.4s ease; }
.stat:first-child { border-left: 0; }
.stat:hover { background: var(--card); }
.stat-value { display: block; font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- Таймлайн ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 42px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 9px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline::after { content: ""; position: absolute; top: 8px; left: 9px; width: 2px; height: calc(var(--tl, 0) * (100% - 16px)); background: var(--green); border-radius: 2px; transition: height 0.2s linear; }
.tl-item { position: relative; padding: 0 0 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; top: 4px; left: -42px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--paper); transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.tl-item.done .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.tl-num { display: inline-block; margin-bottom: 6px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.tl-body h3 { margin: 0 0 7px; font-size: 21px; }
.tl-body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; max-width: 520px; }

/* ---------- Тёмная секция ---------- */
.dark-section { margin-top: 90px; padding: 90px 0; background: var(--dark); color: #e9f2ea; }
.dark-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.dark-copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.14; }
.dark-copy p { margin: 0 0 28px; color: #9db3a2; font-size: 15px; line-height: 1.75; max-width: 460px; }
.kicker-dark { color: #3fd68f; }
.dark-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.dark-list li { display: flex; gap: 15px; padding: 17px 19px; border: 1px solid var(--dark-line); border-radius: 14px; background: rgba(233, 242, 234, 0.04); transition: border-color 0.3s ease, background 0.3s ease; }
.dark-list li:hover { border-color: rgba(63, 214, 143, 0.45); background: rgba(233, 242, 234, 0.07); }
.dark-list i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(63, 214, 143, 0.15); color: #3fd68f; font-style: normal; font-weight: 800; font-size: 12px; }
.dark-list b { display: block; font-size: 14px; }
.dark-list span { display: block; margin-top: 2px; color: #93a899; font-size: 12px; }

/* ---------- Карта репликации ---------- */
.geo-card { margin-top: 48px; padding: 30px 34px 24px; border: 1px solid var(--dark-line); border-radius: 20px; background: var(--dark-2); overflow: hidden; }
.geo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.geo-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #e9f2ea; }
.geo-sub { color: #7e9484; font-size: 12px; }
.geo-map { width: 100%; height: auto; display: block; }
.geo-line { stroke: rgba(63, 214, 143, 0.3); stroke-width: 1.6; stroke-dasharray: 3 8; stroke-linecap: round; animation: dash-flow 1.5s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -22; } }
.geo-packet { fill: #7ef0bb; }
.geo-node-main { fill: #3fd68f; }
.geo-node-rep { fill: #173324; stroke: #3fd68f; stroke-width: 2; }
.geo-node-ring { fill: none; stroke: rgba(63, 214, 143, 0.35); stroke-width: 1.2; }
.geo-pulse { fill: none; stroke: rgba(63, 214, 143, 0.55); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: geo-pulse 3s ease-out infinite; }
.geo-pulse-2 { animation-delay: 1.5s; }
@keyframes geo-pulse { 0% { transform: scale(0.35); opacity: 0.9; } 70% { opacity: 0; } 100% { transform: scale(1.7); opacity: 0; } }
.geo-label { fill: #e9f2ea; font-family: Inter, "SF Pro Text", system-ui, sans-serif; font-size: 14px; font-weight: 700; text-anchor: middle; }
.geo-label-main { fill: #7ef0bb; font-size: 16px; }
.geo-sublabel { fill: #7e9484; font-family: var(--mono); font-size: 10.5px; text-anchor: middle; }
.geo-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--dark-line); color: #93a899; font-size: 11.5px; font-weight: 600; }
.geo-legend span { display: flex; align-items: center; gap: 8px; }
.geo-legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lg-main { background: #3fd68f; box-shadow: 0 0 0 3px rgba(63, 214, 143, 0.2); }
.lg-rep { background: #173324; box-shadow: inset 0 0 0 2px #3fd68f; }
.lg-inc { background: none; border-radius: 0; width: 14px !important; height: 2px !important; background: repeating-linear-gradient(90deg, #3fd68f 0 3px, transparent 3px 6px); }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.plan-top { border: 2px solid var(--green); box-shadow: 0 2px 4px rgba(23,34,26,.05), 0 24px 54px rgba(12, 122, 77, 0.16); }
.plan-flag { position: absolute; top: -13px; left: 24px; padding: 4px 13px; border-radius: 100px; background: var(--green); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-name { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.plan-price { display: block; margin: 12px 0 4px; font-family: var(--serif); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; color: var(--green-deep); }
.plan-price small { font-family: Inter, system-ui, sans-serif; font-size: 13.5px; font-weight: 600; color: var(--muted-2); }
.plan-note { color: var(--muted); font-size: 12.5px; margin-bottom: 20px; }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 22px; color: #3d4a40; font-size: 13px; font-weight: 550; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item.open { border-color: rgba(12, 122, 77, 0.45); box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 19px 22px; border: 0; background: transparent; font-family: var(--serif); font-size: 16.5px; font-weight: 700; text-align: left; letter-spacing: 0; }
.faq-sign { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform 0.5s var(--ease-out), background 0.3s ease, border-color 0.3s ease; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.8px; background: var(--green); transform: translate(-50%, -50%); }
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-sign { transform: rotate(135deg); background: var(--green-soft); border-color: var(--green); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 56px 20px 22px; color: var(--muted); font-size: 13.5px; line-height: 1.85; }

/* ---------- CTA ---------- */
.cta-holder { padding: 70px 0 100px; }
.cta-block { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 54px; border-radius: 24px; background: linear-gradient(135deg, #0d8a57, #083f28); color: #fff; box-shadow: 0 30px 70px rgba(8, 63, 40, 0.35); }
.cta-kicker { display: block; margin-bottom: 10px; color: #7fd6ac; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.cta-block h2 { margin: 0; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; }

/* ---------- Футер ---------- */
.footer { padding: 44px 0 50px; background: var(--dark); color: #cfe0d2; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-size: 16.5px; font-weight: 700; }
.footer-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--green); color: #fff; }
.footer-mark svg { width: 15px; height: 15px; }
.footer-note { margin: 12px 0 0; color: #93a899; font-size: 12px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: #93a899; font-size: 12px; }

/* ---------- Сообщения, тост ---------- */
.message { margin-top: 16px; padding: 12px 15px; border-radius: 11px; border: 1px solid #ecc8b8; background: #f9ece2; color: #96421a; font-size: 12.5px; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; padding: 13px 20px; border-radius: 12px; background: var(--dark); color: #eaf4ec; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 50px rgba(16, 27, 20, 0.4); animation: toast-in 0.5s var(--ease-out) both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Формы ---------- */
.form-block { margin-top: 17px; }
.field-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12.5px; font-weight: 750; }
.field-control { width: 100%; min-height: 47px; padding: 12px 15px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13.5px; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.field-control::placeholder { color: var(--muted-2); }
.field-control:hover { border-color: #b6ad93; }
.field-control:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(12, 122, 77, 0.13); }

/* ---------- Auth ---------- */
.auth-body { background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 1.6px); background-size: 26px 26px; background-color: var(--paper); }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 70px 20px; }
.auth-card { width: min(460px, 100%); padding: 38px 36px 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-lift); animation: in-up 0.8s var(--ease-out) both; }
.auth-brand { margin-bottom: 24px; }
.auth-title { margin: 0 0 6px; font-size: 27px; }
.auth-sub { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; }
.auth-submit { margin-top: 20px; min-height: 50px; }
.auth-alt { margin: 20px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.text-link { color: var(--green); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(12, 122, 77, 0.4); text-underline-offset: 3px; transition: text-decoration-color 0.25s ease; }
.text-link:hover { text-decoration-color: var(--green); }
.auth-back { display: block; width: fit-content; margin: 24px auto 0; color: var(--muted-2); font-size: 12px; font-weight: 700; transition: color 0.25s ease; }
.auth-back:hover { color: var(--ink); }
.pw-wrap { position: relative; display: block; }
.pw-wrap .field-control { padding-right: 48px; }
.pw-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 33px; height: 33px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted-2); transition: color 0.25s ease, background 0.25s ease; }
.pw-toggle:hover { color: var(--ink); background: var(--paper-2); }
.pw-toggle .i { width: 16px; height: 16px; }
.pw-meter { display: block; margin-top: 9px; height: 5px; border-radius: 20px; background: var(--paper-2); overflow: hidden; }
.pw-meter i { display: block; width: 0%; height: 100%; border-radius: 20px; background: var(--green); transition: width 0.45s var(--ease-out), background 0.45s ease; }
.pw-hint { display: block; margin-top: 7px; color: var(--muted-2); font-size: 11px; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; cursor: pointer; color: #3d4a40; font-size: 12.5px; line-height: 1.55; }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { width: 20px; height: 20px; flex: none; display: grid; place-items: center; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-strong); background: #fff; transition: background 0.3s ease, border-color 0.3s ease; }
.check-box .i { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(0.4); transition: opacity 0.25s ease, transform 0.35s var(--ease-out); }
.check-row:hover .check-box { border-color: var(--green); }
.check-row input:checked + .check-box { background: var(--green); border-color: var(--green); }
.check-row input:checked + .check-box .i { opacity: 1; transform: scale(1); }
.check-row input:focus-visible + .check-box { outline: 2.5px solid var(--green); outline-offset: 2px; }
.plan-tag { display: inline-block; margin-bottom: 12px; padding: 6px 13px; border-radius: 100px; border: 1px solid rgba(12, 122, 77, 0.4); background: var(--green-soft); color: var(--green-deep); font-size: 12px; font-weight: 750; }
.success-box { text-align: center; padding: 14px 0 6px; }
.success-badge { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 14px 34px rgba(12, 122, 77, 0.4); }
.success-badge .i { width: 27px; height: 27px; }
.success-box h2 { margin: 0 0 8px; font-size: 23px; }
.success-box p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.success-box b { color: var(--ink); }
.success-note { color: var(--muted-2) !important; font-size: 11.5px !important; }
.success-track { display: block; margin: 16px auto 2px; width: 72%; height: 6px; border-radius: 20px; background: var(--paper-2); overflow: hidden; }
.success-track i { display: block; height: 100%; width: 0; background: var(--green); transition: width 0.2s linear; }
.auth-success-btn { margin-top: 16px; }

/* ---------- Дашборд ---------- */
.app-body { background: var(--paper-2); }
.app-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.app-header-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.app-user { display: flex; align-items: center; gap: 12px; }
.app-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; }
.app-user-name b { display: block; font-size: 13px; }
.app-user-name small { display: block; color: var(--muted-2); font-size: 10.5px; }
.app-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 60px; }
.app-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: start; }
.app-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.app-block-head h1, .app-block-head h2 { margin: 0; font-size: 22px; }
.app-subline { color: var(--muted-2); font-size: 12px; font-weight: 600; }
.profile-list { display: grid; gap: 14px; }
.profile-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease; }
.profile-card:hover { transform: translateY(-3px); border-color: rgba(12, 122, 77, 0.35); box-shadow: var(--shadow-lift); }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.profile-name { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 750; }
.status-pill.ok { background: var(--green-soft); color: var(--green-deep); }
.status-pill.wait { background: #f4ead6; color: var(--amber); }
.status-pill.run { background: #e3ecf7; color: #1c5a9e; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.run .status-dot { animation: ping 1.4s ease-out infinite; }
.profile-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; color: var(--muted); font-size: 12px; }
.profile-actions { display: flex; gap: 9px; }
.app-terminal { margin: 0 0 20px; max-width: none; }
.storage-block { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.storage-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.storage-row b { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.storage-track { display: block; height: 8px; border-radius: 20px; background: var(--paper-2); overflow: hidden; }
.storage-track i { display: block; width: 39%; height: 100%; border-radius: 20px; background: var(--green); transition: width 0.8s var(--ease-out); }
.storage-note { margin: 11px 0 0; color: var(--muted-2); font-size: 11.5px; line-height: 1.6; }

/* ---------- Адаптив ---------- */
@media (max-width: 1060px) {
  .site-nav { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2 { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-top { order: -1; }
  .dark-inner { grid-template-columns: 1fr; gap: 34px; }
  .app-cols { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .container { width: min(100% - 36px, 620px); }
  .header-inner { height: 72px; }
  .header-actions .btn-line { display: none; }
  .hero { padding-top: 56px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .cta-block { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
  .footer-inner { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .app-header-inner { width: min(100% - 32px, 620px); }
  .app-wrap { width: min(100% - 32px, 620px); padding-top: 22px; }
  .app-user-name { display: none; }
  .term-body { font-size: 11px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 30px); }
  .bento { grid-template-columns: 1fr; }
  .bento-cell.span-2 { grid-column: span 1; }
  .hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .hero-actions .btn { flex: 1; min-width: 0; }
  .stat-value { font-size: 34px; }
  .brand-name small { display: none; }
  .topline-inner { font-size: 10px; }
  .auth-card { padding: 28px 22px 24px; }
  .faq-a-inner p { padding-right: 20px; }
  .profile-actions .btn { flex: 1; }
  .geo-card { padding: 20px 14px 16px; }
  .geo-sublabel { display: none; }
  .geo-label { font-size: 27px; }
  .geo-label-main { font-size: 31px; }
  .geo-head { flex-direction: column; gap: 4px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .in-up, .fx { opacity: 1; transform: none; }
  .tagline-track { animation: none !important; }
  .term-line { opacity: 1; transform: none; }
}
