:root {
  --ink: #07131b;
  --ink-soft: #0d202a;
  --ink-muted: #2c3f47;
  --paper: #f4f6f2;
  --line: #cdd5cf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --green: #02c45b;
  --mint: #1bc28b;
  --teal: #0194a4;
  --white: #ffffff;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.hero-shell { color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(1, 148, 164, 0.13), transparent 26rem), linear-gradient(110deg, #07131b 0%, #081720 55%, #061117 100%); overflow: hidden; }
.site-header { width: min(calc(100% - 48px), var(--max)); min-height: 104px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 42px; border-bottom: 1px solid var(--line-dark); }
.brand { width: 194px; }
.brand img, .footer-brand img { width: 100%; height: auto; }
.primary-nav { display: flex; justify-content: center; gap: 34px; }
.primary-nav a, .header-call, .text-link, .footer-links a { text-decoration: none; }
.primary-nav a { position: relative; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.primary-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--mint); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.header-call { display: flex; align-items: baseline; gap: 10px; color: var(--white); }
.header-call span { color: var(--mint); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.header-call strong { font-size: 0.94rem; }

.hero { width: min(calc(100% - 48px), var(--max)); min-height: 680px; margin: 0 auto; padding: 88px 0 94px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr); align-items: center; gap: 88px; }
.eyebrow, .section-kicker { margin: 0 0 26px; color: var(--teal); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; color: rgba(255, 255, 255, 0.66); }
.eyebrow span { width: 7px; height: 7px; margin-right: 12px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(2, 196, 91, 0.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.045em; line-height: 1.04; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.3rem, 6vw, 6.15rem); }
.hero-lead { max-width: 650px; margin-bottom: 36px; color: rgba(255, 255, 255, 0.7); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; padding: 15px 21px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid transparent; font-size: 0.84rem; font-weight: 800; letter-spacing: 0.035em; line-height: 1; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.button-primary { min-width: 236px; color: var(--ink); background: var(--mint); }
.button-primary:hover { background: #25d69e; }
.text-link { color: rgba(255, 255, 255, 0.82); font-size: 0.83rem; font-weight: 750; }
.text-link span { margin-left: 8px; color: var(--mint); }
.build-note { max-width: 590px; margin-top: 54px; padding-top: 20px; display: grid; grid-template-columns: 112px 1fr; gap: 22px; border-top: 1px solid var(--line-dark); }
.build-note-label { color: var(--mint); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.build-note p { margin: 0; color: rgba(255, 255, 255, 0.54); font-size: 0.83rem; line-height: 1.55; }

.system-visual { position: relative; min-height: 516px; padding: 20px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.018); box-shadow: 0 32px 80px rgba(0, 0, 0, 0.26); }
.system-visual::before, .system-visual::after { position: absolute; width: 44px; height: 44px; content: ""; }
.system-visual::before { top: -1px; right: -1px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); }
.system-visual::after { bottom: -1px; left: -1px; border-bottom: 2px solid var(--green); border-left: 2px solid var(--green); }
.visual-topline, .visual-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.48); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.visual-status { display: flex; align-items: center; gap: 7px; }
.visual-status i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.system-stage { position: relative; height: 410px; margin: 12px 0; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; }
.system-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 270px; height: 270px; }
.orbit-two { width: 390px; height: 390px; border-style: dashed; }
.system-axis { position: absolute; top: 49%; right: 9%; left: 9%; height: 1px; background: linear-gradient(90deg, var(--green), var(--mint), var(--teal)); opacity: 0.48; transform: rotate(-26deg); }
.system-core { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(27, 194, 139, 0.45); background: rgba(7, 19, 27, 0.9); border-radius: 50%; transform: translate(-50%, -50%); }
.system-core::before, .system-core::after, .system-core i { position: absolute; border-radius: 50%; content: ""; }
.system-core::before { width: 40px; height: 40px; background: var(--teal); opacity: .25; }
.system-core::after { width: 18px; height: 18px; background: var(--mint); }
.system-core i { width: 6px; height: 6px; background: var(--white); z-index: 1; }
.system-node { position: absolute; z-index: 2; width: 122px; min-height: 108px; padding: 14px; border-left: 2px solid currentColor; background: rgba(7, 19, 27, 0.91); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22); }
.system-node span, .system-node small { display: block; color: rgba(255, 255, 255, 0.48); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.system-node strong { margin: 12px 0 7px; display: block; color: var(--white); font-size: 1.05rem; letter-spacing: -0.02em; }
.node-build { bottom: 35px; left: 5%; color: var(--green); }
.node-attract { top: 150px; left: calc(50% - 61px); color: var(--mint); }
.node-automate { top: 35px; right: 5%; color: var(--teal); }
.visual-footer { gap: 10px; }
.visual-footer span:not(:last-child)::after { margin-left: 12px; color: var(--teal); content: "/"; }

.signal-strip { color: var(--ink); background: var(--mint); }
.signal-track { width: min(calc(100% - 48px), var(--max)); min-height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.signal-track i { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; opacity: .45; }
.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 132px 0; }
.services { display: grid; grid-template-columns: .78fr 1.22fr; gap: 104px; }
.section-intro { align-self: start; position: sticky; top: 48px; }
.section-intro h2, .approach-heading h2, .contact-main h2 { margin-bottom: 28px; font-size: clamp(2.55rem, 4.7vw, 5rem); }
.section-intro > p:last-child { max-width: 460px; color: var(--ink-muted); line-height: 1.75; }
.service-list { border-top: 1px solid var(--line); }
.service-item { min-height: 190px; padding: 36px 0; display: grid; grid-template-columns: 54px 1fr 30px; gap: 24px; align-items: start; border-bottom: 1px solid var(--line); }
.service-number, .service-mark { color: var(--teal); font-size: 0.7rem; font-weight: 800; }
.service-item h3 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.3vw, 2.25rem); }
.service-item p { max-width: 620px; margin: 0; color: var(--ink-muted); }
.service-mark { justify-self: end; font-size: 1.15rem; }

