/* ЭХОТЕКА — направление «Эхо» (06.11.2026). Шрифты локально, OFL-1.1: Literata, Golos Text (fontsource 5.3.0). */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-latin-wght-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-cyrillic-wght-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-latin-wght-italic.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/golos-text-latin-wght-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #f7f5f0; --paper-2: #efece5; --card: #ffffff; --ink: #1c1b19; --ink-2: #44413b; --muted: #6a665e;
  --line: #e2ddd2; --accent: #1d4b3c; --accent-ink: #ffffff;
  --live: #1d4b3c; --live-bg: #e3eee8; --beta: #7a4f00; --beta-bg: #f6ead3; --dev: #5a564e; --dev-bg: #ffffff;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: #123328; }
img, svg { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; line-height: 1.12; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; background: var(--card); border-radius: 999px; padding: 6px; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 15px; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.cta { background: var(--ink); color: #fff; }
.nav a.cta:hover { background: #000; color: #fff; }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }

.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 14px; border: 0; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; background: var(--accent); color: var(--accent-ink); }
.btn:hover { background: #123328; color: #fff; }
.btn-light { background: var(--card); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--accent); }
.btn:disabled { opacity: .6; cursor: wait; }

/* первый экран */
.hero { display: grid; gap: 40px; align-items: center; padding: 56px 0 88px; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.15fr 1fr; padding: 72px 0 104px; } }
.eyebrow { margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.hero h1 { font-size: clamp(42px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 em { color: var(--accent); }
.lead { margin: 28px 0 32px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 540px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rings { display: flex; justify-content: center; }
.rings svg { width: min(100%, 500px); height: auto; overflow: visible; }
.rings path { animation: echo 4.8s ease-in-out infinite; transform-origin: 30% 50%; }
.rings path:nth-of-type(2) { animation-delay: .4s; }
.rings path:nth-of-type(3) { animation-delay: .8s; }
.rings path:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes echo { 0%, 100% { opacity: var(--o, 1); } 50% { opacity: calc(var(--o, 1) * .45); } }
@media (prefers-reduced-motion: reduce) { .rings path { animation: none; } }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.facts li { background: var(--card); border-radius: 20px; padding: 20px 24px; }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--accent); line-height: 1.2; }
.facts span { color: var(--muted); font-size: 15px; }

.section { padding: 96px 0 0; }
.section h2 { font-size: clamp(34px, 4vw, 56px); }
.section-lead { margin: 12px 0 40px; color: var(--muted); font-size: 17px; max-width: 640px; }

/* продукты */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--card); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card.soft { background: var(--paper-2); }
.card h3 { font-weight: 500; font-size: 30px; }
.card p { margin: 0; color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 500; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-top img, .mono { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.mono { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; }
.feature { grid-column: 1 / -1; display: grid; gap: 32px; padding: clamp(28px, 4vw, 48px); }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1.2fr; } }
.feature h3 { font-size: clamp(34px, 3.4vw, 44px); }
.feature .kind { font-size: 18px; color: var(--ink-2); margin: 0; }
.feature ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.feature li { margin-bottom: 6px; }
.chip { align-self: flex-start; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.chip-live { background: var(--live-bg); color: var(--live); }
.chip-beta { background: var(--beta-bg); color: var(--beta); }
.chip-dev { background: var(--dev-bg); color: var(--dev); }
.meta { font-size: 15px; color: var(--muted) !important; }

/* на заказ */
.panel { background: var(--card); border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 40px; }
@media (min-width: 900px) { .panel { grid-template-columns: 1fr 1.2fr; } }
.panel h2 { font-size: clamp(32px, 3.6vw, 48px); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps .n { font-family: var(--serif); color: var(--accent); font-size: 22px; line-height: 1.3; min-width: 18px; }
.steps b { font-weight: 600; }
.steps span span { color: var(--muted); }

.principles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.principles div { border-top: 1px solid var(--line); padding-top: 20px; }
.principles h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.principles p { margin: 0; color: var(--ink-2); }
.tech { margin: 32px 0 0; color: var(--muted); font-size: 15px; }

/* компания */
.company { display: grid; gap: 40px; }
@media (min-width: 900px) { .company { grid-template-columns: 1fr 1fr; } }
.company p { margin: 0 0 14px; color: var(--ink-2); }
.req { margin: 0; background: var(--paper-2); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; font-size: 15px; }
.req div.wide { grid-column: 1 / -1; }
.req dt { color: var(--muted); font-size: 13px; }
.req dd { margin: 4px 0 0; overflow-wrap: anywhere; }

/* контакты */
.contact { margin: 96px 0 40px; background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; } }
.contact h2 { font-size: clamp(34px, 4vw, 56px); }
.contact p { color: #c9c4b9; margin: 14px 0 0; }
.form { display: grid; gap: 14px; }
.form label { display: block; font-size: 14px; color: #c9c4b9; }
.form label > input:not([type=checkbox]), .form label > textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 17px; color: var(--ink); background: var(--paper); border: 0; border-radius: 12px; padding: 14px 16px; }
.form input:focus, .form textarea:focus { outline: 2px solid #8fc7ad; outline-offset: 2px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form .check a { color: #f7f5f0; }
.form .btn { justify-self: start; background: var(--paper); color: var(--ink); font-weight: 600; }
.form .btn:hover { background: #fff; color: var(--accent); }
.req-mark { color: #e8b37a; margin-left: 2px; }
.form-msg { margin: 0; min-height: 1.6em; font-size: 15px; }
.form-msg.ok { color: #8fc7ad; }
.form-msg.bad { color: #ffb4a6; }

.foot { padding: 8px 0 40px; }
.foot-in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

/* документ */
.doc { max-width: 780px; padding-top: 40px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p { color: var(--ink-2); }
