/* landing — v1 (shared by index.html and index.ru.html) */
:root {
  --bg: #08060a; --bg2: #0f0a13;
  --ink: #f4ecdf; --muted: #9b8f80;
  --ember: #ff7a2f; --ember2: #ffc46b;
  --card: rgba(255, 255, 255, 0.035); --line: rgba(255, 255, 255, 0.09);
}
* { box-sizing: border-box; }
html { font-size: 130%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 52px; /* room for the fixed status bar */
}
.wrap {
  max-width: 832px;
  margin: 0 auto;
  padding: 36px 31px 62px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ---- site chrome: header ---- */
header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0; margin-bottom: 57px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.brand span {
  font-weight: 650; letter-spacing: .14em; font-size: .85rem;
  color: var(--muted); text-transform: uppercase;
}
.brand b { color: var(--ink); font-weight: 650; }
nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav a {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
nav a:hover { color: var(--ember2); }

/* ---- tagline: the first thing in the body ---- */
.tagline {
  margin: 0 0 62px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ember2);
}

/* ---- sections ---- */
.section { margin: 0 0 62px; }
.section .label {
  margin: 0 0 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.section p {
  margin: 0 0 1.15em;
  font-size: .98rem; line-height: 1.7;
  max-width: 62ch;
  /* phosphor tint: warm ink with a faint ember glow — text on a screen */
  color: #f0e4d2;
  text-shadow: 0 0 18px rgba(255, 122, 47, .14);
}
.section p:last-child { margin-bottom: 0; }
.section .facts { margin: 0 0 1.15em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 2; }
.section .facts:last-child { margin-bottom: 0; }
.section .facts .k { display: inline-block; width: 12ch; color: var(--muted); }
.section .placeholder { color: var(--muted); opacity: .6; }

/* ---- site chrome: footer ---- */
footer {
  margin-top: auto; padding-top: 23px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .78rem; letter-spacing: .04em;
}
footer .dot { color: var(--ember); }
footer .contacts { display: flex; gap: 16px; flex-wrap: wrap; }
footer .contacts a { color: var(--muted); text-decoration: none; }
footer .contacts a:hover { color: var(--ember2); }
footer .lang { display: flex; gap: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
footer .lang a { color: var(--muted); text-decoration: none; }
footer .lang a:hover { color: var(--ember2); }

/* ---- terminal status bar (fixed) ---- */
.statusbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 21px;
  background: rgba(8, 6, 10, .88);
  border-top: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem; letter-spacing: .1em; color: var(--muted);
}
.statusbar .path::before { content: "~"; color: var(--ember); }
.statusbar .clock { font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .wrap { padding: 31px 21px 52px; }
  .tagline { margin-bottom: 44px; }
  .section { margin-bottom: 44px; }
  .statusbar { padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .statusbar .clock { transition: none; }
}
