/* EchoEnvo — публичный сайт. Язык дизайна — утверждённый макет v3
   (design/site-home.html, направление raycast.com, 08.11.2026).
   Inter — свой хостинг (static/fonts, OFL), подмножества по unicode-range. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/inter-latin.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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080a;
  --bg-1: #0c0d0f;
  --bg-2: #111214;
  --card: #0e0f11;
  --line: #1f2123;
  --line-2: #2a2c2f;
  --fg: #f4f4f6;
  --fg-2: #c2c7ca;
  --fg-3: #78787c;
  --fg-4: #5e6366;
  --btn-bg: #ffffffd9;
  --btn-bg-h: #ffffff;
  --btn-fg: #18191a;
  --key-1: #1c1d20;
  --key-2: #0d0d0e;
  --frame: rgb(255 255 255 / 0.06);
  --shadow: 0 0 0 1px rgb(255 255 255 / 0.05), 0 40px 120px -20px rgb(0 0 0 / 0.9);
  --grain-op: .028;
  --title-shadow: 0 6px 40px rgb(0 0 0 / 0.55);
  --glow-a: .55;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --bg-1: #ececea;
  --bg-2: #e4e4e1;
  --card: #ffffff;
  --line: #e0e0dc;
  --line-2: #d2d2ce;
  --fg: #0d0e10;
  --fg-2: #33363a;
  --fg-3: #75777b;
  --fg-4: #9a9ca0;
  --btn-bg: #111214;
  --btn-bg-h: #000;
  --btn-fg: #ffffff;
  --key-1: #ffffff;
  --key-2: #ebebe8;
  --frame: rgb(0 0 0 / 0.06);
  --shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 40px 100px -40px rgb(20 20 30 / 0.35);
  --grain-op: .035;
  --title-shadow: 0 6px 40px rgb(255 255 255 / 0.6);
  --glow-a: .32;
}
:root {
  --blue: #57a8ff;
  --orange: #ff9a3c;
  --red: #ff5a5f;
  --green: #59d499;
  --violet: #b18cff;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1204px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font-family: var(--sans); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; letter-spacing: .005em; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; background-image: var(--grain); opacity: var(--grain-op); }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg); font: 500 15px var(--sans); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1) inset, 0 6px 20px -6px rgb(0 0 0 / 0.5); transition: background .15s, transform .15s; border: 0; cursor: pointer; }
.btn:hover { background: var(--btn-bg-h); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: var(--fg-2); box-shadow: none; }
.btn-quiet:hover { background: var(--bg-2); color: var(--fg); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.nav { position: sticky; top: 16px; z-index: 50; }
.nav .bar { display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 12px 0 22px; border-radius: 16px; background: color-mix(in oklab, var(--bg-1) 78%, transparent); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 0 0 1px var(--frame), 0 20px 40px -20px rgb(0 0 0 / 0.5); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.logo i { width: 22px; height: 22px; display: grid; place-items: center; }
.links { display: flex; gap: 4px; margin-left: auto; font-size: 14.5px; color: var(--fg-3); }
.links a { padding: 8px 12px; border-radius: 8px; }
.links a:hover { color: var(--fg); background: var(--bg-2); }
.tools { display: flex; gap: 6px; align-items: center; margin-left: 12px; }
.tbtn { height: 36px; min-width: 36px; padding: 0 10px; border-radius: 9px; background: transparent; border: 0; color: var(--fg-3); cursor: pointer; font: 500 12.5px var(--mono); display: grid; place-items: center; }
.tbtn:hover { color: var(--fg); background: var(--bg-2); }

.hero { position: relative; height: min(100vh, 980px); min-height: 760px; margin-top: -80px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.render { position: absolute; inset: -20%; z-index: -1; display: grid; place-items: center; mask-image: radial-gradient(60% 55% at 50% 50%, #000 40%, transparent 80%); -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000 40%, transparent 80%); }
.render .tilt { transform: rotate(-38deg); display: flex; gap: 34px; align-items: center; filter: blur(14px) saturate(1.25); opacity: .95; animation: drift 18s ease-in-out infinite alternate; }
.render .b { width: 74px; border-radius: 40px; background: linear-gradient(180deg, transparent, var(--c1) 22%, var(--c2) 55%, var(--c3) 85%, transparent); animation: breathe var(--d) ease-in-out infinite alternate; transform-origin: center; }
.render .grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .1; }
:root[data-theme="light"] .render .tilt { opacity: .8; filter: blur(16px) saturate(1.1); }
@keyframes breathe { from { transform: scaleY(.72); } to { transform: scaleY(1.08); } }
@keyframes drift { from { transform: rotate(-38deg) translateX(-30px); } to { transform: rotate(-36deg) translateX(30px); } }
.hero-c { text-align: center; padding: 0 24px; position: relative; }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.035em; text-shadow: var(--title-shadow); }
.hero p.sub { margin: 26px auto 0; max-width: 560px; font-size: 19px; color: var(--fg-2); text-shadow: var(--title-shadow); }
.hero .cta { margin-top: 48px; display: grid; justify-items: center; gap: 14px; }
.hero .meta { font: 12.5px var(--mono); color: var(--fg-2); text-shadow: var(--title-shadow); }
.hero .meta span + span::before { content: "·"; margin: 0 10px; color: var(--fg-4); }

.head2 { font-size: 21px; line-height: 1.32; font-weight: 500; letter-spacing: -0.01em; }
.head2 span { display: block; color: var(--fg-3); }
.center { text-align: center; }
section { position: relative; }
.sec { padding: 160px 0 0; }

.window { margin: 56px auto 0; max-width: 1204px; border-radius: 26px; padding: 10px; background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02)); box-shadow: var(--shadow); position: relative; }
:root[data-theme="light"] .window { background: linear-gradient(180deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.02)); }
.screen { border-radius: 18px; overflow: hidden; background: #050607; position: relative; aspect-ratio: 16 / 8.6; color: #e9eaee; }
.screen .menubar { position: absolute; top: 0; left: 0; right: 0; height: 36px; display: flex; align-items: center; gap: 22px; padding: 0 22px; font-size: 13px; color: #a6a8ad; background: rgb(255 255 255 / 0.03); z-index: 2; }
.screen .menubar b { color: #f0f0f2; font-weight: 600; }
.screen .menubar .r { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.screen .stage { position: absolute; inset: 36px 0 0; background:
  radial-gradient(60% 70% at 70% 30%, rgb(87 168 255 / 0.18), transparent 70%),
  radial-gradient(50% 60% at 20% 90%, rgb(255 154 60 / 0.16), transparent 70%), #07090c; }
.screen .stage::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; }
.screen .ph { position: absolute; left: 50%; top: 13%; transform: translateX(-50%); width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #2b3445 0 24%, transparent 25%), radial-gradient(ellipse 60% 48% at 50% 100%, #222a38 0 60%, transparent 61%); opacity: .9; }
.screen .sub { position: absolute; left: 50%; bottom: 30%; transform: translateX(-50%); width: min(80%, 820px); text-align: center; font-size: clamp(18px, 2.2vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-shadow: 0 2px 20px #000; transition: opacity .25s; }
.screen .sub.fade { opacity: 0; }
.screen .scrub { position: absolute; left: 4%; right: 4%; bottom: 8%; height: 56px; }
.screen .scrub svg { width: 100%; height: 100%; display: block; }
.screen .scrub .ph-line { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #fff; box-shadow: 0 0 12px #fff; left: 0; }
.screen .tc { position: absolute; right: 4%; bottom: calc(8% + 64px); font: 12px var(--mono); color: #8a8e95; }
.screen .tc b { color: var(--green); font-weight: 400; }
.dock { position: absolute; left: 50%; bottom: -44px; transform: translateX(-50%); display: flex; gap: 10px; padding: 9px; border-radius: 20px; background: color-mix(in oklab, var(--bg-1) 80%, transparent); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--frame), 0 20px 40px -10px rgb(0 0 0 / 0.6); z-index: 3; align-items: center; }
.key { position: relative; width: 58px; height: 58px; border-radius: 14px; border: 0; cursor: pointer; font: 600 14px var(--mono); color: var(--fg-3); background: linear-gradient(180deg, var(--key-1), var(--key-2)); box-shadow: 0 0 0 1px var(--frame) inset, 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 6px 14px -6px rgb(0 0 0 / 0.6); transition: transform .15s, color .15s, width .2s, height .2s; }
.key:hover { color: var(--fg); transform: translateY(-2px); }
.key[aria-pressed="true"] { width: 68px; height: 68px; color: var(--fg); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14) inset, 0 0 0 1px var(--line-2), 0 10px 30px -6px var(--kc, rgb(255 154 60 / 0.6)); }
.key[aria-pressed="true"]::after { content: attr(data-name); position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 13px var(--sans); color: var(--fg); background: var(--bg-2); padding: 5px 10px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.key small { display: block; font-size: 9.5px; color: var(--fg-4); font-weight: 500; margin-top: 2px; }
.caption { margin-top: 92px; text-align: center; font-size: 16.5px; color: var(--fg-3); }
.caption b { color: var(--fg); font-weight: 500; }

.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--fg-2); cursor: pointer; box-shadow: 0 0 0 1px var(--line) inset; font-size: 18px; }
.arrows button:hover { color: var(--fg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 56px 24px 30px; margin: 0 calc((100% - 100vw) / 2) 0 -24px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.gcard { scroll-snap-align: start; height: 536px; border-radius: 22px; padding: 24px; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in oklab, var(--g) calc(var(--glow-a) * 60%), transparent), transparent 70%), var(--card);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--g) 30%, var(--line)) inset, 0 30px 60px -30px color-mix(in oklab, var(--g) 50%, transparent);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.gcard::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .05; z-index: -1; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--g) 55%, var(--line)) inset, 0 40px 80px -30px color-mix(in oklab, var(--g) 70%, transparent); }
.gcard .top { display: flex; align-items: center; gap: 12px; }
.gcard .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, var(--key-1), var(--key-2)); box-shadow: 0 0 0 1px var(--frame) inset, 0 4px 10px -4px rgb(0 0 0 / 0.5); color: var(--g); }
.gcard .t { font-size: 17px; font-weight: 500; }
.gcard .go { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--fg-3); box-shadow: 0 0 0 1px var(--line-2) inset; }
.gcard p { margin: 22px 0 0; font-size: 15.5px; color: var(--fg-2); line-height: 1.5; font-weight: 500; }
.gcard hr { border: 0; border-top: 1px solid color-mix(in oklab, var(--g) 20%, var(--line)); margin: 24px 0 0; }
.gcard .vis { flex: 1; position: relative; margin-top: 10px; display: grid; place-items: center; }

.rings { position: relative; width: 220px; height: 220px; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--g); opacity: 0; animation: ring 3.6s ease-out infinite; box-shadow: 0 0 20px color-mix(in oklab, var(--g) 50%, transparent); }
.rings i:nth-child(2) { animation-delay: 1.2s; } .rings i:nth-child(3) { animation-delay: 2.4s; }
.rings .core { position: absolute; inset: 72px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--g) 70%, #fff), var(--g) 60%); box-shadow: 0 0 40px var(--g); display: grid; place-items: center; color: #08111d; }
@keyframes ring { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }

.align { width: 100%; display: grid; gap: 14px; }
.align .lane { position: relative; height: 34px; }
.align .lane span { position: absolute; top: 0; height: 100%; border-radius: 8px; }
.align .o span { background: color-mix(in oklab, var(--blue) 30%, transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--blue) 60%, transparent) inset; }
.align .d span { background: color-mix(in oklab, var(--orange) 34%, transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--orange) 70%, transparent) inset; animation: snap 4s cubic-bezier(.7,0,.3,1) infinite; }
.align .lbl { display: flex; justify-content: space-between; font: 11.5px var(--mono); color: var(--fg-3); }
.align .ok { color: var(--green); }
@keyframes snap { 0%, 15% { transform: translateX(14px); opacity: .6; } 45%, 100% { transform: none; opacity: 1; } }

.langs { width: 100%; font-size: 21px; font-weight: 500; line-height: 1.95; overflow: hidden; height: 300px; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.langs .roll { animation: roll 14s linear infinite; }
.langs .roll div { white-space: nowrap; }
.langs em { font-style: normal; color: var(--fg-4); margin-left: 10px; font-size: 13px; font-family: var(--mono); }
@keyframes roll { to { transform: translateY(-50%); } }

.stems { width: 100%; display: grid; gap: 18px; }
.stems .st { display: grid; gap: 6px; }
.stems .st small { font: 11.5px var(--mono); color: var(--fg-3); display: flex; justify-content: space-between; }
.stems svg { width: 100%; height: 54px; display: block; }
.stems .v { animation: lift 5s ease-in-out infinite alternate; }
@keyframes lift { 0%, 30% { transform: translateY(14px); opacity: .5; } 70%, 100% { transform: none; } }

.fix { width: 100%; display: grid; gap: 12px; }
.fix .ln { border-radius: 12px; padding: 12px 14px; background: color-mix(in oklab, var(--card) 70%, #000 30%); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 14px; color: var(--fg-2); }
:root[data-theme="light"] .fix .ln { background: var(--bg-1); }
.fix .ln.sel { box-shadow: 0 0 0 1px color-mix(in oklab, var(--g) 70%, transparent) inset, 0 0 30px -10px var(--g); color: var(--fg); }
.fix .ln .tc { display: block; font: 11px var(--mono); color: var(--fg-4); margin-bottom: 4px; }
.fix .typed { border-right: 2px solid var(--g); padding-right: 2px; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.fix .act { display: flex; justify-content: space-between; align-items: center; font: 12px var(--mono); color: var(--fg-3); }
.fix .act b { font: 500 13px var(--sans); color: var(--btn-fg); background: var(--btn-bg); padding: 6px 10px; border-radius: 8px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 56px; }
.bc { grid-column: span 3; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; padding: 26px; position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; isolation: isolate; }
.bc.wide { grid-column: span 6; min-height: 240px; flex-direction: row; align-items: center; gap: 40px; }
.bc.third { grid-column: span 2; }
.bc .txt { margin-top: auto; }
.bc.wide .txt { margin-top: 0; max-width: 420px; }
.bc h3 { font-size: 17px; font-weight: 500; display: flex; gap: 10px; align-items: center; letter-spacing: -0.005em; }
.bc h3 svg { color: var(--fg-3); }
.bc p { margin: 10px 0 0; color: var(--fg-3); font-size: 14.5px; }
.ytmenu { margin-left: auto; width: 380px; border-radius: 14px; background: color-mix(in oklab, var(--card) 60%, #000 40%); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -30px rgb(0 0 0 / 0.8); padding: 8px; font-size: 14px; }
:root[data-theme="light"] .ytmenu { background: var(--bg-1); }
.ytmenu .h { font: 11px var(--mono); color: var(--fg-3); padding: 8px 10px; }
.ytmenu .it { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; color: var(--fg-2); }
.ytmenu .it.on { background: var(--bg-2); color: var(--fg); }
.ytmenu .it em { font-style: normal; font: 11px var(--mono); color: var(--orange); }
.bc .art { position: absolute; inset: -30% -10% auto auto; width: 70%; height: 140%; z-index: -1; background: linear-gradient(135deg, transparent 30%, rgb(87 168 255 / 0.5) 45%, rgb(255 154 60 / 0.6) 55%, transparent 70%); filter: blur(30px); opacity: .55; transform: rotate(-12deg); }
.keys { display: flex; gap: 12px; align-items: center; justify-content: center; padding-top: 34px; }
.kc { width: 108px; height: 108px; border-radius: 16px; background: linear-gradient(180deg, var(--key-1), var(--key-2)); box-shadow: 0 0 0 1px var(--frame) inset, 0 1px 0 rgb(255 255 255 / 0.07) inset, 0 14px 24px -12px rgb(0 0 0 / 0.7); padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; }
.kc b { font: 600 24px var(--sans); }
.kc small { font: 11px var(--mono); color: var(--fg-3); text-align: right; }
.plus { color: var(--fg-4); }
.bill { padding-top: 26px; font: 500 52px/1 var(--mono); letter-spacing: -0.03em; display: grid; gap: 10px; }
.bill small { font: 13px var(--mono); color: var(--fg-3); letter-spacing: 0; }
.bill s { color: var(--fg-4); text-decoration-thickness: 2px; }
.seal { padding-top: 22px; display: grid; gap: 8px; font: 12.5px var(--mono); color: var(--fg-3); }
.seal div { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line) inset; }
.seal b { color: var(--green); font-weight: 400; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.plan { border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; padding: 28px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; isolation: isolate; }
.plan.pop { box-shadow: 0 0 0 1px color-mix(in oklab, var(--orange) 55%, var(--line)) inset, 0 30px 70px -30px rgb(255 154 60 / 0.5); }
.plan.pop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 60% at 50% 0%, rgb(255 154 60 / 0.18), transparent 70%); }
.plan .n { font-size: 15px; color: var(--fg-2); font-weight: 500; display: flex; justify-content: space-between; }
.plan .n em { font: 11px var(--mono); font-style: normal; color: var(--orange); }
.plan .p { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; margin-top: 8px; }
.plan .p small { font-size: 15px; color: var(--fg-3); font-weight: 400; letter-spacing: 0; }
.plan .m { font: 12.5px var(--mono); color: var(--fg-3); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.plan ul li { display: flex; gap: 10px; }
.plan ul li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 4px; background: color-mix(in oklab, var(--green) 25%, transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--green) 60%, transparent) inset; flex: none; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan:not(.pop) .btn { background: var(--bg-2); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2) inset; }

.faq { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fg-3); font: 18px var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--fg-3); font-size: 15px; }

.final { margin-top: 180px; height: 640px; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.final .render { inset: -40% -10%; }
.final h2 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.035em; text-shadow: var(--title-shadow); }
.final .btn { margin-top: 36px; }
footer { padding: 60px 0 50px; color: var(--fg-3); font-size: 14px; border-top: 1px solid var(--line); }
footer .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; }
footer h4, footer .h4 { margin: 0 0 14px; font-size: 13px; color: var(--fg-2); font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer a:hover { color: var(--fg); }
footer .bottom { margin-top: 48px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--fg-4); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes rv { from { opacity: 0; transform: translateY(40px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
@media (max-width: 960px) {
  .links { display: none; }
  .bento { grid-template-columns: 1fr; } .bc, .bc.third, .bc.wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .ytmenu { width: 100%; }
  .plans, .faq { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 82vw; }
  .key { width: 46px; height: 46px; } .key[aria-pressed="true"] { width: 54px; height: 54px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}

/* ── дополнения сайта к макету v3 ─────────────────────────────── */
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.links a[aria-current="page"] { color: var(--fg); }

