/* ==========================================================================
   俄罗斯搜索引擎 — 俄罗斯搜索引擎入口
   Theme: Polar Blue / Russian Red accent
   ========================================================================== */

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7fd;
  --bg-2: #eaf2fc;
  --bg-3: #e5edf9;
  --panel: #ffffff;
  --panel-2: #f7fafe;
  --panel-3: #edf5ff;
  --text: #0a1a2e;
  --muted: #50667e;
  --muted-2: #75899f;
  --accent: #2563eb;
  --accent-hot: #0b57d0;
  --accent-deep: #1d4ed8;
  --accent-rgb: 37, 99, 235;
  --red: #e11d48;
  --red-rgb: 225, 29, 72;
  --line: rgba(37, 99, 235, 0.22);
  --line-strong: rgba(37, 99, 235, 0.48);
  --line-neutral: rgba(10, 26, 46, 0.1);
  --nav-bg: rgba(247, 250, 255, 0.86);
  --card-bg: linear-gradient(148deg, #ffffff, #f4f9ff);
  --shadow: 0 24px 70px rgba(23, 52, 92, 0.14);
  --on-accent: #ffffff;
  --btn-bg: linear-gradient(135deg, #4f93ff, #2563eb 55%, #1d4ed8);
  --btn-shadow: 0 14px 34px rgba(37, 99, 235, 0.26);
  --btn-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  --btn-shadow-hover: 0 18px 44px rgba(37, 99, 235, 0.34);
  --search-bg: linear-gradient(160deg, #ffffff, #f1f7ff);
  --search-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.03), 0 18px 48px rgba(23, 52, 92, 0.09);
  --search-focus-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12), 0 18px 54px rgba(37, 99, 235, 0.13);
  --monitor-bg: #ffffff;
  --monitor-text: #50667e;
  --monitor-border: rgba(37, 99, 235, 0.36);
  --monitor-shadow: 0 24px 70px rgba(23, 52, 92, 0.16), 0 0 40px rgba(37, 99, 235, 0.07);
  --site-bg: linear-gradient(150deg, #ffffff, #f4f9ff);
  --site-bg-hover: linear-gradient(150deg, #ffffff, #eaf4ff);
  --dot: rgba(10, 26, 46, 0.16);
  --cta-bg: linear-gradient(112deg, #1f63d6 0%, #1548a5 52%, #0d2f75 100%);
  --cta-text: #ffffff;
  --cta-muted: rgba(255, 255, 255, 0.78);
  --cta-accent: #c7e6ff;
  --cta-line: rgba(255, 255, 255, 0.18);
  --cta-stripe: rgba(255, 255, 255, 0.1);
  --card-glow: 0.08;
  --watermark: 0.085;
  --float-bg: rgba(6, 17, 31, 0.9);
  --float-text: #ffffff;
  --float-muted: #9db2c8;
  --entry-bg:
    radial-gradient(circle at 88% 0%, rgba(37, 99, 235, 0.1), transparent 42%),
    linear-gradient(150deg, #ffffff, #f3f8ff 66%);
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Impact", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-notch: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  --radius-notch-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050a13;
  --bg-2: #07101d;
  --bg-3: #04070d;
  --panel: #0a1526;
  --panel-2: #0d1b30;
  --panel-3: #11243d;
  --text: #edf6ff;
  --muted: #94a8c0;
  --muted-2: #64798f;
  --accent: #3fa9ff;
  --accent-hot: #7cd4ff;
  --accent-deep: #1f6dff;
  --accent-rgb: 63, 169, 255;
  --red: #ff4d63;
  --red-rgb: 255, 77, 99;
  --line: rgba(63, 169, 255, 0.24);
  --line-strong: rgba(63, 169, 255, 0.58);
  --line-neutral: rgba(255, 255, 255, 0.085);
  --nav-bg: rgba(5, 10, 19, 0.8);
  --card-bg: linear-gradient(148deg, rgba(15, 31, 53, 0.92), rgba(6, 14, 26, 0.97));
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --on-accent: #04111f;
  --btn-bg: linear-gradient(135deg, #8fe0ff, #3fa9ff 55%, #2f7dff);
  --btn-shadow: 0 14px 36px rgba(63, 169, 255, 0.26);
  --btn-inset: inset 0 0 0 1px rgba(200, 240, 255, 0.4);
  --btn-shadow-hover: 0 18px 46px rgba(63, 169, 255, 0.42);
  --search-bg: linear-gradient(160deg, rgba(12, 27, 47, 0.96), rgba(5, 13, 24, 0.97));
  --search-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 48px rgba(0, 0, 0, 0.28);
  --search-focus-shadow: inset 0 0 0 1px rgba(63, 169, 255, 0.12), 0 18px 54px rgba(63, 169, 255, 0.14);
  --monitor-bg: #040b14;
  --monitor-text: #8ba1b8;
  --monitor-border: rgba(63, 169, 255, 0.58);
  --monitor-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 50px rgba(63, 169, 255, 0.12);
  --site-bg: linear-gradient(150deg, rgba(13, 27, 48, 0.72), rgba(6, 14, 26, 0.8));
  --site-bg-hover: linear-gradient(150deg, rgba(16, 34, 58, 0.9), rgba(7, 16, 30, 0.92));
  --dot: rgba(255, 255, 255, 0.18);
  --cta-bg: linear-gradient(112deg, #0b1d34 0%, #071120 48%, #0a1830 100%);
  --cta-text: #edf6ff;
  --cta-muted: #94a8c0;
  --cta-accent: #7cd4ff;
  --cta-line: rgba(63, 169, 255, 0.28);
  --cta-stripe: rgba(63, 169, 255, 0.08);
  --card-glow: 0.14;
  --watermark: 0.075;
  --float-bg: rgba(6, 17, 31, 0.9);
  --float-text: #ffffff;
  --float-muted: #9db2c8;
  --entry-bg:
    radial-gradient(circle at 88% 0%, rgba(63, 169, 255, 0.16), transparent 42%),
    linear-gradient(150deg, #0c1c32, #060f1c 66%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #fff 3px 4px);
  mix-blend-mode: soft-light;
}

body.nav-open,
body.modal-open { overflow: hidden; }

[data-theme="light"] body::after { display: none; }

img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 0;
  clip-path: var(--radius-notch-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--btn-bg);
  color: var(--on-accent);
  box-shadow: var(--btn-inset), var(--btn-shadow);
}
.btn-primary:hover {
  box-shadow: var(--btn-inset), var(--btn-shadow-hover);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(var(--accent-rgb), 0.04);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
  box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.14);
}

.btn-light {
  background: #eef7ff;
  color: #06121f;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}
.btn-light:hover { background: #fff; color: #06121f; }

.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 15px; letter-spacing: 0.06em; }
.btn .icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  opacity: 0.9;
  pointer-events: none;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--text);
}
.logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(252, 63, 29, 0.18));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.logo-link:hover .logo-mark {
  transform: scale(1.04);
  filter: drop-shadow(0 5px 14px rgba(252, 63, 29, 0.32));
}
.logo-copy { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.logo-copy strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo-copy strong span { color: var(--accent); }
.logo-copy small {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
}

.site-nav-inner { display: flex; align-items: center; gap: 28px; }
.site-nav-inner > a {
  position: relative;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.site-nav-inner > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--accent);
  transition: right 0.24s ease;
}
.site-nav-inner > a:hover,
.site-nav-inner > a.is-active { color: var(--text); }
.site-nav-inner > a:hover::after,
.site-nav-inner > a.is-active::after { right: 0; }
.site-nav-inner > a.btn-primary,
.site-nav-inner > a.btn-primary:hover,
.site-nav-inner > a.btn-primary.is-active { color: var(--on-accent); }
.site-nav-inner > a.btn-primary::after { display: none; }
.nav-entry { min-width: 116px; }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-neutral);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--line);
  background: rgba(var(--accent-rgb), 0.06);
}
.theme-toggle .icon { width: 18px; height: 18px; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line-neutral);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed;
  inset: 70px 0 0;
  z-index: 150;
  background: rgba(2, 6, 12, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(46px, 6vw, 78px) 0 clamp(58px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 16%, rgba(var(--accent-rgb), 0.17), transparent 33%),
    radial-gradient(circle at 96% 74%, rgba(var(--red-rgb), 0.06), transparent 26%),
    radial-gradient(circle at 8% 70%, rgba(var(--accent-rgb), 0.06), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg-2));
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 68% 42%, black, transparent 70%);
}
.hero-watermark {
  position: absolute;
  right: -0.05em;
  top: 46%;
  z-index: -1;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), var(--watermark));
  font-family: var(--font-display);
  font-size: clamp(300px, 42vw, 640px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(38px, 5vw, 70px);
}
.hero-copy { position: relative; z-index: 2; }

