@font-face {
  font-family: Onest;
  src: url("/assets/onest.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("/assets/golos-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #111714;
  --deep: #0d120f;
  --surface: #1a241e;
  --text: #f7f1df;
  --muted: #b7beb2;
  --gold: #edc780;
  --line: #fff5d824;
  --radius: 1.25rem;
  font: 100%/1.55 Onest, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(3.35rem, 7vw, 6.3rem); letter-spacing: -.047em; line-height: 1.08; }
h1 span, .logo-accent { color: var(--gold); }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
h3 { font-size: 1.42rem; }
.wrap { width: min(1168px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .5rem 1rem; background: var(--gold); color: var(--deep); transform: translateY(-180%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.header { background: var(--deep); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.9rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 750; letter-spacing: -.06em; font-size: 1.65rem; }
.brand-type { font-family: "Golos Text", Onest, system-ui, sans-serif; font-weight: 700; }
.header-logo { font-size: 1.4rem; letter-spacing: -.025em; }
.lead-circuit {
  --rail: #e7bc72;
  --rail-dim: #b18e56;
  position: relative;
  display: block;
  flex: none;
  width: 2.1rem;
  height: 1.22rem;
  color: var(--rail);
}
.lead-circuit i, .lead-circuit b { position: absolute; display: block; }
.lead-circuit i { left: 4%; width: 55%; height: 38%; }
.lead-circuit i:first-child { top: 12%; border-top: 1px solid var(--rail-dim); border-right: 1px solid var(--rail-dim); transform: skewX(42deg); }
.lead-circuit i:nth-child(2) { top: calc(50% - .5px); left: 0; width: 87%; height: 1px; background: var(--rail); }
.lead-circuit i:nth-child(3) { bottom: 12%; border-bottom: 1px solid var(--rail-dim); border-right: 1px solid var(--rail-dim); transform: skewX(-42deg); }
.lead-circuit i::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 3px;
  content: '';
  border-radius: 50%;
  background: var(--rail);
}
.lead-circuit i:first-child::before, .lead-circuit i:nth-child(2)::before { top: -1px; }
.lead-circuit i:nth-child(3)::before { bottom: -1px; }
.lead-circuit b {
  width: .31rem;
  height: .31rem;
  left: 87%;
  top: 50%;
  border: 1px solid var(--rail);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 .6rem #edc78085;
}
.hero-wordmark { display: inline-flex; flex-direction: column; align-items: stretch; max-width: 100%; }
.hero-circuit {
  width: 100%;
  height: 1.48rem;
  margin-top: .72rem;
  animation: trace-brand 1s cubic-bezier(.26,.65,.26,1) both;
}
.hero-circuit i:first-child, .hero-circuit i:nth-child(3) { width: 46%; transform: none; }
.hero-circuit i:first-child { border-radius: 0 10px 0 0; }
.hero-circuit i:nth-child(3) { border-radius: 0 0 10px 0; }
.hero-circuit i:nth-child(2) { background: linear-gradient(90deg,#a48451 6%,#edc780 57%,#f3cd87 89%); }
.hero-circuit b { width: .48rem; height: .48rem; background: #edc780; }
.hero-wordmark h1 { animation: brand-arrive .65s ease-out both; }
.header-logo .lead-circuit { animation: trace-brand .7s ease-out both; }
@keyframes trace-brand { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes brand-arrive { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.logo-mark { display: inline-flex; align-items: end; gap: 3px; height: 1.08rem; color: var(--gold); transform: skewY(-10deg); }
.logo-mark i { display: block; width: 4px; height: 46%; background: currentColor; border-radius: 2px; }
.logo-mark i:nth-child(2) { height: 72%; }
.logo-mark i:nth-child(3) { height: 100%; }
.logo-mini { transform: scale(.8) skewY(-10deg); }
.header nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); font-size: .92rem; }
.header nav a, .footer a { text-decoration: none; }
.header nav a:hover, .footer a:hover { color: var(--gold); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .65rem; text-decoration: none; text-align: center; font-weight: 650; line-height: 1.3; transition: background .18s, border-color .18s; }
.button-primary { background: var(--gold); color: #1a1b15; }
.button-primary:hover { background: #ffdea4; }
.button-outline { border-color: var(--line); background: #fff5d809; }
.button-outline:hover { border-color: var(--gold); background: #fff5d814; }
.login { min-height: 2.65rem; min-width: 5.9rem; }

.hero-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 82% 30%, #32473990, transparent 57%),
              radial-gradient(ellipse at 15% 70%, #43392443, transparent 53%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-surface::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 32%;
  content: '';
  background-image: linear-gradient(#e6fbbb15 1px,transparent 1px),linear-gradient(90deg,#e6fbbb15 1px,transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 71% 40%,#000,transparent 67%);
}
.hero { display: grid; grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr); gap: clamp(2rem, 4.8vw, 4.3rem); align-items: center; padding: clamp(3.5rem, 7vw, 6.7rem) 0; }
.hero h1 span { background: linear-gradient(130deg, #fff0bc 3%, #edc780 65%, #b58b4e); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { margin-top: 1rem; font-size: clamp(1.4rem, 3.1vw, 2.25rem); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.label { color: var(--gold); font-size: .9rem; font-weight: 630; letter-spacing: .035em; margin-bottom: .75rem; }
.hero-description { max-width: 32rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); margin-top: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.demo {
  position: relative;
  background: linear-gradient(148deg, #29392fe8, #15201bdc 55%, #1a261cd9);
  border: 1px solid #e7c48472;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1.5rem 5rem #070b08a1, 0 0 3rem #cbab5f12, inset 0 1px #ffe9ae37;
}
.demo::before {
  content: '';
  position: absolute;
  top: 0;
  height: 1px;
  width: 45%;
  background: linear-gradient(90deg, transparent, #fff3bd, transparent);
  animation: signal 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes signal { 0%, 100% { left: 4%; opacity: .35; } 50% { left: 51%; opacity: .95; } }
.demo-top, .demo-heading, .demo-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; }
.demo-top { padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.demo-brand { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 650; }
.demo-live { width: .48rem; height: .48rem; border-radius: 50%; background: #e9c67e; box-shadow: 0 0 .75rem #e9c67895; }
.demo-sources { display: flex; gap: .35rem; }
.demo-sources button { min-height: 2.1rem; padding: .25rem .58rem; font-size: .875rem; border: 1px solid var(--line); border-radius: .45rem; background: #101b146b; }
.demo-sources button[aria-pressed="true"] { color: var(--gold); border-color: #e7c48471; background: #e7c48414; }
.message-source, .demo-meta { color: var(--muted); font-size: .875rem; }
.demo-main { padding: 1.15rem; min-height: 21rem; }
.demo-heading { font-weight: 650; margin-bottom: 1rem; }
.tag { padding: .25rem .62rem; border-radius: 2rem; font-size: .875rem; background: #d4b17a24; color: var(--gold); }
.tag[data-tone="work"] { background: #8fb1e024; color: #bdd9fa; }
.tag[data-tone="done"] { background: #88bb8d2e; color: #c8ecc5; }
.message { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; background: #101713b3; padding: .8rem; border: 1px solid var(--line); border-radius: .8rem; }
.message p { margin-top: .3rem; }
.message-source { display: block; }
.message-reply { margin-top: .55rem; background: #899e6d1c; margin-left: clamp(.35rem, 2vw, 1.6rem); animation: show-reply .22s ease-out both; }
@keyframes show-reply { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.avatar { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: #d2b37930; color: #ffe0a7; font-weight: 640; }
.demo-meta { margin-top: .9rem; }
.demo-meta strong { color: var(--text); font-weight: 630; }
.demo-steps { padding: .7rem 1.15rem 1.15rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.demo-steps button { min-height: 2.7rem; padding: .4rem .35rem; border-radius: .55rem; border: 1px solid var(--line); background: #141b16; font-size: .875rem; }
.demo-steps button[aria-pressed="true"] { color: var(--gold); border-color: #e7c48485; background: #d5a65a1f; }

.slim-block { padding-block: clamp(3rem, 6vw, 5.1rem); }
.section-intro { max-width: 44rem; }
.section-intro > p:last-child:not(.label) { margin-top: .85rem; color: var(--muted); }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3.5rem); margin-top: 2.15rem; border-top: 1px solid var(--line); }
.process article { padding-top: 1.5rem; }
.process-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #e7c48445; background: #e7c48415; border-radius: .65rem; color: var(--gold); margin-bottom: .85rem; font-size: 1.25rem; }
.process p, .plan > p, .cta p:not(.label), .faq p { color: var(--muted); margin-top: .55rem; }
.band { padding-block: clamp(3rem, 7vw, 6rem); background: var(--deep); border-block: 1px solid var(--line); }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.plan { display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); padding: clamp(1.2rem, 3vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-premium { background: linear-gradient(135deg,#2c3024,#1b231d 72%); border-color: #e7c48478; }
.plan-prices { width: 100%; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: .68rem; margin-top: 1.4rem; align-items: start; }
.price-label { display: block; font-size: .875rem; color: var(--muted); margin-bottom: .5rem; }
.price { color: var(--muted); }
.price strong, .annual-value { display: block; color: var(--text); font-size: clamp(1.65rem, 3.2vw, 2.65rem); line-height: 1.07; letter-spacing: -.055em; }
.annual { padding-inline-start: .8rem; border-inline-start: 1px solid var(--line); }
.annual del { color: var(--muted); font-size: .875rem; }
.annual-value { color: var(--gold); }
.save { display: inline-flex; margin-top: .55rem; padding: .25rem .53rem; border-radius: .5rem; color: #d0eccb; background: #74976831; font-size: .875rem; }
.plan ul { list-style: none; padding: 0; margin: 1.45rem 0 1.55rem; }
.plan li { margin: 0 0 .65rem; display: grid; grid-template-columns: 1rem 1fr; gap: .55rem; }
.plan li::before { content: '✓'; color: var(--gold); font-size: .9em; }
.plan .button { margin-top: auto; }
.pricing-note { margin-top: 1rem; color: var(--muted); }
.pricing-note a { color: var(--gold); }
.setup-section { padding-bottom: 0; }
.setup { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(1.2rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem); border-radius: var(--radius); border: 1px solid #e7c48465;
  background: radial-gradient(ellipse at 12% 12%,#62503359,transparent 66%),#1a241e;
}
.setup-copy h2+p, .setup-list p { color: var(--muted); margin-top: .6rem; }
.setup-price { margin: 1.25rem 0 .85rem; color: var(--muted); }
.setup-price strong { color: var(--gold); font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.065em; line-height: 1; margin-right: .65rem; }
.setup-list { padding: 0; margin: 0; align-self: center; list-style: none; }
.setup-list li { border-top: 1px solid var(--line); padding: .95rem 0; }
.setup-list li:last-child { border-bottom: 1px solid var(--line); }
.faq { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq details { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; }
.faq summary::marker { color: var(--gold); }
.faq p { max-width: 48rem; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; background: #242d22; border: 1px solid #e7c48452; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.cta .actions { margin-top: 0; flex-direction: column; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem; padding: 2.2rem 0; color: var(--muted); }
.footer .logo { color: var(--text); font-size: 1.27rem; }

@media (max-width: 950px) {
  .hero { grid-template-columns: minmax(0,1fr); max-width: 700px; }
  .wide-only { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; padding: .8rem 0; }
  .header nav { order: 3; flex-basis: 100%; gap: 1rem; }
  .logo { font-size: 1.4rem; }
  .header-logo { font-size: 1.15rem; gap: .45rem; }
  h1 { font-size: clamp(2.85rem, 12.5vw, 4.5rem); }
  .hero { padding: 2.5rem 0 1.75rem; gap: 1.8rem; }
  .hero-description { margin-top: 1rem; }
  .actions { margin-top: 1.2rem; }
  .process, .plans, .cta, .setup { grid-template-columns: minmax(0, 1fr); }
  .process { gap: 1.15rem; }
  .process article { padding-top: .95rem; }
  .pricing-heading { align-items: flex-start; flex-direction: column; }
  .cta .actions { flex-direction: row; }
}
@media (max-width: 360px) {
  .header nav { gap: .7rem; font-size: .875rem; }
  .demo-main, .demo-top { padding: .8rem; }
  .demo-steps { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .demo::before, .message-reply { animation: none; }
  .hero-circuit, .hero-wordmark h1, .header-logo .lead-circuit { animation: none; }
}