/* меню языка и мобильное меню — <details>: работают без JS */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu .pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px; border-radius: 14px; background: color-mix(in oklab, var(--bg-1) 92%, transparent); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px var(--frame), 0 24px 48px -16px rgb(0 0 0 / 0.6); display: grid; gap: 2px; z-index: 60; animation: pop .16s ease-out; }
.menu .pop a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--fg-2); }
.menu .pop a:hover { background: var(--bg-2); color: var(--fg); }
.menu .pop a[aria-current="true"] { color: var(--fg); }
.menu .pop a[aria-current="true"]::after { content: "✓"; color: var(--green); }
.menu .pop small { font: 11px var(--mono); color: var(--fg-4); padding: 8px 12px 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.burger { display: none; }

/* подсказка языка браузера: ненавязчиво, без перехода */
.langtip { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 360px; display: flex; gap: 12px; align-items: center; padding: 12px 12px 12px 16px; border-radius: 14px; background: color-mix(in oklab, var(--bg-1) 92%, transparent); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px var(--frame), 0 24px 48px -16px rgb(0 0 0 / 0.6); font-size: 14px; color: var(--fg-2); animation: pop .2s ease-out; }
.langtip[hidden] { display: none; }
.langtip a { color: var(--fg); font-weight: 500; white-space: nowrap; }
.langtip button { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; font-size: 16px; }
.langtip button:hover { background: var(--bg-2); color: var(--fg); }

/* внутренние страницы */
.page-hero { height: auto; min-height: 0; padding: 200px 0 40px; }
.page-hero .render { inset: -60% -20% -10%; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 6px 12px; border-radius: 999px; font: 12px var(--mono); color: var(--fg-2); background: color-mix(in oklab, var(--bg-1) 70%, transparent); box-shadow: 0 0 0 1px var(--frame) inset; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.crumbs { font: 12.5px var(--mono); color: var(--fg-4); margin-bottom: 18px; }
.crumbs a { color: var(--fg-3); }
.crumbs a:hover { color: var(--fg); }
.crumbs span::before { content: "/"; margin: 0 8px; }

/* «как это работает»: шаги на одной дорожке */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet) 50%, var(--orange)); opacity: .5; border-radius: 2px; }
.step { position: relative; padding-top: 58px; }
.step .no { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--fg); background: linear-gradient(180deg, var(--key-1), var(--key-2)); box-shadow: 0 0 0 1px var(--frame) inset, 0 0 0 6px var(--bg), 0 8px 18px -8px rgb(0 0 0 / 0.6); }
.step h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.step p { margin: 10px 0 0; color: var(--fg-3); font-size: 15px; max-width: 34ch; }

