/* Digidata — one-page site
   Palette per tech task: navy #0F172A, graphite #334155, technical blue #0284C7, white / light grey */
:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --graphite: #334155;
  --slate: #64748B;
  --line: #E2E8F0;
  --bg-light: #F1F5F9;
  --blue: #0284C7;
  --blue-l: #38BDF8;
  --white: #fff;
  --radius: 4px;
  --font: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html:lang(hy) { --font: "Noto Sans Armenian", "Inter", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -.005em; }
h4 { font-size: 1rem; margin-bottom: .25em; }
p { margin: 0 0 1em; }
:lang(hy) h1, :lang(hy) h2 { letter-spacing: 0; line-height: 1.22; }
:lang(hy) h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
:lang(hy) h1, :lang(hy) h2, :lang(hy) h3, :lang(hy) h4 { font-weight: 800; }
/* JetBrains Mono has no Armenian glyphs: use the text font for labels, no caps */
:lang(hy) .eyebrow, :lang(hy) .metric__k, :lang(hy) .contact__k, :lang(hy) .tenant__h {
  font-family: var(--font); text-transform: none; letter-spacing: .01em; font-weight: 600;
}
:lang(hy) .scale__ticks em { font-family: var(--font); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.num { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--blue);
  margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-l); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius);
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #0369A1; }
.btn--ghost { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.logo--sm img { height: 32px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #CBD5E1; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--white); }
.lang { display: flex; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.lang button {
  font: 600 .75rem var(--font); letter-spacing: .04em;
  background: none; color: #94A3B8; border: 0; padding: 8px 10px; cursor: pointer; min-width: 44px;
}
.lang button + button { border-left: 1px solid rgba(255,255,255,.18); }
.lang button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.lang button:not([aria-pressed="true"]):hover { color: var(--white); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 12px 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(2,132,199,.22), transparent 60%),
    var(--navy);
  color: #CBD5E1;
  padding: clamp(48px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(56,189,248,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero__lead { font-size: 1.12rem; max-width: 36em; color: #CBD5E1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__plan { margin: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: rgba(15,23,42,.6); padding: 10px 10px 0; }
.legend {
  list-style: none; counter-reset: l; margin: 0; padding: 14px 8px 16px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: #94A3B8;
}
.legend li { counter-increment: l; display: inline-flex; align-items: center; gap: 7px; }
.legend li::before {
  content: counter(l); display: grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: var(--white);
  font: 700 .7rem var(--mono);
}
.stats {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  margin: clamp(40px, 6vw, 72px) 0 0; border-top: 1px solid rgba(255,255,255,.1);
}
.stats > div { padding: 28px 24px 32px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
.stats dt { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.1; }
.stats dt span:not(.num) { font-size: .55em; color: var(--blue-l); font-weight: 600; }
.stats dd { margin: 6px 0 0; font-size: .9rem; color: #94A3B8; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--light { background: var(--bg-light); }
.section--dark { background: var(--navy); color: #CBD5E1; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section__head { max-width: 760px; margin-bottom: 44px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.about__intro p:last-child { font-size: 1.05rem; }
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 26px 22px; }
.card p { font-size: .94rem; margin: 0; }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card .icon { margin-bottom: 18px; }

/* Power scale */
.scale { margin-bottom: 48px; }
.scale__track { position: relative; height: 18px; background: var(--bg-light); border: 1px solid var(--line); border-radius: 2px; }
.seg { position: absolute; top: 0; bottom: 0; }
.seg--p1 { left: 0; background: var(--blue); }
.seg--sub { background: #7DD3FC; }
.seg--p2 { background: repeating-linear-gradient(45deg, #0F172A 0 2px, transparent 2px 8px); opacity: .35; }
.scale__ticks { position: relative; height: 30px; font: 500 .8rem var(--mono); color: var(--slate); }
.scale__ticks span { position: absolute; top: 8px; transform: translateX(-50%); white-space: nowrap; }
.scale__ticks span::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1px; height: 6px; background: var(--slate); }
.scale__ticks span:first-child { transform: none; }
.scale__ticks span:first-child::before { left: 0; }
.scale__ticks span:last-child { transform: translateX(-100%); }
.scale__ticks span:last-child::before { left: auto; right: 0; }
.scale__ticks em { font-style: normal; }
.scale__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 6px 0 0; font-size: .85rem; }
.scale__legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.sw--p1 { background: var(--blue); }
.sw--sub { background: #7DD3FC; }
.sw--p2 { background: repeating-linear-gradient(45deg, #0F172A 0 2px, transparent 2px 5px); opacity: .45; border: 1px solid #94A3B8; }

.power { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: stretch; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.metric__k { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 10px; }
.metric__v { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.metric__v span:not(.num) { font-size: .5em; color: var(--blue); }
.metric__sub { font-size: .88rem; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.metric p:last-child { font-size: .92rem; margin: 0; }
.illus { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); align-self: center; }

/* Tenant */
.tenant { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.tenant__name { color: var(--blue-l); }
.tenant__intro p { font-size: 1.05rem; }
.tenant__note { border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; font-size: .95rem !important; color: #94A3B8; }
.tenant__h { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #94A3B8 !important; font-weight: 500; margin-bottom: 18px; }
.provides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.provides li { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--navy); }
.provides .icon { stroke: var(--blue-l); width: 28px; height: 28px; }
.provides p { font-size: .9rem; margin: 0; color: #94A3B8; }

/* Infrastructure */
.infra { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.infra__list { display: grid; gap: 0; }
.row { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid #CBD5E1; }
.row:first-child { padding-top: 0; }
.row:last-child { border-bottom: 0; }
.row p { margin: 0; font-size: .96rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; }
.chips li { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: #E2E8F0; }
.contact__card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 32px; }
.contact__item { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact__k { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #94A3B8; margin-bottom: 8px; }
address { font-style: normal; color: var(--white); font-size: 1.02rem; }
.contact__mail { color: var(--white); font-size: 1.3rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--blue); }
.contact__mail:hover { color: var(--blue-l); }

/* Footer */
.footer { background: #0B1222; color: #64748B; font-size: .85rem; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer p { margin: 0; }
.footer p:nth-of-type(1) { flex: 1; min-width: 240px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: .86rem; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .power { grid-template-columns: 1fr; }
  .power .illus { max-width: 640px; }
  .tenant { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px;
    background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .infra { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .header__row { gap: 12px; }
  .logo img { height: 34px; }
  .lang button { padding: 8px 6px; min-width: 40px; font-size: .7rem; }
  .cards--3, .cards--2, .provides { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div, .stats > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stats > div:last-child { border-bottom: 0; }
  .hero__cta .btn { width: 100%; }
  .scale__ticks span:nth-child(4) { display: none; }
  .contact__card { padding: 24px; }
}
@media (max-width: 380px) { .logo img { height: 28px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
