:root {
  --night: #0b1020;
  --navy: #121b33;
  --ink: #172036;
  --violet: #5a46ed;
  --violet-bright: #7868ff;
  --cyan: #50d6e7;
  --green: #b9f675;
  --paper: #f3f5f8;
  --white: #ffffff;
  --muted: #667085;
  --line: #d7dce5;
  --dark-line: rgba(255,255,255,.16);
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --display: "Krona One", sans-serif;
  --body: "DM Sans", sans-serif;
  /* Krona One is a wide geometric face; negative tracking reads far more modern. */
  --track-display: -.035em;
  --track-micro: -.012em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; background: var(--night); color: var(--ink); font-family: var(--body); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--cyan); color: var(--night); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; background: white; border: 1px solid var(--line); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; padding: 12px var(--gutter); }
.header-shell { width: min(100%, var(--max)); min-height: 62px; margin: auto; padding: 8px 10px 8px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(11,16,32,.9); color: white; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.brand { width: 42px; height: 42px; display: grid; place-items: center; }
.brand img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
.site-header nav { position: relative; display: flex; align-items: center; gap: .25rem; padding: 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(255,255,255,.05); }
.site-header nav a { position: relative; z-index: 1; padding: .55rem .9rem; border-radius: 4px; color: #cdd4e0; font-size: .78rem; font-weight: 600; }
.site-header nav a:hover, .site-header nav a.is-active { color: white; }
.nav-indicator { position: absolute; z-index: 0; height: calc(100% - 8px); top: 4px; left: 4px; border-radius: 4px; background: rgba(255,255,255,.13); opacity: 0; transition: width .25s ease, transform .25s ease, opacity .2s; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 1.25rem; padding: .7rem .85rem; border-radius: 4px; background: white; color: var(--night); font-size: .78rem; font-weight: 700; }
.header-cta svg, .button svg, .card-support > a svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .2s; }

.hero { position: relative; min-height: max(810px, 100svh); padding: 100px 0 0; display: flex; flex-direction: column; overflow: hidden; background: var(--night); color: white; }
.hero-image, .hero-aurora, .hero-dots { position: absolute; inset: 0; pointer-events: none; }
/* Legibility wash and grain are baked in: painted once, never re-blurred on scroll. */
.hero-image {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"),
    linear-gradient(270deg, rgba(6, 10, 22, .6) 0%, rgba(6, 10, 22, .26) 24%, rgba(6, 10, 22, 0) 50%),
    linear-gradient(100deg, rgba(8, 12, 24, .92) 0%, rgba(8, 12, 24, .74) 32%, rgba(8, 12, 24, .22) 56%, rgba(8, 12, 24, 0) 78%),
    linear-gradient(0deg, rgba(8, 12, 24, .55) 0%, rgba(8, 12, 24, 0) 40%),
    #0a0f1e;
}
/* Soft-blurred look from gradient falloff, not a runtime filter. */
.hero-aurora { overflow: hidden; }
.hero-aurora span { position: absolute; display: block; border-radius: 50%; backface-visibility: hidden; }
/* Pause the looping drift once the hero leaves the viewport so it stops
   competing with scroll compositing on the sections below. */
.hero.is-offscreen .hero-aurora span,
.hero.is-offscreen .code-cursor { animation-play-state: paused; }
.hero-aurora span:nth-child(1) {
  width: 64vw; aspect-ratio: 1; top: -34%; right: -16%;
  background: radial-gradient(circle closest-side, rgba(133, 114, 255, .74) 0%, rgba(133, 114, 255, .3) 34%, rgba(133, 114, 255, .08) 58%, rgba(133, 114, 255, 0) 78%);
  animation: aurora-drift-a 24s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
  width: 60vw; aspect-ratio: 1; bottom: -40%; right: -10%;
  background: radial-gradient(circle closest-side, rgba(80, 214, 231, .52) 0%, rgba(80, 214, 231, .2) 34%, rgba(80, 214, 231, .06) 58%, rgba(80, 214, 231, 0) 78%);
  animation: aurora-drift-b 30s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
  width: 52vw; aspect-ratio: 1; top: 10%; left: -16%;
  background: radial-gradient(circle closest-side, rgba(90, 70, 237, .48) 0%, rgba(90, 70, 237, .2) 34%, rgba(90, 70, 237, .06) 58%, rgba(90, 70, 237, 0) 78%);
  animation: aurora-drift-c 26s ease-in-out infinite alternate;
}
.hero-dots {
  opacity: .4;
  background-image: radial-gradient(rgba(186, 208, 244, .65) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 30%, black 70%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 30%, black 70%);
}
@keyframes aurora-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-7%, 9%, 0) scale(1.14); } }
@keyframes aurora-drift-b { from { transform: translate3d(0, 0, 0) scale(1.06); } to { transform: translate3d(9%, -8%, 0) scale(1); } }
@keyframes aurora-drift-c { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(11%, 7%, 0) scale(1.12); } }
.hero-layout { position: relative; z-index: 2; flex: 1; padding-block: clamp(5rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.signal { margin: 0 0 1.4rem; color: #b9c5d8; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font: 400 clamp(3.2rem, 5.4vw, 5.5rem)/1.08 var(--display); letter-spacing: var(--track-display); }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { max-width: 620px; margin: 1.7rem 0 0; color: #cbd5e5; font-size: clamp(1.05rem, 1.45vw, 1.22rem); line-height: 1.55; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 50px; padding: .8rem 1rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; border: 1px solid transparent; border-radius: 5px; font-size: .84rem; font-weight: 700; }
.button-primary { background: var(--violet); color: white; }
.button-primary:hover { background: var(--violet-bright); }
.button-ghost { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.12); }
/* Floating code: no frame, no panel, no wash. Legibility comes from a text shadow.
   Fills its grid column so it sits in a proper two-column relationship with the headline. */
.system-console { align-self: center; width: 100%; }
.console-head { display: flex; align-items: baseline; gap: 1.5rem; padding: 0 0 .85rem; color: #98a6bc; font: .66rem var(--display); letter-spacing: var(--track-micro); }
.build-state { color: var(--green); font: 700 .62rem var(--body); }
.code-tabs { display: flex; gap: 1.1rem; padding: 0 0 .9rem; color: #6d7c94; font-size: .64rem; }
.code-tabs span { padding: 0; }
.code-tabs .is-active { color: var(--cyan); }
.code-window { min-height: 0; margin: 0; padding: 0; overflow: visible; background: none; color: #c2cee0; font: .7rem/1.38 "DM Mono", "SFMono-Regular", Consolas, monospace; tab-size: 2; }
.code-window code { display: block; font-size: 0; line-height: 0; }
.code-line { display: block; white-space: pre; text-shadow: 0 1px 3px rgba(6, 10, 22, .95), 0 0 18px rgba(6, 10, 22, .8); font: .7rem/1.38 "DM Mono", "SFMono-Regular", Consolas, monospace; }
.code-line i { display: inline-block; width: 2rem; color: #7284a0; font-style: normal; user-select: none; }
.code-line b { color: #6ee6f4; font-weight: 500; }
.code-line em { color: #cdfa92; font-style: normal; }
.code-line q { color: #e0bdff; quotes: none; }
.code-cursor { display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -.15em; background: var(--cyan); animation: code-blink 1s steps(1) infinite; }
.console-foot { padding: 1.1rem 0 0; display: flex; align-items: baseline; gap: 1.5rem; color: #7a899f; font-size: .6rem; }
.console-foot strong { color: var(--green); font-weight: 700; }
@keyframes code-blink { 50% { opacity: 0; } }
.hero-footer { position: relative; z-index: 2; border-top: 1px solid var(--dark-line); background: rgba(11,16,32,.68); }
.hero-footer-inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; color: #8794a8; font-size: .66rem; letter-spacing: .08em; }

.section-index { margin: 0; color: var(--violet); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-index.light { color: #9c91ff; }
/* Let the browser skip layout/paint for sections that are far offscreen. */
.intro-panel, .capabilities, .method, .about, .faq, .contact, footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.intro-panel { padding-block: clamp(5rem, 9vw, 8rem); background: var(--paper); }
.intro-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.intro-layout > div { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.intro-layout h2 { max-width: 820px; margin: 0; font: 400 clamp(2.4rem, 4.1vw, 4.2rem)/1.16 var(--display); letter-spacing: var(--track-display); }
.intro-layout h2 span { color: var(--violet); }
.intro-layout > div > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }

.capabilities { padding-block: clamp(5rem, 8vw, 7rem); background: white; }
.section-heading { margin-bottom: 2.5rem; display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; }
.section-heading h2, .system-copy h2, .method-heading h2, .about-content h2, .faq-heading h2, .contact h2 { margin: .8rem 0 0; font: 400 clamp(2.4rem, 4vw, 4rem)/1.15 var(--display); letter-spacing: var(--track-display); }
.hero h1, .intro-layout h2, .section-heading h2, .system-copy h2, .method-heading h2, .about-content h2, .faq-heading h2, .contact h2, .capability-card h3, .method-steps h3 { letter-spacing: var(--track-display); }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 12px; }
.capability-card { position: relative; min-width: 0; padding: clamp(1.4rem, 2.5vw, 2rem); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); isolation: isolate; }
/* Transform-only spotlight: composited on the GPU, no gradient repaint on hover. */
.capability-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 30rem;
  height: 30rem;
  margin: -15rem 0 0 -15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 70, 237, .16), rgba(90, 70, 237, 0) 62%);
  transform: translate3d(var(--spot-x, 0px), var(--spot-y, 0px), 0);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  will-change: transform;
}
.capability-card:hover::before { opacity: 1; }
.card-top { display: flex; justify-content: space-between; color: #7b8495; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
.capability-card h3 { margin: 1.5rem 0 .75rem; font: 400 clamp(1.35rem, 2.2vw, 2.2rem)/1.18 var(--display); letter-spacing: var(--track-display); }
.capability-card > p, .consulting-copy p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.55; }
.card-web { grid-column: span 7; grid-row: span 2; min-height: 540px; background: #eef0ff; }
.card-web h3 { max-width: 640px; font-size: clamp(1.8rem, 3vw, 3rem); }
.browser-model { position: absolute; inset: auto 2rem 0 15%; height: 220px; border: 1px solid #aeb5c7; border-bottom: 0; background: white; box-shadow: 0 22px 50px rgba(28,38,68,.16); }
.browser-model-bar { height: 34px; padding: 0 .65rem; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); color: #8b93a2; font-size: .6rem; }
.browser-model-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c5cad4; }
.browser-model-bar span { margin-left: auto; }
.browser-model-body { position: relative; height: calc(100% - 34px); padding: 1.2rem; background-image: linear-gradient(rgba(23,32,54,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,54,.05) 1px, transparent 1px); background-size: 32px 32px; }
.browser-model-body b { display: block; width: 47%; height: 15px; margin-bottom: 10px; background: var(--navy); }
.browser-model-body b:nth-child(2) { width: 38%; }
.browser-model-body b:nth-child(3) { width: 28%; background: var(--violet); }
.browser-model-body span { position: absolute; right: 7%; width: 25%; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); }
.browser-model-body span:first-of-type { top: 18%; }
.browser-model-body span:last-of-type { top: 40%; right: 15%; background: #7a68ff; }
.card-hosting { grid-column: span 5; min-height: 264px; background: var(--night); color: white; border-color: var(--night); }
.card-hosting .card-top, .card-hosting p { color: #9ca9bc; }
.uptime { margin-top: 1.1rem; display: flex; align-items: baseline; gap: .5rem; }
.uptime strong { font: 400 clamp(3rem, 5vw, 5.2rem)/1 var(--display); color: var(--green); letter-spacing: var(--track-display); }
.uptime span { color: #a9b4c5; font-size: .72rem; }
.pulse-line { position: absolute; inset: auto 1.5rem 1.25rem; height: 1px; background: rgba(255,255,255,.14); }
.pulse-line i { position: absolute; left: 38%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.card-commerce { grid-column: span 5; min-height: 264px; }
.commerce-visual { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.commerce-visual span { padding: .55rem 0; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line); font-size: .65rem; }
.commerce-visual i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.commerce-visual b { font-weight: 600; }
.commerce-visual em { color: var(--muted); font-style: normal; }
.card-consulting { grid-column: span 8; min-height: 300px; display: grid; grid-template-columns: 1fr .9fr; column-gap: 2rem; background: #dfeafd; }
.card-consulting .card-top { grid-column: 1 / -1; }
.consulting-copy { align-self: end; }
.decision-map { align-self: end; display: flex; align-items: center; justify-content: center; gap: .55rem; padding-bottom: 1rem; }
.decision-map span { padding: .55rem .65rem; border: 1px solid #adb8cb; border-radius: 4px; background: rgba(255,255,255,.5); font-size: .58rem; font-weight: 700; }
.decision-map i { width: 24px; height: 1px; background: #8e9bb0; }
.card-automation { grid-column: span 4; min-height: 300px; background: var(--violet); color: white; border-color: var(--violet); }
.card-automation .card-top, .card-automation > p { color: #d9d4ff; }
.flow-map { position: absolute; inset: auto 1.5rem 1.5rem; display: flex; align-items: center; width: calc(100% - 3rem); }
.flow-map span { padding: .45rem; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; font-size: .55rem; }
.flow-map i { flex: 1; height: 1px; background: rgba(255,255,255,.35); }
.card-support { grid-column: span 12; min-height: 230px; display: grid; grid-template-columns: .2fr 1fr 1fr auto; align-items: center; gap: 2rem; background: var(--green); border-color: #a8df6e; }
.card-support .card-top { align-self: center; flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; }
.card-support .card-top span { color: #42532e; }
.card-support h3 { margin: 0; }
.card-support > p { color: #42532e; }
.card-support > a { display: flex; gap: 2rem; padding: .8rem 0; border-bottom: 1px solid #607642; font-size: .78rem; font-weight: 700; }

.system-section { min-height: 115svh; background: var(--night); color: white; }
.system-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.system-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.system-copy h2 { color: white; }
.system-copy h2 span { color: var(--cyan); }
.system-copy > p:last-child { max-width: 560px; margin: 1.5rem 0 0; color: #aab6c8; font-size: 1.05rem; }
.system-graph { width: 100%; max-width: 610px; margin-left: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(17,26,48,.72); box-shadow: 0 26px 70px rgba(0,0,0,.24); overflow: hidden; }
.graph-head { min-height: 48px; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--dark-line); color: #8895a9; font-size: .62rem; }
.graph-head strong { color: var(--green); font-weight: 700; }
.system-map { position: relative; min-height: 390px; padding: 2rem 1.4rem; display: grid; grid-template-columns: 1fr 142px 1fr; gap: 1.2rem; align-items: center; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 32px 32px; }
.system-map::before, .system-map::after { content: ""; position: absolute; top: 50%; height: 1px; width: calc(50% - 71px); background: linear-gradient(90deg, rgba(80,214,231,.08), var(--cyan)); }
.system-map::before { left: 0; }
.system-map::after { right: 0; transform: scaleX(-1); }
.map-column { position: relative; z-index: 1; display: grid; gap: .75rem; }
.map-label { margin-bottom: .2rem; color: #6f7d92; font-size: .56rem; letter-spacing: .08em; }
.map-node { min-height: 52px; padding: .65rem .75rem; display: flex; align-items: center; gap: .7rem; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: #111b31; color: #cdd6e5; }
.map-node i { color: var(--cyan); font-size: .56rem; font-style: normal; }
.map-node b { font: 400 .58rem/1.25 var(--display); letter-spacing: var(--track-micro); }
.map-core { position: relative; z-index: 2; min-height: 180px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(80,214,231,.5); border-radius: 7px; background: #0d172c; box-shadow: 0 0 45px rgba(80,214,231,.12); text-align: center; }
.map-core img { width: 60px; filter: brightness(0) invert(1); }
.core-pulse { position: absolute; inset: 8px; border: 1px solid rgba(80,214,231,.12); border-radius: 5px; }
.graph-foot { min-height: 44px; padding: 0 1rem; display: flex; align-items: center; justify-content: center; gap: .75rem; border-top: 1px solid var(--dark-line); color: #7f8da2; font-size: .55rem; letter-spacing: .08em; }
.graph-foot i { width: 34px; height: 1px; background: #38475f; }

.method { padding-block: clamp(5rem, 9vw, 8rem); background: var(--paper); }
.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 10vw, 9rem); }
.method-heading { position: sticky; top: 115px; align-self: start; }
.method-heading > p:last-child { max-width: 420px; color: var(--muted); }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-steps li { padding: 2rem 0; display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.method-steps > li > span { color: var(--violet); font: .7rem var(--display); letter-spacing: var(--track-micro); }
.method-steps h3 { margin: 0 0 .45rem; font: 400 clamp(1.25rem, 2vw, 1.8rem)/1.25 var(--display); letter-spacing: var(--track-display); }
.method-steps p { max-width: 560px; margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; background: white; }
.about-image-wrap { position: relative; min-height: 720px; overflow: hidden; }
.about-image-wrap > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) contrast(1.05); }
.image-caption { position: absolute; inset: auto 0 0; padding: 1rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; background: rgba(11,16,32,.82); color: white; font-size: .6rem; letter-spacing: .08em; }
.about-content { padding: clamp(4rem, 7vw, 7rem); align-self: center; }
.about-lead { margin: 1.6rem 0 .7rem; font-size: 1.15rem; font-weight: 600; }
.about-content > p:not(.section-index, .about-lead) { color: var(--muted); }
.values { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.values > div { padding: 1rem 0; display: grid; grid-template-columns: 36px 110px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.values span { color: var(--violet); font-size: .68rem; }
.values p { margin: 0; color: var(--muted); font-size: .88rem; }

.faq { padding-block: clamp(5rem, 8vw, 7rem); background: #e9edf3; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 9rem); }
.faq-heading > p:last-child { max-width: 410px; color: var(--muted); }
.faq-list { border-top: 1px solid #bcc4d1; }
details { border-bottom: 1px solid #bcc4d1; }
summary { padding: 1.25rem 0; display: grid; grid-template-columns: 1fr auto; gap: 1rem; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--violet); font-size: 1.35rem; font-weight: 400; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 650px; margin: -.2rem 2rem 1.5rem 0; color: var(--muted); line-height: 1.55; }

.contact { position: relative; padding-block: clamp(5rem, 9vw, 8rem); overflow: hidden; background: var(--violet); color: white; }
.contact-pattern { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(30deg, transparent 48%, white 49%, white 51%, transparent 52%); background-size: 38px 66px; }
.contact-layout { position: relative; z-index: 1; }
.contact h2 { max-width: 980px; color: white; }
.contact h2 span { color: var(--green); }
.contact-row { margin-top: 3rem; padding-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.4); }
.contact-row p { max-width: 470px; margin: 0; color: #e5e1ff; }
.button-light { background: white; color: var(--night); }

footer { padding-block: 1.75rem 1.1rem; background: #070b14; color: white; }
.footer-layout { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { border: 1px solid var(--dark-line); border-radius: 6px; }
.footer-brand p { max-width: 340px; margin: .75rem 0 0; color: #8f9aae; font-size: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; font-size: .84rem; }
.footer-links strong { margin-bottom: .3rem; color: #737f92; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; margin: .75rem 0 0; padding-top: 1rem; display: flex; justify-content: space-between; border-top: 1px solid var(--dark-line); color: #737f92; font-size: .68rem; letter-spacing: 0; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .system-console { display: none; }
  .card-web { grid-column: span 12; }
  .card-hosting, .card-commerce { grid-column: span 6; }
  .card-consulting { grid-column: span 12; }
  .card-automation { grid-column: span 7; }
  .card-support { grid-column: span 5; display: block; }
  .card-support > * { margin-bottom: 1rem; }
  .system-layout, .method-layout, .faq-layout { grid-template-columns: 1fr; }
  .intro-layout > div { grid-template-columns: 1fr; gap: 1.5rem; }
  .system-copy { max-width: 700px; }
  .system-graph { margin: 0 auto; max-width: 610px; }
  .method-heading { position: static; }
  .about { grid-template-columns: 1fr; }
  .about-image-wrap { min-height: 520px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 78px; }
  .site-header { padding: 8px; }
  .header-shell { min-height: 58px; grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .site-header nav { position: fixed; inset: 74px 8px auto; padding: .6rem; display: none; align-items: stretch; background: rgba(11,16,32,.97); box-shadow: 0 20px 50px rgba(0,0,0,.32); }
  .site-header.menu-open nav { display: flex; flex-direction: column; }
  .site-header nav a { padding: .85rem; }
  .nav-indicator { display: none; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-aurora span:nth-child(1) { width: 108vw; right: -34%; }
  .hero-aurora span:nth-child(2) { width: 100vw; right: -26%; bottom: -22%; }
  .hero-aurora span:nth-child(3) { width: 92vw; left: -30%; top: 6%; }
  .hero-image { background: linear-gradient(180deg, rgba(8, 12, 24, .74) 0%, rgba(8, 12, 24, .86) 52%, rgba(8, 12, 24, .96) 100%), #0a0f1e; }
  .hero-dots { opacity: .2; }
  .hero-layout { padding-block: 4.5rem 2.5rem; gap: 0; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .system-console { display: none; }
  .hero-footer-inner { min-height: 48px; }
  .hero-footer-inner span:last-child { display: none; }
  .intro-layout, .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-layout h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .intro-layout > div > p { margin-left: 0; }
  .section-heading h2, .system-copy h2, .method-heading h2, .about-content h2, .faq-heading h2, .contact h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .bento-grid { display: block; }
  .capability-card { min-height: 0; margin-bottom: 10px; }
  .card-web { min-height: 510px; }
  .browser-model { inset: auto 1.2rem 0 1.2rem; height: 210px; }
  .card-hosting { min-height: 310px; }
  .card-commerce { min-height: 330px; }
  .card-consulting { min-height: 390px; display: block; }
  .decision-map { margin-top: 3rem; justify-content: flex-start; }
  .card-automation { min-height: 330px; }
  .card-support { min-height: 280px; }
  .system-section { min-height: auto; }
  .system-sticky { position: relative; min-height: 0; padding-block: 5rem; }
  .system-map { min-height: 0; padding: 1.25rem; grid-template-columns: 1fr; gap: 1rem; }
  .system-map::before, .system-map::after { display: none; }
  .map-core { min-height: 150px; grid-row: 2; }
  .map-outputs { grid-row: 3; }
  .graph-foot { gap: .45rem; }
  .graph-foot i { width: 18px; }
  .method-steps li { grid-template-columns: 42px 1fr; gap: .75rem; }
  .about-image-wrap { min-height: 400px; }
  .about-content { padding: 4rem var(--gutter); }
  .values > div { grid-template-columns: 32px 1fr; }
  .values p { grid-column: 2; }
  .contact-row { align-items: stretch; flex-direction: column; }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  .decision-map { gap: .3rem; }
  .decision-map span { padding: .4rem; font-size: .5rem; }
}

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

/* Pre-paint hidden state so in-view reveals never flash their final position first. */
html.motion-init .site-header,
html.motion-init .signal,
html.motion-init .hero h1,
html.motion-init .hero-copy,
html.motion-init .hero-actions,
html.motion-init .hero-footer,
html.motion-init .system-console,
html.motion-init .code-line,
html.motion-init .intro-panel .section-index,
html.motion-init .intro-panel h2,
html.motion-init .intro-layout > div > p,
html.motion-init .section-heading .section-index,
html.motion-init .section-heading h2,
html.motion-init .section-heading > p,
html.motion-init .capability-card,
html.motion-init .browser-model,
html.motion-init .commerce-visual span,
html.motion-init .decision-map > *,
html.motion-init .flow-map > *,
html.motion-init .system-copy .section-index,
html.motion-init .system-copy h2,
html.motion-init .system-copy > p:last-child,
html.motion-init .system-graph,
html.motion-init .map-node,
html.motion-init .map-core,
html.motion-init .method-heading .section-index,
html.motion-init .method-heading h2,
html.motion-init .method-heading > p:last-child,
html.motion-init .method-steps li,
html.motion-init .about-image-wrap,
html.motion-init .about-content .section-index,
html.motion-init .about-content h2,
html.motion-init .about-content .about-lead,
html.motion-init .about-content > p:not(.section-index):not(.about-lead),
html.motion-init .values > div,
html.motion-init .faq-heading .section-index,
html.motion-init .faq-heading h2,
html.motion-init .faq-heading > p:last-child,
html.motion-init .faq-list details,
html.motion-init .contact .section-index,
html.motion-init .contact h2,
html.motion-init .contact-row,
html.motion-init .footer-brand,
html.motion-init .footer-links,
html.motion-init .copyright {
  opacity: 0;
}