:root {
  --color-bg: #070B14;
  --color-surface: #101827;
  --color-surface-soft: #0c1320;
  --color-accent: #786CFF;
  --color-accent-light: #a49cff;
  --color-text: #F4F6FA;
  --color-muted: #9DA8BA;
  --color-line: rgba(157, 168, 186, 0.16);
  --container: 1180px;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-bg); scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--color-bg); color: var(--color-text); font-family: Manrope, Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.04em; }
h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(2.75rem, 6.3vw, 5.65rem); font-weight: 600; }
h2 { max-width: 720px; margin-bottom: 22px; font-size: clamp(2.15rem, 4.2vw, 4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--color-muted); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 154px); border-top: 1px solid var(--color-line); }
.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; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--color-text); color: var(--color-bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--color-accent-light); outline-offset: 4px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid var(--color-line); background: rgba(7, 11, 20, 0.8); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.brand b { color: var(--color-accent-light); font-weight: 600; }
.brand-mark { position: relative; width: 27px; height: 27px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; transform: skewY(-12deg); }
.brand-mark i { display: block; background: var(--color-accent); border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 58%; align-self: end; opacity: .65; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 75%; align-self: center; opacity: .82; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .82rem; color: #c0c7d2; }
.site-nav > a:not(.button):hover { color: var(--color-text); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--color-line); border-radius: 10px; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin-block: 6px; background: var(--color-text); transition: transform .2s ease; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 13px 22px; border: 1px solid var(--color-accent); border-radius: 10px; background: var(--color-accent); color: #fff; font-weight: 650; box-shadow: 0 12px 40px rgba(120, 108, 255, .2); transition: transform .2s ease, background-color .2s ease; }
.button:hover { background: #887eff; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 16px; border-radius: 8px; font-size: .78rem; }
.text-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(244, 246, 250, .35); padding-bottom: 3px; color: var(--color-text); font-weight: 600; }
.text-link:hover { border-color: var(--color-accent-light); color: var(--color-accent-light); }

.hero { min-height: 100svh; display: grid; align-items: center; padding: 138px 0 80px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .025; pointer-events: none; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 72px 72px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.eyebrow, .section-index { color: var(--color-accent-light); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 16px var(--color-accent); }
.hero-lead { max-width: 660px; margin-bottom: 35px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 46px 0 0; padding: 0; color: var(--color-muted); font-size: .76rem; list-style: none; }
.hero-notes li::before { content: "✓"; margin-right: 8px; color: var(--color-accent-light); }

.system-visual { position: relative; aspect-ratio: 1 / 1.08; min-height: 440px; }
.visual-glow { position: absolute; inset: 20%; border-radius: 50%; background: rgba(120, 108, 255, .3); filter: blur(70px); animation: breathe 6s ease-in-out infinite; }
.visual-grid { position: absolute; inset: 5%; border: 1px solid rgba(120, 108, 255, .2); border-radius: 50%; box-shadow: inset 0 0 80px rgba(120, 108, 255, .06); }
.visual-grid::before, .visual-grid::after { content: ""; position: absolute; inset: 18%; border: inherit; border-radius: inherit; }
.visual-grid::after { inset: 36%; }
.system-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--color-accent); stroke: rgba(164, 156, 255, .48); stroke-width: 1; }
.module { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(164, 156, 255, .28); border-radius: 10px; background: rgba(16, 24, 39, .84); box-shadow: var(--shadow); backdrop-filter: blur(12px); color: #dce0e8; font-size: .72rem; }
.module i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 12px var(--color-accent); }
.module-main { top: 42%; left: 50%; flex-direction: column; justify-content: center; width: 116px; height: 116px; transform: translate(-50%, -50%); border-radius: 24px; background: linear-gradient(145deg, rgba(120,108,255,.3), rgba(16,24,39,.92)); }
.module-main span { font-size: 1.45rem; font-weight: 800; letter-spacing: -.06em; }
.module-main small { color: var(--color-muted); font-size: .56rem; }
.module-a { top: 20%; left: 5%; }.module-b { top: 19%; right: 0; }.module-c { right: 5%; bottom: 14%; }
@keyframes breathe { 50% { transform: scale(1.16); opacity: .72; } }