.eyebrow,
.section-kicker,
.cta-kicker,
.modal-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12), 0 0 14px rgba(var(--accent-rgb), 0.85);
  animation: status-pulse 2.2s ease-out infinite;
  flex: 0 0 auto;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12), 0 0 12px rgba(var(--accent-rgb), 0.6); }
  50% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0), 0 0 24px rgba(var(--accent-rgb), 0.95); }
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line-neutral);
  background: rgba(var(--accent-rgb), 0.045);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.hero h1 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-shadow: 0 0 42px rgba(var(--accent-rgb), 0.08);
}
.hero h1 .accent {
  color: var(--accent-hot);
  text-shadow: 0 0 34px rgba(var(--accent-rgb), 0.3);
}
.hero-title-line { white-space: nowrap; }
.hero-subtitle {
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.85;
}

/* Search module */
.ru-search {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  max-width: 620px;
  margin-bottom: 26px;
  padding: 9px 9px 11px;
  border: 1px solid var(--line);
  background: var(--search-bg);
  box-shadow: var(--search-shadow);
  clip-path: var(--radius-notch);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.ru-search:focus-within {
  border-color: var(--line-strong);
  box-shadow: var(--search-focus-shadow);
}
.ru-search.is-invalid {
  border-color: rgba(var(--red-rgb), 0.75);
  animation: search-shake 0.32s ease;
}
@keyframes search-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  55% { transform: translateX(4px); }
  78% { transform: translateX(-2px); }
}
.ru-search::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9);
}
.ru-search-icon {
  display: grid;
  place-items: center;
  color: var(--accent);
  width: 46px;
  height: 46px;
}
.ru-search-icon .icon { width: 21px; height: 21px; }
.ru-search input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.ru-search input::placeholder { color: var(--muted-2); opacity: 1; }
.ru-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ru-search-btn {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--btn-bg);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  clip-path: var(--radius-notch-sm);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.ru-search-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ru-search-btn .icon { width: 16px; height: 16px; }

