:root {
  color-scheme: dark;
  --ink: #eef5ff;
  --muted: #a6b8ce;
  --paper: #071326;
  --white: #f5f9ff;
  --accent: #00c5ff;
  --primary: #086be8;
  --line: #203854;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; }
.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: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-150%); background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 92px; border-bottom: 1px solid rgba(150, 190, 230, .13); background: #050f1e; }
.header-content { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.9px; }
.brand-logo { display: block; width: 236px; height: 72px; object-fit: contain; }
.brand-mark { display: flex; width: 25px; height: 25px; align-items: center; justify-content: center; gap: 3px; border-radius: 8px; background: var(--deep-green); transform: rotate(-8deg); }
.brand-mark span { width: 3px; border-radius: 3px; background: var(--green); }
.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 11px; }
.site-nav { display: flex; height: 100%; align-items: center; gap: 38px; color: #bdcce0; font-size: 13px; font-weight: 600; }
.site-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--accent); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 19px; padding: 12px 17px; border: 1px solid #34516f; border-radius: 3px; color: var(--ink); }
.site-nav .nav-cta:hover { background: var(--primary); border-color: var(--primary); }
.menu-toggle { display: none; }

.hero { overflow: hidden; padding: 71px 0 28px; }
.hero-grid { display: grid; min-height: 482px; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #9db0c7; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 24px; height: 1px; flex: 0 0 24px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { margin-bottom: 20px; font-size: clamp(48px, 5.3vw, 68px); font-weight: 600; letter-spacing: -4.5px; line-height: 1.08; }
h1 span, h2 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 455px; margin-bottom: 29px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 22px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--primary); color: var(--white); }
.button-primary:hover { background: #075bc7; }
.text-link { color: #cad8e8; font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 6px; color: var(--accent); }
.hero-note { display: flex; max-width: 410px; align-items: flex-start; gap: 10px; margin-top: 44px; color: #a1b2c7; font-size: 10px; line-height: 1.6; }
.note-icon { color: var(--accent); font-size: 14px; line-height: 1; }

.hero-visual { position: relative; width: min(100%, 490px); aspect-ratio: 1 / .9; justify-self: end; }
.visual-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid #294564; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 65%; aspect-ratio: 1; }
.orbit-two { width: 85%; aspect-ratio: 1; border-style: dashed; }
.orbit-three { width: 104%; aspect-ratio: 1; border-color: #182f4a; }
.visual-center { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; width: 150px; height: 150px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: var(--primary); box-shadow: 0 15px 50px rgba(0, 95, 230, .22); color: var(--white); text-align: center; transform: translate(-50%, -50%); }
.center-symbol { display: flex; height: 28px; align-items: center; gap: 4px; margin-bottom: 9px; }
.center-symbol span { width: 4px; border-radius: 4px; background: var(--accent); }
.center-symbol span:nth-child(1) { height: 13px; }
.center-symbol span:nth-child(2) { height: 25px; }
.center-symbol span:nth-child(3) { height: 18px; }
.visual-center strong { font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.visual-center small { margin-top: 9px; color: #d3e6ff; font-size: 6px; letter-spacing: 1px; }
.system-card { position: absolute; z-index: 2; display: flex; min-width: 185px; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #28415f; border-radius: 5px; background: #0c2039; box-shadow: 0 8px 22px rgba(0, 0, 0, .24); }
.system-card > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.system-card small { color: #9aafc5; font-size: 7px; font-weight: 700; letter-spacing: .9px; }
.system-card strong { font-family: var(--font-display); font-size: 10px; font-weight: 700; }
.card-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 4px; background: #10365b; color: var(--accent); }
.card-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.card-repository { top: 12%; left: 6%; }
.card-workflow { top: 35%; right: -1%; }
.card-insight { bottom: 12%; left: 2%; }
.icon-flow { background: #10365b; color: #55a8ff; }
.icon-insight { background: #10365b; color: #55a8ff; }
.visual-caption { position: absolute; right: 7%; bottom: 2%; color: #9aacbf; font-size: 9px; letter-spacing: .4px; }
.hero-bottom { display: flex; align-items: center; gap: 16px; margin-top: 35px; padding-top: 19px; border-top: 1px solid var(--line); color: #9cb0c7; font-size: 8px; font-weight: 700; letter-spacing: 1.8px; }
.hero-bottom i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

.intro { padding: 101px 0 106px; background: #0a1b30; }
.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; }
.intro-grid > .eyebrow { margin-top: 12px; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -2.5px; line-height: 1.18; }
.intro-description { max-width: 565px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.repositories { padding: 92px 0 100px; background: #030d1b; }
.repositories .section-heading { margin-bottom: 35px; }
.repository-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.repository-card { position: relative; display: flex; min-height: 285px; flex-direction: column; padding: 25px 27px 22px; overflow: hidden; border: 1px solid #244361; border-radius: 4px; background: linear-gradient(135deg, #102744 0%, #091a30 76%); }
.repository-card::after { position: absolute; top: -75px; right: -75px; width: 210px; height: 210px; border: 1px solid rgba(0, 197, 255, .13); border-radius: 50%; box-shadow: 0 0 0 24px rgba(0, 197, 255, .025), 0 0 0 48px rgba(0, 197, 255, .02); content: ""; pointer-events: none; }
.repository-number { color: #9aafc5; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.repository-symbol { display: grid; width: 44px; height: 44px; margin: 22px 0 16px; place-items: center; border: 1px solid #285785; border-radius: 4px; background: #10365b; color: var(--accent); }
.repository-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.repository-card h3 { position: relative; z-index: 1; margin-bottom: 9px; font-size: 19px; font-weight: 700; letter-spacing: -.5px; }
.repository-card > p { position: relative; z-index: 1; max-width: 470px; margin-bottom: 17px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.repository-card .card-link { position: relative; z-index: 1; }

.services { padding: 105px 0 112px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 43px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading h2 { margin-bottom: 0; font-size: 40px; }
.section-heading > p { max-width: 330px; margin-bottom: 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card { display: flex; min-height: 390px; flex-direction: column; padding: 23px 24px 22px; border: 1px solid #233b58; border-radius: 4px; background: rgba(15, 37, 64, .6); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); background: #102744; box-shadow: 0 16px 34px rgba(0, 0, 0, .2); }
.service-topline { display: flex; align-items: center; justify-content: space-between; color: #a2b6cc; font-size: 10px; font-weight: 700; }
.service-icon { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #345271; border-radius: 50%; color: var(--accent); font-size: 15px; }
.service-illustration { position: relative; display: flex; height: 116px; align-items: center; justify-content: center; margin: 9px 0 14px; overflow: hidden; }
.file-shape { position: absolute; width: 42px; height: 52px; border: 1px solid #2b5a83; border-radius: 3px; background: #102744; }
.file-shape::before { position: absolute; top: 12px; left: 8px; width: 19px; height: 1px; background: #5b9ed0; box-shadow: 0 7px #5b9ed0, 0 14px #315f83; content: ""; }
.file-one { left: calc(50% - 89px); transform: rotate(-9deg); }
.file-two { left: calc(50% - 66px); transform: rotate(6deg); }
.migration-arrow { z-index: 1; margin: 0 10px 0 0; color: var(--accent); font-size: 22px; }
.repository-shape { position: relative; width: 47px; height: 36px; border: 1px solid #3886bb; border-radius: 3px; background: #10365b; }
.repository-shape::before, .repository-shape::after { position: absolute; left: 8px; width: 29px; height: 1px; background: #5b9ed0; content: ""; }
.repository-shape::before { top: 11px; }
.repository-shape::after { top: 21px; }
.development-art { justify-content: flex-start; padding-left: 19%; border-radius: 3px; background: #0d2744; }
.code-mark { z-index: 1; margin-right: 20px; color: #55a8ff; font-family: monospace; font-size: 26px; font-weight: 700; }
.code-line { position: absolute; left: 44%; width: 22%; height: 3px; border-radius: 5px; background: #3d719a; }
.line-a { top: 36px; width: 28%; }
.line-b { top: 51px; width: 39%; }
.line-c { top: 66px; width: 21%; }
.sparkle { position: absolute; top: 18px; right: 19%; color: var(--accent); font-size: 17px; }
.strategy-art { background: #0d2744; }
.strategy-ring { position: absolute; top: 50%; left: 50%; border: 1px solid #315d83; border-radius: 50%; transform: translate(-50%, -50%); }
.ring-a { width: 74px; height: 74px; }
.ring-b { width: 116px; height: 116px; border-style: dashed; }
.strategy-dot { z-index: 1; width: 14px; height: 14px; border: 4px solid #124678; border-radius: 50%; background: var(--accent); }
.strategy-line { position: absolute; top: 50%; left: calc(50% + 8px); width: 66px; height: 1px; background: #4a8ab6; transform: rotate(-34deg); transform-origin: left; }
.strategy-label { position: absolute; top: 23px; right: 20%; color: #9eb4cc; font-size: 7px; font-weight: 700; letter-spacing: 1px; }
.service-card h3 { margin-bottom: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.service-card > p { margin-bottom: 19px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.card-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 15px; border-top: 1px solid #29415e; font-size: 10px; font-weight: 700; }
.card-link span { color: var(--accent); font-size: 14px; }

.approach { overflow: hidden; padding: 91px 0 96px; background: #030d1b; color: var(--white); }
.approach-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 95px; }
.eyebrow-light { color: #aebeb0; }
.eyebrow-light .eyebrow-line { background: var(--accent); }
.approach-copy h2 { margin-bottom: 19px; font-size: 43px; }
.approach-copy h2 em { color: var(--accent); }
.approach-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 25px; color: #bdc9bf; font-size: 12px; line-height: 1.9; }
.button-light { background: var(--accent); color: #041326; }
.button-light:hover { background: #5cdbff; }
.approach-steps { border-top: 1px solid rgba(255,255,255,.18); }
.approach-step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.step-number { padding-top: 2px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.approach-step h3 { margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.approach-step p { max-width: 385px; margin-bottom: 0; color: #b2c1b5; font-size: 10px; line-height: 1.8; }
.approach-decoration { position: absolute; right: -130px; bottom: -130px; color: rgba(255,255,255,.035); font-family: var(--font-display); font-size: 430px; font-weight: 800; line-height: .8; pointer-events: none; }

.contact { display: flex; min-height: 430px; align-items: center; overflow: hidden; padding: 83px 0; background: #0a1b30; }
.contact-content { position: relative; z-index: 1; text-align: center; }
.contact-content .eyebrow { justify-content: center; }
.contact-content h2 { margin-bottom: 15px; font-size: 45px; }
.contact-content > p:not(.eyebrow):not(.contact-note) { max-width: 510px; margin: 0 auto 25px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.contact-note { margin: 12px 0 0; color: #768278; font-size: 10px; }
.contact-decoration { position: absolute; top: 50%; left: 50%; display: flex; width: 680px; height: 680px; align-items: center; justify-content: center; transform: translate(-50%, -50%); pointer-events: none; }
.contact-decoration span { position: absolute; width: calc(100% - var(--inset, 0px)); aspect-ratio: 1; border: 1px solid rgba(0, 197, 255, .09); border-radius: 50%; }
.contact-decoration span:nth-child(2) { --inset: 115px; }
.contact-decoration span:nth-child(3) { --inset: 230px; }
.contact-decoration span:nth-child(4) { --inset: 345px; }
.contact-decoration span:nth-child(5) { --inset: 460px; }

.site-footer { border-top: 1px solid var(--line); background: #050f1e; }
.footer-content { display: flex; min-height: 98px; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-logo { width: 205px; height: 63px; }
.footer-content > p, .copyright { margin: 0; color: #9cadc1; font-size: 10px; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { min-height: 430px; }
  .hero-visual { width: 100%; }
  .system-card { min-width: 160px; padding: 9px; }
  .approach-grid { gap: 48px; }
  .service-card { padding-inline: 18px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 40px, 520px); }
  .site-header { height: 78px; }
  .brand-logo { width: 210px; height: 64px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 17px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-last-child(2) { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 5; top: 77px; right: 0; left: 0; display: none; height: auto; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: #050f1e; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { justify-content: space-between; margin-top: 13px; }
  .hero { padding: 55px 0 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  h1 { font-size: clamp(46px, 12vw, 62px); letter-spacing: -3.5px; }
  .hero-description { max-width: 450px; font-size: 14px; }
  .hero-note { margin-top: 28px; }
  .hero-visual { width: min(100%, 440px); justify-self: center; margin: 4px 0 18px; }
  .hero-bottom { flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; font-size: 7px; letter-spacing: 1px; }
  .intro { padding: 70px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 15px; }
  .intro-grid > .eyebrow { margin-top: 0; }
  .repositories { padding: 70px 0; }
  .repository-grid { grid-template-columns: 1fr; gap: 13px; }
  .repository-card { min-height: 270px; padding: 22px; }
  h2 { font-size: 37px; letter-spacing: -1.8px; }
  .services { padding: 75px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 35px; }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { min-height: 365px; padding: 20px 22px; }
  .service-illustration { height: 100px; }
  .approach { padding: 70px 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-copy h2 { font-size: 39px; }
  .approach-decoration { right: -60px; bottom: -68px; font-size: 310px; }
  .contact { min-height: 400px; padding: 70px 0; }
  .contact-content h2 { font-size: 39px; }
  .contact-decoration { width: 540px; height: 540px; }
  .footer-content { min-height: 78px; flex-wrap: wrap; gap: 8px; padding-block: 16px; }
  .footer-brand .brand-logo { width: 190px; height: 58px; }
  .footer-content > p { order: 3; width: 100%; }
  .contact-note { color: #a5bad0; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-visual { margin-top: 20px; }
  .system-card { min-width: 145px; gap: 7px; }
  .system-card strong { font-size: 9px; }
  .card-repository { left: 1%; }
  .card-workflow { right: -1%; }
  .card-insight { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
