:root {
  --ink: #17131f;
  --muted: #676171;
  --paper: #f7f6f9;
  --white: #ffffff;
  --purple: #321078;
  --purple-deep: #160735;
  --purple-mid: #4a1da1;
  --blue: #1c78c1;
  --teal: #07999a;
  --line: rgba(30, 19, 49, 0.12);
  --shadow: 0 24px 80px rgba(26, 8, 64, 0.13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); 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; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--purple); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-stuck { position: fixed; background: rgba(22, 7, 53, .92); backdrop-filter: blur(18px); box-shadow: 0 10px 36px rgba(0,0,0,.16); }
.nav-wrap { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand img { width: 188px; }
.site-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.78); font-size: .88rem; font-weight: 650; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; padding: 11px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; background: white; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; padding: 168px 0 0; color: var(--white); background: radial-gradient(circle at 74% 34%, #3c1678 0, var(--purple-deep) 38%, #100526 78%); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; right: -180px; top: -190px; border-radius: 50%; background: rgba(5,158,161,.12); filter: blur(5px); }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, transparent, black 48%, black); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; grid-template-areas: "heading visual" "content visual"; align-content: center; column-gap: 50px; min-height: 550px; }
.hero-heading { grid-area: heading; align-self: end; }
.hero-content { grid-area: content; align-self: start; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 11px; color: #9adfe0; font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { display: block; width: 34px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.eyebrow-dark { color: var(--purple); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 5.35vw, 5.65rem); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.45vw, 1.22rem); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 23px; border-radius: 999px; font-size: .9rem; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(105deg, var(--blue), var(--teal)); box-shadow: 0 12px 35px rgba(0,151,155,.22); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-light { background: white; color: var(--purple); }

.hero-visual { position: relative; grid-area: visual; align-self: center; min-height: 500px; display: grid; place-items: center; }
.icon-stage { position: relative; z-index: 2; width: min(76%, 380px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.11), rgba(255,255,255,.025) 64%, transparent 65%); box-shadow: 0 0 100px rgba(39,119,201,.18); }
.icon-stage::before { content: ""; position: absolute; inset: 14%; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; animation: spin 28s linear infinite; }
.icon-stage img { position: relative; z-index: 2; width: 75%; }
.orbit { position: absolute; border: 1px solid rgba(109,209,209,.2); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 92%; aspect-ratio: 1.25; }
.orbit-two { width: 70%; aspect-ratio: 1.1; transform: rotate(24deg); }
.signal-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 9px 13px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; backdrop-filter: blur(12px); font-size: .73rem; font-weight: 650; box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.signal-card span { color: #6cd2d2; font-size: .61rem; }
.signal-card-one { top: 17%; left: 1%; }
.signal-card-two { right: 0; top: 43%; }
.signal-card-three { left: 7%; bottom: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }

.fact-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.fact-strip div { padding: 25px 22px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.fact-strip div:first-child { padding-left: 0; }
.fact-strip div:last-child { border: 0; }
.fact-strip strong, .fact-strip span { display: block; }
.fact-strip strong { font-size: .84rem; }
.fact-strip span { margin-top: 3px; color: rgba(255,255,255,.53); font-size: .77rem; }

.section { padding: 115px 0; }
.section-heading { max-width: 830px; }
.section-heading h2, .about h2, .product-copy h2, .approach h2, .contact h2 { margin: 0; font-size: clamp(2.25rem, 4.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 700px; margin: 25px 0 0; color: var(--muted); font-size: 1.05rem; }
.service-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 470px; padding: 30px; overflow: hidden; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 50px rgba(35,20,58,.05); }
.service-card-featured { color: white; background: linear-gradient(155deg, #321078, #160735); }
.service-number { color: var(--teal); font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.service-icon { width: 60px; height: 60px; margin-top: 54px; display: grid; place-items: center; border-radius: 18px; background: rgba(50,16,120,.07); }
.service-card-featured .service-icon { background: rgba(255,255,255,.1); }
.service-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); }
.service-card-featured .service-icon svg { color: #66cdce; }
.service-card h3 { margin: 28px 0 14px; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.02em; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card-featured p { color: rgba(255,255,255,.65); }
.service-card ul { width: 100%; margin: auto 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .74rem; }
.service-card-featured ul { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.service-card li::before { content: "·"; margin-right: 6px; color: var(--teal); }

.approach { color: white; background: var(--purple-deep); }
.approach-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 100px; align-items: start; }
.approach-intro { position: sticky; top: 140px; }
.approach-intro p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.62); }
.text-link { display: inline-flex; gap: 30px; margin-top: 24px; color: #74d1d1; font-size: .9rem; font-weight: 750; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 38px 0; border-top: 1px solid rgba(255,255,255,.14); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process-index { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal)); font-size: .69rem; font-weight: 850; }
.process-list h3 { margin: 0 0 9px; font-size: 1.75rem; }
.process-list p { margin: 0; max-width: 520px; color: rgba(255,255,255,.58); }

.products { background: #eceaf1; }
.product-panel { min-height: 560px; padding: 70px; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; background: white; border-radius: 34px; box-shadow: var(--shadow); }
.product-copy p:not(.eyebrow) { color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 13px; border-radius: 999px; color: var(--purple); background: rgba(50,16,120,.07); font-size: .75rem; font-weight: 750; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(7,153,154,.12); }
.product-window { overflow: hidden; border-radius: 21px; background: #f5f3f8; border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(30,8,75,.14); transform: rotate(2deg); }
.window-top { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 16px; background: #21103f; }
.window-top span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.window-body { min-height: 330px; padding: 45px; }
.window-mark { width: 66px; height: 66px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--purple), var(--teal)); border-radius: 20px; font-size: 2rem; font-weight: 900; }
.window-lines { margin: 36px 0; }
.window-lines span { display: block; height: 10px; margin-top: 12px; border-radius: 10px; background: #ded9e7; }
.window-lines span:nth-child(1) { width: 78%; background: #b6accb; }
.window-lines span:nth-child(2) { width: 100%; }
.window-lines span:nth-child(3) { width: 60%; }
.window-blocks { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 9px; }
.window-blocks span { height: 72px; border-radius: 14px; background: rgba(50,16,120,.09); }
.window-blocks span:nth-child(2) { background: rgba(28,120,193,.13); }
.window-blocks span:nth-child(3) { background: rgba(7,153,154,.13); }

.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; }
.about-mark { position: relative; min-height: 480px; display: grid; place-items: center; border-radius: 50% 50% 44% 56% / 54% 45% 55% 46%; background: radial-gradient(circle at 30% 30%, #fff, #e8e3f0); }
.about-mark::before, .about-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(50,16,120,.13); }
.about-mark::before { inset: 9%; }
.about-mark::after { inset: 19%; border-style: dashed; }
.about-mark img { position: relative; z-index: 2; width: 65%; }
.about-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.03rem; }
.company-facts { margin: 36px 0 0; border-top: 1px solid var(--line); }
.company-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { color: var(--muted); font-size: .77rem; }
.company-facts dd { margin: 0; font-size: .87rem; font-weight: 700; }

.contact { position: relative; overflow: hidden; padding: 115px 0; color: white; text-align: center; background: linear-gradient(115deg, var(--purple), #241052 55%, #073e58); }
.contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.contact::before { width: 560px; height: 560px; left: -300px; top: -200px; }
.contact::after { width: 440px; height: 440px; right: -180px; bottom: -290px; }
.contact-inner { position: relative; z-index: 2; }
.contact .eyebrow { justify-content: center; }
.contact h2 { max-width: 820px; margin-inline: auto; }
.contact p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.contact .button { margin-top: 25px; }

.site-footer { padding: 75px 0 24px; color: rgba(255,255,255,.63); background: #0d041f; }
.footer-grid { display: grid; grid-template-columns: 1.75fr repeat(3, 1fr); gap: 60px; }
.footer-brand img { width: 190px; }
.footer-brand p { max-width: 300px; }
.footer-grid h2 { margin: 0 0 19px; color: white; font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a, .footer-grid > div > p { display: block; margin: 9px 0; font-size: .8rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 65px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 30px; font-size: .7rem; }

.legal-header { position: relative; background: var(--purple-deep); }
.legal-header .site-header { position: relative; }
.legal-main { padding: 80px 0 120px; }
.legal-shell { max-width: 820px; }
.legal-main h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.05em; }
.legal-meta { color: var(--muted); }
.legal-content { margin-top: 54px; padding: 48px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-content h2 { margin: 34px 0 10px; color: var(--purple); font-size: 1.15rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 24px; font-size: 1rem; }
.legal-content p, .legal-content li { color: #4f4958; font-size: .92rem; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 14px 17px; border-left: 3px solid var(--teal); background: rgba(7,153,154,.07); }
.legal-nav { display: flex; }
.legal-footer-bottom { margin-top: 0; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid #65d0d1; outline-offset: 4px; }

@media (max-width: 980px) {
  .hero-layout, .approach-layout, .product-panel, .about-layout { grid-template-columns: 1fr; }
  .hero-layout { grid-template-areas: "heading" "content" "visual"; }
  .hero-heading { padding-top: 30px; }
  .hero-visual { min-height: 430px; margin-top: 50px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .approach-intro { position: static; }
  .approach-layout { gap: 70px; }
  .product-panel { padding: 50px; }
  .about-mark { min-height: 420px; max-width: 560px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 78px; }
  .brand img { width: 155px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 78px; left: 14px; right: 14px; display: none; padding: 20px; flex-direction: column; align-items: stretch; gap: 6px; color: rgba(255,255,255,.83); background: #211044; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 25px 60px rgba(0,0,0,.3); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .legal-header .site-nav { position: static; display: flex; padding: 0; flex-direction: row; align-items: center; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .legal-header .site-nav a { padding: 0; font-size: .75rem; }
  .hero { padding-top: 118px; }
  .hero-layout { min-height: auto; grid-template-areas: "heading" "visual" "content"; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .hero-visual { min-height: 390px; margin-top: 20px; }
  .signal-card-one { left: 0; }
  .signal-card-two { right: 0; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip div, .fact-strip div:first-child { padding: 19px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fact-strip div:nth-child(2) { border-right: 0; }
  .section { padding: 82px 0; }
  .service-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .service-card:last-child { grid-column: auto; }
  .product-panel { padding: 32px 22px; border-radius: 24px; gap: 50px; }
  .window-body { min-height: 270px; padding: 30px; }
  .about-layout { gap: 55px; }
  .about-mark { min-height: 340px; }
  .company-facts div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 2px; }
  .legal-main { padding: 60px 0 80px; }
  .legal-content { padding: 27px 21px; }
}

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