.approach { padding: 126px max(24px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--ink-soft); }
.approach-heading { max-width: 820px; margin-bottom: 80px; }
.section-kicker-light { color: var(--mint); }
.approach-heading p:last-child { max-width: 620px; color: rgba(255, 255, 255, .62); font-size: 1.08rem; }
.approach-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.approach-grid article { min-height: 430px; padding: 44px 40px 48px; display: flex; flex-direction: column; }
.approach-grid article:not(:last-child) { border-right: 1px solid var(--line-dark); }
.approach-shape { width: 72px; height: 110px; margin-bottom: 58px; border-radius: 40px 40px 8px 8px; }
.shape-one { height: 72px; margin-top: 38px; background: var(--green); border-radius: 50%; }
.shape-two { transform: skewY(-22deg); background: var(--mint); }
.shape-three { height: 140px; margin-top: -30px; background: var(--teal); }
.approach-grid article > span { margin-bottom: 20px; color: rgba(255, 255, 255, .46); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.approach-grid h3 { margin-bottom: 18px; font-size: 1.75rem; }
.approach-grid p { margin: 0; color: rgba(255, 255, 255, .6); }

.contact { display: grid; grid-template-columns: .55fr 1.05fr .55fr; gap: 82px; align-items: start; }
.contact-brand img { width: 190px; height: auto; margin-bottom: 34px; }
.contact-brand p { color: var(--ink-muted); font-size: .9rem; }
.contact-main > p:not(.section-kicker) { max-width: 620px; color: var(--ink-muted); }
.button-dark { margin-top: 20px; color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--teal); }
.contact-details { padding-top: 46px; display: grid; gap: 32px; font-style: normal; }
.contact-details div { padding-top: 15px; border-top: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 7px; color: var(--teal); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-details p { margin: 0; }
.site-footer { padding: 52px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 205px 1fr auto auto; gap: 48px; align-items: center; color: rgba(255, 255, 255, .58); background: var(--ink); font-size: .77rem; }
.footer-brand { width: 178px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.copyright { text-align: right; }

.legal-header, .legal-footer { padding: 34px max(24px, calc((100vw - 980px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255, 255, 255, .72); background: var(--ink); font-size: .82rem; }
.legal-header > a:last-child, .legal-footer a { text-underline-offset: 4px; }
.legal-brand { width: 190px; }
.legal-brand img { width: 100%; height: auto; }
.legal-main { width: min(calc(100% - 48px), 980px); margin: 0 auto; padding: 108px 0 124px; }
.legal-main > h1 { max-width: 800px; margin-bottom: 18px; color: var(--ink); font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-updated { margin-bottom: 78px; color: var(--ink-muted); }
.legal-main section { max-width: 760px; padding: 32px 0; border-top: 1px solid var(--line); }
.legal-main section h2 { margin-bottom: 14px; font-size: 1.45rem; }
.legal-main section p { margin: 0; color: var(--ink-muted); }
.legal-footer p { margin: 0; }
.error-page { min-height: 100vh; display: grid; place-items: center; color: var(--white); background: var(--ink); }
.error-page main { width: min(calc(100% - 48px), 820px); padding: 72px 0; }
.error-page main > img { width: 210px; height: auto; margin-bottom: 86px; }
.error-page h1 { margin-bottom: 22px; font-size: clamp(3.1rem, 8vw, 6.5rem); }
.error-page main > p:not(.eyebrow) { max-width: 620px; margin-bottom: 36px; color: rgba(255,255,255,.62); font-size: 1.05rem; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 190px 1fr auto; gap: 24px; }
  .primary-nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 72px; }
  .system-visual { max-width: 620px; width: 100%; }
  .services { grid-template-columns: 1fr; gap: 68px; }
  .section-intro { position: static; }
  .contact { grid-template-columns: .6fr 1.4fr; }
  .contact-details { grid-column: 2; grid-template-columns: repeat(3, 1fr); }
  .site-footer { grid-template-columns: 180px 1fr auto; }
  .copyright { grid-column: 2; text-align: left; }
}

@media (max-width: 760px) {
  .site-header { width: min(calc(100% - 32px), var(--max)); min-height: 88px; grid-template-columns: 1fr auto; }
  .brand { width: 174px; }
  .primary-nav { display: none; }
  .header-call span { display: none; }
  .header-call strong { font-size: .78rem; }
  .hero { width: min(calc(100% - 32px), var(--max)); min-height: 0; padding: 70px 0 74px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .build-note { grid-template-columns: 1fr; gap: 8px; }
  .system-visual { min-height: 448px; padding: 14px; }
  .system-stage { height: 360px; }
  .orbit-two { width: 330px; height: 330px; }
  .orbit-one { width: 230px; height: 230px; }
  .system-node { width: 102px; min-height: 96px; padding: 11px; }
  .node-attract { top: 135px; left: calc(50% - 51px); }
  .node-build { bottom: 26px; }
  .node-automate { top: 26px; }
  .visual-footer { display: none; }
  .signal-track { width: min(calc(100% - 32px), var(--max)); padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; justify-items: start; }
  .signal-track i { display: none; }
  .section { width: min(calc(100% - 32px), var(--max)); padding: 90px 0; }
  .service-item { grid-template-columns: 32px 1fr; gap: 14px; }
  .service-mark { display: none; }
  .approach { padding-top: 90px; padding-bottom: 90px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article { min-height: 0; padding: 38px 0 44px; }
  .approach-grid article:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .approach-shape { margin-bottom: 42px; }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .contact-details { grid-column: auto; grid-template-columns: 1fr; padding-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
  .copyright { grid-column: auto; }
}

@media (max-width: 600px) {
  .legal-header, .legal-footer { align-items: flex-start; flex-direction: column; }
  .legal-main { width: min(calc(100% - 32px), 980px); padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
