:root {
  --ink: #141414;
  --graphite: #3a3a3c;
  --grey: #6e6e73;
  --line: #d1d1d6;
  --paper: #f4f4f2;
  --white: #ffffff;
  --wave: #1fc8b8;
  --wave-dark: #0e7c73;
  --wave-light: #d7f4f0;
  --max: 1080px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Noto Sans Armenian", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
a { color: var(--wave-dark); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--wave-dark); outline-offset: 3px; border-radius: 4px; }
.on-dark a:focus-visible, .site-footer a:focus-visible { outline-color: var(--wave); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; }
.brand:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 22px; flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.site-header nav a { color: var(--graphite); font-size: 15px; font-weight: 400; }
.lang { display: flex; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 2px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 4px 11px; border-radius: 6px; color: var(--grey); }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang span { background: var(--ink); color: #fff; }

/* hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 68px; }
.hero.small { padding: 52px 0 48px; }
.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hero-grid > div { flex: 1 1 0; min-width: 0; }
.hero-mark { flex: 0 0 auto; width: 180px; height: 180px; }
.kicker { color: var(--wave); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.hero .lead { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--line); max-width: 620px; }
.hero .updated { margin-top: 14px; font-size: 13px; color: var(--line); }
.crumb { margin-bottom: 18px; font-size: 14px; }
.crumb a { color: var(--wave); }
.prod-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.plat { font-size: 13px; color: var(--grey); font-weight: 600; letter-spacing: 0.02em; }
.plat.on { margin-top: 16px; color: var(--line); }
.cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.btn:hover { text-decoration: none; }
.btn-wave { background: var(--wave); color: var(--ink); }
.btn-wave:hover { background: #2fd8c8; }
.btn-ghost { border: 1px solid #55555a; color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--graphite); }

/* sections */
.section { padding: 56px 0 8px; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0 56px; margin-top: 48px; }
.section.alt + .section { padding-top: 48px; }
main > .section:last-child { padding-bottom: 64px; }
.section h2 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; font-weight: 600; margin-bottom: 24px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin-bottom: 6px; }
.intro { max-width: 640px; margin: -8px 0 22px; color: var(--graphite); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cols.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cols p { color: var(--graphite); font-size: 16px; }
.rule { width: 28px; height: 3px; border-radius: 2px; background: var(--wave-dark); margin-bottom: 14px; }

/* cards */
.card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; color: var(--ink); font-weight: 400; }
a.card:hover { text-decoration: none; border-color: var(--grey); }
.card.flat { display: block; }
.card.flat h3 { margin-bottom: 14px; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head > span { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.app-name { font-size: 21px; font-weight: 600; }
.chip { display: inline-block; background: var(--wave-light); color: var(--wave-dark); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.app-text { color: var(--graphite); font-size: 16px; }
.more { color: var(--wave-dark); font-weight: 600; margin-top: auto; }

/* content */
.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; max-width: 760px; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--graphite); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--wave); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.steps strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--graphite); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 3px; border-radius: 2px; background: var(--wave-dark); }
.note { background: var(--wave-light); border-radius: 14px; padding: 22px 24px; display: grid; gap: 10px; max-width: 760px; color: #0b4f49; }
.more-row { margin-top: 26px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; font-size: 16px; }
.facts dt { color: var(--grey); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* long text */
.prose { max-width: 760px; }
.prose h1 { font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
.prose h2 { font-size: 24px; margin: 38px 0 12px; }
.prose p, .prose ul { color: var(--graphite); margin-bottom: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 10px; }
.prose strong { color: var(--ink); }
.prose .card { margin-bottom: 22px; }
.faq { display: grid; gap: 10px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 2px; }

/* footer */
.site-footer { background: var(--ink); color: var(--line); margin-top: 24px; padding: 24px 0; font-size: 14px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #fff; font-weight: 400; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 44px; }
  .hero-mark { display: none; }
  .hero .lead { font-size: 17px; }
  .site-header nav { justify-content: flex-start; order: 3; flex-basis: 100%; gap: 18px; }
  .section { padding-top: 40px; }
  .section.alt { padding: 40px 0; margin-top: 36px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
