/* modelka — Swiss/product minimalism. Anti-slop: no gradients, no chip-cards,
   no glow, black buttons, deep cobalt accent used sparingly, hairline-driven.
   Font: Onest (Cyrillic). See DESIGN.md for locked direction + negative constraints. */

:root {
  --bg:      #FFFFFF;
  --surface: #F4F5F6;
  --ink:     #0A0A0B;
  --ink-2:   #56585E;
  --ink-3:   #8B8E96;
  --line:    #E7E8EB;
  --line-2:  #D5D7DC;
  --accent:  #1C34C2;
  --accent-2:#152AA6;
  --dark:    #0A0A0B;
  --on-dark: #F4F5F6;
  --on-dark-2:#9C9EA6;
  --good:    #1B8F4D;

  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* type */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(25px, 3vw, 39px); }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }
.eyebrow { display:inline-block; font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 16px; }
.section--dark .eyebrow { color: #93A4FF; }
.section--dark .lead { color: var(--on-dark-2); }
.accent-link { color: var(--accent); font-weight: 500; }
.accent-link:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: inline-block; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 760px){ .nav__links a:not(.btn){ display:none; } }

/* buttons — primary is BLACK (not the default blue) */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 20px; border-radius: 9px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), opacity .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #24242a; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--on-dark { --bg: #fff; --fg: var(--ink); }
.btn--accent { --bg: var(--accent); --fg:#fff; }
.btn--accent:hover { --bg: var(--accent-2); }
.btn--lg { padding: 15px 24px; font-size: 16px; }
.btn .arw { transition: transform .16s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero — left aligned, asymmetric (text + product mockup) */
.hero { padding: clamp(36px, 5vw, 76px) 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px){ .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 44ch; margin-bottom: 30px; }
.trust-line { margin-top: 26px; color: var(--ink-3); font-size: 14.5px; display: flex; gap: 8px 22px; flex-wrap: wrap; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line .ic { width: 15px; height: 15px; color: var(--good); }

/* product mockup — a real transcript artifact (not an abstract blob) */
.mock { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(10,10,15,.35); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__title { margin-left: 8px; font-size: 13px; color: var(--ink-3); }
.mock__body { padding: 20px 20px 22px; display: grid; gap: 16px; }
.line { display: grid; grid-template-columns: 52px 1fr; gap: 12px; }
.line .t { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
.line .who { font-weight: 600; }
.line .txt { color: var(--ink-2); font-size: 15px; }
.mock__tag { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* features — hairline grid, no boxes, no chips */
.features { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px){ .features { grid-template-columns: 1fr; } }
.feature { padding: 30px 34px 30px 0; border-top: 1px solid var(--line); }
.feature:nth-child(odd) { padding-right: 44px; }
@media (min-width: 701px){ .feature:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; } .feature:nth-child(even){ padding-left: 44px; } }
.feature__ic { color: var(--ink); margin-bottom: 14px; }
.feature__ic svg { width: 22px; height: 22px; stroke-width: 1.7; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* steps — numbered, hairline top */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 30px 0 0; border-top: 2px solid var(--ink); }
.step__n { font-size: 14px; font-weight: 700; color: var(--ink-3); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* pricing */
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px; gap: 2px; }
.toggle button { border: 0; background: transparent; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 8px 16px; border-radius: 100px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.save { color: var(--good); font-size: 13px; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 900px){ .plans { grid-template-columns: 1fr; } }
.plan { position: relative; padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
@media (max-width: 900px){ .plan { border-right: 0; border-bottom: 1px solid var(--line); } .plan:last-child{ border-bottom:0; } }
.plan--best { background: var(--surface); }
.plan__flag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .02em; margin-bottom: 10px; }
.plan__name { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.plan__price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 12px 0 3px; }
.plan__price .cur { font-size: 19px; font-weight: 700; color: var(--ink-2); }
.plan__meta { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan__list .ic { flex: none; width: 17px; height: 17px; color: var(--good); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.payg { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 2px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-size: 22px; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq p { padding: 0 2px 20px; margin: 0; color: var(--ink-2); }

/* dark CTA (no glow) */
.cta h2 { max-width: 18ch; }

/* footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 40px; }
.foot__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--ink-2); font-size: 15px; }
.foot a:hover { color: var(--ink); }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* motion — one intentional stagger on load */
.reveal { opacity: 0; transform: translateY(12px); animation: rv .6s var(--ease) forwards; animation-delay: calc(var(--i,0)*80ms); }
@keyframes rv { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .reveal { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* legal / oferta — plain text, no visual box */
.legal { max-width: 800px; margin: 0 auto; }
.legal .doc-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 30px; }
.legal h1 { font-size: clamp(32px,5vw,50px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(20px,2.3vw,25px); margin: 38px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.72; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 8px; }
.legal .num { color: var(--ink-3); }
.utils { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.mx-auto { margin-left:auto; margin-right:auto; }
.center { text-align:center; }
