/* NetAI LLC — static site. No external resources. */
:root {
  --bg: #0a0f1c;
  --panel: #111a2e;
  --panel-2: #16223b;
  --line: #243453;
  --text: #e8edf8;
  --muted: #93a3c4;
  --accent: #3ddbb0;
  --accent-2: #6aa8ff;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Armenian", Sylfaen, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; color-scheme: dark; }
body {
  margin: 0; color: var(--text); font: 1.0625rem/1.65 var(--sans);
  background: radial-gradient(900px 500px at 85% -5%, rgba(61, 219, 176, 0.12), transparent 60%),
              radial-gradient(700px 500px at 10% 30%, rgba(106, 168, 255, 0.08), transparent 60%),
              var(--bg);
  background-attachment: fixed;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: #7ff0cd; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; overflow-wrap: break-word; }
:lang(hy) h1, :lang(hy) h2, :lang(hy) h3 { line-height: 1.3; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #04120d; padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); min-height: 100vh; }
.shell.solo { grid-template-columns: minmax(0, 1fr); }

/* sidebar */
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 2rem 1.5rem; border-right: 1px solid var(--line); background: rgba(10, 15, 28, 0.7); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.mark { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 0.6rem; border: 2px solid var(--accent); color: var(--accent); font: 700 1.2rem/1 var(--mono); }
.brand-name { font: 700 1.35rem/1 var(--mono); letter-spacing: -0.02em; }
.sidenote { margin: 0.9rem 0 2rem; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.menu ul { display: flex; flex-direction: column; gap: 0.15rem; }
.menu a { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.55rem 0.7rem; border-radius: 0.5rem; text-decoration: none; color: var(--text); font-size: 0.97rem; }
.menu a:hover { background: var(--panel); color: #fff; }
.idx { font: 500 0.78rem/1 var(--mono); color: var(--accent); }
.lang { display: flex; gap: 0.3rem; margin-top: auto; }
.lang a { display: block; padding: 0.3rem 0.65rem; border: 1px solid var(--line); border-radius: 0.4rem; font: 600 0.78rem/1.2 var(--mono); text-decoration: none; color: var(--muted); }
.lang a:hover { border-color: var(--accent); color: var(--text); }
.lang a[aria-current] { background: var(--accent); border-color: var(--accent); color: #04120d; }

/* content */
.content { display: flex; flex-direction: column; min-width: 0; padding: 0 clamp(1.25rem, 5vw, 4rem); }
main { width: 100%; max-width: 52rem; flex: 1; padding-top: clamp(2.5rem, 7vw, 5rem); }

.tagline { display: inline-flex; align-items: center; gap: 0.6rem; font: 500 0.85rem/1 var(--mono); color: var(--accent); border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 0.5rem 0.9rem; margin-bottom: 1.6rem; }
:lang(hy) .tagline, :lang(ru) .tagline { font-family: var(--sans); font-size: 0.82rem; }
.pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 219, 176, 0.2); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 750; letter-spacing: -0.03em; background: linear-gradient(100deg, #fff 30%, var(--accent) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.1em; }
:lang(hy) .hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); letter-spacing: 0; }
:lang(ru) .hero h1 { font-size: clamp(2rem, 4.8vw, 3.5rem); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.6rem; }
.btn { display: inline-block; background: var(--accent); color: #04120d; font-weight: 700; text-decoration: none; padding: 0.8rem 1.4rem; border-radius: 0.55rem; }
.btn:hover { background: #7ff0cd; color: #04120d; }
.ghost { display: inline-block; border: 1px solid var(--line); color: var(--text); text-decoration: none; padding: 0.8rem 1.4rem; border-radius: 0.55rem; font-weight: 600; }
.ghost:hover { border-color: var(--accent-2); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { font: 500 0.8rem/1 var(--mono); color: var(--muted); padding: 0.4rem 0.7rem; border-radius: 0.4rem; background: var(--panel); border: 1px solid var(--line); }
:lang(hy) .chips li, :lang(ru) .chips li { font-family: var(--sans); }

.block { padding-top: clamp(3.5rem, 8vw, 5.5rem); }
.block h2 { display: flex; align-items: baseline; gap: 0.8rem; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 1.6rem; }
:lang(hy) .block h2 { letter-spacing: 0; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card { background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.4rem; }
.card:hover { border-color: rgba(61, 219, 176, 0.55); }
.tag { font: 500 0.78rem/1.3 var(--mono); color: var(--accent); margin-bottom: 0.7rem !important; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p:last-child { margin: 0; color: var(--muted); font-size: 0.98rem; }

.stepper { position: relative; display: flex; flex-direction: column; gap: 1.6rem; padding-left: 0.2rem; }
.stepper::before { content: ""; position: absolute; left: 1.2rem; top: 1.2rem; bottom: 1.2rem; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.stepper li { position: relative; display: flex; gap: 1.2rem; align-items: flex-start; }
.dot { flex: none; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font: 700 0.95rem/1 var(--mono); }
.stepper h3 { font-size: 1.15rem; margin: 0.35rem 0 0.2rem; }
.stepper p { margin: 0; color: var(--muted); }

.company-p { color: var(--muted); max-width: 42rem; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.4rem 1.5rem; margin-top: 1.2rem; }
.panel h3 { font: 600 0.8rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.6rem; }
:lang(hy) .panel h3, :lang(ru) .panel h3 { font-family: var(--sans); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact p { color: var(--muted); max-width: 36rem; }
.contact p:last-child { margin: 0; }
.mail { font: 600 clamp(1.3rem, 3.6vw, 2rem)/1.2 var(--mono); overflow-wrap: anywhere; }

.foot { max-width: 52rem; width: 100%; margin-top: clamp(3.5rem, 8vw, 6rem); padding: 1.8rem 0 2rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.foot p { margin: 0 0 0.25rem; }
.foot-name { color: var(--text); font-weight: 700; }
.foot-copy { margin-top: 0.8rem !important; font-size: 0.82rem; }

/* document pages */
.doc h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.025em; margin-bottom: 0.7rem; }
.doc h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; color: #fff; }
.doc section p { color: #c4cee4; }
.doc .updated { color: var(--muted); font: 500 0.85rem/1.4 var(--mono); margin-bottom: 1.2rem; }
:lang(hy) .doc .updated, :lang(ru) .doc .updated { font-family: var(--sans); }
.back { margin-bottom: 1.6rem; font-size: 0.95rem; }
.back a { text-decoration: none; }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding: 0.9rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidenote { display: none; }
  .brand { margin-right: auto; }
  .lang { margin-top: 0; }
  .menu { order: 3; flex-basis: 100%; overflow-x: auto; }
  .menu ul { flex-direction: row; gap: 0.2rem; white-space: nowrap; }
  .menu a { padding: 0.4rem 0.6rem; }
  html { scroll-padding-top: 1rem; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
