:root {
  --ink: #12161c;
  --muted: #5b6573;
  --line: #d7dde6;
  --bg: #f4f6f9;
  --panel: #ffffff;
  --accent: #1f4e79;
  --accent-deep: #16385a;
  --signal: #b42318;
  --mark: #21437a;
  --display: "Noto Serif Armenian", "Mshtakan", Sylfaen, Georgia, serif;
  --sans: "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  font: 18px/1.6 var(--sans);
  color: var(--ink);
  background: var(--bg);
  position: relative;
}

.atmosphere {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 8% 0%, #c5d7ec88, transparent 58%),
    radial-gradient(ellipse 60% 45% at 100% 12%, #e7b7b055, transparent 52%),
    linear-gradient(160deg, #eef2f7 0%, var(--bg) 46%, #e8edf4 100%);
}
.atmosphere::after {
  content: "";
  position: absolute; inset: 0; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 14px clamp(18px, 4vw, 48px);
  padding-top: calc(14px + env(safe-area-inset-top));
  max-width: 1180px; margin: 0 auto;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.brand-stack { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.015em; }
.brand-en { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="en"] .brand-en { display: none; }
.logo-mark { display: block; flex: none; width: auto; height: 40px; }
.logo-mark.small { height: 30px; }

.nav {
  margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650;
}
.nav a:hover { color: var(--accent); }
.lang-toggle {
  margin-left: 4px; min-height: 32px; padding: 4px 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--accent-deep); font: 650 12px/1 var(--sans);
  letter-spacing: .04em; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news-list li {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}
.news-list time { color: var(--muted); font-size: 13px; font-weight: 650; }
.news-list span { color: var(--ink); }

main { max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px) 56px; }

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 28px 0 40px;
  animation: rise .75s ease both;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 10px;
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mark);
}
.brand-hero {
  margin: 0 0 14px;
  font: 750 clamp(2.35rem, 6.5vw, 3.7rem)/1.05 var(--display);
  color: var(--ink);
  letter-spacing: -.035em;
  max-width: 12em;
}
.hero h1 {
  margin: 0 0 14px;
  font: 650 clamp(1.15rem, 2.5vw, 1.55rem)/1.35 var(--sans);
  color: var(--accent-deep);
  max-width: 20em;
}
.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; align-items: stretch; }
.cta-row.tight { margin-top: 18px; }
a.cta,
a.cta:link,
a.cta:visited {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 12.5rem; padding: 12px 18px;
  border-radius: 10px; border: 1px solid #b65d1c;
  background: #f28c28; color: #2a1608 !important;
  font: 700 17px/1.25 var(--sans);
  text-decoration: none; text-align: center;
  -webkit-text-fill-color: #2a1608 !important;
  box-shadow: 0 3px 0 #b65d1c;
  transition: transform .15s ease, background .15s ease;
}
a.cta:hover {
  background: #ff9b3d; color: #2a1608 !important; -webkit-text-fill-color: #2a1608 !important;
  transform: translateY(-1px);
}
a.cta.ghost,
a.cta.ghost:link,
a.cta.ghost:visited {
  background: #ffffff; color: #16385a !important; border-color: var(--line);
  -webkit-text-fill-color: #16385a !important;
  box-shadow: none;
}
a.cta.ghost:hover {
  border-color: var(--accent); background: #ffffff;
  color: #16385a !important; -webkit-text-fill-color: #16385a !important;
}

.hero-visual { display: grid; place-items: center; }
.hero-frame {
  width: min(100%, 420px);
  padding: 8px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px #1f4e7912;
  animation: float 8s ease-in-out infinite;
}
.signal-art { width: 100%; height: auto; display: block; }
.pulse-ring { transform-origin: 210px 180px; animation: ring 3.6s ease-out infinite; }
.pulse-ring.r2 { animation-delay: 1.2s; }

.pulse {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 8px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
}
.pulse-item {
  padding: 16px 18px;
  border-left: 3px solid var(--mark);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.pulse-item b {
  display: block;
  font: 750 clamp(1.5rem, 3vw, 2rem)/1.1 var(--sans);
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.pulse-item span { color: var(--muted); font-size: 13px; font-weight: 650; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.principles h3 {
  margin: 0 0 8px;
  font: 700 1.05rem/1.3 var(--display);
  color: var(--ink);
}
.principles p { margin: 0; color: var(--muted); font-size: .98rem; }

.block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
  animation: rise .65s ease both;
  animation-delay: .1s;
}
.block h2 {
  margin: 0 0 12px;
  font: 700 clamp(1.25rem, 2.2vw, 1.55rem)/1.25 var(--display);
  color: var(--accent-deep);
  letter-spacing: -.02em;
}
.block p { margin: 0; color: var(--muted); max-width: 42em; }
.block a { color: var(--accent); font-weight: 650; }

.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.flow-item {
  margin: 0;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}
.flow-svg, .stack-art, .voice-art { width: 100%; height: auto; display: block; }
.flow-item figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  color: var(--accent-deep);
}
.flow-glyph {
  font: 700 22px/1 var(--display);
  fill: var(--ink);
}
.mini { transform-origin: center bottom; transform-box: fill-box; animation: barPulse 1.2s ease-in-out infinite; }
.m1 { animation-delay: 0s; }
.m2 { animation-delay: .18s; }
.m3 { animation-delay: .32s; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split.reverse > :first-child { order: 2; }
.model-visual, .help-visual {
  display: grid; place-items: center;
}
.layer {
  transform-origin: center;
  animation: layerIn .8s ease both;
}
.l1 { animation-delay: .1s; }
.l2 { animation-delay: .25s; }
.l3 { animation-delay: .4s; }
.mic-glow { animation: glow 2.8s ease-in-out infinite; }
.help-visual { justify-items: center; }
.voice-art { max-width: 320px; margin: 0 auto; }
.eq rect {
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: barPulse 1.1s ease-in-out infinite;
}
.e1 { animation-delay: 0s; }
.e2 { animation-delay: .08s; }
.e3 { animation-delay: .16s; }
.e4 { animation-delay: .24s; }
.e5 { animation-delay: .18s; }
.e6 { animation-delay: .1s; }
.e7 { animation-delay: .02s; }

footer {
  display: flex; align-items: center; gap: 12px;
  max-width: 1100px; margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 48px) calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}

@keyframes rise {
  from { transform: translateY(14px); }
  to { transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes barPulse {
  0%, 100% { transform: scaleY(.55); opacity: .7; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes ring {
  0% { transform: scale(.85); opacity: .7; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
@keyframes glow {
  0%, 100% { opacity: .55; transform: scale(1); transform-origin: 130px 84px; }
  50% { opacity: 1; transform: scale(1.08); transform-origin: 130px 84px; }
}
@keyframes layerIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 860px) {
  .hero, .split, .split.reverse, .principles, .pulse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero { min-height: auto; padding-top: 18px; gap: 18px; }
  .hero-visual { order: -1; }
  .hero-frame { width: min(100%, 320px); }
  .flow { grid-template-columns: 1fr; }
  .cta { min-width: 0; flex: 1 1 12rem; }
}

@media (max-width: 640px) {
  .nav { width: 100%; margin-left: 0; }
  .top { position: static; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .block, .hero-frame, .mini, .eq rect, .pulse-ring,
  .mic-glow, .layer { animation: none !important; }
  .cta { transition: none; }
}