.ru-search-hint {
  grid-column: 1 / -1;
  margin: 7px 0 0 46px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ru-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 3px 0 0 46px;
}
.ru-chip {
  display: inline-block;
  padding: 4px 9px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ru-chip:hover {
  color: var(--accent-hot);
  border-color: var(--line);
  background: rgba(var(--accent-rgb), 0.08);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-neutral);
  padding-top: 18px;
}
.hero-specs span {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  padding: 0 22px;
  border-left: 1px solid var(--line-neutral);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-specs span:first-child { padding-left: 0; border-left: 0; }
.hero-specs strong {
  margin-bottom: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* Hero media / monitor */
.hero-media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  justify-self: end;
}
.media-reticle {
  position: absolute;
  left: -66px;
  bottom: -54px;
  width: 178px;
  height: 178px;
  border: 1px dashed rgba(var(--accent-rgb), 0.3);
  border-radius: 50%;
  pointer-events: none;
  animation: reticle-spin 28s linear infinite;
}
.media-reticle::before,
.media-reticle::after {
  content: "";
  position: absolute;
  background: rgba(var(--accent-rgb), 0.34);
}
.media-reticle::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.media-reticle::after { top: 50%; left: -10px; right: -10px; height: 1px; }
@keyframes reticle-spin { to { transform: rotate(360deg); } }

.monitor {
  position: relative;
  padding: 8px;
  background: var(--monitor-bg);
  border: 1px solid var(--monitor-border);
  clip-path: var(--radius-notch);
  box-shadow: var(--monitor-shadow);
}
.monitor::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 2px;
  background: var(--accent-hot);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.85);
  z-index: 3;
}
.monitor-bar,
.monitor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  color: var(--monitor-text);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.monitor-bar { border-bottom: 1px solid var(--line-neutral); }
.monitor-foot { border-top: 1px solid var(--line-neutral); }
.monitor-label { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hot); white-space: nowrap; }
.monitor-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 9px var(--red);
  animation: rec-blink 1.4s steps(2, jump-none) infinite;
}
@keyframes rec-blink { 50% { opacity: 0.3; } }
.monitor-location { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-time { color: var(--accent-hot); white-space: nowrap; }
.monitor-coords { color: var(--muted-2); }

.carousel { position: relative; }
.carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.65s ease, transform 0.9s ease;
  pointer-events: none;
}
.carousel-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 17, 0.35) 0%, rgba(3, 9, 17, 0.02) 34%, rgba(3, 9, 17, 0.14) 58%, rgba(3, 9, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 14, 27, 0.3), transparent 55%);
}
.slide-overlay {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}
.slide-query {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 12, 23, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  clip-path: var(--radius-notch-sm);
}
.slide-query .icon { width: 13px; height: 13px; color: var(--accent-hot); }

