:root {
  --bg: #080b14;
  --panel: #101522;
  --panel-2: #151b2a;
  --line: rgba(219, 228, 255, 0.14);
  --text: #f7f9ff;
  --muted: #a6b0c8;
  --blue: #5d79ff;
  --cyan: #35d0f2;
  --purple: #b066ff;
  --green: #39d6aa;
  --max: 1240px;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; background: white; color: #070a12; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow { color: #8fa2ff; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 20, .94);
  backdrop-filter: blur(18px);
}
.header-row { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; width: 174px; flex: 0 0 auto; }
.brand img { display: block; width: 170px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { color: #c8d0e3; font-size: 14px; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { color: white; }
.header-action { margin-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: white; }

.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 34px rgba(72, 96, 255, .2); }
.btn-secondary { background: transparent; color: white; border-color: rgba(213, 222, 255, .27); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 13px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: #9fb0ff; font-weight: 750; }
.text-link::after { content: "→"; }

.hero { position: relative; overflow: hidden; padding: 92px 0 64px; min-height: 720px; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M64 0H0V64' fill='none' stroke='%23768bd9' stroke-opacity='.07'/%3E%3C/svg%3E"); opacity: .8; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 68px; align-items: center; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(46px, 6vw, 84px); font-weight: 780; }
h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 750; }
h3 { font-size: 24px; }
.hero h1 span { color: #8fa2ff; }
.hero-copy > p { max-width: 720px; margin: 26px 0 32px; color: #bbc5da; font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #cbd3e5; background: rgba(255,255,255,.025); font-size: 13px; }

.system-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.system-ring { position: absolute; border: 1px solid rgba(113, 133, 255, .28); border-radius: 50%; }
.ring-1 { width: 430px; height: 430px; }
.ring-2 { width: 330px; height: 330px; border-color: rgba(53,208,242,.25); }
.ring-3 { width: 230px; height: 230px; border-color: rgba(176,102,255,.35); }
.system-core { position: relative; z-index: 2; width: 148px; height: 148px; border-radius: 42px; display: grid; place-items: center; background: #10162b; border: 1px solid rgba(143, 162, 255, .55); box-shadow: 0 0 80px rgba(93,121,255,.22); text-align: center; font-weight: 850; letter-spacing: .08em; }
.signal { position: absolute; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 20px currentColor; }
.signal::after { content: attr(data-label); position: absolute; white-space: nowrap; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #111625; color: #dce3f6; font-size: 12px; font-weight: 700; }
.s1 { top: 72px; left: 94px; color: #35d0f2; background: currentColor; }
.s1::after { left: 16px; top: -16px; }
.s2 { top: 122px; right: 42px; color: #b066ff; background: currentColor; }
.s2::after { right: 16px; top: -16px; }
.s3 { bottom: 100px; right: 90px; color: #39d6aa; background: currentColor; }
.s3::after { right: 16px; top: -16px; }
.s4 { bottom: 72px; left: 70px; color: #ff69b9; background: currentColor; }
.s4::after { left: 16px; top: -16px; }

.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: #0c101b; border-block: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); align-items: end; gap: 40px; margin-bottom: 44px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.metric { padding: 28px; min-height: 148px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 13px; font-size: 38px; line-height: 1; }
.metric span { color: var(--muted); }

.contours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contour { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; }
.contour-index { color: #7988b5; font-size: 12px; letter-spacing: .14em; font-weight: 800; }
.contour h3 { margin: auto 0 14px; }
.contour p { margin: 0 0 18px; color: var(--muted); }
.contour a { color: #9fb0ff; font-weight: 750; }

.catalog-tools { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #aeb8cf; cursor: pointer; }
.filter-button.active, .filter-button:hover { background: #1a2134; color: white; border-color: rgba(127,146,255,.5); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-card { position: relative; min-height: 330px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--card-accent, var(--blue)); }
.product-card:hover { border-color: rgba(137,155,255,.45); }
.product-top { display: flex; justify-content: space-between; gap: 15px; color: #7988a9; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin: 42px 0 14px; }
.product-card p { margin: 0; color: var(--muted); }
.product-card .product-bottom { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; gap: 10px; align-items: end; }
.registry-badge { display: inline-flex; align-items: center; gap: 7px; color: #b9e8d9; font-size: 12px; }
.registry-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #39d6aa; box-shadow: 0 0 12px rgba(57,214,170,.7); }
.catalog-note { margin-top: 24px; padding: 18px 20px; border-left: 3px solid #7c8fff; background: #101625; color: #bac4da; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-step { min-height: 220px; padding: 24px; background: var(--panel); border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step b { display: block; margin-bottom: 60px; color: #8fa2ff; font-size: 13px; }
.process-step h3 { font-size: 19px; margin-bottom: 11px; }
.process-step p { color: var(--muted); font-size: 14px; margin: 0; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-card { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.trust-card h3 { margin: 28px 0 14px; font-size: 28px; }
.trust-card p { color: var(--muted); max-width: 600px; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 27px; border-top: 1px solid var(--line); color: #d0d7e8; }
.check-list li::before { content: "✓"; position: absolute; left: 1px; color: #55dbb7; font-weight: 900; }

.cta { padding: 46px; border: 1px solid rgba(132,151,255,.4); border-radius: 28px; background: #11172a; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta h2 { max-width: 800px; font-size: clamp(32px, 4vw, 54px); }
.cta p { color: var(--muted); font-size: 18px; }

.page-hero { padding: 104px 0 68px; border-bottom: 1px solid var(--line); background: #0b0f1b; }
.page-hero h1 { max-width: 1000px; font-size: clamp(44px, 6vw, 76px); }
.page-hero p { max-width: 780px; margin: 24px 0 0; color: #bbc5d9; font-size: 20px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #8390ac; font-size: 13px; }
.breadcrumbs span::before { content: "/"; margin-right: 8px; }

.product-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.product-id { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #101522; }
.product-id-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-id-row:last-child { border-bottom: 0; }
.product-id-row span { color: #7886a3; font-size: 13px; }
.product-id-row strong { font-size: 14px; font-weight: 650; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.feature-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.aside-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.aside-panel h3 { margin-bottom: 15px; }
.aside-panel p { color: var(--muted); }
.registry-box { border-color: rgba(57,214,170,.32); }
.registry-number { display: block; margin: 16px 0 7px; font-size: 38px; font-weight: 800; }
.notice { padding: 18px; border: 1px solid rgba(255,190,92,.28); border-radius: 14px; background: rgba(255,190,92,.05); color: #e0c99f; }
.formal-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.formal-row { display: grid; grid-template-columns: 270px 1fr; background: var(--panel); border-bottom: 1px solid var(--line); }
.formal-row:last-child { border-bottom: 0; }
.formal-row > div { padding: 20px 22px; }
.formal-row > div:first-child { color: #8c99b6; border-right: 1px solid var(--line); font-size: 14px; }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; }
.doc-card b { color: #8fa2ff; font-size: 12px; letter-spacing: .09em; }
.doc-card h3 { margin: 30px 0 12px; font-size: 21px; }
.doc-card p { color: var(--muted); margin: 0; }
.doc-card a { margin-top: auto; padding-top: 20px; color: #9fb0ff; font-weight: 750; }

.company-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.company-facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.company-fact { padding: 18px 20px; background: var(--panel); border-bottom: 1px solid var(--line); }
.company-fact:last-child { border-bottom: 0; }
.company-fact span { display: block; color: #7f8daa; font-size: 12px; margin-bottom: 5px; }
.company-copy p { color: #bbc5d9; font-size: 18px; }

.request-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; align-items: start; }
.request-context { position: sticky; top: 110px; }
.form-frame { min-height: 650px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.form-frame iframe { width: 100%; height: 760px; border: 0; display: block; }
.form-frame .b24-form { min-height: 620px; }
.contact-stack { display: grid; gap: 12px; margin-top: 30px; }
.contact-stack a { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }

.site-footer { padding: 58px 0 34px; border-top: 1px solid var(--line); background: #070a11; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 36px; }
.footer-brand p { max-width: 360px; color: var(--muted); }
.footer-col b { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8794af; }
.footer-col a, .footer-col span { display: block; margin: 9px 0; color: #ccd3e3; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: #74809b; font-size: 12px; }

@media (max-width: 1040px) {
  .nav { display: none; position: absolute; top: 76px; inset-inline: 0; padding: 22px 20px 28px; background: #0b0f19; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .header-action { display: none; }
  .hero { min-height: auto; padding-top: 74px; }
  .hero-grid { grid-template-columns: 1fr; }
  .system-visual { min-height: 430px; }
  .contours { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2n) { border-right: 0; }
  .process-step:last-child { grid-column: 1 / -1; }
  .product-hero-grid, .request-layout { grid-template-columns: 1fr; }
  .request-context { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 154px; }
  .brand img { width: 152px; }
  .hero { padding: 62px 0 44px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: 45px; }
  .system-visual { min-height: 340px; transform: scale(.82); margin: -25px; }
  .ring-1 { width: 360px; height: 360px; }
  .ring-2 { width: 280px; height: 280px; }
  .ring-3 { width: 200px; height: 200px; }
  .s2 { right: 0; }
  .s1 { left: 26px; }
  .s3 { right: 26px; }
  .s4 { left: 12px; }
  .section, .section-tight { padding: 70px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .metric-row, .contours, .product-grid, .doc-grid, .trust-grid, .two-col, .company-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .process { display: grid; grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2n) { border-right: 0; }
  .process-step:last-child { grid-column: auto; }
  .product-card { min-height: 285px; }
  .page-hero { padding: 70px 0 48px; }
  .page-hero h1 { font-size: 43px; }
  .formal-row { grid-template-columns: 1fr; }
  .formal-row > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .cta { padding: 28px; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