/* текст: условия, о компании, безопасность голоса */
.prose { max-width: 720px; margin: 0 auto; font-size: 16.5px; color: var(--fg-2); line-height: 1.7; }
.prose h2 { margin: 56px 0 14px; font-size: 24px; color: var(--fg); letter-spacing: -0.015em; }
.prose h3 { margin: 32px 0 10px; font-size: 18px; color: var(--fg); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--blue) 40%, transparent); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--fg); font-weight: 500; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-radius: 12px; background: var(--bg-1); box-shadow: 0 0 0 1px var(--line) inset; color: var(--fg-2); }
.prose code { font: 14px var(--mono); }
.note { margin: 0 auto 40px; max-width: 720px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; color: var(--fg-2); background: color-mix(in oklab, var(--orange) 10%, var(--bg-1)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--orange) 35%, var(--line)) inset; }
.doclist { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; display: grid; gap: 10px; }
.doclist a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow .15s, transform .15s; }
.doclist a:hover { box-shadow: 0 0 0 1px var(--line-2) inset; transform: translateY(-1px); }
.doclist small { font: 12px var(--mono); color: var(--fg-4); }

/* цены */
.seg { display: inline-flex; margin-top: 32px; padding: 4px; border-radius: 12px; background: var(--bg-1); box-shadow: 0 0 0 1px var(--line) inset; }
.seg button { height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; color: var(--fg-3); font: 500 14px var(--sans); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--bg-2); color: var(--fg); box-shadow: 0 0 0 1px var(--line-2) inset; }
.seg em { font-style: normal; font: 11px var(--mono); color: var(--green); margin-left: 6px; }
.plan .y { display: none; }
[data-billing="yearly"] .plan .y { display: block; }
[data-billing="yearly"] .plan .mo-only { display: none; }
.packs { margin-top: 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 22px; }
.packs .bc { grid-column: auto; min-height: 0; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 14px 4px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable th { font: 11.5px var(--mono); color: var(--fg-3); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.ptable td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ptable tr:last-child td { border-bottom: 0; }

/* калькулятор */
.calc { display: grid; gap: 18px; margin-top: 8px; }
.calc label { display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.calc output { font: 500 15px var(--mono); color: var(--fg); }
.calc input[type="range"] { width: 100%; accent-color: var(--orange); }
.calc .res { padding: 14px 16px; border-radius: 12px; background: var(--bg-1); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14.5px; color: var(--fg-2); min-height: 52px; }
.calc .res b { color: var(--fg); font-weight: 500; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 60px; }
.lost .code { font: 500 14px var(--mono); color: var(--fg-3); }
.lost h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 16px; letter-spacing: -0.03em; }
.lost p { color: var(--fg-3); margin: 16px 0 32px; }

footer .company { margin-top: 18px; font-size: 12.5px; color: var(--fg-4); line-height: 1.6; }
footer .bottom { gap: 24px; flex-wrap: wrap; }
footer .bottom .tools { margin: 0; gap: 4px; }

.screen video, .screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .burger { display: grid; }
  .nav .bar { gap: 12px; padding-left: 16px; }
  .tools .btn-quiet { display: none; }
  .menu.mob .pop { position: fixed; left: 16px; right: 16px; top: 88px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--violet) 50%, var(--orange)); }
  .step { padding: 0 0 0 64px; }
  .packs { grid-template-columns: 1fr; }
  .hero { min-height: 640px; }
  .page-hero { padding-top: 150px; }
  .sec { padding-top: 110px; }
  .window { padding: 6px; border-radius: 18px; }
  .screen { aspect-ratio: 4 / 3; }
  .screen .menubar span:not(.r) { display: none; }
}
@media (max-width: 560px) {
  .tools .btn:not(.btn-quiet) { padding: 0 12px; font-size: 14px; }
  .langtip { left: 12px; right: 12px; max-width: none; }
  .dock { gap: 6px; padding: 6px; }
  .key { width: 40px; height: 40px; font-size: 12px; } .key[aria-pressed="true"] { width: 46px; height: 46px; }
  .key small { display: none; }
}