.carousel-slide figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.carousel-slide figcaption > span {
  color: var(--accent-hot);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding-right: 11px;
}
.carousel-slide figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.carousel-slide figcaption small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px 3px;
}
.carousel-dots { display: flex; align-items: center; gap: 7px; }
.carousel-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--dot);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}
.carousel-dot:hover { background: var(--muted-2); }
.carousel-dot.is-active { width: 38px; background: var(--accent-hot); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6); }
.carousel-nav { display: flex; gap: 6px; }
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-neutral);
  background: var(--panel-2);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.carousel-arrow:hover {
  color: var(--accent-hot);
  border-color: var(--line-strong);
  background: rgba(var(--accent-rgb), 0.08);
}
.carousel-arrow .icon { width: 15px; height: 15px; }

.media-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.media-corner-tl { left: -13px; top: -13px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.media-corner-br { right: -13px; bottom: -13px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); }

/* --------------------------------------------------------------------------
   Section common
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(70px, 8.5vw, 108px) 0; }
.section-header { max-width: 720px; margin-bottom: 42px; }
.section-kicker,
.cta-kicker,
.modal-kicker { margin-bottom: 14px; }
.section-header h2,
.modes-copy h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
}
.section-header > p:last-child,
.modes-copy > p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features { background: var(--bg-2); border-top: 1px solid rgba(255, 255, 255, 0.04); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line-neutral);
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(var(--accent-rgb), var(--card-glow)), transparent 52%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--line); }
.feature-card:hover::before { opacity: 1; }
.card-index {
  position: absolute;
  right: 20px;
  top: 14px;
  color: rgba(var(--accent-rgb), 0.16);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent-hot);
  clip-path: var(--radius-notch-sm);
}
.feature-icon .icon { width: 23px; height: 23px; }
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.card-corner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0.5;
  transition: width 0.28s ease, height 0.28s ease, opacity 0.28s ease;
}
.feature-card:hover .card-corner { width: 40px; height: 40px; opacity: 1; }
.feature-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}
.feature-note span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Sites directory
   -------------------------------------------------------------------------- */
.sites { background: var(--bg); }
.sites-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}
.sites-header > div:first-child { max-width: 660px; }
.sites-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 24px;
  border-left: 1px solid var(--line-neutral);
  line-height: 1;
  white-space: nowrap;
}
.sites-meta span,
.sites-meta small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}
.sites-meta strong {
  margin: 4px 0 5px;
  color: var(--accent-hot);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}
