@font-face {
  font-family: Onest;
  src: url("/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  color-scheme: light;
  --ink: #17241f;
  --muted: #4d5c54;
  --green: #126254;
  --paper: #fff;
  --mint: #d8f3e9;
  --rule: #d9e2dc;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font: 17px/1.56 Onest, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
a { color: var(--green); text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
p { color: var(--muted); }
section, footer { scroll-margin-top: 24px; }

.site-header {
  min-height: 74px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand img { flex: none; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { color: var(--ink); font-size: .94rem; }

.hero {
  min-height: 532px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(52px, 8vw, 102px);
}

.kicker { color: var(--green); font-weight: 700; font-size: .94rem; margin-bottom: 14px; }
h1 { font-size: clamp(2.8rem, 6.05vw, 5.8rem); line-height: .99; letter-spacing: -.07em; text-wrap: balance; }
h1 span { color: var(--green); }
.intro { max-width: 45ch; margin-top: 22px; font-size: clamp(1.06rem, 2vw, 1.22rem); }
.trial { margin-top: 25px; }
.trial-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  isolation: isolate;
  overflow: hidden;
  padding: 10px 23px;
  border: 1px solid #104437;
  border-radius: 10px;
  background: linear-gradient(135deg, #18705d, #0d483b);
  box-shadow: 0 5px 0 #d1ebe2;
  color: #fff;
  font: 750 1rem/1.3 Onest, system-ui, sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trial-button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 32%, #d4ffed50 51%, transparent 70%);
  transform: translateX(-100%);
  animation: trial-glint 1.25s .55s ease-out both;
}
.trial-button:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 7px 0 #d1ebe2; }
.trial-button:not(:disabled):active { transform: translateY(3px); box-shadow: 0 2px 0 #d1ebe2; }
.trial-note { margin-top: 12px; font-size: .86rem; }

.demo { min-width: 0; animation: intro 680ms cubic-bezier(.2,.8,.25,1) both; }
.demo-frame { position: relative; border: 1px solid #a9c6b9; border-radius: 18px; background: white; box-shadow: 12px 12px 0 #e2efe8; }
.demo-top, .demo-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 17px; }
.demo-top { color: var(--muted); font-size: .86rem; }
.window-marks { display: flex; gap: 5px; }
.window-marks i { width: 7px; height: 7px; border: 1px solid #88a69c; border-radius: 50%; }
.demo-screen {
  position: relative;
  height: clamp(155px, 21vw, 260px);
  display: grid;
  place-items: center;
  margin-inline: 8px;
  border-radius: 10px;
  overflow: hidden;
  background: #ddf2e8;
  background-image: linear-gradient(90deg,#398a7720 1px,transparent 1px), linear-gradient(#398a7720 1px,transparent 1px);
  background-size: 24px 24px;
}
.demo-screen::before {
  position: absolute;
  content: "";
  width: 135%;
  height: 240%;
  transform: rotate(-24deg) translateY(22%);
  background: repeating-linear-gradient(0deg, transparent 0 19px, #4f97877a 20px, transparent 21px 30px);
  mask-image: radial-gradient(ellipse, #000 0%, #0009 40%, transparent 65%);
}
.screen-play {
  position: relative;
  width: 64px;
  height: 64px;
  border: 1px solid #7dbaaa;
  border-radius: 50%;
  background: #f7fdf9;
  box-shadow: 0 0 0 9px #f7fdf960;
}
.screen-play::after { content: ""; position: absolute; top: 21px; left: 26px; border: 10px solid transparent; border-right: 0; border-left: 15px solid var(--green); }
.screen-title, .screen-counter { position: absolute; z-index: 1; top: 12px; color: #244e42; font-size: .83rem; font-weight: 650; }
.screen-title { left: 12px; }
.screen-counter { right: 12px; font-family: var(--mono); }
.screen-timeline { position: absolute; inset: auto 12px 12px; height: 3px; border-radius: 3px; background: #83ad9c; }
.screen-timeline::after { display: block; content: ""; width: 44%; height: 100%; border-radius: inherit; background: var(--green); transform-origin: left; animation: timeline 900ms 180ms ease-out both; }
.demo-note { color: var(--muted); font-size: .87rem; }
#quality { position: relative; flex: none; }
summary { cursor: pointer; }
#quality summary, .accordion summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
#quality summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid #9cb8ac;
  border-radius: 8px;
  color: var(--green);
  font: 650 .94rem/1 var(--mono);
  transition: background-color .18s;
}
#quality summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
#quality[open] summary::after { transform: translateY(2px) rotate(225deg); }
#quality summary:hover, #quality[open] summary { background: var(--mint); }
.quality-options {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: calc(100% + 8px);
  width: 215px;
  padding: 5px;
  border: 1px solid #9cb8ac;
  border-radius: 11px;
  background: white;
  box-shadow: 0 12px 25px #173b2d26;
  animation: menu-in .2s ease-out both;
}
.quality-options button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 7px;
  background: white;
  color: var(--ink);
  font: 650 .88rem/1.2 var(--mono);
  cursor: pointer;
}
.quality-options button span { color: var(--muted); font: 500 .84rem/1.2 Onest, system-ui, sans-serif; }
.quality-options button:hover, .quality-options button[aria-pressed="true"] { background: #e9f6ef; }

.section { padding-block: clamp(33px, 5vw, 59px); border-top: 1px solid var(--rule); }
h2 { font-size: clamp(1.85rem, 3.55vw, 2.9rem); line-height: 1.06; letter-spacing: -.047em; }
.use-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 58px); margin-top: 27px; }
.use-list article { border-top: 2px solid #7da99b; padding-top: 13px; }
.use-list h3 { margin-bottom: 7px; font-size: 1.05rem; line-height: 1.3; }
.answers { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion details:first-child { border-top: 1px solid var(--rule); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 15px; font-weight: 700; }
.accordion summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--rule); border-radius: 50%; color: var(--green); font: 600 1.18rem/1 Onest, sans-serif; transition: background-color .2s, transform .2s; }
.accordion details[open] summary::after { background: var(--mint); transform: rotate(45deg); }
.accordion summary:hover { color: var(--green); }
.answer { padding-bottom: 15px; animation: menu-in .25s ease-out both; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 19px 32px; padding-block: 29px 36px; border-top: 1px solid var(--rule); }
.site-footer h2 { font-size: 1.4rem; margin-bottom: 6px; }
.contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; overflow-wrap: anywhere; }
.privacy { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.privacy p { margin-top: 8px; max-width: 64ch; }

@keyframes intro { from { opacity: 0; transform: translate(8px, 11px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes timeline { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes trial-glint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 860px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: auto; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero, .answers { grid-template-columns: 1fr; }
  .hero { gap: 28px; }
  .demo { margin-inline-end: 12px; }
  .use-list { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 400px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 64px; }
  .brand { gap: 5px; font-size: .9rem; }
  .brand img { width: 26px; height: 26px; }
  nav { gap: 11px; }
  nav a { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
