:root {
  --navy-950: #050c16;
  --navy-900: #07111f;
  --navy-850: #091625;
  --navy-800: #0d1b2d;
  --navy-750: #13233a;
  --brand: #25406b;
  --brand-light: #5677a7;
  --petrol: #147d78;
  --cyan: #63ddd5;
  --cyan-soft: #a9f1ed;
  --white: #f5f7fa;
  --muted: #b6c4d0;
  --line: rgba(184, 213, 230, 0.14);
  --line-strong: rgba(184, 213, 230, 0.28);
  --success: #70d6a5;
  --warning: #f2c96d;
  --danger: #f08080;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 82px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-900);
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 64, 107, 0.12), transparent 30%),
    var(--navy-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: var(--cyan-soft);
  font-style: normal;
  font-weight: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  color: var(--navy-950);
  background: var(--cyan);
}

.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: fixed;
  z-index: 999;
  top: -80px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--cyan);
  border-radius: 8px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 128px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 64px;
}

.section-heading h2,
.about h2,
.site-proof h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 520;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
  max-width: none;
}

.section-heading--split > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1.04rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: height 240ms var(--ease), background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(5, 12, 22, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.brand__copy span {
  margin-top: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a:not(.button) {
  position: relative;
  color: #ccdae6;
  font-size: 0.88rem;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  transition: transform 200ms var(--ease), background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #061417;
  background: var(--cyan);
  box-shadow: 0 12px 36px rgba(99, 221, 213, 0.14);
}

.button--primary:hover {
  background: #8ce9e3;
  box-shadow: 0 18px 42px rgba(99, 221, 213, 0.22);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-strong);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 221, 213, 0.42);
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 700;
}

.text-link span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 200ms var(--ease), border-color 200ms ease;
}

.text-link:hover span {
  border-color: var(--cyan);
  transform: translate(2px, -2px);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 64px) 0 100px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(7, 17, 31, 0.94) 46%, rgba(7, 17, 31, 0.58) 100%),
    radial-gradient(circle at 76% 42%, rgba(37, 64, 107, 0.35), transparent 34%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 173, 200, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 173, 200, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 35%, black 80%, transparent);
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: var(--brand);
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-glow--one {
  top: 10%;
  right: 2%;
}

.hero-glow--two {
  bottom: -14%;
  left: 28%;
  background: var(--petrol);
  opacity: 0.12;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  align-items: center;
  gap: 70px;
}

.hero__content {
  max-width: 700px;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 6.3vw, 6.8rem);
  font-weight: 520;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: #b7c7d5;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__proof span {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__proof span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--cyan);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
}

.hero-logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66%;
  aspect-ratio: 1.45;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.32));
}

.hero-logo::before {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle, rgba(99, 221, 213, 0.15), transparent 66%);
  content: "";
}

.hero-logo img {
  width: 100%;
  filter: none;
  opacity: 1;
}

.logo-network {
  position: absolute;
  inset: -3%;
  z-index: 1;
  width: 106%;
  height: 106%;
  overflow: visible;
  pointer-events: none;
}

.logo-network__links path {
  fill: none;
  stroke: rgba(99, 221, 213, 0.46);
  stroke-width: 1.5;
  stroke-dasharray: 3 8;
  animation: network-dash 12s linear infinite;
}

.logo-network__nodes circle {
  fill: var(--cyan);
  stroke: var(--navy-900);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: network-node-pulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(99, 221, 213, 0.95));
}

.logo-network__nodes circle:nth-child(2n) {
  animation-delay: -1.2s;
}

.logo-network__pulses circle {
  fill: #e9fffd;
  filter: drop-shadow(0 0 7px var(--cyan));
}

.logo-orbit {
  position: absolute;
  border: 1px solid rgba(99, 221, 213, 0.18);
  border-radius: 50%;
}

.logo-orbit--outer {
  inset: 4%;
  animation: rotate 38s linear infinite;
}

.logo-orbit--inner {
  inset: 17%;
  border-style: dashed;
  border-color: rgba(86, 119, 167, 0.32);
  animation: rotate-reverse 28s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border: 2px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(99, 221, 213, 0.85);
}

.orbit-node--one { top: 8%; right: 28%; }
.orbit-node--two { right: 7%; bottom: 34%; }
.orbit-node--three { bottom: 8%; left: 31%; }

