:root {
  --ink: #050b14;
  --navy: #07111f;
  --navy-2: #0b1a2d;
  --panel: #0d2035;
  --panel-2: #102841;
  --line: rgba(127, 212, 236, .18);
  --cyan: #22d3ee;
  --blue: #0ea5e9;
  --orange: #f97316;
  --orange-soft: #fdba74;
  --white: #f4faff;
  --muted: #9bb3c5;
  --danger: #fb7185;
  --success: #5eead4;
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 3%, rgba(14, 165, 233, .13), transparent 31rem),
    radial-gradient(circle at 6% 34%, rgba(249, 115, 22, .06), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(34, 211, 238, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--cyan); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 104px 0; }
.section-compact { padding: 72px 0; }
.section-tint { border-block: 1px solid var(--line); background: rgba(11, 26, 45, .52); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { width: 26px; height: 2px; background: var(--orange); content: ""; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 920px; font-size: clamp(2.8rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0; }
.lead { max-width: 740px; color: #bfd0dd; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .58fr); gap: 50px; align-items: end; margin-bottom: 48px; }
.section-heading > p { color: var(--muted); }
.accent { color: var(--cyan); }
.accent-warm { color: var(--orange-soft); }
.kicker { color: var(--orange-soft); font-weight: 700; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(5, 11, 20, .9); box-shadow: 0 10px 30px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; width: 265px; }
.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav > a { color: #c0d0db; font-size: .92rem; font-weight: 650; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--cyan); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; color: var(--white); border: 1px solid var(--line); background: var(--navy-2); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-cta { padding: .68rem 1rem; color: var(--ink) !important; background: var(--cyan); border-radius: 9px; }
.nav-cta:hover { background: #75e9f8; }

.hero { position: relative; display: grid; min-height: 760px; padding: 170px 0 90px; align-items: center; overflow: hidden; }
.hero::after {
  position: absolute;
  top: 7%;
  right: -15%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, .1);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(14, 165, 233, .05), 0 0 0 90px rgba(14, 165, 233, .018), 0 0 0 180px rgba(14, 165, 233, .012);
  content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 58px; align-items: center; }
.hero h1 strong { color: var(--cyan); font-weight: inherit; }
.hero .lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: .65rem; padding: .76rem 1.2rem; border: 1px solid var(--cyan); color: var(--ink); background: var(--cyan); border-radius: 10px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { background: #72e8f7; transform: translateY(-2px); }
.button-secondary { color: var(--white); border-color: var(--line); background: rgba(13, 32, 53, .65); }
.button-secondary:hover { border-color: var(--cyan); background: var(--panel); }
.button-warm { border-color: var(--orange); background: var(--orange); }
.button-warm:hover { background: var(--orange-soft); }
.hero-panel { position: relative; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(16,40,65,.9), rgba(7,17,31,.9)); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-panel::before { position: absolute; top: -1px; left: 30px; width: 70px; height: 3px; background: var(--orange); content: ""; }
.status { display: flex; align-items: center; gap: .7rem; margin-bottom: 23px; color: var(--success); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status::before { width: 9px; height: 9px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 6px rgba(94,234,212,.09); content: ""; }
.signal-list { display: grid; gap: 0; }
.signal-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.signal-row:last-child { padding-bottom: 0; border: 0; }
.signal-row strong { color: var(--white); text-align: right; }
.hero-visual-stack { display: grid; min-width: 0; gap: 18px; }
.visual-carousel { min-width: 0; padding: 10px; border: 1px solid rgba(34, 211, 238, .25); background: linear-gradient(145deg, rgba(16,40,65,.86), rgba(7,17,31,.92)); border-radius: var(--radius); box-shadow: var(--shadow); }
.visual-carousel-viewport { position: relative; aspect-ratio: 3 / 2; border-radius: 15px; overflow: hidden; touch-action: pan-y; }
.visual-slide { width: 100%; height: 100%; margin: 0; }
.visual-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: var(--white); border: 1px solid rgba(103, 232, 249, .35); background: rgba(5, 11, 20, .8); border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.28); cursor: pointer; transform: translateY(-50%); transition: color .2s ease, background .2s ease, border-color .2s ease; backdrop-filter: blur(10px); }
.carousel-arrow:hover { color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
.carousel-arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-footer { display: flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 7px 0; }
.carousel-dots { display: flex; align-items: center; gap: 9px; }
.carousel-dots button { width: 24px; height: 8px; padding: 0; border: 0; background: #31516a; border-radius: 999px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dots button[aria-current="true"] { width: 42px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.carousel-status { color: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: .75rem; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; border: 1px solid var(--line); background: var(--line); border-radius: 14px; overflow: hidden; }
.metric { padding: 17px 20px; background: rgba(7,17,31,.8); }
.metric strong { display: block; color: var(--orange-soft); font-size: 1rem; }
.metric span { color: var(--muted); font-size: .86rem; }

.page-hero { min-height: 590px; padding-top: 180px; padding-bottom: 85px; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.page-hero .lead { margin-top: 28px; }
.page-hero .hero-actions { margin-top: 34px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 30px; color: var(--muted); font-size: .84rem; }
.breadcrumb a { color: var(--cyan); }
.service-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 56px; align-items: center; }
.service-hero-copy { min-width: 0; }
.service-hero-grid h1 { font-size: clamp(2.7rem, 5.2vw, 5.1rem); }
.service-visual { position: relative; min-width: 0; margin: 0; border: 1px solid rgba(34,211,238,.25); background: var(--navy-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.service-visual::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 9px rgba(5,11,20,.18); content: ""; pointer-events: none; }
.service-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; min-height: 265px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(16, 40, 65, .7), rgba(7, 17, 31, .76)); border-radius: 17px; overflow: hidden; }
.card::after { position: absolute; right: -45px; bottom: -65px; width: 130px; height: 130px; border: 1px solid rgba(34,211,238,.09); border-radius: 50%; content: ""; }
.card:hover { border-color: rgba(34,211,238,.45); }
.card-number { display: block; margin-bottom: 43px; color: var(--orange-soft); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .82rem; }
.card p { margin-top: 14px; color: var(--muted); }
.card-link { display: inline-block; margin-top: 22px; color: var(--cyan); font-weight: 800; }
.card-link:hover { color: var(--white); }
.card-featured { border-color: rgba(249,115,22,.35); background: linear-gradient(150deg, rgba(66, 37, 24, .4), rgba(7,17,31,.85)); }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.sticky-copy p:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.feature-list { display: grid; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature-index { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); background: var(--cyan); border-radius: 8px; font-family: ui-monospace, Consolas, monospace; font-weight: 900; }
.feature:nth-child(even) .feature-index { background: var(--orange-soft); }
.feature p { margin-top: 9px; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 30px 27px; border-block: 1px solid var(--line); border-left: 1px solid var(--line); counter-increment: step; }
.process-step:last-child { border-right: 1px solid var(--line); }
.process-step::before { display: block; margin-bottom: 50px; color: var(--cyan); font-family: ui-monospace, Consolas, monospace; font-size: .8rem; content: "0" counter(step); }
.process-step h3 { min-height: 2.7em; }
.process-step p { margin-top: 12px; color: var(--muted); font-size: .94rem; }

.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-cloud span { padding: .65rem .92rem; border: 1px solid var(--line); color: #c7d6e0; background: rgba(13,32,53,.55); border-radius: 7px; font-family: ui-monospace, Consolas, monospace; font-size: .86rem; }
.ecosystem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ecosystem-card { display: flex; min-height: 320px; flex-direction: column; justify-content: space-between; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); }
.ecosystem-card:first-child { background: radial-gradient(circle at 90% 10%, rgba(34,211,238,.13), transparent 45%), var(--navy-2); }
.ecosystem-card:last-child { background: radial-gradient(circle at 90% 10%, rgba(249,115,22,.12), transparent 45%), var(--navy-2); }
.ecosystem-mark { color: var(--cyan); font-size: 1.9rem; font-weight: 900; letter-spacing: -.04em; }
.ecosystem-card:last-child .ecosystem-mark { color: var(--orange-soft); }
.ecosystem-card p { max-width: 500px; margin-top: 14px; color: var(--muted); }
.text-link { color: var(--cyan); font-weight: 800; }
.text-link::after { margin-left: .45rem; content: "↗"; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); background: rgba(13,32,53,.46); border-radius: 12px; }
.faq summary { display: flex; padding: 21px 24px; align-items: center; justify-content: space-between; gap: 20px; font-weight: 750; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: var(--cyan); font-size: 1.3rem; content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 23px; color: var(--muted); }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 42px; border: 1px solid rgba(34,211,238,.25); background: linear-gradient(110deg, rgba(14,165,233,.13), rgba(249,115,22,.08)); border-radius: var(--radius); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band p { margin-top: 12px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 55px; }
.contact-list { display: grid; gap: 22px; margin-top: 35px; }
.contact-item { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-item span { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a, .contact-item strong { display: inline-block; margin-top: 5px; color: var(--white); font-size: 1.05rem; }
.contact-item a:hover { color: var(--cyan); }
.contact-form { padding: 34px; border: 1px solid var(--line); background: var(--navy-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: #d9e7f0; font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .72rem .86rem; color: var(--white); border: 1px solid #25435c; background: #081625; border-radius: 8px; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.field select { color-scheme: dark; }
.field-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footer { display: flex; align-items: center; gap: 18px; margin-top: 23px; }
.form-note { color: var(--muted); font-size: .8rem; }
.form-note a { color: var(--cyan); text-decoration: underline; }
.form-status { min-height: 1.6em; margin-top: 15px; color: var(--muted); font-weight: 700; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

.legal { padding-top: 155px; padding-bottom: 100px; }
.legal h1 { max-width: 800px; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.legal .updated { margin-top: 18px; color: var(--muted); }
.prose { margin-top: 55px; }
.prose h2 { margin-top: 45px; font-size: 1.65rem; }
.prose h3 { margin-top: 30px; }
.prose p, .prose ul { margin-top: 15px; color: #b8cad7; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--cyan); text-decoration: underline; }
.notice { margin: 25px 0; padding: 20px 22px; border-left: 3px solid var(--orange); color: #c9d7e1; background: rgba(249,115,22,.07); }

.site-footer { padding: 68px 0 25px; border-top: 1px solid var(--line); background: #040910; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .8fr 1fr; gap: 50px; }
.footer-brand img { width: 245px; }
.footer-brand p { max-width: 350px; margin-top: 20px; color: var(--muted); }
.footer-title { margin-bottom: 17px; color: var(--white); font-size: .79rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; color: var(--muted); font-size: .91rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); color: #71899a; font-size: .78rem; }

.not-found { display: grid; min-height: 100vh; place-items: center; padding: 40px 0; text-align: center; }
.error-code { color: transparent; background: linear-gradient(90deg, var(--cyan), var(--orange)); background-clip: text; font-family: ui-monospace, Consolas, monospace; font-size: clamp(7rem, 24vw, 15rem); font-weight: 900; line-height: .85; }
.not-found h1 { margin-top: 28px; font-size: clamp(2rem, 5vw, 3.7rem); }
.not-found p { max-width: 570px; margin: 18px auto 30px; color: var(--muted); }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 20px auto; display: grid; padding: 20px; border: 1px solid var(--line); background: rgba(7,17,31,.98); border-radius: 14px; box-shadow: var(--shadow); transform: translateY(-15px); visibility: hidden; opacity: 0; }
  .site-nav.is-open { transform: none; visibility: visible; opacity: 1; }
  .site-nav > a { padding: .55rem; }
  .nav-cta { text-align: center; }
  .hero-grid, .service-hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .hero-visual-stack, .service-visual { width: min(100%, 720px); }
  .hero-panel { max-width: none; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 1px solid var(--line); }
  .sticky-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 215px; }
  .section { padding: 76px 0; }
  .hero, .page-hero { padding-top: 135px; padding-bottom: 65px; }
  .hero-grid { gap: 40px; }
  .service-hero-grid { gap: 40px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-prev { left: 9px; }
  .carousel-next { right: 9px; }
  .carousel-footer { gap: 10px; }
  .carousel-dots button { width: 18px; }
  .carousel-dots button[aria-current="true"] { width: 31px; }
  .hero-metrics, .card-grid, .ecosystem-grid, .form-grid, .process { grid-template-columns: 1fr; }
  .metric { padding: 14px 16px; }
  .card { min-height: 230px; }
  .card-number { margin-bottom: 30px; }
  .process-step { border-right: 1px solid var(--line); border-bottom: 0; }
  .process-step:last-child { border-bottom: 1px solid var(--line); }
  .process-step::before { margin-bottom: 28px; }
  .ecosystem-card { min-height: 285px; padding: 27px; }
  .cta-band { grid-template-columns: 1fr; padding: 27px; }
  .contact-form { padding: 23px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
}

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

@media print {
  .site-header, .hero-actions, .cta-band, .site-footer { display: none; }
  body { color: #111; background: #fff; }
  .legal { padding-top: 30px; }
  .prose p, .prose ul { color: #222; }
}
