:root {
      color-scheme: light;
      --bg: #f7fcf9;
      --surface: #ffffff;
      --surface-soft: #eefaf5;
      --surface-deep: #e1f4ec;
      --text: #123f34;
      --text-strong: #0c342a;
      --muted: #607970;
      --line: #d6ebe3;
      --accent: #2f8e71;
      --accent-2: #74d0ad;
      --accent-dark: #0f5a46;
      --shadow: 0 22px 54px rgba(18, 63, 52, 0.10);
      --shadow-soft: 0 10px 28px rgba(18, 63, 52, 0.06);
      --radius-xl: 26px;
      --radius-lg: 20px;
      --radius-md: 18px;
      --page: 1180px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 10% 0%, rgba(116, 208, 173, 0.2), transparent 30%),
        radial-gradient(circle at 95% 18%, rgba(116, 208, 173, 0.15), transparent 26%),
        var(--bg);
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }

    .shell {
      width: min(var(--page), calc(100% - 40px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      padding: 14px 0;
      background: rgba(247, 252, 249, 0.86);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(214, 235, 227, 0.7);
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      font-weight: 760;
      letter-spacing: -0.035em;
      font-size: 22px;
      color: var(--text-strong);
    }

    .brand img {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(18, 63, 52, 0.08);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 14px;
      font-weight: 650;
      color: var(--muted);
    }

    .nav-links a { text-decoration: none; }
    .nav-links a:hover { color: var(--text-strong); }

    .header-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      background: var(--text-strong);
      color: #fff !important;
      box-shadow: 0 10px 24px rgba(12, 52, 42, 0.16);
    }

    .hero {
      position: relative;
      padding: 62px 0 72px;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 520px;
      height: 520px;
      right: -220px;
      bottom: -210px;
      border-radius: 50%;
      border: 1px solid rgba(47, 142, 113, 0.12);
      box-shadow:
        0 0 0 70px rgba(116, 208, 173, 0.05),
        0 0 0 140px rgba(116, 208, 173, 0.04);
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
      align-items: center;
      gap: 56px;
    }

    .hero-grid > * { min-width: 0; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
      padding: 8px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.7);
      color: var(--accent-dark);
      font-size: 13px;
      font-weight: 750;
      letter-spacing: 0.02em;
      box-shadow: 0 8px 22px rgba(18, 63, 52, 0.04);
    }

    .spark {
      width: 8px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 0 5px rgba(116, 208, 173, 0.14);
    }

    h1, h2, h3, p { margin-top: 0; }

    h1 {
      margin-bottom: 24px;
      max-width: 720px;
      font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
      font-size: clamp(58px, 7vw, 92px);
      line-height: 0.92;
      font-weight: 600;
      letter-spacing: -0.055em;
      color: var(--text-strong);
    }

    h1 em {
      display: block;
      color: var(--accent-dark);
      font-weight: 500;
    }

    .hero-copy {
      max-width: 660px;
      margin-bottom: 30px;
      color: var(--muted);
      font-size: clamp(18px, 2vw, 22px);
      line-height: 1.55;
      letter-spacing: -0.015em;
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }

    .cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 11px;
      min-height: 54px;
      padding: 0 22px;
      border-radius: 16px;
      text-decoration: none;
      font-weight: 760;
      letter-spacing: -0.015em;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .cta:hover { transform: translateY(-2px); }

    .cta-primary {
      background: var(--text-strong);
      color: #fff;
      box-shadow: 0 16px 32px rgba(12, 52, 42, 0.18);
    }

    .cta-secondary {
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid var(--line);
      color: var(--text-strong);
    }

    .apple-mark {
      width: 23px;
      height: 23px;
      display: inline-grid;
      place-items: center;
      border-radius: 7px;
      background: rgba(255, 255, 255, 0.12);
      font-size: 16px;
      line-height: 1;
    }

    .microcopy {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      margin-top: 22px;
      color: #6f837c;
      font-size: 13px;
      font-weight: 650;
    }

    .microcopy span::before {
      content: "✓";
      color: var(--accent);
      margin-right: 7px;
      font-weight: 900;
    }

    .hero-visual-wrap {
      position: relative;
      min-height: 520px;
      display: grid;
      place-items: center;
    }

    .hero-glow {
      position: absolute;
      inset: 8% 4% 3%;
      border-radius: 48% 52% 45% 55%;
      background: linear-gradient(145deg, rgba(116, 208, 173, 0.42), rgba(225, 244, 236, 0.72));
      filter: blur(2px);
      transform: rotate(-7deg);
    }

    .hero-card {
      position: relative;
      width: min(100%, 320px);
      padding: 9px;
      border: 1px solid rgba(255, 255, 255, 0.88);
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.60);
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
      transform: rotate(1.2deg);
    }

    .hero-card img {
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
      border-radius: 22px;
    }

    .floating-note {
      position: absolute;
      left: 0;
      bottom: 48px;
      width: 206px;
      padding: 13px 15px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(14px);
      transform: rotate(-1.5deg);
    }

    .floating-note strong {
      display: block;
      margin-bottom: 4px;
      color: var(--text-strong);
      font-size: 14px;
    }

    .floating-note span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .section {
      padding: 72px 0;
    }

    .section-soft {
      background: linear-gradient(180deg, rgba(238, 250, 245, 0.78), rgba(247, 252, 249, 0.3));
      border-top: 1px solid rgba(214, 235, 227, 0.72);
      border-bottom: 1px solid rgba(214, 235, 227, 0.72);
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 32px;
      margin-bottom: 34px;
    }

    .section-kicker {
      margin-bottom: 10px;
      color: var(--accent);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    h2 {
      margin-bottom: 0;
      max-width: 760px;
      font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
      font-size: clamp(38px, 4.5vw, 58px);
      line-height: 1;
      font-weight: 600;
      letter-spacing: -0.045em;
      color: var(--text-strong);
    }

    .section-lead {
      max-width: 420px;
      margin-bottom: 3px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.65;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 14px;
    }

    .feature-card {
      position: relative;
      overflow: hidden;
      min-height: 360px;
      padding: 24px;
      border: 1px solid rgba(214, 235, 227, 0.88);
      border-radius: var(--radius-xl);
      background: rgba(255, 255, 255, 0.76);
      box-shadow: 0 8px 24px rgba(18, 63, 52, 0.055);
    }

    .feature-card.large { grid-column: span 7; }
    .feature-card.small { grid-column: span 5; }

    .feature-card h3 {
      margin-bottom: 10px;
      font-size: 23px;
      line-height: 1.05;
      letter-spacing: -0.035em;
      color: var(--text-strong);
    }

    .feature-card p {
      max-width: 440px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.58;
    }

    .mini-tag {
      display: inline-flex;
      margin-bottom: 14px;
      padding: 6px 9px;
      border-radius: 999px;
      background: var(--surface-soft);
      color: var(--accent-dark);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .feature-visual {
      position: absolute;
      right: 22px;
      bottom: -26px;
      width: 154px;
      border: 6px solid #fff;
      border-radius: 24px;
      box-shadow: 0 16px 34px rgba(18, 63, 52, 0.10);
      transform: rotate(2.5deg);
      overflow: hidden;
      background: #fff;
    }

    .feature-visual.left {
      right: auto;
      left: 24px;
      transform: rotate(-3deg);
    }

    .feature-visual img {
      width: 100%;
      height: auto;
      max-height: none;
      object-fit: contain;
    }

    .profile-demo {
      position: absolute;
      right: 22px;
      bottom: 22px;
      width: min(44%, 282px);
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 17px;
      background: linear-gradient(180deg, #fbfffd, #effaf5);
      box-shadow: 0 12px 30px rgba(18, 63, 52, 0.07);
      transform: rotate(1.5deg);
    }

    .profile-demo .row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
      font-size: 12px;
      color: var(--muted);
    }

    .profile-demo strong { color: var(--text-strong); }

    .bar {
      height: 6px;
      border-radius: 999px;
      overflow: hidden;
      background: #dceee7;
      margin: 6px 0 13px;
    }

    .bar > span {
      display: block;
      height: 100%;
      width: var(--w, 75%);
      border-radius: inherit;
      background: linear-gradient(90deg, var(--accent-2), var(--accent));
    }

    .profile-lines {
      display: grid;
      gap: 7px;
      margin-top: 14px;
    }

    .profile-lines span {
      display: block;
      height: 8px;
      border-radius: 999px;
      background: #dceee7;
    }

    .profile-lines span:nth-child(2) { width: 78%; }
    .profile-lines span:nth-child(3) { width: 62%; }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }

    .step {
      padding: 20px;
      border: 1px solid rgba(214, 235, 227, 0.88);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.72);
    }

    .step-num {
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      margin-bottom: 20px;
      border-radius: 12px;
      background: var(--surface-deep);
      color: var(--accent-dark);
      font-size: 13px;
      font-weight: 900;
    }

    .step h3 {
      margin-bottom: 8px;
      font-size: 18px;
      letter-spacing: -0.025em;
      color: var(--text-strong);
    }

    .step p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 300px));
      justify-content: center;
      gap: 24px;
      align-items: start;
      max-width: 972px;
      margin: 0 auto;
    }

    .gallery-item {
      width: 100%;
      padding: 7px;
      overflow: hidden;
      border: 1px solid rgba(214, 235, 227, 0.86);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.70);
      box-shadow: 0 8px 22px rgba(18, 63, 52, 0.05);
    }

    .gallery-item:nth-child(2) { margin-top: 18px; }

    .gallery-item img {
      display: block;
      width: 100%;
      height: auto !important;
      max-width: none;
      object-fit: contain;
      border-radius: 17px;
    }

    .final-cta {
      position: relative;
      overflow: hidden;
      padding: 48px;
      border-radius: 30px;
      background: var(--text-strong);
      color: #fff;
      box-shadow: 0 30px 70px rgba(12, 52, 42, 0.2);
    }

    .final-cta::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      right: -100px;
      top: -160px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(116, 208, 173, 0.45), rgba(116, 208, 173, 0));
    }

    .final-cta .section-kicker { color: #a6e8ce; }
    .final-cta h2 { color: #fff; max-width: 720px; }
    .final-cta p {
      max-width: 650px;
      margin: 20px 0 28px;
      color: rgba(255, 255, 255, 0.72);
      font-size: 17px;
      line-height: 1.6;
    }

    .final-cta .cta-primary {
      background: #fff;
      color: var(--text-strong);
    }

    .site-footer {
      padding: 34px 0 40px;
      color: var(--muted);
      font-size: 13px;
    }

    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid var(--line);
      padding-top: 24px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }

    .footer-links a { text-decoration: none; }
    .footer-links a:hover { color: var(--text-strong); }

    @media (max-width: 960px) {
      .nav-links a:not(.header-cta) { display: none; }
      .hero { padding-top: 54px; }
      .hero-grid { grid-template-columns: 1fr; gap: 42px; }
      .hero-visual-wrap { min-height: 500px; }
      .hero-card { width: min(72vw, 300px); }
      .floating-note { left: max(2%, calc(50% - 190px)); }
      .section-head { align-items: start; flex-direction: column; }
      .feature-card.large, .feature-card.small { grid-column: span 12; }
      .steps { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 680px) {
      .shell { width: min(100% - 28px, var(--page)); }
      .site-header { padding: 10px 0; }
      .brand { font-size: 19px; }
      .brand img { width: 32px; height: 32px; }
      .header-cta { min-height: 38px; padding: 0 13px; font-size: 13px; }
      .hero { padding: 46px 0 62px; }
      h1 { font-size: clamp(52px, 15vw, 72px); }
      .hero-copy { font-size: 18px; }
      .cta-row { align-items: stretch; }
      .cta { width: 100%; }
      .microcopy { gap: 8px 14px; }
      .hero-visual-wrap { min-height: 440px; }
      .hero-card { width: min(70vw, 260px); padding: 7px; border-radius: 26px; }
      .hero-card img { border-radius: 20px; }
      .floating-note { display: none; }
      .section { padding: 54px 0; }
      .section-head { margin-bottom: 26px; }
      h2 { font-size: 39px; }
      .feature-card { min-height: 420px; padding: 20px; }
      .feature-visual, .feature-visual.left {
        width: 142px;
        right: 18px;
        left: auto;
        bottom: -18px;
      }
      .profile-demo {
        width: calc(100% - 36px);
        right: 18px;
        bottom: 18px;
        padding: 16px;
      }
      .steps { grid-template-columns: 1fr; }
      .gallery {
        display: flex;
        justify-content: flex-start;
        gap: 14px;
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 14px 10px 0;
        margin-right: -14px;
      }
      .gallery::-webkit-scrollbar { display: none; }
      .gallery-item {
        flex: 0 0 min(82vw, 320px);
        width: min(82vw, 320px);
        scroll-snap-align: start;
      }
      .gallery-item:nth-child(2) { margin-top: 0; }
      .final-cta { padding: 32px 20px; border-radius: 26px; }
      .footer-row { align-items: flex-start; flex-direction: column; }
    }

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

/* Language switcher */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(18, 63, 52, 0.04);
}

.language-switcher button {
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button:hover {
  color: var(--text-strong);
}

.language-switcher button.active {
  background: var(--text-strong);
  color: #fff;
}

html[data-lang="hy"] body,
html[data-lang="ru"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html[data-lang="hy"] h1,
html[data-lang="hy"] h2,
html[data-lang="hy"] h3,
html[data-lang="ru"] h1,
html[data-lang="ru"] h2,
html[data-lang="ru"] h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.035em;
}

html[data-lang="hy"] h1,
html[data-lang="ru"] h1 {
  line-height: 0.98;
  font-weight: 720;
}

@media (max-width: 960px) {
  .nav-actions { gap: 9px; }
  .nav-links { display: none; }
}

@media (max-width: 680px) {
  .nav-row { gap: 10px; }
  .nav-actions { gap: 7px; }
  .language-switcher button {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-size: 11px;
  }
  .header-cta { display: none; }
  html[data-lang="hy"] h1,
  html[data-lang="ru"] h1 {
    font-size: clamp(46px, 13vw, 64px);
  }
}
