:root {
  color-scheme: dark;
  --bg: #020407;
  --surface: rgba(10, 17, 28, .82);
  --surface-strong: #0b1320;
  --line: rgba(148, 163, 184, .18);
  --text: #f8fafc;
  --muted: #aab8ca;
  --blue: #38bdf8;
  --blue-strong: #0ea5e9;
  --cyan: #67e8f9;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 8%, rgba(14, 165, 233, .18), transparent 30%),
    radial-gradient(circle at 12% 34%, rgba(37, 99, 235, .10), transparent 26%),
    linear-gradient(180deg, #020407, #050a12 48%, #020407);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: white; color: black;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 4, 7, .78);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 170px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: #dbe7f4; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-cta {
  padding: 10px 18px; border: 1px solid rgba(103, 232, 249, .35);
  border-radius: 999px; background: rgba(14, 165, 233, .08);
}
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 25px; }

.breadcrumbs { padding-top: 28px; color: #8192a7; font-size: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #536175; }
.breadcrumbs a { text-decoration: none; }

.hero { padding: 78px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); align-items: center; gap: 70px; }
.eyebrow {
  margin: 0 0 20px; color: var(--cyan); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 6vw, 76px); }
h1 span { color: var(--blue); }
.hero-lead { max-width: 720px; margin: 28px 0 0; color: #c0ccda; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 700; transition: transform .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(103, 232, 249, .55); }
.button-primary { color: #001018; background: linear-gradient(135deg, var(--cyan), var(--blue)); border-color: transparent; }
.button-secondary { background: rgba(255, 255, 255, .035); }

.architecture-visual {
  position: relative; min-height: 430px; border: 1px solid var(--line); border-radius: 32px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, .18), rgba(6, 11, 19, .92) 62%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35); overflow: hidden;
}
.architecture-visual::before {
  content: ""; position: absolute; inset: 8%; border: 1px solid rgba(56, 189, 248, .12); border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(56, 189, 248, .025), 0 0 0 88px rgba(56, 189, 248, .018);
}
.visual-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 142px; height: 142px; display: grid; place-items: center; text-align: center;
  border-radius: 28px; border: 1px solid rgba(103, 232, 249, .45);
  background: linear-gradient(145deg, rgba(14, 165, 233, .28), rgba(2, 6, 23, .95));
  box-shadow: 0 0 50px rgba(14, 165, 233, .22); font-weight: 800;
}
.visual-node {
  position: absolute; padding: 9px 13px; border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 12px; background: rgba(7, 14, 24, .92); color: #c9d6e5; font-size: 13px;
}
.node-1 { left: 8%; top: 18%; }
.node-2 { right: 8%; top: 18%; }
.node-3 { left: 6%; bottom: 18%; }
.node-4 { right: 7%; bottom: 18%; }
.node-5 { left: 50%; top: 7%; transform: translateX(-50%); }
.node-6 { left: 50%; bottom: 7%; transform: translateX(-50%); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(7, 12, 20, .68); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

.section { padding: 100px 0; }
.section-compact { padding: 72px 0; }
.section-heading { max-width: 800px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.6vw, 54px); }
.section-heading p { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  padding: 30px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .75), rgba(5, 10, 18, .86));
}
.card-number { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(14, 165, 233, .14); color: var(--cyan); font-weight: 800; }
.card h3 { margin: 20px 0 12px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: 18px; color: var(--cyan); text-decoration: none; font-weight: 700; }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: start; }
.split h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }
.split-copy > p { margin-top: 0; color: var(--muted); font-size: 18px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding: 17px 18px 17px 50px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 20, 32, .55); }
.check-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--cyan); font-weight: 800; }

.process { counter-reset: process; display: grid; gap: 14px; }
.process-item {
  counter-increment: process; display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px; border-bottom: 1px solid var(--line);
}
.process-item::before { content: "0" counter(process); color: var(--blue); font-weight: 800; font-size: 18px; }
.process-item h3 { margin: 0 0 8px; font-size: 21px; }
.process-item p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(11, 19, 32, .66); }
.faq summary { cursor: pointer; padding: 22px 24px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cyan); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 24px 24px; color: var(--muted); }

.cta-panel {
  padding: 56px; border: 1px solid rgba(56, 189, 248, .28); border-radius: 30px;
  background: linear-gradient(135deg, rgba(14, 165, 233, .14), rgba(8, 15, 26, .92) 58%);
  text-align: center;
}
.cta-panel h2 { max-width: 800px; margin: 0 auto; font-size: clamp(34px, 4vw, 52px); }
.cta-panel p { max-width: 680px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.cta-panel .hero-actions { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: rgba(2, 4, 7, .74); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-brand img { width: 190px; }
.footer-brand p { max-width: 390px; color: var(--muted); font-size: 14px; }
.footer-title { margin: 0 0 16px; font-size: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: #718096; font-size: 12px; }

@media (max-width: 940px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 28px 20px; flex-direction: column; align-items: stretch; background: rgba(2,4,7,.98); border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding-top: 54px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .architecture-visual { min-height: 390px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { width: 150px; }
  .hero { padding: 44px 0 64px; }
  h1 { font-size: clamp(38px, 12vw, 56px); }
  .architecture-visual { min-height: 360px; }
  .visual-core { width: 116px; height: 116px; font-size: 14px; }
  .visual-node { padding: 7px 9px; font-size: 11px; }
  .trust-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 76px 0; }
  .section-compact { padding: 58px 0; }
  .card { padding: 24px; }
  .cta-panel { padding: 38px 22px; }
  .process-item { grid-template-columns: 44px 1fr; padding-inline: 8px; }
}

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