:root {
  --bg: #050816;
  --bg-soft: #0a1024;
  --surface: rgba(15, 23, 48, 0.82);
  --surface-solid: #0e1630;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f9ff;
  --muted: #aeb8d1;
  --blue: #19b9ff;
  --blue-deep: #0a78e8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(25,185,255,.13), transparent 31rem),
    radial-gradient(circle at 85% 25%, rgba(49,92,255,.10), transparent 28rem),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.9rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }
p { color: var(--muted); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 790px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 34px 0; }
.centered { text-align: center; }
.wide { max-width: 880px; }
.large-copy { font-size: 1.17rem; }

.skip-link {
  position: fixed; top: 12px; left: 12px; transform: translateY(-160%);
  background: white; color: #050816; padding: 10px 16px; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 22, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a:not(.button) { color: #dce4f8; font-weight: 600; font-size: .95rem; }
.primary-nav > a:not(.button):hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #03101d;
  font-weight: 800; box-shadow: 0 14px 35px rgba(25,185,255,.22); transition: .22s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .92rem; }
.button-ghost { background: transparent; color: white; border-color: var(--line); box-shadow: none; }
.button-light { background: white; color: #071020; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { min-height: 720px; display: grid; align-items: center; overflow: hidden; }
.hero-grid, .page-hero-grid, .split-grid, .story-grid, .contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 span { color: var(--blue); }
.hero-lead { max-width: 650px; font-size: 1.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: #d7e1f5; font-size: .9rem; }
.hero-trust span::before { content: "✓"; color: var(--blue); margin-right: 7px; font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual > img { filter: drop-shadow(0 32px 55px rgba(0,0,0,.45)); }
.hero-orb { position: absolute; width: 450px; height: 450px; border-radius: 50%; filter: blur(90px); opacity: .25; }
.orb-one { background: var(--blue); top: -170px; right: 10%; }
.orb-two { background: #4545ff; bottom: -200px; left: -100px; }
.floating-card { position: absolute; padding: 15px 18px; border: 1px solid var(--line); background: rgba(7,12,29,.88); backdrop-filter: blur(12px); border-radius: 16px; box-shadow: var(--shadow); }
.floating-card strong { display: block; font-size: 1.35rem; color: var(--blue); }
.floating-card span { color: var(--muted); font-size: .84rem; }
.card-top { top: 12%; right: -2%; }
.card-bottom { bottom: 7%; left: 2%; }

.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 900; margin-bottom: 14px; }
.section-heading { max-width: 760px; margin-bottom: 45px; }
.section-heading.centered { margin-inline: auto; }
.page-hero { padding-top: 125px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

.stats { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stats-grid article { padding: 24px 22px; border-right: 1px solid var(--line); }
.stats-grid article:last-child { border-right: 0; }
.stats-grid strong { display: block; color: var(--blue); font-size: 2rem; }
.stats-grid span { color: var(--muted); font-size: .9rem; }

.service-grid, .value-grid, .next-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .value-grid article, .next-grid article, .stack-cards article, .principle-card, .story-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.service-card, .value-grid article, .next-grid article { transition: .22s ease; }
.service-card:hover, .value-grid article:hover, .next-grid article:hover { transform: translateY(-5px); border-color: rgba(25,185,255,.45); }
.service-card .icon, .value-grid article > span, .service-number { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.service-card a { color: var(--blue); font-weight: 800; }

.split-section { background: rgba(255,255,255,.018); border-block: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { color: #dfe7f9; }
.check-list li::before { content: "✓"; color: var(--blue); margin-right: 11px; font-weight: 900; }
.stack-cards { display: grid; gap: 16px; }
.stack-cards article { padding: 24px; }
.stack-cards span { color: var(--blue); font-weight: 900; }
.stack-cards h3 { margin: 9px 0 8px; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline li { border-top: 1px solid rgba(25,185,255,.5); padding-top: 22px; }
.timeline li > span { color: var(--blue); font-weight: 900; }
.timeline h3 { margin: 18px 0 8px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.025); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 20px; color: white; background: transparent; border: 0; padding: 21px 22px; text-align: left; font-weight: 800; }
.faq-item button i { color: var(--blue); font-style: normal; }
.faq-answer { display: none; padding: 0 22px 20px; }
.faq-item.open .faq-answer { display: block; }

.cta-card { text-align: center; border-radius: 32px; padding: 64px 28px; background: linear-gradient(135deg, #0b92e8, #19c5ff); box-shadow: 0 30px 90px rgba(10,120,232,.26); }
.cta-card .eyebrow, .cta-card p { color: rgba(3,16,29,.75); }
.cta-card h2 { color: #03101d; max-width: 760px; margin-inline: auto; }
.cta-card .button { margin-top: 10px; }

.principle-card strong { display: block; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.45; }
.principle-card > span { color: var(--blue); display: block; margin-bottom: 16px; font-weight: 800; }
.story-grid { align-items: start; }
.story-copy p { font-size: 1.05rem; }
.values-section { background: rgba(255,255,255,.018); border-block: 1px solid var(--line); }
.industry-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-cloud span { border: 1px solid var(--line); background: rgba(255,255,255,.04); padding: 11px 16px; border-radius: 999px; color: #dbe5fa; }

.service-catalog { padding-top: 20px; }
.service-detail { display: grid; grid-template-columns: 70px 1fr 270px; gap: 32px; align-items: start; padding: 42px 0; border-top: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.feature-columns { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 20px; }
.feature-columns li { color: #dbe4f7; }
.feature-columns li::before { content: "•"; color: var(--blue); margin-right: 9px; }
.service-detail aside { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.service-detail aside span, .service-detail aside strong { display: block; }
.service-detail aside span { color: var(--muted); font-size: .82rem; }
.service-detail aside strong { font-size: 1.15rem; margin: 5px 0 10px; }
.service-detail aside a { color: var(--blue); font-weight: 800; }

.contact-layout { align-items: start; }
.contact-direct { display: grid; gap: 16px; margin-top: 32px; }
.contact-direct > * { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-direct span { color: var(--muted); font-size: .82rem; }
.contact-direct strong { color: white; }
.contact-form { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label > span, .consent > span { color: #e7ecf8; font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; color: white; background: #080e21; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none; }
select option { color: #fff; background: #080e21; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25,185,255,.12); }
textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 18px 0; }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.form-submit { width: 100%; border: 0; }
.form-note, .form-status, label small { font-size: .78rem; color: var(--muted); }
.form-status:not(:empty) { margin-bottom: 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #080e21; color: #dce5f8; }
.form-status.is-success { border-color: rgba(25,185,255,.42); background: rgba(25,185,255,.08); color: #eaf8ff; }
.form-status.is-error { border-color: rgba(255,120,120,.42); background: rgba(255,120,120,.07); color: #ffe6e6; }
.form-submit:disabled { cursor: wait; opacity: .72; transform: none; filter: none; }

.legal-content h2 { font-size: 1.45rem; margin-top: 36px; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.error-page .container { max-width: 760px; }
.error-code { font-size: clamp(6rem, 18vw, 14rem); line-height: .8; color: rgba(25,185,255,.12); font-weight: 900; margin-bottom: -20px; }
.error-orb { position: absolute; width: 500px; height: 500px; background: var(--blue); opacity: .12; filter: blur(100px); border-radius: 50%; }

.site-footer { border-top: 1px solid var(--line); padding: 68px 0 24px; background: #030510; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-grid > div:first-child p { max-width: 360px; margin-top: 18px; }
.footer-grid h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: white; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:not(.brand) { color: var(--muted); }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 50px; padding-top: 22px; }
.footer-bottom p { font-size: .82rem; margin: 0; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #0c1430; color: white; opacity: 0; pointer-events: none; transition: .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }