:root {
  --landing-bg: #fbfbfb;
  --landing-surface: #ffffff;
  --landing-surface-soft: #f5f5f5;
  --landing-ink: #333333;
  --landing-muted: #808080;
  --landing-faint: #c8c8c8;
  --landing-line: #e9eaeb;
  --landing-accent: #808080;
  --landing-shadow: rgba(51, 51, 51, .12);
  --landing-ease: cubic-bezier(.23, 1, .32, 1);
}

html[data-theme="dark"] {
  --landing-bg: #17191c;
  --landing-surface: #202428;
  --landing-surface-soft: #252a2f;
  --landing-ink: #f0f1f2;
  --landing-muted: #9da4ad;
  --landing-faint: #737b85;
  --landing-line: #343a41;
  --landing-accent: #808890;
  --landing-shadow: rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Lenis owns wheel easing only while active; keep the browser's real scroll. */
.lenis { scroll-behavior: auto !important; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--landing-bg);
  color: var(--landing-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #fff; background: var(--landing-accent); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }

.landing-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--landing-bg);
}
.landing-shell::before {
  content: none;
}
.landing-nav,
.landing-main,
.landing-footer { width: min(100% - 72px, 1500px); margin-inline: auto; }
.landing-nav {
  position: relative;
  z-index: 50;
  min-height: 99px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--landing-line);
}
.landing-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.landing-brand img {
  width: 185px;
  height: 74px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
html[data-theme="dark"] .landing-brand img { content: url('/assets/create-dental-logo-dark-transparent.png'); }
.landing-nav-center {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: var(--landing-muted);
  font-size: 12px;
  letter-spacing: .02em;
}
.landing-nav-center span { color: var(--landing-faint); }
.landing-nav-center a { transition: color .2s ease; }
.landing-nav-center a:hover { color: var(--landing-ink); }
.landing-nav { direction: ltr; }
.landing-nav-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.language-switcher { position: relative; z-index: 20; direction: ltr; }
.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 48px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--landing-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.language-trigger svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .18s ease; }
.language-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { color: var(--landing-ink); border-color: var(--landing-line); background: var(--landing-surface); }
.language-trigger:focus-visible, .language-menu button:focus-visible { outline: 2px solid var(--landing-accent); outline-offset: 3px; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 208px;
  padding: 6px;
  border: 1px solid var(--landing-line);
  border-radius: 9px;
  background: var(--landing-surface);
  box-shadow: 0 14px 35px var(--landing-shadow);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--landing-muted);
  font: inherit;
  font-size: 12px;
  text-align: left;
  direction: ltr;
  cursor: pointer;
}
.language-menu button span { min-width: 0; text-align: start; }
.language-menu button small { color: var(--landing-faint); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.language-menu button:hover, .language-menu button[aria-selected="true"] { background: var(--landing-surface-soft); color: var(--landing-ink); }
.landing-login {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-left: 0;
  color: var(--landing-ink);
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, transform .2s var(--landing-ease);
}
.landing-login b { font-size: 17px; font-weight: 500; transition: transform .2s var(--landing-ease); }
.landing-login:hover { color: var(--landing-muted); transform: translateY(-1px); }
.landing-login:hover b { transform: translate(2px, -2px); }
.landing-login:focus-visible { outline: 2px solid var(--landing-accent); outline-offset: 4px; }

.landing-main { flex: 1; display: grid; align-items: center; }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(510px, 1.06fr);
  align-items: center;
  gap: clamp(52px, 7vw, 132px);
  padding: clamp(32px, 5vh, 62px) 0 34px;
}
.hero-copy { position: relative; z-index: 2; padding: 12px 0 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--landing-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
}
.eyebrow i { width: 24px; height: 1px; background: var(--landing-accent); }
h1 {
  max-width: min(7.6ch, var(--copy-safe-width, 100%));
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(4rem, 7.1vw, 7.7rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .87;
}
h1 em { color: var(--landing-accent); font-style: normal; }

/* Every locale uses the Russian composition. Only text direction changes. */
.landing-shell { direction: ltr; }
.hero-copy { min-width: 0; }
.hero-title-line { display: flex; align-items: center; height: .87em; white-space: nowrap; }
.hero-title-text { display: block; flex: none; font-size: var(--title-fit, 1em); line-height: .87; }
html[dir="rtl"] .hero-title-line { justify-content: flex-start; }
.hero-lede { min-height: var(--copy-lede-height, 3.24em); }
.eyebrow { max-width: var(--copy-safe-width, 100%); min-height: var(--copy-eyebrow-height, 14px); line-height: 1.4; }
.eyebrow > span:first-child, .eyebrow > i { flex: none; white-space: nowrap; }
.eyebrow > span:last-child { min-width: 0; }
.hero-meta { min-height: var(--copy-meta-height, 50px); }
.hero-actions { width: min(100%, 483px, var(--copy-safe-width, 100%)); min-height: var(--copy-actions-height, 50px); }
.hero-actions > :first-child { flex: 247 1 0; padding-inline: 16px; gap: 12px; }
.hero-actions > :last-child { flex: 223 1 0; padding-inline: 16px; gap: 12px; }
.hero-actions > * { min-width: 0; }
.hero-actions [data-i18n] { line-height: 1.4; }

.hero-lede {
  max-width: min(43ch, var(--copy-safe-width, 100%));
  margin: 31px 0 0;
  color: var(--landing-muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
}
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 32px; }
.action-primary,
.action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  transition: transform .22s var(--landing-ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.action-primary { color: #fff; background: #808080; box-shadow: 0 9px 24px var(--landing-shadow); }
.action-primary b, .action-secondary b { font-size: 17px; font-weight: 400; line-height: 1; transition: transform .22s var(--landing-ease); }
.action-secondary { color: var(--landing-ink); border-color: var(--landing-line); background: var(--landing-surface); font-family: inherit; cursor: pointer; }
.action-primary:hover, .action-secondary:hover { transform: translateY(-3px); }
.action-primary:hover { background: var(--landing-ink); }
.action-secondary:hover { border-color: var(--landing-accent); }
.action-primary:hover b, .action-secondary:hover b { transform: translate(2px, -2px); }
.action-primary:focus-visible, .action-secondary:focus-visible, .landing-login:focus-visible, .landing-nav-center a:focus-visible, .landing-brand:focus-visible, .landing-footer a:focus-visible { outline: 2px solid var(--landing-accent); outline-offset: 4px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  max-width: min(540px, var(--copy-safe-width, 100%));
  margin-top: clamp(48px, 7vh, 78px);
  padding-top: 18px;
  border-top: 1px solid var(--landing-line);
}
.hero-meta div { display: grid; grid-template-columns: 21px 1fr; gap: 9px; min-width: 0; }
.hero-meta strong { color: var(--landing-accent); font-size: 10px; letter-spacing: .06em; }
.hero-meta span { color: var(--landing-muted); font-size: 11px; line-height: 1.42; }

.hero-stage {
  position: relative;
  min-height: min(620px, 64vh);
  min-width: 0;
  isolation: isolate;
  --hero-stage-scale: 1;
  scale: var(--hero-stage-scale);
}
.stage-ambience { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage-side { position: absolute; bottom: 4%; height: 66%; }
.stage-side--clinic { left: 0; width: 25%; transform: translateX(-10px); }
.stage-side--lab { right: 0; width: 24%; }
.stage-prop { position: absolute; display: block; height: auto; object-fit: contain; opacity: 1; will-change: transform; animation: prop-drift 6s cubic-bezier(.77, 0, .175, 1) infinite; }
.stage-prop--chair { left: 0; bottom: calc(12% - 20px); width: 100%; }
.stage-prop--clinic-screen { top: 2%; left: 11%; width: 15%; animation-delay: -1.5s; }
.stage-prop--cad-screen { top: 5%; left: 66%; width: 13%; scale: -1 1; }
.stage-prop--milling { right: 20%; bottom: 0; width: 100%; animation-delay: -3s; animation-duration: 7s; }
@keyframes prop-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -3px, 0); }
}
.process-readout { position: absolute; top: 65%; left: 50%; translate: -50% 0; z-index: 4; display: grid; grid-template-columns: 1fr; justify-items: center; row-gap: 4px; width: min(340px, 75%); color: var(--landing-ink); transition: opacity .245s ease; }
.process-readout.is-changing { opacity: .45; }
.process-readout-copy { display: grid; justify-items: center; gap: 4px; min-width: 0; text-align: center; }
.process-vignette-index { color: var(--landing-faint); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.process-glyphs { display: block; width: 63px; height: 57px; overflow: visible; }
.process-glyph { display: none; transform-origin: 60px 36px; }
.process-glyph.is-active { display: block; animation: glyph-arrive .35s var(--landing-ease) both; }
.glyph-draw { stroke-dasharray: 180; stroke-dashoffset: 180; animation: glyph-draw .8s ease-out .1s forwards; }
.glyph-line, .glyph-orbit, .glyph-check, .glyph-shine, .glyph-gloss, .glyph-scan { fill: none; stroke: var(--landing-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph-accent { fill: none; stroke: var(--landing-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.glyph-paper, .glyph-box { fill: var(--landing-surface-soft); }
.glyph-orbit { stroke: var(--landing-line); stroke-dasharray: 2 4; }
.glyph-check, .glyph-checkmark, .glyph-shine, .glyph-route { stroke: var(--landing-accent); }
.glyph-scan { stroke-width: 2; stroke-dasharray: 4 5; animation: glyph-scan 1.6s ease-in-out infinite; }
.process-glyph[data-scene="cad"].is-active .glyph-orbit { animation: glyph-orbit 2.8s ease-in-out infinite; transform-origin: center; }
.process-glyph[data-scene="milling"].is-active .glyph-tool { animation: glyph-mill .8s ease-in-out infinite alternate; transform-origin: 59px 32px; }
.process-glyph[data-scene="aesthetic"].is-active .glyph-shine { animation: glyph-shine 1.4s ease-in-out infinite; }
.process-glyph[data-scene="delivery"].is-active .glyph-route { animation: glyph-route 1s ease-in-out infinite alternate; }
.process-vignette-title { display: block; max-width: 100%; color: var(--landing-ink); font-size: 14px; font-weight: 740; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; transition: opacity .21s ease, transform .315s var(--landing-ease); }
.process-readout.is-changing .process-vignette-title { opacity: .35; transform: translateY(3px); }
.process-vignette-progress { display: flex; gap: 5px; width: 100%; margin-top: 11px; }
.process-vignette-progress i { display: block; flex: 1 1 0; height: 3px; border-radius: 999px; background: var(--landing-line); transition: background .315s ease, transform .315s var(--landing-ease); }
.process-vignette-progress i.is-done { background: var(--landing-muted); }
.process-vignette-progress i.is-current { background: var(--landing-ink); transform: scaleY(1.5); }
.team-figure { position: absolute; top: 2%; left: 0; z-index: 1; width: 100%; height: auto; margin: 0; aspect-ratio: 1774 / 887; }
.team-piece { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; opacity: 1; }
.team-piece--clinic { clip-path: inset(0 50% 0 0); animation: team-breathe-left 7s ease-in-out infinite; }
.team-piece--lab { clip-path: inset(0 0 0 50%); animation: team-breathe-right 7s ease-in-out infinite; }
.team-portal { position: absolute; top: 29%; left: 42%; width: 34%; aspect-ratio: 3 / 2; transform: translate(-50%, -50%) rotate(1deg); }
.portal-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--landing-ease); }
.team-portal[data-ready="true"] .portal-canvas { opacity: 1; }
.portal-fallback { position: absolute; inset: 18% 39%; transform: rotate(-12deg) scale(.525); opacity: .6; }
.portal-fallback span { position: absolute; inset: 32% -26%; border: 0; border-radius: 20% 20% 28% 28%; clip-path: polygon(0 30%, 10% 10%, 24% 4%, 38% 20%, 55% 0, 71% 17%, 86% 9%, 100% 31%, 96% 86%, 80% 100%, 20% 100%, 4% 86%); background: linear-gradient(90deg, var(--landing-muted) 49%, #eee8dc 50%); }
.team-portal[data-ready="true"] .portal-fallback { display: none; }
@keyframes team-breathe-left {
  0%, 100% { transform: translate(50px, 0) scale(1); }
  50% { transform: translate(50px, -7px) scale(1.008); }
}
@keyframes team-breathe-right {
  0%, 100% { transform: translate(-100px, 0) scale(1); }
  50% { transform: translate(-100px, -7px) scale(1.008); }
}
/* Reference composition: 1756 × 430. All desktop art shares this coordinate space.
   Asset boxes compensate for transparent padding; the copy column is independent. */
@media (min-width: 781px) {
  .hero-stage {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1756 / 430;
    margin: 0;
    container-type: inline-size;
  }
  .stage-side { inset: 0; width: 100%; height: 100%; transform: none; }
  .stage-prop { object-fit: fill; animation-name: reference-prop-drift; }
  .stage-prop--chair { left: 9.13%; top: 42.59%; bottom: auto; width: 16.32%; height: 50.16%; }
  .stage-prop--clinic-screen { left: 16.01%; top: .28%; width: 12.56%; height: 33.1%; }
  .stage-prop--cad-screen { left: 71.55%; top: 6.41%; width: 13.17%; height: 34.9%; }
  .stage-prop--milling { left: 75.15%; top: 54.35%; right: auto; bottom: auto; width: 15.96%; height: 40.1%; }
  .team-figure { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .team-piece { inset: auto; animation-name: reference-team-breathe; }
  .team-piece--clinic { left: 20.62%; top: 7.53%; width: 51.06%; height: 90.06%; }
  .team-piece--lab { left: 28.29%; top: 6.78%; width: 51.58%; height: 91.12%; }
  .team-portal { left: 50%; top: 35.5%; width: 33%; }
  .process-readout { top: 73%; left: 50%; width: 22.55%; row-gap: 0; }
  .process-glyphs { width: 7cqw; height: 4.2cqw; }
  .process-vignette-progress { gap: .5cqw; margin-top: .3cqw; }
  .process-vignette-progress i { height: max(1px, .23cqw); }
  .process-readout-copy { position: absolute; top: calc(100% + 1.5cqw); gap: .55cqw; }
  .process-vignette-title { font-size: 1.7cqw; }
  .process-vignette-index { font-size: 1.4cqw; }
}
@media (min-width: 1101px) {
  .hero-stage { --hero-stage-scale: 1.562; transform-origin: right center; top: -85px; left: 115px; }

}
@keyframes reference-team-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-.2cqw); }
}
@keyframes reference-prop-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-.15cqw); }
}
@keyframes file-pulse {
  0% { transform: scale(.7); opacity: .42; }
  75%, 100% { transform: scale(1.35); opacity: 0; }
}
@keyframes glyph-arrive { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes glyph-draw { to { stroke-dashoffset: 0; } }
@keyframes glyph-orbit { 0%, 100% { transform: rotate(-5deg); opacity: .65; } 50% { transform: rotate(5deg); opacity: 1; } }
@keyframes glyph-mill { to { transform: rotate(180deg) translateY(2px); } }
@keyframes glyph-scan { 0%, 100% { transform: translateY(-5px); opacity: .45; } 50% { transform: translateY(9px); opacity: 1; } }
@keyframes glyph-shine { 0%, 100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes glyph-route { to { transform: translateX(5px); } }

.landing-footer {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-faint);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.landing-footer > span:first-child { justify-self: start; }
.landing-footer > span:nth-child(2) { justify-self: center; text-align: center; }
.landing-footer > a { justify-self: end; }
.landing-footer .landing-legal { grid-column: 1 / -1; justify-self: center; }
.landing-footer a { color: var(--landing-muted); letter-spacing: 0; text-transform: none; transition: color .2s ease; }
.landing-footer a:hover { color: var(--landing-ink); }

.project-dialog {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100vw - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: clamp(28px, 5vw, 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: var(--landing-surface);
  color: var(--landing-ink);
  box-shadow: 0 24px 80px var(--landing-shadow);
}
.project-dialog[open] { animation: project-dialog-in .24s var(--landing-ease) both; }
.project-dialog::backdrop { background: rgba(20, 22, 24, .48); animation: project-backdrop-in .24s ease both; }
.project-dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--landing-line);
  border-radius: 50%;
  background: transparent;
  color: var(--landing-muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.project-dialog-close:hover { color: var(--landing-ink); border-color: var(--landing-muted); }
.project-dialog-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.project-dialog-close:focus-visible, .project-dialog-cta:focus-visible { outline: 2px solid var(--landing-accent); outline-offset: 4px; }
.project-dialog h2 { max-width: 20ch; margin: 0; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.04; letter-spacing: -.04em; }
.project-dialog-lead { max-width: 58ch; margin: 18px 0 0; color: var(--landing-muted); font-size: 15px; line-height: 1.65; }
.project-presentation { margin-top: 30px; }
.project-presentation section { padding: 20px 0; border-top: 1px solid var(--landing-line); }
.project-presentation h3 { margin: 0; color: var(--landing-ink); font-size: 17px; line-height: 1.3; letter-spacing: -.02em; }
.project-presentation p { max-width: 68ch; margin: 9px 0 0; color: var(--landing-muted); font-size: 14px; line-height: 1.65; }
.project-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: project-step; }
.project-flow li { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding: 11px 0; border-top: 1px solid var(--landing-line); color: var(--landing-ink); font-size: 13px; line-height: 1.35; counter-increment: project-step; }
.project-flow li::before { content: counter(project-step, decimal-leading-zero); flex: 0 0 auto; color: var(--landing-faint); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.project-dialog-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 0 18px; border-radius: 7px; background: #808080; color: #fff; font-size: 12px; font-weight: 750; transition: background-color .2s ease, transform .2s var(--landing-ease); }
.project-dialog-cta:hover { transform: translateY(-2px); background: var(--landing-ink); }
.project-dialog-cta span { font-size: inherit; font-weight: inherit; }
.project-dialog-cta b { font-size: 17px; font-weight: 400; }
html[dir="rtl"] .landing-main { direction: ltr; }
html[dir="rtl"] .hero-copy { direction: ltr; }
html[dir="rtl"] .eyebrow [data-i18n] { direction: rtl; }
html[dir="rtl"] .hero-lede, html[dir="rtl"] h1, html[dir="rtl"] .hero-meta span { direction: rtl; text-align: right; }
html[dir="rtl"] .landing-login span { direction: rtl; }
html[dir="rtl"] .project-dialog { direction: rtl; text-align: right; }
html[dir="rtl"] .project-flow { padding: 0; }
html[dir="rtl"] .project-dialog-close { right: auto; left: 18px; }
@keyframes project-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes project-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

  .landing-nav, .hero-copy, .hero-stage, .landing-footer { will-change: transform, opacity; }
.js-reveal { opacity: 0; }

@media (max-width: 1100px) {
  .landing-nav, .landing-main, .landing-footer { width: min(100% - 44px, 920px); }
  .landing-hero { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 38px; }
  h1 { font-size: clamp(3.7rem, 7.2vw, 6rem); }
  .hero-stage { min-height: 0; }
}
@media (max-width: 780px) {
  .landing-shell { min-height: 100svh; }
  .hero-stage { --hero-stage-scale: 1; transform-origin: center top; top: 0; left: 0; }
  .landing-shell::before { display: none; }
  .landing-nav, .landing-main, .landing-footer { width: min(100% - 32px, 560px); }
  .landing-nav { min-height: 76px; gap: 10px; }
  .landing-brand img { width: 148px; height: 60px; }
  .landing-nav-center { display: none; }
  .landing-nav-actions { gap: 10px; }
  .landing-login { gap: 6px; font-size: 11px; }
  .language-trigger { min-width: 42px; padding-inline: 5px; }
  .landing-main { display: block; }
  .landing-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 0 22px; }
  .hero-copy { display: contents; }
  .eyebrow { order: 1; margin-bottom: 22px; font-size: 9px; }
  h1 { order: 2; max-width: 100%; font-size: clamp(3rem, 14vw, 4.4rem); line-height: .9; }
  .hero-lede { order: 3; max-width: none; margin-top: 22px; font-size: 15px; line-height: 1.55; }
  .hero-actions { width: 100%; order: 4; align-items: stretch; flex-direction: column; gap: 9px; margin-top: 25px; }
  .hero-actions > :first-child, .hero-actions > :last-child { flex: none; }
  .action-primary, .action-secondary { width: 100%; }
  .hero-meta { order: 6; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
  .hero-meta div { grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; }
  .hero-meta span { font-size: 11px; }
  .hero-stage { order: 5; width: 100%; min-height: 0; height: auto; aspect-ratio: 1756 / 430; margin: 22px 0 38px; left: 0; translate: none; container-type: inline-size; }
  .stage-ambience { display: block; }
  .stage-side { inset: 0; width: 100%; height: 100%; }
  .stage-prop { object-fit: fill; animation-name: reference-prop-drift; }
  .stage-prop--chair { left: 9.13%; top: 42.59%; bottom: auto; width: 16.32%; height: 50.16%; }
  .stage-prop--clinic-screen { left: 16.01%; top: .28%; width: 12.56%; height: 33.1%; }
  .stage-prop--cad-screen { left: 71.55%; top: 6.41%; right: auto; width: 13.17%; height: 34.9%; }
  .stage-prop--milling { left: 75.15%; top: 54.35%; right: auto; bottom: auto; width: 15.96%; height: 40.1%; }
  .team-figure { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .team-piece { inset: auto; animation-name: reference-team-breathe; }
  .team-piece--clinic { left: 20.62%; top: 7.53%; width: 51.06%; height: 90.06%; }
  .team-piece--lab { left: 28.29%; top: 6.78%; width: 51.58%; height: 91.12%; }
  .team-portal { left: 50%; top: 35.5%; width: 33%; }
  .process-readout { top: 73%; left: 50%; width: 22.55%; row-gap: 0; }
  .process-glyphs { width: 7cqw; height: 4.2cqw; }
  .process-vignette-progress { gap: .5cqw; margin-top: .3cqw; }
  .process-vignette-progress i { height: max(1px, .23cqw); }
  .process-readout-copy { position: absolute; top: calc(100% + 8px); gap: 3px; }
  .process-vignette-title { font-size: 10px; }
  .process-vignette-index { font-size: 8px; }
  .landing-footer {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 10px;
    padding: 20px 0 24px;
    text-align: center;
  }
  .landing-footer > span:first-child,
  .landing-footer > span:nth-child(2),
  .landing-footer > a { justify-self: center; width: 100%; }
  .landing-footer > span:nth-child(2) { order: 2; }
  .landing-footer > a { order: 3; }
  .landing-footer .landing-legal { order: 4; }
}
@media (max-width: 390px) {
  .landing-nav, .landing-main, .landing-footer { width: min(100% - 24px, 560px); }
  .landing-brand img { width: 124px; height: 60px; }
  .landing-nav-actions { gap: 5px; }
  .landing-login { gap: 4px; font-size: 10px; white-space: nowrap; }
  .landing-login b { font-size: 14px; }
  .language-trigger { min-width: 38px; gap: 4px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js-reveal { opacity: 1; transform: none; }
  .team-piece { animation: none; }
  .stage-prop { animation: none; }
}

html[lang="hy"] .hero-title-text { letter-spacing: -.035em; }
html[lang="ar"] .hero-title-text { letter-spacing: 0; }

/* Legal documents belong only to the Russian landing, including locale switches. */
.landing-legal { display: none; }
html .landing-footer { flex-wrap: wrap; padding-block: 18px; }
html .landing-legal {
  display: flex;
  order: 4;
  flex: 0 0 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}
.landing-legal a { color: #666; text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .landing-legal a { color: #b8bec6; }
@media (max-width: 560px) {
  html .landing-legal { flex-direction: column; gap: 4px; }
  .landing-legal a { max-width: 100%; padding-block: 8px; }
}

.language-switcher { display: none !important; }