/* картинки свойств на продуктовых страницах */
.vx { padding-top: 22px; display: grid; place-items: center; }
.bc.wide .vx { margin-left: auto; width: 400px; padding-top: 0; }
.bc.wide .vx > * { width: 100%; }
.bc .vx .ytmenu { margin-left: 0; width: 100%; }
.langs.short { height: 150px; font-size: 16px; line-height: 1.9; }
.rings.small { width: 150px; height: 150px; }
.rings.small .core { inset: 48px; }
.bc .vx .stems, .bc .vx .align, .bc .vx .fix { width: 100%; }
@media (max-width: 960px) { .bc.wide .vx { width: 100%; margin: 24px 0 0; } }

/* правки после просмотра */
.steps { list-style: none; padding: 0; }
.crumbs { color: var(--fg-3); }
.crumbs a { color: var(--fg-2); }
.langs { font-size: 17px; }
.langs .roll div { overflow: hidden; text-overflow: ellipsis; }
.bc .txt { padding-top: 18px; }
.calc label { grid-template-columns: 1fr auto; }
.calc label input { grid-column: 1 / -1; }
.hero, .final, .lost { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero p.sub { font-size: 17px; }
  .hero .meta { display: grid; gap: 4px; }
  .hero .meta span + span::before { content: none; }
  .final h2 { font-size: 34px; padding: 0 20px; }
  .head2 { font-size: 19px; }
}
.menu .pop .tbtn.wide { width: 100%; justify-content: start; display: flex; padding: 9px 12px; font: 14.5px var(--sans); color: var(--fg-2); }
@media (max-width: 560px) {
  .nav .tools > .menu:not(.mob), .nav .tools > [data-theme-toggle] { display: none; }
  .logo { font-size: 16px; }
  .hero { min-height: 560px; height: auto; padding: 140px 0 80px; }
  .screen .sub { font-size: 15px; bottom: 40%; }
  .screen .tc { display: none; }
  .screen .scrub { height: 40px; }
}
