@font-face {
  font-family: Noto;
  src: url(NotoSans-Regular.woff) format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto;
  src: url(NotoSansDisplay-Bold.woff) format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Noto Armenian;
  src: url(NotoSansArmenian-Regular.woff) format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noto Armenian;
  src: url(NotoSansArmenian-Bold.woff) format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #201c29;
  --muted: #55505f;
  --accent: #5030bf;
  --accent-dark: #3d2499;
  --line: #e6e1ec;
  --panel: #f7f6f9;
  --white: #fff;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: anywhere;
  font: 400 1rem/1.62 Noto, "Noto Armenian", system-ui, sans-serif;
}
:lang(hy) body { font-family: "Noto Armenian", Noto, system-ui, sans-serif; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.046em; text-wrap: balance; }
:lang(hy) :is(h1, h2, h3) { letter-spacing: -.028em; }
h2 { font-size: clamp(1.95rem, 4.1vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2.35vw, 1.8rem); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #886ce6; outline-offset: 4px; }
[id] { scroll-margin-top: 88px; }
.wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 108px); }
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 8;
  padding: 10px 16px;
  transform: translateY(calc(-100% - 14px));
  color: var(--white);
  background: var(--accent-dark);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #ece9f0;
}
.header-layout {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 11px;
  font: 700 1.19rem/1 Noto, system-ui, sans-serif;
  letter-spacing: .045em;
  white-space: nowrap;
}
.brand img { border-radius: 8px; }
.navigation { display: flex; justify-content: center; gap: clamp(12px, 2.05vw, 32px); }
.navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
}
.navigation a:hover, .navigation a[aria-current] { color: var(--accent); }
.language {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #ebe7f1;
  border-radius: 99px;
  background: #f7f5fb;
}
.language a {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 32px;
  border-radius: 99px;
  color: var(--muted);
  font: 700 .82rem/1 Noto, system-ui, sans-serif;
}
.language a:hover, .language a[aria-current] { color: var(--accent-dark); background: #eae3fa; }
.menu-toggle { background: none; border: 0; color: var(--ink); cursor: pointer; }

.hero { padding-block: clamp(65px, 8.2vw, 113px) 42px; }
.hero-copy { text-align: center; }
.eyebrow {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
  line-height: 1.45;
}
.hero h1 {
  margin-top: 15px;
  font-size: clamp(3.1rem, 7.25vw, 6.6rem);
  line-height: .99;
  letter-spacing: -.075em;
  text-wrap: initial;
}
:lang(ru) .hero h1 { font-size: clamp(2.67rem, 7.1vw, 6.5rem); }
:lang(hy) .hero h1 { font-size: clamp(2.4rem, 6.15vw, 5.6rem); line-height: 1.15; letter-spacing: -.052em; }
.hero h1 span { display: inline-block; }
.hero h1 span:last-child { color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; }
.hero .lead { max-width: 640px; margin: 24px auto 0; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .actions { justify-content: center; margin-top: 29px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid transparent;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.button[href]:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: var(--white); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: #d9d1e8; background: var(--white); color: var(--ink); }
.button.secondary[href]:hover { border-color: var(--accent); color: var(--accent-dark); }
.button.on-dark { color: #211839; background: #f5f0ff; }
.button.on-dark[href]:hover { background: #ddd1ff; }

.showcase { margin-top: clamp(36px, 5vw, 67px); }
.devices {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: repeat(12, 1fr);
  min-height: clamp(260px, 41vw, 495px);
  padding: 20px 7% 29px;
  border: 1px solid #ebe3fb;
  border-radius: clamp(22px, 4vw, 42px);
  background: radial-gradient(ellipse at 51% 28%, #fff 0, #f4efff 40%, #eae2f9 100%);
  overflow: hidden;
  isolation: isolate;
}
.device {
  padding: clamp(5px, 1vw, 13px);
  border-radius: clamp(11px, 2.3vw, 25px);
  border: 1px solid #4a405b;
  background: #211c2e;
}
.device img { width: 100%; height: auto; border-radius: clamp(5px, 1.1vw, 13px); background: #f4f2f9; }
.large-device {
  grid-area: 2 / 2 / 12 / 16;
  align-self: center;
  box-shadow: 0 30px 68px -26px #3a256780, inset 0 0 0 1px #786c89;
}
.small-device {
  grid-area: 6 / 14 / 12 / 21;
  z-index: 1;
  align-self: end;
  box-shadow: 0 25px 48px -21px #3920578c, inset 0 0 0 1px #786c89;
  transform: rotate(4deg) translateY(11px);
}
.showcase figcaption { margin-top: 11px; color: var(--muted); text-align: center; font-size: .82rem; }

.section-products { background: #f8f7fa; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 27px; }
.section-heading p { color: var(--muted); font-size: 1.1rem; margin-top: 11px; }
.text-link { display: inline-block; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  min-width: 0;
  overflow: hidden;
}
.product-copy { padding: clamp(24px, 4vw, 40px); }
.card-top { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.product-card :is(h2, h3) { text-wrap: initial; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { color: var(--muted); margin-top: 10px; }
.product-card .button { margin-top: 22px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 99px;
  padding: 5px 11px;
  font-size: .82rem;
  line-height: 1.25;
  font-weight: 700;
  color: #50445e;
  background: #f0edf4;
}
.status-available { color: #225445; background: #dbf0e6; }
.status-available::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #2a6c55; }
.status-soon, .status-beta { color: #4b349a; background: #eee6ff; }
.product-symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  color: #5035a0;
  background: #ebe3fe;
  object-fit: contain;
}
.product-symbol i { width: 19px; height: 19px; position: relative; display: block; }
.symbol-neuro i {
  width: 8px; height: 8px; border-radius: 2px; background: currentColor;
  transform: translate(-5px,-5px);
  box-shadow: 10px 0 #987cda, 0 10px #987cda, 10px 10px currentColor;
}
.symbol-screening { background: #e8f1ec; color: #2e6453; }
.symbol-screening i { width: 16px; border: 1.5px solid; border-radius: 4px; }
.symbol-screening i::after { content: ""; position: absolute; inset: 4px 3px auto; height: 2px; background: currentColor; box-shadow: 0 4px, 0 8px; }
.symbol-ai { background: #e9edfa; color: #4a4d9f; }
.symbol-ai i { background: currentColor; clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.symbol-family { background: #f4e9ef; color: #815079; }
.symbol-family i { border: 1.5px solid; border-radius: 50% 50% 45% 45%; }
.symbol-family i::after { content: ""; position: absolute; inset: 4px; border: 1.5px solid; border-radius: 50%; }
.symbol-speech { background: #f5ebdc; color: #82592e; }
.symbol-speech i { height: 14px; border: 1.5px solid; border-radius: 5px; }
.symbol-speech i::after { content: ""; position: absolute; left: 3px; bottom: -4px; width: 5px; height: 5px; border-left: 1.5px solid; transform: skew(-22deg); }
.featured-product {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center;
  background: #f0eafb;
  border-color: #ebe2fb;
}
.featured-product :is(h2,h3) { font-size: clamp(2rem, 4.65vw, 4.4rem); }
.featured-product .card-top { justify-content: start; }
.featured-product .product-copy { padding: clamp(24px, 5vw, 60px); }
.product-shot { padding: 26px 22px; align-self: center; }
.product-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 13px 33px #462b6e20; }

.education-band { background: #221837; color: var(--white); }
.education-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(25px, 8vw, 105px); align-items: center; }
.education-band .eyebrow { color: #c7b6ff; margin-bottom: 13px; }
.education-band p { margin-top: 12px; color: #ded5ee; }
.education-band .button { margin-top: 25px; }
.track-links { display: grid; }
.track-links a {
  display: block;
  padding: 16px 5px;
  border-bottom: 1px solid #594a68;
  font-size: clamp(1.05rem, 2.35vw, 1.58rem);
  font-weight: 700;
}
.track-links a:first-child { border-top: 1px solid #594a68; }
.track-links a:hover { color: #d8c9ff; }

.pathways { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.content-panel { border-radius: 25px; background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 4vw, 46px); min-width: 0; }
.content-panel h2, .home-about h2 { font-size: clamp(1.67rem, 3.5vw, 2.9rem); text-wrap: initial; }
.content-panel p, .home-about p { margin-top: 12px; color: var(--muted); }
.content-panel .eyebrow { color: var(--accent); margin: 0 0 10px; }
.content-panel :is(.button,.text-link), .home-about .text-link { margin-top: 20px; }
.content-panel .actions { margin-top: 20px; }
.content-panel .actions .button { margin: 0; }
.home-about { padding: 0 0 clamp(68px, 7vw, 100px); max-width: 725px; margin-inline: auto; text-align: center; }

.page-intro { padding-block: clamp(54px, 7.3vw, 104px) clamp(32px, 5vw, 63px); }
.page-intro h1 { font-size: clamp(2.75rem, 6.8vw, 6rem); line-height: 1.02; max-width: 1050px; text-wrap: pretty; }
.page-intro .lead { max-width: 695px; margin-top: 19px; }
[data-page]:not([data-page="home"]) main { padding-bottom: clamp(58px, 7vw, 100px); }
.page-panels .wide-panel, .page-panels .principles { margin-top: 18px; }
.page-panels .principles { margin: 0 0 28px; }
.principles > h2 { margin-bottom: 17px; font-size: clamp(1.6rem, 3.5vw, 2.7rem); }
.principles ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.issn { font-size: .86rem; font-weight: 700; }
.expanded .product-card:not(.featured-product) { background: #f9f8fb; }
.expanded .product-card:not(.featured-product) h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.product-details { margin-top: 24px; }
.product-details h3 { font-size: 1rem; letter-spacing: -.015em; margin-top: 20px; }
.product-details p { margin-top: 6px; }
.feature-list { margin: 9px 0 0; padding-left: 19px; color: var(--muted); }
.product-note { padding: 11px 13px; border-left: 3px solid #bdabef; background: #f0ebfa; font-size: .88rem; }
.program dl { margin-top: 22px; }
.program dl > div { margin-top: 13px; }
.program dt { font-weight: 700; }
.program dd { color: var(--muted); }
.pending-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.pending-action .button { margin-top: 0; }
.button:disabled { color: #66606d; background: #eeebf2; border-color: #ddd8e5; cursor: default; }
.pending-action span { color: var(--muted); font-size: .85rem; }
.extra { margin-block: 20px; }

.site-footer { background: #f7f6f9; border-top: 1px solid var(--line); }
.footer-layout {
  display: grid;
  grid-template-columns: minmax(160px, 1.16fr) repeat(4, minmax(0, 1fr));
  gap: 25px;
  padding-block: 46px 36px;
}
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.footer-layout h2 { font-size: 1rem; letter-spacing: -.02em; text-wrap: initial; padding-top: 3px; }
.footer-layout ul { list-style: none; margin: 11px 0 0; padding: 0; }
.footer-layout li { margin-top: 6px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.footer-layout li a:hover { color: var(--accent); text-decoration: underline; }
.pending small { display: block; color: var(--muted); font-size: .81rem; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); padding-block: 17px; font-size: .84rem; }

@media (max-width: 1050px) {
  .wrap { width: min(var(--wrap), calc(100% - 48px)); }
  .header-layout { gap: 17px; }
  .navigation { gap: 12px; }
  .navigation a { font-size: .83rem; }
  .footer-layout { gap: 18px; }
}
@media (max-width: 880px) {
  .header-layout { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 64px; gap: 12px; }
  .navigation { grid-area: 2 / 1 / 3 / 4; justify-content: flex-start; flex-wrap: wrap; padding: 0 0 7px; }
  .navigation a { font-size: .91rem; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 3px; font-size: .85rem; font-weight: 700; }
  .menu-toggle i { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i { transform: translateY(2px) rotate(225deg); }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .navigation { display: none; }
  .footer-layout { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .header-layout { gap: 7px; }
  .brand { font-size: 1.05rem; gap: 7px; }
  .brand img { width: 27px; height: 27px; }
  .language a { min-width: 30px; min-height: 32px; }
  .hero { padding-top: 54px; }
  .hero h1 span { display: block; }
  :lang(hy) .page-intro h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
  .hero .lead { margin-top: 20px; }
  .hero .actions { margin-top: 24px; }
  .devices {
    display: block;
    position: relative;
    min-height: 0;
    padding: 27px 16px 35px;
  }
  .large-device { width: 86%; }
  .small-device { position: absolute; inset: auto 12px 16px auto; width: 35%; transform: rotate(4deg); }
  .section-heading { display: block; }
  .section-heading a { margin-top: 12px; }
  .product-grid, .pathways, .principles ul, .education-layout { grid-template-columns: 1fr; gap: 13px; }
  .featured-product { grid-template-columns: 1fr; }
  .featured-product .product-shot { padding: 0 23px 24px; }
  .track-links { margin-top: 18px; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 14px; }
  .footer-base { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .button { padding-inline: 16px; }
  .navigation { gap: 8px; }
  .menu-toggle:not([hidden]) { justify-content: center; min-width: 44px; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  .menu-toggle i { width: 9px; height: 9px; }
  .footer-layout h2 { font-size: .91rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