.signal {
  position: absolute;
  padding: 7px 11px;
  color: #bfceff;
  background: rgba(13, 27, 45, 0.78);
  border: 1px solid rgba(86, 119, 167, 0.34);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal--one { top: 17%; left: 3%; animation: float 5s ease-in-out infinite; }
.signal--two { top: 30%; right: 1%; animation: float 5.8s ease-in-out -1s infinite; }
.signal--three { right: 14%; bottom: 13%; animation: float 6.2s ease-in-out -2.1s infinite; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 24px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotate-reverse { to { transform: rotate(-360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes scroll-pulse { 50% { opacity: 0.3; transform: scaleY(0.65); transform-origin: top; } }
@keyframes network-dash { to { stroke-dashoffset: -88; } }
@keyframes network-node-pulse { 50% { opacity: 0.55; transform: scale(1.45); } }

/* Scanner */

.scanner-section {
  background:
    radial-gradient(circle at 75% 20%, rgba(20, 125, 120, 0.11), transparent 26%),
    var(--navy-850);
}

.scanner {
  position: relative;
  min-height: 440px;
  padding: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.scanner::before {
  position: absolute;
  top: -100px;
  left: 40%;
  width: 320px;
  height: 220px;
  background: rgba(99, 221, 213, 0.08);
  border-radius: 50%;
  filter: blur(90px);
  content: "";
  pointer-events: none;
}

.scanner__input-view {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 12px;
}

.scanner__entry,
.scanner__examples {
  padding: 32px;
  background: rgba(5, 12, 22, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 24px;
}

.scanner__entry > label,
.scanner__examples > p {
  display: block;
  margin-bottom: 14px;
  color: #dce8f0;
  font-size: 0.82rem;
  font-weight: 700;
}

.textarea-wrap {
  position: relative;
}

.scanner__choice-hint {
  margin: 8px 0 14px;
  padding: 11px 14px;
  color: #dce8f0;
  background: rgba(99, 221, 213, 0.08);
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  font-size: 0.92rem;
}

.scanner__choice-hint strong {
  color: var(--cyan);
}

.scanner__focus-hint {
  margin: 10px 2px 0;
  color: #b8c9d6;
  font-size: 0.84rem;
  line-height: 1.45;
}

.scanner__focus-hint:not([hidden]) {
  animation: focus-hint-in 180ms ease-out both;
}

@keyframes focus-hint-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 22px 62px 40px 22px;
  resize: vertical;
  color: var(--white);
  caret-color: var(--cyan);
  background: rgba(9, 22, 37, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  line-height: 1.65;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.textarea-wrap textarea::placeholder {
  color: #6f8294;
}

.textarea-wrap textarea:focus {
  border-color: rgba(99, 221, 213, 0.62);
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 221, 213, 0.08);
}

.voice-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--cyan);
  background: rgba(99, 221, 213, 0.08);
  border: 1px solid rgba(99, 221, 213, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.voice-button.is-listening {
  color: var(--navy-950);
  background: var(--cyan);
  animation: voice-pulse 1.4s ease-in-out infinite;
}

.voice-button svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@keyframes voice-pulse { 50% { box-shadow: 0 0 0 10px rgba(99, 221, 213, 0.08); } }

.character-count {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: #91a5b5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.privacy-note {
  display: flex;
  gap: 9px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-note span {
  color: var(--cyan);
}

.scanner-transparency {
  margin-top: 16px;
  padding: 17px 18px;
  color: #c9d8e3;
  background: rgba(9, 25, 41, 0.94);
  border: 1px solid rgba(99, 221, 213, 0.28);
  border-radius: 14px;
}

.scanner-transparency h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.92rem;
}

.scanner-transparency p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.58;
}

.scanner-transparency dl {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.scanner-transparency dl[hidden] {
  display: none;
}

.scanner-transparency dl div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1fr;
  gap: 10px;
}

.scanner-transparency dt {
  color: #91a7b8;
  font-size: 0.7rem;
}

.scanner-transparency dd {
  margin: 0;
  color: #edf6fa;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
}

.scanner-transparency__status {
  color: #a9bdca;
}

.scanner-transparency a {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan-soft);
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scanner-transparency.is-error {
  border-color: rgba(255, 133, 133, 0.7);
}

.scanner-transparency.is-error .scanner-transparency__status {
  color: #ffb4b4;
}

.scanner__submit-row .button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.scanner__examples {
  display: flex;
  flex-direction: column;
}

.scanner__examples button {
  position: relative;
  margin-top: -1px;
  padding: 17px 34px 17px 0;
  color: #aebdca;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.82rem;
  transition: color 180ms ease, padding-left 180ms var(--ease);
}

.scanner__examples button::after {
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--cyan);
  content: "+";
  transform: translateY(-50%);
}

.scanner__examples button:hover {
  padding-left: 7px;
  color: var(--white);
}

.scanner__submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 10px 0 22px;
}

.scanner__submit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.scanner__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 50px 20px;
  text-align: center;
}

.scanner__progress[hidden],
.scanner__result[hidden],
[data-view-panel][hidden] {
  display: none;
}

.scanner-pulse {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 32px;
}

.scanner-pulse span {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(99, 221, 213, 0.64);
}

.scanner-pulse span:nth-child(1) { animation: pulse-node-1 1.6s ease-in-out infinite; }
.scanner-pulse span:nth-child(2) { animation: pulse-node-2 1.6s ease-in-out infinite; }
.scanner-pulse span:nth-child(3) { animation: pulse-node-3 1.6s ease-in-out infinite; }

@keyframes pulse-node-1 { 50% { transform: translate(-32px, 24px) scale(0.55); } }
@keyframes pulse-node-2 { 50% { transform: translate(32px, 24px) scale(0.55); } }
@keyframes pulse-node-3 { 50% { transform: translateY(-34px) scale(0.55); } }

.scanner__progress h3 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.progress-steps {
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8ea2b3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.progress-steps li span {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.progress-steps li.is-active {
  color: var(--cyan);
}

.progress-steps li.is-complete {
  color: var(--success);
}

.progress-steps li.is-complete span {
  background: currentColor;
}

.scanner__result {
  position: relative;
  padding: 30px;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  padding: 10px 6px 28px;
  border-bottom: 1px solid var(--line);
}

.result-header .eyebrow {
  margin-bottom: 12px;
}

.result-header h3 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.12;
  font-weight: 540;
}

.scanner-source {
  margin: 12px 0 0;
  color: #b8c9d8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.fit-reason {
  max-width: 850px;
  margin: -12px 6px 24px;
  color: #c2d0dc;
  font-size: 0.86rem;
  line-height: 1.65;
}

.fit-badge,
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fit-badge {
  padding: 9px 13px;
  color: var(--success);
  background: rgba(112, 214, 165, 0.07);
  border: 1px solid rgba(112, 214, 165, 0.22);
  border-radius: 999px;
}

.fit-badge i,
.status i {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.view-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.view-tabs button {
  padding: 9px 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.73rem;
}

.view-tabs button[aria-selected="true"] {
  color: var(--navy-950);
  background: var(--cyan);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: 16px;
}

.workflow-card,
.insight-card,
.tech-matrix article {
  background: rgba(5, 12, 22, 0.58);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.workflow-card {
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 36px;
}

.workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.workflow-node {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 105px;
  min-height: 78px;
  padding: 12px;
  color: #dfeaf2;
  background: var(--navy-800);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.85);
  animation: node-in 420ms var(--ease) forwards;
}

.workflow-node--agent {
  color: var(--cyan-soft);
  border-color: rgba(99, 221, 213, 0.42);
  box-shadow: inset 0 0 24px rgba(99, 221, 213, 0.05);
}

.workflow-node--human {
  color: #fff2cc;
  border-color: rgba(242, 201, 109, 0.45);
}

.workflow-node--quality {
  color: #cce7ff;
  border-color: rgba(130, 174, 242, 0.45);
}

.workflow-node--result {
  color: #d7ffe9;
  border-color: rgba(112, 214, 165, 0.45);
}

.workflow-connector {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: visible;
  background: var(--line-strong);
}

.workflow-connector::after {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
  animation: data-flow 1.8s ease-in-out infinite;
}

@keyframes node-in { to { opacity: 1; transform: scale(1); } }
@keyframes data-flow { to { transform: translateX(38px); opacity: 0; } }

.insight-stack {
  display: grid;
  gap: 12px;
}

.insight-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px;
}

.insight-card--accent {
  background: linear-gradient(135deg, rgba(20, 125, 120, 0.16), rgba(5, 12, 22, 0.62));
  border-color: rgba(99, 221, 213, 0.22);
}

.insight-card__number {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
}

.insight-card h4,
.tech-matrix h4 {
  margin-bottom: 7px;
  font-size: 0.9rem;
}

.insight-card p,
.tech-matrix p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.tech-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tech-matrix article {
  min-height: 220px;
  padding: 24px;
}

.tech-matrix article > span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.follow-up-card {
  margin-top: 12px;
  padding: 22px 24px;
  background: rgba(5, 12, 22, 0.58);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.follow-up-card[hidden] {
  display: none;
}

.follow-up-card > span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.12em;
}

.follow-up-card h4 {
  margin: 9px 0 7px;
}

.follow-up-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}

/* Projects */

.projects {
  background: var(--navy-900);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 690px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(19, 35, 58, 0.82), rgba(7, 17, 31, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 320ms var(--ease), border-color 320ms ease, box-shadow 320ms ease;
}

.project-card:hover {
  border-color: rgba(99, 221, 213, 0.25);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
  transform: translateY(-7px);
}

.project-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}

.project-card__topline > span:last-child {
  color: #8397a8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.status--testing { color: var(--warning); }
.status--live { color: var(--success); }
.status--development { color: #82aef2; }

.project-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.project-kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 3vw, 3.25rem);
  font-weight: 520;
}

.project-card__content > p:not(.project-kicker) {
  color: #aebdca;
  font-size: 0.93rem;
}

.project-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 4px 0 30px;
  list-style: none;
}

.project-card li {
  padding: 6px 10px;
  color: #b2c1cd;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
}

.project-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* PictureFix schematic */

.picturefix-visual {
  background:
    radial-gradient(circle at 22% 30%, rgba(242, 201, 109, 0.12), transparent 28%),
    linear-gradient(135deg, #111d2d, #0a1320);
}

.picture-plane {
  position: absolute;
  top: 50%;
  width: 240px;
  height: 170px;
  overflow: hidden;
  border: 7px solid rgba(237, 224, 194, 0.8);
  border-bottom-width: 22px;
  border-radius: 3px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3);
}

.picture-plane::before,
.picture-plane::after {
  position: absolute;
  content: "";
}

.picture-plane::before {
  right: -30px;
  bottom: -10px;
  left: -30px;
  height: 90px;
  background: #486078;
  clip-path: polygon(0 80%, 22% 25%, 38% 55%, 57% 5%, 100% 76%, 100% 100%, 0 100%);
}

.picture-plane::after {
  top: 25px;
  right: 34px;
  width: 34px;
  height: 34px;
  background: #c6b16f;
  border-radius: 50%;
}

.picture-plane--before {
  left: 22%;
  background: #887a68;
  filter: saturate(0.42) contrast(0.9);
  transform: translate(-20%, -48%) rotate(-6deg);
}

.picture-plane--before i {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 2px;
  background: rgba(240, 224, 192, 0.72);
  transform: rotate(-32deg);
}

.picture-plane--before i:nth-child(2) { top: 35px; left: 20px; }
.picture-plane--before i:nth-child(3) { top: 86px; right: 26px; transform: rotate(42deg); }
.picture-plane--before i:nth-child(4) { bottom: 33px; left: 78px; width: 70px; transform: rotate(12deg); }

.picture-plane--after {
  right: 11%;
  background: #203b55;
  border-color: rgba(246, 244, 231, 0.92);
  transform: translate(12%, -48%) rotate(5deg);
}

.scan-line {
  position: absolute;
  z-index: 5;
  top: 42px;
  bottom: 42px;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px var(--cyan);
  animation: scan 4s ease-in-out infinite alternate;
}

@keyframes scan { from { transform: translateX(-100px); } to { transform: translateX(100px); } }

/* Catalog schematic */

.catalog-visual {
  padding: 28px;
  background: linear-gradient(145deg, #251e1b, #111820);
}

.mini-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  height: 42px;
  padding: 0 13px;
  margin: 0 auto 18px;
  background: #eee6db;
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.mini-search span {
  width: 10px;
  height: 10px;
  border: 2px solid #7c6855;
  border-radius: 50%;
}

.mini-search i {
  flex: 1;
  color: #695c52;
  font-size: 0.67rem;
  font-style: normal;
}

.mini-search b {
  color: #8b6952;
}

.stitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  max-width: 410px;
  margin: auto;
}

.stitch {
  display: grid;
  place-items: center;
  aspect-ratio: 1.3;
  color: #d5b996;
  background:
    repeating-linear-gradient(30deg, transparent 0 4px, rgba(255, 255, 255, 0.025) 4px 5px),
    #2e2724;
  border: 1px solid rgba(238, 210, 178, 0.12);
  border-radius: 7px;
  font-size: 1.8rem;
  text-shadow: 1px 1px 0 #765f4a, -1px -1px 0 #ffe2b9;
  opacity: 0;
  animation: stitch-in 3.2s var(--ease) infinite;
}

.stitch:nth-child(2) { animation-delay: 0.18s; color: #b9786f; }
.stitch:nth-child(3) { animation-delay: 0.32s; color: #6f9a77; }
.stitch:nth-child(4) { animation-delay: 0.46s; color: #c6a35a; }
.stitch:nth-child(5) { animation-delay: 0.6s; color: #9c6673; }
.stitch:nth-child(6) { animation-delay: 0.74s; color: #7d92b2; }

@keyframes stitch-in { 0%, 12% { opacity: 0; transform: translateY(7px); } 24%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }

/* Learning card */

.learning-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(circle at 70% 20%, rgba(99, 221, 213, 0.1), transparent 30%), #0a1722;
  perspective: 1000px;
}

.flashcard {
  position: relative;
  width: min(100%, 370px);
  height: 205px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 700ms var(--ease);
}

.flashcard.is-flipped {
  transform: rotateY(180deg);
}

.flashcard__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  overflow: hidden;
  background: linear-gradient(145deg, #14283e, #0c1928);
  border: 1px solid rgba(99, 221, 213, 0.23);
  border-radius: 18px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
  backface-visibility: hidden;
  text-align: left;
}

.flashcard__face::after {
  position: absolute;
  right: -36px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  background: rgba(99, 221, 213, 0.08);
  border-radius: 50%;
  content: "";
}

.flashcard__back {
  background: linear-gradient(145deg, #16423f, #0d2528);
  transform: rotateY(180deg);
}

.flashcard small {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flashcard strong {
  max-width: 92%;
  font-size: 1.05rem;
  line-height: 1.4;
}

.flashcard em {
  color: var(--muted);
  font-size: 0.65rem;
  font-style: normal;
}

/* Build schematic */

.build-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(99, 221, 213, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 221, 213, 0.025) 1px, transparent 1px),
    #07121e;
  background-size: 24px 24px;
}

.build-window {
  width: min(100%, 410px);
  overflow: hidden;
  background: rgba(6, 13, 23, 0.88);
  border: 1px solid rgba(99, 221, 213, 0.18);
  border-radius: 13px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.build-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
}

.build-window__bar i {
  width: 7px;
  height: 7px;
  background: #7b8b9a;
  border-radius: 50%;
}

.build-window__bar i:nth-child(1) { background: #e77d7d; }
.build-window__bar i:nth-child(2) { background: #d7b75d; }
.build-window__bar i:nth-child(3) { background: #61bd88; }

.build-window__bar span {
  margin-left: 8px;
  color: #6f8190;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.55rem;
}

.build-lines {
  display: grid;
  gap: 12px;
  padding: 26px 20px 20px;
}

.build-lines span {
  width: var(--w);
  height: 7px;
  background: linear-gradient(90deg, var(--brand-light), rgba(86, 119, 167, 0.12));
  border-radius: 5px;
  transform-origin: left;
  animation: code-line 2.6s var(--ease) infinite alternate;
}

.build-lines span:nth-child(2) { animation-delay: 0.25s; }
.build-lines span:nth-child(3) { animation-delay: 0.5s; }
.build-lines span:nth-child(4) { animation-delay: 0.75s; }

@keyframes code-line { from { transform: scaleX(0.2); opacity: 0.35; } to { transform: scaleX(1); opacity: 1; } }

.build-success {
  padding: 13px 20px;
  color: var(--success);
  background: rgba(112, 214, 165, 0.045);
  border-top: 1px solid rgba(112, 214, 165, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

/* Solutions */

.solutions {
  background:
    radial-gradient(circle at 7% 70%, rgba(37, 64, 107, 0.18), transparent 25%),
    var(--navy-850);
}

.solutions__grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(350px, 1fr) minmax(270px, 0.72fr);
  gap: 46px;
  align-items: start;
}

.solutions__heading {
  position: sticky;
  top: 110px;
  margin: 0;
}

.solutions__heading h2 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 4.2vw, 4.5rem);
}

.solutions__heading > p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.solution-list {
  border-top: 1px solid var(--line);
}

.solution-item {
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 0 10px 0 0;
  color: #9dafbe;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, padding-left 220ms var(--ease);
}

.solution-item:hover,
.solution-item.is-active {
  padding-left: 10px;
  color: var(--white);
}

.solution-item span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
}

.solution-item strong {
  font-size: 1.05rem;
}

.solution-item i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  font-style: normal;
}

.solution-item.is-active i {
  color: var(--navy-950);
  background: var(--cyan);
  border-color: var(--cyan);
}

.solution-detail {
  position: sticky;
  top: 110px;
  min-height: 330px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(37, 64, 107, 0.25), rgba(5, 12, 22, 0.72));
  border: 1px solid rgba(99, 221, 213, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.solution-detail::before {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 68px;
  height: 68px;
  border-right: 1px solid rgba(99, 221, 213, 0.24);
  border-bottom: 1px solid rgba(99, 221, 213, 0.24);
  content: "";
}

.solution-detail__tag {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.59rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-detail h3 {
  margin-bottom: 14px;
  font-size: 1.65rem;
  font-weight: 560;
}

.solution-detail p {
  color: var(--muted);
  font-size: 0.83rem;
}

.solution-detail div {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: #a7b8c6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.61rem;
}

/* Method */

.method {
  overflow: hidden;
  background: var(--navy-900);
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-track::before {
  position: absolute;
  top: 26px;
  right: 5%;
  left: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 221, 213, 0.38), transparent);
  content: "";
}

.method-track li {
  position: relative;
  padding-top: 78px;
}

.method-track li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--navy-900);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--navy-900), 0 0 24px rgba(99, 221, 213, 0.25);
  content: "";
}

.method-track span {
  display: block;
  margin-bottom: 15px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
}

.method-track strong {
  display: block;
  margin-bottom: 9px;
  font-size: 0.9rem;
}

.method-track p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* About */

.about {
  background:
    radial-gradient(circle at 22% 40%, rgba(37, 64, 107, 0.22), transparent 25%),
    var(--navy-850);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: center;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 0.82;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(99, 221, 213, 0.14), transparent 24%),
    linear-gradient(145deg, #142945, #08131f);
  border: 1px solid var(--line-strong);
  border-radius: 40% 40% 24px 24px;
  box-shadow: var(--shadow);
}

.portrait-placeholder::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
}

.portrait-placeholder img {
  position: relative;
  z-index: 1;
  width: 58%;
  margin-top: -12%;
  filter: none;
  opacity: 1;
}

.portrait-placeholder > span {
  position: absolute;
  z-index: 2;
  bottom: 46px;
  left: 38px;
  font-size: clamp(2rem, 3.25vw, 3.35rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 0.94;
}

.portrait-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 221, 213, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 221, 213, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.about h2 {
  margin-bottom: 32px;
}

.about__lead {
  color: #d9e3eb;
  font-size: 1.2rem;
  line-height: 1.6;
}

.about__content > p:not(.eyebrow):not(.about__lead) {
  color: var(--muted);
}

.career-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #9dafbe;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.career-line i {
  color: #617488;
  font-style: normal;
}

.career-line strong {
  color: var(--cyan);
}

/* Site proof */

.site-proof {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.65fr);
  gap: 100px;
  align-items: center;
}

.site-proof h2 {
  margin-bottom: 28px;
}

.site-proof__copy > p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.build-receipt {
  padding: 24px;
  background: #07121f;
  border: 1px solid rgba(99, 221, 213, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.build-receipt__header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  color: #8fa4b5;
  border-bottom: 1px solid var(--line);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.build-receipt__header i {
  color: #82aef2;
  font-style: normal;
}

.build-receipt dl {
  margin: 15px 0 22px;
}

.build-receipt dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: #a6b6c4;
  border-bottom: 1px dashed rgba(184, 213, 230, 0.1);
  font-size: 0.66rem;
}

.build-receipt dt,
.build-receipt dd {
  margin: 0;
}

.build-receipt dd {
  text-align: right;
}

.check { color: var(--success); }
.pending { color: var(--warning); }

/* Contact */

.contact {
  background:
    radial-gradient(circle at 20% 35%, rgba(20, 125, 120, 0.15), transparent 27%),
    var(--navy-850);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.74fr);
  gap: 100px;
  align-items: start;
}

.contact h2 {
  margin-bottom: 30px;
}

.contact__copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}

.contact__copy > a {
  display: inline-block;
  margin-top: 22px;
  color: var(--cyan-soft);
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(99, 221, 213, 0.35);
}

.contact-form {
  padding: 34px;
  background: rgba(5, 14, 25, 0.88);
  border: 1px solid rgba(184, 213, 230, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form > label,
.field-row label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #e2eaf0;
  font-size: 0.76rem;
  font-weight: 650;
}

.contact-form label small {
  color: #9cafbf;
  font-weight: 400;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--white);
  background: #11243a;
  border: 1px solid #49647b;
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:not([type="checkbox"]) {
  min-height: 58px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9fb1bf;
  opacity: 1;
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: #142a43;
  border-color: #668198;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #142a43;
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 221, 213, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-privacy {
  margin: 0 0 20px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(99, 221, 213, 0.06);
  border-left: 3px solid rgba(99, 221, 213, 0.7);
  border-radius: 0 9px 9px 0;
  font-size: 0.74rem;
  line-height: 1.55;
}

.contact-privacy a {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-note {
  margin: 12px 0 0;
  color: #95a8b8;
  text-align: center;
  font-size: 0.7rem;
}

.form-note.is-success {
  color: var(--success);
}

.form-note.is-error {
  color: #ffaaaa;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: var(--navy-950);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand--footer .brand__mark {
  width: 38px;
  height: 38px;
}

.site-footer p {
  margin: 0;
  color: #9aabba;
  font-size: 0.73rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  color: #a9b9c5;
  font-size: 0.72rem;
}

/* Legal and system pages */

.legal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(37, 64, 107, 0.24), transparent 30%),
    var(--navy-900);
}

.legal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 18px 0;
  background: rgba(5, 12, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-back {
  color: var(--cyan-soft);
  font-size: 0.82rem;
}

.legal-main {
  padding: clamp(72px, 9vw, 128px) 0;
}

.legal-content {
  width: min(860px, calc(100vw - 48px));
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 34px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 560;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: #bdcbd6;
}

.legal-content a {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .button {
  color: #061417;
  text-decoration: none;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content address {
  color: #dce6ed;
  font-style: normal;
}

.legal-required {
  margin: 32px 0;
  padding: 20px 22px;
  color: #ffe7ae;
  background: rgba(242, 201, 109, 0.08);
  border: 1px solid rgba(242, 201, 109, 0.38);
  border-radius: 14px;
}

.legal-meta {
  margin-bottom: 42px;
  color: #8fa4b5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 80px);
  place-items: center;
  text-align: center;
}

.error-page p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.error-page .button {
  margin-top: 18px;
}

/* Dialogs and toast */

dialog {
  color: var(--white);
}

.project-dialog,
.build-dialog,
.notice-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 0;
  overflow: auto;
  background: #0b1828;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.6);
}

.project-dialog::backdrop,
.build-dialog::backdrop,
.notice-dialog::backdrop {
  background: rgba(2, 7, 12, 0.78);
  backdrop-filter: blur(10px);
}

.notice-dialog {
  width: min(560px, calc(100vw - 32px));
  overflow: visible;
}

.notice-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  margin: 0;
}

.notice-dialog__content {
  padding: 42px;
}

.notice-dialog__content h2 {
  max-width: calc(100% - 42px);
  margin: 16px 0 18px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.12;
}

.notice-dialog__content > p:not(.eyebrow) {
  margin: 0;
  color: #d7e3eb;
  font-size: 1rem;
  line-height: 1.65;
}

.notice-dialog__confirm {
  min-width: 170px;
  margin-top: 28px;
}

.dialog-close {
  position: sticky;
  z-index: 4;
  top: 16px;
  left: calc(100% - 58px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: -40px;
  color: var(--white);
  background: rgba(5, 12, 22, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.dialog-content {
  padding: 54px;
}

.dialog-content h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 520;
}

.dialog-lead {
  color: #c8d6e1;
  font-size: 1.08rem;
}

.dialog-content > p:not(.eyebrow):not(.dialog-lead) {
  color: var(--muted);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.dialog-facts li {
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.dialog-facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-facts strong {
  font-size: 0.82rem;
  line-height: 1.4;
}

.dialog-note {
  padding: 20px;
  color: #d8e6ec;
  background: rgba(99, 221, 213, 0.06);
  border: 1px solid rgba(99, 221, 213, 0.16);
  border-radius: 14px;
  font-size: 0.8rem;
}

.build-timeline {
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.build-timeline li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.build-timeline li > span {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
}

.build-timeline strong {
  display: block;
  margin-bottom: 5px;
}

.build-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 15px 18px;
  color: #dce8ef;
  background: #12273a;
  border: 1px solid rgba(99, 221, 213, 0.3);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 200ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1120px) {
  :root { --shell: min(100% - 40px, 980px); }

  .main-nav { gap: 18px; }
  .main-nav > a:not(.button) { font-size: 0.78rem; }

  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.7fr); gap: 30px; }
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.7rem); }

  .solutions__grid { grid-template-columns: minmax(220px, 0.7fr) minmax(330px, 1fr); }
  .solution-detail { grid-column: 2; position: static; min-height: 260px; }
  .solution-detail__tag { margin-bottom: 30px; }

  .method-track { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
  .method-track::before { display: none; }
  .method-track li { padding-top: 38px; }
  .method-track li::before { top: 0; }

  .site-proof__grid,
  .contact__grid { gap: 60px; }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
    --shell: min(100% - 32px, 720px);
  }

  .section { padding: 96px 0; }
  .section-heading { margin-bottom: 46px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }

  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    background: rgba(5, 12, 22, 0.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 180ms ease, transform 220ms var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    padding: 15px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .main-nav .button { margin-top: 16px; }

  .hero { min-height: auto; padding: 140px 0 100px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { position: relative; z-index: 3; }
  .hero__visual { width: min(76vw, 480px); margin: -20px auto 0; opacity: 0.8; }
  .scroll-cue { display: none; }

  .scanner__input-view { grid-template-columns: 1fr; }
  .scanner__submit-row { grid-column: auto; }
  .result-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: 270px; overflow-x: auto; }
  .tech-matrix { grid-template-columns: repeat(2, 1fr); }
  .tech-matrix article { min-height: 180px; }
  .tech-matrix article > span { margin-bottom: 24px; }

  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 660px; }

  .solutions__grid { grid-template-columns: 1fr; gap: 42px; }
  .solutions__heading,
  .solution-detail { position: static; grid-column: auto; }

  .about__grid { grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr); gap: 50px; }

  .site-proof__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }

  body { font-size: 15px; }
  .section { padding: 78px 0; }

  .site-header { padding: 0 14px; }
  .brand__copy strong { font-size: 0.82rem; }
  .brand__copy span { font-size: 0.55rem; }
  .brand__mark { width: 39px; height: 39px; border-radius: 10px; }

  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero__lead { font-size: 0.98rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; }
  .hero__proof { gap: 10px 16px; }
  .hero__visual { width: min(88vw, 420px); margin-top: -30px; }
  .signal { display: none; }

  .section-heading h2,
  .about h2,
  .site-proof h2,
  .contact h2 { font-size: clamp(2.5rem, 12vw, 4rem); }

  .scanner { padding: 7px; border-radius: 24px; }
  .scanner__entry,
  .scanner__examples { padding: 22px; border-radius: 18px; }
  .textarea-wrap textarea { min-height: 220px; padding-left: 16px; }
  .scanner__submit-row { flex-direction: column-reverse; align-items: stretch; padding: 12px 0 0; }
  .scanner__submit-row p { text-align: center; }
  .scanner-transparency dl div { grid-template-columns: 1fr; gap: 2px; }
  .scanner__result { padding: 17px; }
  .result-header { flex-direction: column; gap: 16px; }
  .result-header h3 { font-size: 1.75rem; }
  .view-tabs { display: flex; }
  .view-tabs button { flex: 1; }
  .workflow-card { min-height: 470px; padding: 22px; }
  .workflow { flex-direction: column; }
  .workflow-node { width: min(100%, 220px); min-height: 66px; }
  .workflow-connector { width: 1px; height: 30px; }
  .workflow-connector::after { top: 0; left: -2px; animation-name: data-flow-mobile; }
  .result-actions { flex-direction: column-reverse; }
  .result-actions .button { width: 100%; }
  .tech-matrix { grid-template-columns: 1fr; }

  @keyframes data-flow-mobile { to { transform: translateY(30px); opacity: 0; } }

  .progress-steps { flex-direction: column; gap: 10px; text-align: left; }

  .project-card { min-height: 630px; border-radius: 24px; }
  .project-visual { min-height: 240px; }
  .project-card__content { padding: 24px; }
  .project-card__topline { padding: 0 18px; }
  .status { font-size: 0.65rem; }
  .picture-plane { width: 180px; height: 135px; }
  .picture-plane--before { left: 17%; }
  .picture-plane--after { right: 5%; }
  .catalog-visual { padding: 20px; }
  .stitch-grid { gap: 7px; }
  .flashcard { height: 190px; }
  .flashcard__face { padding: 20px; }

  .method-track { grid-template-columns: 1fr 1fr; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 400px; }

  .career-line { align-items: flex-start; flex-direction: column; }
  .career-line i { transform: rotate(90deg); }

  .contact-form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }

  .dialog-content { padding: 50px 24px 32px; }
  .dialog-facts { grid-template-columns: 1fr; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .logo-network__pulses {
    display: none;
  }
}

/* SEO/GEO navigation additions V1.4.0 */
.section-followup{margin-top:42px;text-align:center}.site-footer nav{display:flex;flex-wrap:wrap;gap:18px}.site-footer nav a{color:var(--muted)}.site-footer nav a:hover{color:var(--cyan-soft)}
