:root {
    color-scheme: dark;
    --bg: #020204; --panel: #0b1019; --line: #253040;
    --text: #f3f4f2; --muted: #adb9cb; --blue: #0165f3;
    --cyan: #05bdfc; --amber: #e2a86b;
    font: 16px/1.55 "Inter", "Segoe UI", sans-serif;
    color: var(--text); background: var(--bg);
  }
  * { box-sizing: border-box; }
  body { margin: 0; }
  a { color: inherit; text-decoration: none; }
  a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
  h1, h2, h3, p { margin: 0; }
  .wrap { width: min(1240px, calc(100% - 100px)); margin: auto; }
  header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid #242832; }
  .mast { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
  .brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 750; letter-spacing: -.03em; font-size: 20px; white-space: nowrap; }
  .brand img { width: 43px; height: 43px; border-radius: 50%; }
  nav { display: flex; gap: 31px; align-items: center; font-size: 14px; color: var(--muted); }
  nav a { padding: 9px 0; }
  nav a:hover, .text-link:hover { color: var(--cyan); }
  .client { padding: 9px 15px; border: 1px solid var(--line); border-radius: 7px; font-weight: 650; font-size: 13px; white-space: nowrap; }
  .hero { background: radial-gradient(ellipse at 80% 44%, #082343 0%, #040a13 40%, var(--bg) 73%); }
  .hero-grid { min-height: 523px; display: grid; grid-template-columns: 1.12fr 1fr; gap: 65px; align-items: center; padding-block: 76px; }
  .hero-title { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.065em; font-weight: 760; text-wrap: balance; }
  .hero-title span { display: block; color: var(--cyan); }
  .hero p:not(.hero-title) { max-width: 490px; margin-top: 26px; color: var(--muted); font-size: 18px; }
  .actions { margin-top: 32px; display: flex; gap: 13px; flex-wrap: wrap; }
  .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 17px; border-radius: 7px; font-weight: 700; font-size: 14px; border: 1px solid var(--line); }
  .primary { background: #0058d7; border-color: var(--blue); }
  .primary:hover { background: #0049b9; }
  .secondary:hover { border-color: var(--cyan); }
  .sample { position: relative; padding: 18px; border: 1px solid #304764; background: linear-gradient(145deg, #121d2f, #080d16 75%); border-radius: 15px; box-shadow: 0 23px 70px #0009, 0 0 40px #0165f322; }
  .sample::before { content: ""; position: absolute; top: -1px; right: 12%; left: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
  .sample-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .sample-head span { color: var(--muted); font-size: 11px; }
  .sample-body { padding-top: 18px; }
  .sample-body h2 { font-size: 21px; letter-spacing: -.035em; }
  .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 13px 0; }
  .metric { padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: #101927; }
  .metric small { display: block; color: var(--muted); font-size: 11px; }
  .metric strong { display: block; color: var(--cyan); font-size: 22px; }
  .metric:last-child strong { color: var(--amber); }
  .chart { border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: #090f19; }
  .chart strong { font-size: 12px; }
  .bars { height: 89px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; margin-top: 9px; padding-inline: 6px; border-bottom: 1px solid #304060; background: repeating-linear-gradient(to top, transparent 0 21px, #25334a 22px, transparent 23px); }
  .bars span { height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--cyan), var(--blue)); }
  .bars span:last-child { background: linear-gradient(var(--amber), #a65217); }
  .section { padding-block: 62px; border-top: 1px solid #242832; }
  .section h2 { font-size: clamp(30px, 4vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
  .intro { margin-top: 12px; color: var(--muted); max-width: 650px; }
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
  .card { display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(135deg, #101825, #090e16); }
  .card .category { color: var(--amber); font-size: 12px; font-weight: 700; }
  .card h3 { margin-top: 7px; font-size: 23px; letter-spacing: -.03em; }
  .card p { margin-top: 7px; color: var(--muted); font-size: 14px; }
  .text-link { margin-top: auto; padding-top: 17px; color: var(--cyan); font-size: 14px; font-weight: 700; }
  .modules { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 19px; padding: 0; list-style: none; }
  .modules li { padding: 6px 11px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
  .cases .card { background: var(--panel); }
  .contact { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
  .contact p { margin-top: 11px; color: var(--muted); }
  footer { padding: 22px 0; border-top: 1px solid #242832; font-size: 13px; color: var(--muted); }
  @media (max-width: 960px) {
    .wrap { width: min(1240px, calc(100% - 56px)); }
    .hero-grid { gap: 30px; }
    nav { gap: 16px; }
  }
  @media (max-width: 730px) {
    .wrap { width: calc(100% - 36px); }
    .mast { flex-wrap: wrap; gap: 8px 14px; padding-block: 12px 6px; }
    .mast nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 18px; font-size: 13px; }
    .mast nav a { padding: 10px 0; }
    .hero-grid, .contact { grid-template-columns: 1fr; }
    .hero-grid { padding-block: 47px 42px; gap: 32px; }
    .hero-title { font-size: clamp(40px, 10vw, 61px); }
    .hero p:not(.hero-title) { margin-top: 18px; font-size: 16px; }
    .actions { margin-top: 22px; }
    .sample { padding: 13px; }
    .section { padding-block: 41px; }
    .grid { grid-template-columns: 1fr; margin-top: 20px; }
  }
  html { scroll-padding-top: 128px; }
  .mast nav [aria-current], .client[aria-current] { color: var(--cyan); }
  .skip { position: fixed; top: 8px; left: 12px; z-index: 11; padding: 8px 12px; background: var(--panel); transform: translateY(-160%); }
  .skip:focus { transform: none; }
  button, input { font: inherit; }
  button { color: inherit; cursor: pointer; }
  :is(button,input):focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
  [hidden] { display: none !important; }
  .page-lead { padding-block: 78px 69px; background: radial-gradient(ellipse at 76% 20%, #082343, var(--bg) 68%); }
  .page-lead h1 { max-width: 20ch; font-size: clamp(38px, 5vw, 65px); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
  .page-lead .intro { font-size: 18px; }
  .eyebrow { margin-bottom: 13px; color: var(--amber); font-weight: 700; }
  .prose { max-width: 70ch; color: var(--muted); margin-top: 13px; }
  .prose p + p { margin-top: 16px; }
  .prose a { color: var(--cyan); text-decoration: underline; }
  .page-actions { padding-bottom: 58px; }
  .footer-inner { display: flex; gap: 22px; flex-wrap: wrap; }
  .footer-inner a:first-child { font-weight: 700; color: var(--text); }
  .story-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding-block: 22px; color: var(--muted); font-size: 13px; }
  .story-controls button { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; }
  .story-controls a:hover { color: var(--cyan); }
  [data-repeat] { min-height: 100svh; pointer-events: none; }
  .access { display: grid; justify-items: start; gap: 11px; margin-top: 22px; }
  .access input { color: var(--text); padding: 10px 12px; width: min(100%, 350px); background: var(--panel); border: 1px solid #69798d; border-radius: 7px; }
  .access [role="alert"]:empty { display: none; }
  .access [role="alert"] { color: var(--amber); }
  .bars span:nth-child(1) { --h: 37%; } .bars span:nth-child(2) { --h: 52%; }
  .bars span:nth-child(3) { --h: 46%; } .bars span:nth-child(4) { --h: 67%; }
  .bars span:nth-child(5) { --h: 61%; } .bars span:nth-child(6) { --h: 79%; }
  .bars span:nth-child(7) { --h: 72%; } .bars span:nth-child(8) { --h: 91%; }
  @media (prefers-reduced-motion: no-preference) {
    .has-reveal [data-reveal] .wrap { transition: transform 430ms ease; }
    .has-reveal [data-reveal]:not(.is-visible):not(:focus-within) .wrap { transform: translateY(17px); }
  }
  @media (max-width: 730px) {
    .page-lead { padding-block: 50px 43px; }
    .mast nav { gap: 0 13px; }
  }