.filter-btn {
  min-height: 32px;
  padding: 4px 13px;
  border: 1px solid var(--line-neutral);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--line); }
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.sites-count {
  margin: 0 0 0 auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.site-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid var(--line-neutral);
  background: var(--site-bg);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.site-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: var(--site-bg-hover);
}
.site-mono {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  clip-path: var(--radius-notch-sm);
}
.site-body { min-width: 0; }
.site-body strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-body strong em {
  margin-left: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.site-body > span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-tag {
  padding: 2px 6px;
  border: 1px solid var(--line-neutral);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.site-arrow { width: 15px; height: 15px; color: var(--muted-2); transition: color 0.2s ease, transform 0.2s ease; }
.site-card:hover .site-arrow { color: var(--brand); transform: translateX(3px); }
.site-card[hidden] { display: none; }
.sites-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.sites-note .icon { width: 13px; height: 13px; flex: 0 0 auto; color: var(--muted); }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.modes {
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.modes-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(42px, 6vw, 80px);
}
.modes-copy h2 { margin-bottom: 16px; }
.modes-list {
  list-style: none;
  margin: 30px 0 24px;
  padding: 0;
  border-top: 1px solid var(--line-neutral);
}
.modes-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-neutral);
}
.modes-list li > span {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.modes-list strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.4; }
.modes-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.modes-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.modes-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.modes-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}
.visual-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #040b14;
  clip-path: var(--radius-notch);
  box-shadow: var(--shadow);
}
.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 17, 0.55) 0%, transparent 30%, transparent 58%, rgba(3, 9, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 14, 27, 0.35), transparent 50%);
  pointer-events: none;
}
.visual-frame > img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
}
.visual-top {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}
.visual-live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hot); }
.visual-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.visual-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
}
.visual-caption span {
  display: block;
  color: var(--accent-hot);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.visual-caption strong { display: block; margin-top: 3px; color: #fff; font-size: 14px; font-weight: 800; }

.float-card {
  position: absolute;
  z-index: 3;
  padding: 11px 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  background: var(--float-bg);
  color: var(--float-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: var(--radius-notch-sm);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.float-weather { left: -22px; top: 74px; min-width: 132px; }
.float-rate { right: -24px; bottom: 54px; min-width: 168px; }
.float-kicker {
  display: block;
  color: var(--float-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.float-card strong {
  display: block;
  margin: 3px 0 1px;
  color: #7cd4ff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}
.float-card small { display: block; color: var(--float-muted); font-size: 10px; }
.rate-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-top: 8px;
}
.rate-bars i { width: 6px; background: rgba(var(--accent-rgb), 0.45); }
.rate-bars i:nth-child(1) { height: 30%; }
.rate-bars i:nth-child(2) { height: 55%; }
.rate-bars i:nth-child(3) { height: 40%; }
.rate-bars i:nth-child(4) { height: 75%; }
.rate-bars i:nth-child(5) { height: 62%; }
.rate-bars i:nth-child(6) { height: 88%; background: var(--accent); }
.rate-bars i:nth-child(7) { height: 100%; background: var(--accent-hot); }
.visual-tick { position: absolute; width: 26px; height: 26px; pointer-events: none; }
.visual-tick-tl { left: -12px; top: -12px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.visual-tick-br { right: -12px; bottom: -12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { background: var(--bg); }
.faq-container { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line-neutral);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-bottom-color: var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  color: var(--text);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-item summary:hover { color: var(--accent-hot); }
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); color: var(--accent-hot); }
.faq-item p {
  max-width: 760px;
  margin: -2px 0 0;
  padding: 0 2px 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}
.faq-item p a { color: var(--accent-hot); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--cta-line);
  border-bottom: 1px solid var(--cta-line);
  background: var(--cta-bg);
  color: var(--cta-text);
  isolation: isolate;
}
.cta-stripes {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background: repeating-linear-gradient(128deg, var(--cta-stripe) 0 1px, transparent 1px 13px);
  mask-image: linear-gradient(90deg, transparent, black 35%, black 72%, transparent);
}
.cta-glow {
  position: absolute;
  right: 8%;
  top: -55%;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 212, 255, 0.22), transparent 66%);
  filter: blur(8px);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: clamp(48px, 6vw, 70px);
  padding-bottom: clamp(48px, 6vw, 70px);
}
.cta-copy h2 {
  margin-bottom: 12px;
  color: var(--cta-text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.cta-copy h2 b { color: var(--cta-accent); }
.cta-copy p:last-child {
  margin-bottom: 0;
  color: var(--cta-muted);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.cta-heading-line { white-space: nowrap; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.cta-ghost {
  border-color: var(--cta-line);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.cta-kicker { color: var(--cta-accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--bg-3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.55fr) minmax(0, 0.55fr);
  gap: 44px;
  padding: 58px 0 40px;
}
.footer-brand p {
  max-width: 350px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.footer-domain {
  color: var(--accent) !important;
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.12em;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  column-gap: 16px;
}
.footer-nav h2 {
  grid-column: 1 / -1;
  margin: 3px 0 12px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-nav a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--accent-hot); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line-neutral);
}
.footer-copy {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.footer-disclaimer {
  max-width: 720px;
  margin: 0;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.75;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Entry modal
   -------------------------------------------------------------------------- */
.entry-modal {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.entry-modal::backdrop {
  background: rgba(2, 6, 12, 0.74);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.entry-panel {
  position: relative;
  max-height: calc(100vh - 40px);
  padding: 34px 34px 28px;
  border: 1px solid var(--line-strong);
  background: var(--entry-bg);
  clip-path: var(--radius-notch);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
}
.entry-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 84px;
  height: 2px;
  background: var(--accent-hot);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.9);
}
.entry-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-neutral);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.entry-close:hover { color: var(--accent-hot); border-color: var(--line); background: rgba(var(--accent-rgb), 0.08); }
.entry-close .icon { width: 16px; height: 16px; }
.entry-panel h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.entry-subtitle { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.entry-options { display: grid; gap: 9px; }
.entry-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-neutral);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.entry-card:hover {
  border-color: var(--line-strong);
  background: rgba(var(--accent-rgb), 0.075);
  transform: translateX(3px);
}
.entry-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-hot);
  clip-path: var(--radius-notch-sm);
}
.entry-icon .icon { width: 21px; height: 21px; }
.entry-copy strong { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.4; }
.entry-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.entry-arrow { width: 17px; height: 17px; color: var(--muted-2); }
.entry-card:hover .entry-arrow { color: var(--accent-hot); }
.entry-card-alt .entry-icon { border-color: rgba(var(--red-rgb), 0.3); background: rgba(var(--red-rgb), 0.07); color: #ff8b9a; }
.entry-card-alt:hover { border-color: rgba(var(--red-rgb), 0.45); background: rgba(var(--red-rgb), 0.06); }
.entry-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.045);
}
.entry-note span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding-top: 3px;
}
.entry-note p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.entry-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.entry-help .icon { width: 13px; height: 13px; }
.entry-help:hover { color: var(--accent-hot); }
.entry-modal[open] { animation: modal-in 0.25s ease both; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Legal / contact pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(52px, 7vw, 84px) 0 42px;
  border-bottom: 1px solid var(--line-neutral);
  background:
    radial-gradient(circle at 80% 10%, rgba(var(--accent-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.page-hero p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.page-updated {
  margin-top: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.page-main { padding: clamp(44px, 6vw, 70px) 0 clamp(64px, 8vw, 90px); }

.prose { max-width: 820px; }
.prose h2 {
  position: relative;
  margin: 36px 0 12px;
  padding-left: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}
.prose h2:first-child { margin-top: 0; }
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 3px;
  height: 1em;
  background: var(--accent);
}
.prose p { margin-bottom: 13px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.prose ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.prose li { margin-bottom: 5px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-hot); text-decoration: underline; text-underline-offset: 3px; }
.prose .note-box {
  margin: 26px 0;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.045);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.prose .note-box strong { display: block; margin-bottom: 4px; color: var(--accent-hot); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.contact-card {
  padding: 24px 22px;
  border: 1px solid var(--line-neutral);
  background: var(--card-bg);
}
.contact-card .feature-icon { margin-bottom: 16px; }
.contact-card h2 { margin: 0 0 8px; font-size: 17px; }
.contact-card p { margin-bottom: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.contact-card a { color: var(--accent-hot); font-size: 13px; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
.contact-card small { display: block; margin-top: 8px; color: var(--muted-2); font-size: 10.5px; }

.notfound {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
}
.notfound h1 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}
.notfound p { margin-bottom: 24px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Light theme refinements
   -------------------------------------------------------------------------- */
[data-theme="light"] .hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(37, 99, 235, 0.1), transparent 33%),
    radial-gradient(circle at 96% 74%, rgba(225, 29, 72, 0.045), transparent 26%),
    radial-gradient(circle at 8% 70%, rgba(37, 99, 235, 0.05), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg-2) 100%);
}
[data-theme="light"] .hero-watermark { -webkit-text-stroke: 1px rgba(37, 99, 235, 0.09); }
[data-theme="light"] .hero h1 { text-shadow: none; }
[data-theme="light"] .hero h1 .accent { text-shadow: 0 0 28px rgba(37, 99, 235, 0.16); }
[data-theme="light"] .hero::after {
  background: linear-gradient(180deg, transparent, var(--bg-2));
}
[data-theme="light"] .site-header::before { opacity: 0.94; }
[data-theme="light"] .feature-icon { background: rgba(37, 99, 235, 0.055); }
[data-theme="light"] .entry-card { background: rgba(255, 255, 255, 0.72); }
[data-theme="light"] .entry-card:hover { background: rgba(37, 99, 235, 0.06); }
[data-theme="light"] .entry-note { background: rgba(37, 99, 235, 0.05); }
[data-theme="light"] .entry-panel { box-shadow: 0 34px 90px rgba(23, 52, 92, 0.26); }
[data-theme="light"] .entry-modal::backdrop { background: rgba(10, 22, 40, 0.5); }
[data-theme="light"] .entry-close:hover { background: rgba(37, 99, 235, 0.07); }
[data-theme="light"] .monitor::before { background: var(--accent); }
[data-theme="light"] .monitor-label,
[data-theme="light"] .monitor-time { color: var(--accent-hot); }
[data-theme="light"] .site-header.is-scrolled { box-shadow: 0 12px 36px rgba(23, 52, 92, 0.08); }
[data-theme="light"] .footer-domain { color: var(--accent); }
[data-theme="light"] .nav-backdrop { background: rgba(10, 22, 40, 0.42); }

/* --------------------------------------------------------------------------
   Motion / reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.features-grid > [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.features-grid > [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.cta-inner > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .site-nav-inner { gap: 20px; }
  .hero-inner { gap: 38px; }
  .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-media { max-width: 700px; justify-self: center; }
  .hero h1 { font-size: clamp(2.7rem, 7vw, 3.9rem); }
  .media-reticle { width: 150px; height: 150px; left: -42px; bottom: -42px; }
  .modes-inner { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .modes-visual { justify-self: start; max-width: 440px; }
  .float-weather { left: -14px; }
  .float-rate { right: -14px; }
}

@media (max-width: 900px) {
  .nav-right { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    z-index: 180;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  [data-theme="light"] .site-nav {
    background: linear-gradient(180deg, #ffffff, #f4f9ff);
  }
  .nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
  }
  .site-nav-inner > a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line-neutral);
    font-size: 15px;
  }
  .site-nav-inner > a::after { display: none; }
  .site-nav-inner .nav-entry { margin-top: 14px; width: 100%; }
  .nav-toggle { display: block; }
  .nav-shell { position: relative; z-index: 190; }
  .sites-header { display: block; }
  .sites-meta { display: none; }
  .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card { min-height: 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr) minmax(0, 0.5fr); gap: 28px; }
  .footer-bottom { display: block; }
  .footer-disclaimer { margin-top: 10px; text-align: left; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .site-header,
  .nav-shell { min-height: 64px; }
  .site-nav { top: 64px; }
  .nav-backdrop { inset: 64px 0 0; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-copy strong { font-size: 17px; }
  .logo-copy small { font-size: 8px; }
  .hero { padding-top: 34px; }  .hero-badges { gap: 6px; }
  .hero-subtitle { font-size: 14px; }
  .ru-search { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 8px 8px 10px; }
  .ru-search-icon { width: 38px; height: 42px; }
  .ru-search input { height: 42px; font-size: 14px; }
  .ru-search-btn { height: 44px; padding: 0 15px; font-size: 13px; }
  .ru-search-btn .icon { display: none; }
  .ru-search-hint, .ru-chips { margin-left: 38px; }
  .ru-search-hint { margin-top: 5px; }
  .hero-actions { gap: 9px; }
  .btn-lg { min-height: 50px; padding: 12px 20px; font-size: 14px; }
  .hero-specs span { min-width: 33.33%; padding: 0 12px; font-size: 8px; }
  .hero-specs strong { font-size: 15px; }
  .monitor-bar, .monitor-foot { font-size: 7px; letter-spacing: 0.08em; }
  .monitor-location { max-width: 42%; }
  .carousel-slide figcaption strong { font-size: 13px; }
  .carousel-slide figcaption small { font-size: 7.5px; }
  .media-reticle { display: none; }
  .media-corner-tl { left: -7px; top: -7px; }
  .media-corner-br { right: -7px; bottom: -7px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 30px; }
  .sites-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .site-card { min-height: 72px; }
  .site-tag { display: none; }
  .site-card { grid-template-columns: 42px minmax(0, 1fr) 16px; }
  .site-filters { gap: 6px; }
  .filter-btn { padding: 4px 10px; font-size: 11px; }
  .sites-count { width: 100%; margin: 2px 0 0; }
  .float-weather { top: 44px; left: -8px; }
  .float-rate { right: -8px; bottom: 34px; }
  .float-card { padding: 9px 11px; }
  .float-card strong { font-size: 22px; }
  .float-weather { min-width: 116px; }
  .float-rate { min-width: 148px; }
  .faq-item summary { font-size: 15px; padding: 18px 0; }
  .faq-item p { font-size: 13px; }
  .cta-copy h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .cta-heading-line { white-space: normal; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: 44px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .entry-panel { padding: 28px 20px 22px; }
  .entry-card { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 11px; padding: 12px; }
  .entry-icon { width: 40px; height: 40px; }
  .entry-copy small { font-size: 10.5px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding-top: 38px; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: clamp(2.25rem, 10.6vw, 2.85rem); }
  .eyebrow { font-size: 9px; letter-spacing: 0.12em; }
  .hero-badges { margin-bottom: 16px; }
  .hero-badge { font-size: 10px; }
  .ru-search input::placeholder { font-size: 12.5px; }
  .ru-search-hint { display: none; }
  .ru-chips { margin-top: 7px; margin-left: 0; }
  .ru-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .ru-chips::-webkit-scrollbar { display: none; }
  .ru-chip { flex: 0 0 auto; font-size: 10px; padding: 3px 7px; }
  .hero-specs span { padding: 0 8px; }
  .hero-specs strong { font-size: 14px; }
  .hero-specs { gap: 10px 0; }
  .monitor { padding: 6px; }
  .slide-query { font-size: 8px; padding: 5px 8px; }
  .carousel-dot { width: 16px; }
  .carousel-dot.is-active { width: 28px; }
  .sites-count { font-size: 8px; }
  .sites-note { font-size: 8.5px; }
  .float-weather { left: -4px; top: 38px; transform: scale(0.92); transform-origin: left top; }
  .float-rate { right: -4px; bottom: 30px; transform: scale(0.92); transform-origin: right bottom; }
  .footer-copy { font-size: 8.5px; white-space: normal; }
  .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 360px) {
  .logo-copy small { display: none; }
  .nav-right { gap: 6px; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { width: 40px; height: 40px; padding: 9px; }
  .footer-nav { column-gap: 10px; }
  .footer-nav a { font-size: 11.5px; }
}
