@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #060b14;
  --text: #f0f5ff;
  --muted: #a0b0c7;
  --blue: #75c3ff;
  --border: #22334b;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.65 var(--body);
}
body, a, button, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
em { color: var(--blue); font-style: normal; }
:focus-visible { outline: 2px solid #92d0ff; outline-offset: 4px; }
section[id] { scroll-margin-top: 5.75rem; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell { width: min(100% - 6rem, 79rem); margin-inline: auto; }
#circuit-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; transform: translateY(-160%); padding: .6rem 1rem; background: #142d4b; }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(6, 11, 20, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(104, 157, 218, .16);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; }
.header-inner { min-height: 4.9rem; }
.brand {
  position: relative;
  flex: 0 0 auto;
  width: 7.125rem;
  aspect-ratio: 350 / 208;
  overflow: hidden;
  mix-blend-mode: lighten;
}
.brand img {
  /* Frame the artwork at x=328, y=205 within the supplied 1000 × 600 image. */
  position: absolute;
  top: calc(-205 / 208 * 100%);
  left: calc(-328 / 350 * 100%);
  width: calc(1000 / 350 * 100%);
  max-width: none;
  height: auto;
  filter: contrast(1.1);
}
.nav { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.65rem); }
.nav > a:not(.button) { color: #b9c8da; font-weight: 600; font-size: .92rem; }
.nav > a:not(.button):hover, .footer a:hover { color: var(--blue); }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.15rem;
  padding: .65rem 1.16rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-size: .93rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.button-primary { background: #78beff; color: #06162b; box-shadow: 0 5px 27px rgba(32, 117, 222, .2), inset 0 1px rgba(255, 255, 255, .36); }
.button-primary:hover { background: #a1d5ff; box-shadow: 0 5px 28px rgba(54, 143, 244, .35); }
.button-outline { background: #081323b5; border-color: #304965; color: #e1eeff; }
.button-outline:hover { background: #122743; border-color: #568bc0; }
.nav .button { min-height: 2.65rem; }

main, .footer { position: relative; }
.hero {
  overflow: clip;
  border-bottom: 1px solid #23344b;
  background: radial-gradient(ellipse at 69% 46%, rgba(13, 47, 95, .34), transparent 62%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(1.2rem, 3.5vw, 3.5rem);
  min-height: clamp(31rem, 42vw, 39rem);
}
.hero-copy { padding-block: clamp(2.5rem, 4vw, 4.5rem); }
.hero-dna {
  position: relative;
  width: 100%;
  max-width: 35rem;
  aspect-ratio: 1;
  justify-self: end;
  background: radial-gradient(ellipse at 51% 50%, #0c335658, transparent 67%);
}
#microcode-dna {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}
#microcode-dna:active { cursor: grabbing; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .56rem;
  color: #8acbff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .115em;
  line-height: 1.35;
}
.eyebrow span { width: 1.2rem; height: 1px; background: #66b6ff; box-shadow: 0 0 8px #416dd7; }
.hero h1 {
  margin: 1.32rem 0 1.45rem;
  font-size: clamp(3.15rem, 6.2vw, 6.125rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.065em;
}
.hero h1 em { color: #81c7ff; }
.hero-description { max-width: 32rem; color: #bdcbe0; font-size: clamp(1rem, 1.36vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 2rem; }
.hero-foot {
  grid-column: 1 / -1;
  align-self: stretch;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid #293c5499;
}
.effect-guide { display: flex; align-items: center; gap: .6rem; color: #a0b5cf; font-size: .875rem; }
.effect-guide .icon { color: #72b8f7; }
.guide-touch { display: none; }
.motion-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #2d4864;
  border-radius: .55rem;
  background: #0b182ac9;
  color: #a8d7ff;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: #142944; border-color: #5381af; }

.section { padding-block: clamp(4.25rem, 7.4vw, 7.35rem); }
.solutions { background: linear-gradient(180deg, #0a132275, transparent 13rem); }
.section-intro { max-width: 40rem; }
.section-intro h2 {
  margin: .75rem 0 .85rem;
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  font-weight: 780;
  letter-spacing: -.06em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-intro > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); font-size: 1.04rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 2.45rem; }
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 16.8rem;
  padding: clamp(1.15rem, 2vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: .83rem;
  background: linear-gradient(145deg, #101c2edb, #0a131edb 65%);
  transition: border-color .22s, box-shadow .22s;
}
.service:hover, .service:focus-within { border-color: #477aaa; box-shadow: inset 0 1px #375d8680; }
.service-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1.3rem;
  color: #83c7ff;
  border: 1px solid #2b4d74;
  border-radius: .58rem;
  background: #102844;
}
.service-icon .icon { width: 1.42rem; height: 1.42rem; }
.service h3, .process h3 { font-size: 1.34rem; line-height: 1.13; font-weight: 750; letter-spacing: -.033em; }
.service p, .process-list p { margin-top: .65rem; color: var(--muted); }
.service-links { display: grid; gap: .35rem; margin-top: auto; padding-top: 1.2rem; }
.service-links a { color: #8dceff; font-size: .9rem; font-weight: 700; }
.service-links a:last-child { color: #b9c8da; }
.service-links a:hover, .detail-main a:not(.button):hover { text-decoration: underline; text-underline-offset: .25rem; }

.process { border-block: 1px solid #1e3048; background: radial-gradient(ellipse at 15% 80%, #0c24427d, transparent 60%); }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.process-list { list-style: none; margin: 2.1rem 0 0; padding: 0 0 0 1.55rem; border-left: 1px solid #31557d; }
.process-list li { position: relative; padding-block: 1.15rem; }
.process-list li::before { content: ""; position: absolute; left: -1.82rem; top: 1.45rem; width: .44rem; height: .44rem; border: 1px solid #88c9ff; border-radius: 50%; background: #142c4b; box-shadow: 0 0 12px #398ff493; }
.process-list li + li { border-top: 1px solid #20344d; }
.dna-figure {
  position: relative;
  aspect-ratio: 1 / 1.04;
  background: radial-gradient(ellipse at 51% 50%, #09304c85, transparent 66%);
  pointer-events: none;
}
#code-dna { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .86; }

.section.faq { padding-bottom: clamp(2.75rem, 6vw, 5.5rem); }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.faq-list { border-block: 1px solid var(--border); }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--blue); }
.faq-list details p { max-width: 40rem; padding-bottom: 1.15rem; color: var(--muted); }
.faq-indicator {
  position: relative;
  flex: 0 0 1.65rem;
  height: 1.65rem;
  border: 1px solid #2b4d74;
  border-radius: .4rem;
  color: var(--blue);
  background: #102844;
}
.faq-indicator::before, .faq-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .7rem;
  height: 1px;
  transform: translate(-50%, -50%);
  background: currentColor;
}
.faq-indicator::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .faq-indicator::after { display: none; }

.section.contact { padding-top: 0; }
.contact-panel {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 6rem);
  padding: clamp(1.35rem, 4.5vw, 4.4rem);
  border: 1px solid #2d4a68;
  border-radius: 1rem;
  background: linear-gradient(135deg, #10233be2, #0a1220ed 62%);
}
.contact h2 { max-width: 30rem; }
.channels { display: flex; flex-wrap: wrap; gap: .66rem; margin-top: 2rem; }
.channel { display: flex; gap: .65rem; align-items: center; padding: .52rem .8rem; border: 1px solid #304a67; border-radius: .55rem; color: #d9e7f7; font-size: .88rem; font-weight: 650; }
.channel .icon { color: #87bce8; }
.channel small { display: block; color: #a0b0c7; font: 500 .79rem/1.15 var(--body); }
a.channel:hover { border-color: #629bcd; background: #122743; }
.channel span { overflow-wrap: anywhere; }
#briefing { display: grid; gap: .55rem; }
#briefing label { color: #dde9fa; font-size: .91rem; font-weight: 700; }
#briefing label:not(:first-child) { margin-top: .55rem; }
#briefing select, #briefing textarea, #briefing input { width: 100%; min-width: 0; padding: .72rem .85rem; border: 1px solid #39516f; border-radius: .54rem; color: var(--text); background-color: #0a1423; font: inherit; }
#briefing select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, #a0b9db 50%), linear-gradient(135deg, #a0b9db 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 52%, calc(100% - .94rem) 52%;
  background-size: .32rem .32rem;
  background-repeat: no-repeat;
}
#briefing textarea { resize: vertical; }
#briefing textarea::placeholder { color: #8fa4bf; }
.briefing-identity { display: grid; gap: .65rem; margin-top: .55rem; }
#briefing .briefing-identity label { display: block; margin: 0; }
#briefing .briefing-identity input { display: block; margin-top: .3rem; }
.briefing-identity span, .briefing-note { color: var(--muted); font-size: .875rem; font-weight: 400; }
.briefing-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .45rem; }
.briefing-actions button:disabled { cursor: wait; opacity: .65; }
.form-status { color: #b1d9ff; font-size: .92rem; }
.form-status:empty { display: none; }
.footer { border-top: 1px solid #22344a; background: #060b14b5; color: #a0b0c7; }
.footer-inner { gap: 1rem; min-height: 5.5rem; font-size: .87rem; }
.footer .brand { width: 6.25rem; }

.detail-header, .detail-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.detail-header { min-height: 4.9rem; }
.detail-nav > a:not(.button) { color: #b9c8da; font-weight: 650; }
.detail-nav .button { min-height: 2.75rem; }
.detail-main { background: radial-gradient(ellipse 48rem 30rem at 85% 0, #13345f79, transparent); padding-bottom: clamp(3rem, 6vw, 6rem); }
.detail-breadcrumb { padding-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.detail-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.detail-breadcrumb li + li::before { content: "/"; margin-right: .55rem; color: #7590ab; }
.detail-breadcrumb a, .detail-contact p a { color: var(--blue); }
.detail-hero { padding-block: clamp(2rem, 7vw, 6rem); max-width: 58rem; }
.detail-hero h1 { font-size: clamp(2.35rem, 5.65vw, 5.25rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.detail-hero p { max-width: 43rem; margin-block: 1.3rem 1.6rem; color: #bdcbe0; font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.detail-section { padding-block: clamp(1.65rem, 4.5vw, 3.25rem); border-top: 1px solid var(--border); }
.detail-section h2, .detail-contact h2 { font-size: clamp(1.75rem, 3.35vw, 3rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.detail-grid .service { min-height: 0; }
.detail-answers > div { margin-top: 1.3rem; max-width: 45rem; }
.detail-answers h3 { font-size: 1.2rem; line-height: 1.25; }
.detail-answers p, .detail-contact p { color: var(--muted); margin-top: .4rem; }
.detail-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #2d4a68; border-radius: .85rem; background: linear-gradient(135deg, #10233b, #0a1220 70%); }
.detail-related { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.45rem; color: var(--blue); font-weight: 700; }
.detail-footer { flex-wrap: wrap; padding-block: 1rem; overflow-wrap: anywhere; }

.welcome {
  position: fixed;
  z-index: 2;
  right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  width: min(22rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #385c81;
  border-radius: .85rem;
  background: linear-gradient(140deg, #132943, #0a1423 70%);
  box-shadow: 0 12px 36px #0009;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .55rem .65rem;
  align-items: center;
}
.welcome[hidden] { display: none; }
.welcome-icon { color: var(--blue); }
.welcome h2 { font-size: 1.125rem; line-height: 1.25; }
.welcome p, .welcome-form { grid-column: 1 / -1; }
.welcome p { color: #c3d1e3; line-height: 1.45; }
.welcome-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; margin-top: .3rem; }
.welcome-form[hidden] { display: none; }
.welcome-form input[type="tel"] { min-width: 0; padding: .65rem .7rem; border: 1px solid #39516f; border-radius: .55rem; background: #0a1423; color: var(--text); }
.welcome-form input::placeholder { color: #a0b0c7; }
.welcome-form .button { min-height: 2.75rem; padding-inline: .75rem; }
.welcome-form .button:disabled { cursor: wait; opacity: .65; }
.welcome-close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: .45rem; background: transparent; color: #d7e5f8; }
.welcome-close:hover, .welcome-close:focus-visible { background: #243e5a; }
@media (max-width: 21rem) {
  .welcome-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .welcome:not([hidden]) { animation: welcome-in .24s ease-out both; }
  @keyframes welcome-in { from { opacity: 0; transform: translateY(.35rem); } }
}

@media (max-width: 69rem) {
  .shell { width: calc(100% - 4rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 14.2rem; }
}
@media (max-width: 49rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.45rem; }
  .nav { gap: .9rem; }
  .nav > a:not(.button) { font-size: .83rem; }
  .nav .button { padding-inline: .7rem; font-size: .82rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .hero-copy { padding-block: 3.4rem .45rem; text-align: center; }
  .hero-copy .eyebrow, .actions { justify-content: center; }
  .hero h1 { font-size: clamp(3rem, 8.7vw, 4.8rem); }
  .hero-description { margin-inline: auto; }
  .hero-dna { justify-self: center; width: min(100%, 24rem); aspect-ratio: 1 / .88; }
  .hero-foot { min-height: 3.5rem; }
  .process-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .dna-figure { justify-self: center; width: min(100%, 30rem); }
  .faq-layout, .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 47rem) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    border: 1px solid #304862;
    border-radius: .52rem;
    background: #0b182a;
    color: #dcecff;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: .9rem;
  }
  .nav[data-open] { display: flex; }
  .nav > a:not(.button) { padding: .6rem 0; font-size: .95rem; }
  .nav > .button { margin-top: .5rem; }
}
@media (max-width: 37rem) {
  .shell { width: calc(100% - 2rem); }
  .hero h1 { margin-block: 1rem; font-size: clamp(2.77rem, 10.6vw, 3.9rem); }
  .hero-description { max-width: 23rem; }
  .actions { margin-top: 1.45rem; gap: .55rem; }
  .actions .button { padding-inline: .78rem; font-size: .86rem; }
  .section { padding-block: 3.6rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid { margin-top: 1.6rem; }
  .service { min-height: 0; }
  .service-icon { margin-bottom: .85rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1rem; gap: .7rem 1rem; }
  .footer-inner > a:last-child { margin-left: auto; }
  .detail-header { min-height: 4.45rem; }
  .detail-header .brand { width: 4.75rem; }
  .detail-nav { gap: .75rem; font-size: .875rem; }
  .detail-nav .button { padding-inline: .65rem; font-size: .82rem; }
  .detail-footer > a:last-child { margin-left: 0; }
}
@media (max-width: 22rem) {
  .detail-header, .detail-nav { gap: .5rem; }
  .detail-nav .button { max-width: 8.5rem; }
}
@media (hover: none) {
  .guide-mouse { display: none; }
  .guide-touch { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