.section-index { margin-bottom: 28px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 60px; align-items: end; }
.split-heading > p { max-width: 480px; margin-bottom: 24px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 68px; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.problem-grid article { min-height: 245px; padding: 30px 26px; border-right: 1px solid var(--color-line); }
.problem-grid article:first-child { border-left: 1px solid var(--color-line); }
.problem-grid article > span, .service-number { color: #667083; font-size: .7rem; letter-spacing: .12em; }
.problem-grid h3 { margin-top: 55px; }
.problem-grid p { margin-bottom: 0; font-size: .9rem; }

.services-section { background: var(--color-surface-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.service-card { position: relative; min-height: 450px; padding: 34px; overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius); background: rgba(16, 24, 39, .7); }
.service-card.featured { border-color: rgba(120, 108, 255, .42); background: linear-gradient(160deg, rgba(120,108,255,.15), var(--color-surface) 54%); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 54px 0 26px; border: 1px solid rgba(164,156,255,.3); border-radius: 12px; background: rgba(120,108,255,.1); color: var(--color-accent-light); font-size: 1.3rem; }
.service-card h3 { max-width: 260px; font-size: 1.5rem; }
.service-card p { font-size: .9rem; }
.service-card ul { margin: 28px 0 0; padding: 23px 0 0; border-top: 1px solid var(--color-line); color: #bdc5d1; font-size: .8rem; list-style: none; }
.service-card li { margin-top: 8px; }.service-card li::before { content: "—"; margin-right: 10px; color: var(--color-accent); }

.process-grid { margin: 70px 0 0; padding: 0; border-top: 1px solid var(--color-line); list-style: none; }
.process-grid li { display: grid; grid-template-columns: 110px 1fr; gap: 26px; padding: 34px 20px; border-bottom: 1px solid var(--color-line); }
.process-grid li > span { color: var(--color-accent-light); font-size: .75rem; }
.process-grid h3 { margin-bottom: 10px; font-size: 1.5rem; }
.process-grid p { max-width: 600px; margin: 0; }

.why-section { background: linear-gradient(135deg, rgba(120,108,255,.08), transparent 40%); }
.why-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(60px, 10vw, 140px); }
.why-grid > div:first-child { position: sticky; top: 120px; align-self: start; }
.why-grid .text-link { margin-top: 24px; }
.principles article { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--color-line); }
.principles article:first-child { padding-top: 0; }.principles article > span { color: var(--color-accent-light); font-size: .72rem; }.principles h3 { margin-bottom: 10px; }.principles p { margin: 0; font-size: .9rem; }

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 10vw, 150px); }
.faq-list { border-top: 1px solid var(--color-line); }
.faq-list details { border-bottom: 1px solid var(--color-line); }
.faq-list summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { color: var(--color-accent-light); font-size: 1.3rem; transition: transform .2s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { margin: -2px 36px 28px 0; font-size: .9rem; }

.quote-section { background: linear-gradient(145deg, #11182a, #090e18 72%); }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 140px); }
.direct-contact { margin-top: 55px; }.direct-contact small { display: block; margin-bottom: 8px; color: #667083; }.direct-contact a { display: inline-block; border-bottom: 1px solid var(--color-accent); color: var(--color-accent-light); }.direct-contact button { margin-left: 10px; border: 0; background: none; color: var(--color-muted); font-size: .7rem; cursor: pointer; }
.quote-form { padding: clamp(26px, 4vw, 46px); border: 1px solid var(--color-line); border-radius: var(--radius); background: rgba(7, 11, 20, .5); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.field { margin-bottom: 20px; }.field label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #d9dee7; font-size: .78rem; }.field label small { color: #697487; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #293247; border-radius: 9px; background: #0b111d; color: var(--color-text); padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }.field textarea { resize: vertical; }.field input::placeholder, .field textarea::placeholder { color: #647084; }.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(120,108,255,.12); outline: none; }.field [aria-invalid="true"] { border-color: #ff8d9a; }.field-error { display: block; min-height: 18px; margin-top: 4px; color: #ffadb6; font-size: .7rem; }
.check-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--color-muted); font-size: .72rem; }.check-field input { width: 17px; height: 17px; accent-color: var(--color-accent); }.submit-button { width: 100%; margin-top: 24px; border: 0; cursor: pointer; }.form-note, .form-status { margin: 12px 0 0; text-align: center; font-size: .68rem; }.form-status { min-height: 18px; color: var(--color-accent-light); }

.site-footer { border-top: 1px solid var(--color-line); padding-block: 34px; }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }.footer-inner p { margin: 0; font-size: .7rem; }

@media (max-width: 980px) {
  .hero-grid, .why-grid, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .system-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .problem-grid { grid-template-columns: 1fr 1fr; }.problem-grid article:nth-child(3) { border-left: 1px solid var(--color-line); }.problem-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--color-line); }
  .service-grid { grid-template-columns: 1fr; }.service-card { min-height: 0; }
  .why-grid > div:first-child { position: static; }.faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { width: calc(100% - 32px); position: absolute; top: 76px; left: 16px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--color-line); border-radius: 12px; background: #0d1422; box-shadow: var(--shadow); }
  .site-nav a { padding: 12px; }.site-nav .button { margin-top: 6px; }
  .js .site-nav { display: none; }.js .site-nav.is-open { display: flex; }
  .hero { padding-top: 118px; }.hero-grid { gap: 30px; }.system-visual { min-height: 330px; }.module { font-size: .62rem; }.module-main { width: 94px; height: 94px; }.module-a { left: 0; }.module-b { right: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 14px; }.problem-grid { margin-top: 46px; grid-template-columns: 1fr; }.problem-grid article, .problem-grid article:nth-child(3) { min-height: 0; border: 0; border-top: 1px solid var(--color-line); }.problem-grid article:first-child { border-top: 0; }.problem-grid h3 { margin-top: 30px; }
  .process-grid li { grid-template-columns: 44px 1fr; padding-inline: 0; }.field-row { grid-template-columns: 1fr; gap: 0; }.footer-inner { align-items: flex-start; flex-direction: column; }
}

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