:root {
  --navy: #08172f;
  --navy-soft: #10264b;
  --blue: #2d7ff9;
  --blue-light: #dceaff;
  --mint: #41d6bb;
  --paper: #f5f7fa;
  --white: #fff;
  --ink: #111827;
  --muted: #566277;
  --line: #dce2ea;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, "Segoe UI", sans-serif; line-height: 1.55; }
body, a, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.topbar { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.topbar-inner { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { color: #fff; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
nav { display: flex; gap: 32px; font-size: 14px; font-weight: 700; }
nav a { color: rgba(255,255,255,.72); transition: color .18s ease; }
nav a:hover { color: #fff; }
.topbar .button { justify-self: end; }
.button { min-height: 54px; padding: 15px 22px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 11px 17px; }
.button-light { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 18px 40px rgba(45,127,249,.25); }
.button-primary:hover { background: #1e6ee7; }
.button-outline { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.button-white { background: #fff; color: var(--navy); }
.history-mobile { display: none; }
.hero { min-height: 820px; position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; background: radial-gradient(circle at 70% 35%, #183f7e 0, transparent 35%), linear-gradient(145deg, #061225 0%, #0a1c38 58%, #0f2b52 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, #000); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .65; }
.hero-glow-one { width: 520px; height: 520px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(45,127,249,.5), transparent 68%); }
.hero-glow-two { width: 420px; height: 420px; left: 38%; bottom: -260px; background: radial-gradient(circle, rgba(65,214,187,.25), transparent 66%); }
.hero-grid { position: relative; z-index: 2; padding: 160px 0 92px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); align-items: center; gap: 68px; }
.eyebrow { margin-bottom: 16px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-blue { color: var(--blue); }
h1 { max-width: 860px; margin-bottom: 24px; font-size: clamp(52px, 6.3vw, 88px); line-height: .98; }
.hero-lead { max-width: 670px; margin-bottom: 34px; color: #b9c8df; font-size: clamp(17px, 1.75vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-line { margin: 48px 0 0; padding: 25px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 34px; list-style: none; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; }
.proof-line li::before { content: ""; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; display: inline-block; background: var(--mint); box-shadow: 0 0 0 5px rgba(65,214,187,.1); }
.hero-product { min-height: 520px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; }
.orbit-two { width: 520px; height: 520px; opacity: .55; }
.core-card { width: 300px; min-height: 330px; position: relative; z-index: 2; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: 0 36px 80px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.core-card img { position: absolute; top: 28px; left: 28px; border-radius: 18px; }
.core-label { margin-bottom: 9px; color: var(--mint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.core-card strong { font-size: 25px; line-height: 1.22; letter-spacing: -.035em; }
.float-card { position: absolute; z-index: 3; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; display: flex; gap: 10px; align-items: center; color: #e6eefb; background: rgba(7,22,44,.82); box-shadow: 0 18px 36px rgba(0,0,0,.22); backdrop-filter: blur(12px); font-size: 13px; font-weight: 700; }
.float-card span { color: var(--mint); font-size: 10px; }
.float-card-one { top: 64px; left: 4px; }
.float-card-two { top: 178px; right: -8px; }
.float-card-three { bottom: 64px; left: -12px; }
.thesis { padding: 58px 0; color: #fff; background: var(--blue); }
.thesis-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.thesis-copy { margin: 0; max-width: 970px; font-size: clamp(25px, 3.2vw, 43px); line-height: 1.22; font-weight: 600; letter-spacing: -.035em; }
.section { padding: 124px 0; }
.section-heading { max-width: 810px; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 22px; font-size: clamp(40px, 5.1vw, 68px); line-height: 1.04; }
.section-heading > p:last-child { max-width: 690px; color: var(--muted); font-size: 18px; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.layer-card { min-height: 430px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; background: #fff; }
.layer-card::before { content: ""; width: 100%; height: 6px; margin-bottom: 70px; border-radius: 999px; background: var(--blue); }
.layer-identity::before { background: var(--mint); }
.layer-services { color: #fff; background: var(--navy); border-color: var(--navy); }
.layer-services::before { background: linear-gradient(90deg, var(--blue), var(--mint)); }
.layer-index { margin-bottom: 15px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.layer-identity .layer-index { color: #008d7d; }
.layer-services .layer-index { color: var(--mint); }
.layer-card h3 { margin-bottom: 14px; font-size: 28px; line-height: 1.14; }
.layer-card p { margin-bottom: 30px; color: var(--muted); }
.layer-services p { color: #aebdd4; }
.tag-list { margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.tag-list li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #4f5c70; font-size: 11px; font-weight: 700; }
.layer-services .tag-list li { border-color: rgba(255,255,255,.16); color: #dce7f7; }
.case { padding-top: 10px; }
.case-hero { min-height: 700px; position: relative; overflow: hidden; border-radius: 26px; display: flex; align-items: flex-end; color: #fff; }
.case-photo, .case-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-photo { object-fit: cover; object-position: center 60%; }
.case-shade { background: linear-gradient(90deg, rgba(4,17,12,.92) 0%, rgba(4,17,12,.52) 53%, rgba(4,17,12,.12) 100%); }
.case-brand { position: relative; z-index: 2; max-width: 720px; padding: 70px; }
.status { width: fit-content; margin-bottom: 64px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; display: flex; align-items: center; gap: 9px; background: rgba(0,0,0,.2); backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #8fe767; box-shadow: 0 0 0 5px rgba(143,231,103,.15); }
.case-brand img { margin-bottom: 20px; border-radius: 14px; }
.case-brand > p:not(.case-lead) { margin-bottom: 2px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.case-brand h2 { margin-bottom: 18px; font-size: clamp(68px, 10vw, 136px); line-height: .88; }
.case-lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; }
.case-lead a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.case-lead a:hover { color: #fff; }
.case-link { position: absolute; right: 30px; bottom: 30px; z-index: 3; padding: 14px 18px; border-radius: 12px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.case-facts article { padding: 30px 26px 0 0; border-right: 1px solid var(--line); }
.case-facts article + article { padding-left: 26px; }
.case-facts article:last-child { border: 0; }
.case-facts span { display: block; margin-bottom: 44px; color: var(--blue); font-size: 11px; font-weight: 800; }
.case-facts h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.2; }
.case-facts p { color: var(--muted); font-size: 14px; }
.extensibility { color: #fff; background: var(--navy); }
.extensibility-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.extensibility .section-heading { margin: 0; }
.extensibility .section-heading > p:last-child { color: #aebdd4; }
.extension-map { display: grid; gap: 16px; }
.map-row { padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; display: grid; gap: 12px; background: rgba(255,255,255,.04); }
.map-community { grid-template-columns: 1fr 1fr 1fr; }
.map-core { grid-template-columns: 1fr; border-color: rgba(45,127,249,.55); background: rgba(45,127,249,.13); }
.map-code { grid-column: 1 / -1; color: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.map-row div { min-height: 102px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.06); }
.map-row strong, .map-row small { display: block; }
.map-row strong { margin-bottom: 7px; font-size: 15px; }
.map-row small { color: #9fb0ca; font-size: 12px; }
.map-connector { position: relative; height: 48px; display: grid; place-items: center; }
.map-connector::before { content: ""; position: absolute; top: -16px; bottom: -16px; width: 1px; background: rgba(65,214,187,.5); }
.map-connector span { position: relative; z-index: 1; padding: 7px 10px; border-radius: 999px; color: var(--navy); background: var(--mint); font-size: 10px; font-weight: 800; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.section-heading-row > p { padding-bottom: 6px; }
.steps { margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.steps li { min-height: 270px; padding: 26px; border-right: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border: 0; }
.steps span { display: block; margin-bottom: 64px; color: var(--blue); font-size: 11px; font-weight: 800; }
.steps strong { display: block; margin-bottom: 9px; font-size: 20px; }
.steps p { color: var(--muted); font-size: 14px; }
.contact { padding: 0 0 36px; }
.contact-card { min-height: 460px; padding: 70px; border-radius: 26px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; color: #fff; background: linear-gradient(135deg, var(--blue), #1454bb); }
.contact h2 { margin-bottom: 0; font-size: clamp(45px, 6vw, 75px); line-height: 1; }
.contact-copy > p { margin-bottom: 28px; color: #dbe8ff; font-size: 17px; }
.contact-copy small { margin-top: 14px; display: block; color: rgba(255,255,255,.7); }
footer { padding: 36px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-inner p { margin: 0; text-align: center; }
.footer-inner div { justify-self: end; display: flex; gap: 24px; }
.footer-inner a { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

@media (max-width: 980px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .desktop-contact { display: none; }
  .history-mobile { display: inline-flex; width: auto; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 800px; }
  .hero-product { min-height: 480px; }
  .layers { grid-template-columns: 1fr; }
  .layer-card { min-height: 0; }
  .layer-card::before { margin-bottom: 38px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts article:nth-child(2) { border-right: 0; }
  .extensibility-grid { grid-template-columns: 1fr; }
  .section-heading-row, .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .topbar-inner { min-height: 74px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 21px; }
  .topbar .button { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .hero-grid { padding: 120px 0 68px; gap: 20px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .proof-line { gap: 13px; flex-direction: column; }
  .hero-product { min-height: 430px; transform: scale(.86); margin: -20px -30px; }
  .float-card-one { left: 0; }
  .float-card-two { right: 0; }
  .float-card-three { left: 0; }
  .thesis { padding: 42px 0; }
  .thesis-grid { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 40px; }
  .layer-card { padding: 24px; }
  .case { padding-top: 0; }
  .case-hero { min-height: 680px; border-radius: 18px; }
  .case-shade { background: linear-gradient(0deg, rgba(4,17,12,.94) 0%, rgba(4,17,12,.5) 70%, rgba(4,17,12,.12) 100%); }
  .case-brand { padding: 28px 24px 92px; }
  .status { margin-bottom: 40px; }
  .case-brand h2 { font-size: 66px; }
  .case-lead { font-size: 16px; }
  .case-link { left: 24px; right: auto; bottom: 24px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-facts article, .case-facts article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-facts span { margin-bottom: 24px; }
  .extensibility-grid { gap: 44px; }
  .map-community { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps span { margin-bottom: 28px; }
  .contact-card { min-height: 0; padding: 38px 24px; border-radius: 18px; }
  .contact h2 { font-size: 42px; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-inner p { text-align: left; }
  .footer-inner div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
