/* Fonts are self-hosted (variable woff2 from Google Fonts). Sora has no Cyrillic: Russian headings use the system fallback, as in the original design. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/assets/fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout (from the first version): white page, blue only as accent. Hero framed by two corner brackets (the Aryas brand device) with a faint oversized mark behind the headline. Below: facts strip, DKC lockup, service rows, range grid, 4-step process, project case, business-card contact block. Single light theme by design. */
:root {
  --bg: #FFFFFF;
  --fg: #151A33;
  --muted: #5A6079;
  --line: #E2E6F0;
  --tint: #F3F5FA;
  --accent: #334A8D;
  --on-accent: #FFFFFF;
  --dkc: #D50E1A; /* DKC brand red (dkc.ru primary), only for the DKC word in the ARYAS × DKC lockup */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
.wrap { max-width: 1160px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* header */
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand svg { width: 46px; height: auto; display: block; fill: currentColor; }
.brand b { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .1em; }
.bt { display: flex; flex-direction: column; line-height: 1.1; }
.bt small { margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.brand sup { font-size: 11px; margin-left: 2px; }
nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--accent); }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang a { font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--muted); padding: 6px 12px; }
.lang a[aria-current="true"], .lang a[aria-current="true"]:hover { background: var(--accent); color: var(--on-accent); }

/* hero */
/* --br: size of the corner brackets; the bracket stroke is 20% of it, its outer curve radius 32% */
.hero { --br: 110px; position: relative; overflow: hidden; padding: 96px 56px 88px; margin-top: 8px; }
.hero .mark-bg { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 58%; max-width: 640px; fill: var(--accent); opacity: .07; pointer-events: none; }
.hero .br { position: absolute; width: var(--br); height: var(--br); fill: var(--accent); }
.hero .br-tr { top: 0; right: 0; }
.hero .br-bl { bottom: 0; left: 0; transform: rotate(180deg); }
.hero-in { position: relative; max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--accent); flex: none; }
h1 { font-size: clamp(36px, 6.6vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.hl { color: var(--accent); letter-spacing: .06em; }
.lead { margin-top: 28px; font-size: 19px; color: var(--muted); max-width: 54ch; }
.actions { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 26px; border: 1.5px solid var(--accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.15); }
.btn.ghost { color: var(--accent); background: var(--bg); }
.btn.ghost:hover { background: var(--tint); }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-top: 24px; }
.fact { padding: 26px 28px; min-width: 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.fact b { font-family: var(--font-display); font-weight: 600; font-size: 19px; }

/* sections */
section { padding-block: 88px 0; }
.sec-title { display: flex; align-items: baseline; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; }
.sec-title p { color: var(--muted); max-width: 56ch; }

.biz { border-top: 1px solid var(--line); }
.biz-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.biz-row .tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.biz-row h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.biz-row p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 6px 14px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; }
a.chip:hover { background: var(--accent); color: var(--on-accent); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile svg { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.tile h3 { font-size: 19px; font-weight: 600; }
.tile p { color: var(--muted); font-size: 15px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--accent); }
.step { padding: 28px 24px 8px 0; min-width: 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 18px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* contacts */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact .side p { color: var(--muted); margin-top: 18px; max-width: 40ch; font-size: 17px; }
.contact .side .actions { margin-top: 28px; }
.cards { display: grid; gap: 20px; min-width: 0; }
.bc { border: 1px solid var(--line); padding: 36px; min-width: 0; box-shadow: 0 1px 0 var(--line); }
.bc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-left: 16px; border-left: 3px solid var(--accent); }
.bc-top h3 { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.bc-top span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.bc-top svg { width: 40px; fill: var(--accent); flex: none; }
.rule { height: 3px; background: var(--accent); margin: 28px 0 8px; }
.row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.v { font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.v a { text-decoration: none; }
.v a:hover { color: var(--accent); }
.v.pending { color: var(--muted); font-weight: 400; }
.copy { font: inherit; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--tint); border: 0; padding: 7px 12px; cursor: pointer; }
.copy:hover { background: var(--line); }
.req h3 { font-size: 20px; font-weight: 600; }
.req .rows { margin-top: 12px; }
.req .row { grid-template-columns: 92px minmax(0, 1fr) auto; }

footer { margin-top: 88px; padding-bottom: 36px; }
.endline { display: flex; align-items: center; gap: 16px; color: var(--accent); font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.endline::before, .endline::after { content: ""; height: 3px; background: var(--accent); }
.endline::before { width: 56px; }
.endline::after { flex: 1; }
.foot-legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-legal .k { display: block; margin-bottom: 6px; }
.foot-legal b { color: var(--fg); font-weight: 600; }
.foot-legal a { text-decoration: none; }
.foot-legal a:hover { color: var(--accent); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--muted); }

.lockup { --br: 88px; position: relative; overflow: hidden; border: 1px solid var(--line); border-top-right-radius: calc(var(--br) * .32 + 1px); padding: 72px 56px 64px; background: var(--tint); }
.lockup .br { position: absolute; width: var(--br); height: var(--br); fill: var(--accent); }
.lockup .br-tr { top: 0; right: 0; }
.lock-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35em; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-size: clamp(46px, 11vw, 128px); }
.l-a { color: var(--accent); }
.l-x { font-weight: 500; color: var(--muted); font-size: .7em; }
.l-d { color: var(--dkc); }
.lock-text { margin-top: 28px; max-width: 56ch; font-size: 18px; color: var(--muted); }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 36px; }
.case .tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.case h3 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.case-r p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.cta-bar { margin-top: 20px; background: var(--accent); color: var(--on-accent); padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-bar h3 { font-size: 24px; font-weight: 600; }
.cta-bar p { margin-top: 6px; color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-bar .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta-bar .btn:hover { filter: none; background: var(--tint); }
/* inner pages */
nav a[aria-current="page"] { color: var(--accent); }
.hero.page h1 { font-size: clamp(30px, 5vw, 54px); }
section > .actions { margin-top: 28px; }
.lockup .actions { margin-top: 28px; }
.pts { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.pts li { position: relative; padding-left: 24px; }
.pts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 3px; background: var(--accent); }
.case.cert { align-items: center; }
.cert-img { display: block; max-width: 320px; border: 1px solid var(--line); }
.cert-img img { display: block; width: 100%; height: auto; }
.case-r h3 { margin-bottom: 14px; }
.case-r .actions { margin-top: 24px; }
a.copy { text-decoration: none; }
.cta-bar .actions { margin-top: 0; }
.cta-bar .btn.line, .cta-bar .btn.line:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-bar .btn.line:hover { border-color: #fff; }
/* DKC page: data-centre chain */
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.chain { border-top: 3px solid var(--accent); }
.chain-row { display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.chain-row .n { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.chain-row h3 { font-size: 20px; font-weight: 600; }
.chain-row p { color: var(--muted); }
.case.mini { margin-top: 28px; }
.case.mini h3 { font-size: clamp(24px, 3vw, 32px); }
.lockup .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cats .row { grid-template-columns: 120px minmax(0, 1fr) auto; }
@media (max-width: 900px) {
  .hero { --br: 56px; padding: 72px 28px 76px; }
  .hero .mark-bg { width: 90%; right: -30%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .biz-row, .contact, .case { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .contact { gap: 32px; }
  .lockup { --br: 64px; padding: 76px 24px 44px; }
  .case { padding: 24px; gap: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  section { padding-block: 64px 0; }
}
@media (max-width: 560px) {
  .hero { --br: 44px; padding: 60px 16px 64px; }
  .lockup { --br: 44px; padding: 60px 20px 36px; }
  .lead { font-size: 17px; }
  .grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .bc { padding: 22px; }
  .chain-row { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 14px; }
  .chain-row p { grid-column: 2; }
  .foot-legal { grid-template-columns: minmax(0, 1fr); }
  .row, .req .row, .cats .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .k { grid-column: 1 / -1; margin-bottom: -6px; }
  nav { gap: 16px; }
  .bt small { font-size: 9px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .copy, .chip { transition: background .15s ease, color .15s ease, filter .15s ease; }
}
