:root {
  --bg: #0a1324;
  --deep: #060d1a;
  --panel: #0c182b;
  --panel-2: #101f38;
  --line: rgba(174, 183, 194, 0.15);
  --line-soft: rgba(174, 183, 194, 0.08);
  --white: #ffffff;
  --gray: #aeb7c2;
  --muted: #8593a6;
  --blue: #00a3ff;
  --blue-deep: #0066ff;
  --blue-light: #7fd3ff;
  --blue-soft: rgba(0, 163, 255, 0.1);
  --green: #3ddc97;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Orbitron", "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: rgba(0, 163, 255, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: var(--blue);
  color: #04121f;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(174, 183, 194, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 183, 194, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
}

.bg-glow-a {
  width: 42rem;
  height: 42rem;
  top: -18rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.24), transparent 65%);
}

.bg-glow-b {
  width: 34rem;
  height: 34rem;
  top: 48rem;
  left: -16rem;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.13), transparent 65%);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow,
.kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(0, 163, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.06);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.grad {
  background: linear-gradient(96deg, #00a3ff 4%, #66ccff 44%, #0066ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(100deg, #00a3ff, #0084ff);
  color: #04121f;
  box-shadow: 0 12px 34px -14px rgba(0, 163, 255, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(0, 163, 255, 0.85);
  background: linear-gradient(100deg, #2fb4ff, #0b8cff);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(0, 163, 255, 0.4);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 0.95rem;
  font-size: 0.8rem;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.85rem 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1240px;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(10, 19, 36, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled .nav-inner {
  background: rgba(7, 14, 26, 0.88);
  border-color: rgba(0, 163, 255, 0.2);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  flex: none;
}

.brand-wordmark {
  width: 104px;
  height: auto;
  color: var(--white);
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #c7d0dc;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.nav-cta {
  margin-left: auto;
}

.nav-cta .icon {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  max-width: 1240px;
  margin: 0.5rem auto 0;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 14, 26, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #d5deea;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mobile-menu .btn {
  margin-top: 0.4rem;
  color: #04121f;
}

.hero {
  padding: 9.5rem 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 15ch;
}

.hero-sub {
  max-width: 54ch;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-panel {
  position: relative;
}

.console {
  position: relative;
  border: 1px solid rgba(0, 163, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, #0d1a2e, #071120);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(0, 163, 255, 0.35);
  overflow: hidden;
}

.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 40%);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
  opacity: 0.75;
}

.console-dots i:nth-child(2) {
  background: #febc2e;
}

.console-dots i:nth-child(3) {
  background: #28c840;
}

.console-title {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb0c6;
}

.console-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(61, 220, 151, 0.6);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.console-body {
  padding: 1rem;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(7, 16, 30, 0.72);
}

.node-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(0, 163, 255, 0.35);
  border-radius: 50%;
  background: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 0.5rem;
  color: var(--blue-light);
}

.node-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.node-sub {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--muted);
}

.node-state {
  margin-left: auto;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(61, 220, 151, 0.3);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.node-state.is-live {
  border-color: rgba(0, 163, 255, 0.35);
  color: var(--blue-light);
}

.flow-link {
  position: relative;
  width: 1px;
  height: 15px;
  margin-left: 2rem;
  background: linear-gradient(rgba(0, 163, 255, 0.5), rgba(0, 163, 255, 0.1));
}

.flow-link span {
  position: absolute;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: travel 2.4s linear infinite;
}

.flow-link:nth-of-type(4) span {
  animation-delay: 0.8s;
}

.flow-link:nth-of-type(6) span {
  animation-delay: 1.6s;
}

@keyframes travel {
  0% {
    top: -2px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.console-log {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  line-height: 2.1;
  color: #74849a;
}

.console-log p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-log span {
  margin-right: 0.55rem;
  color: #45b8ff;
}

.console-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.console-foot div {
  padding: 0.75rem 1rem;
  border-left: 1px solid var(--line-soft);
}

.console-foot div:first-child {
  border-left: 0;
}

.console-foot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

.console-foot span {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  padding: 1.5rem 1.5rem 1.6rem;
  border-left: 1px solid var(--line);
}

.stats > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.stats dt {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats dd {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}

.stats .prefix {
  color: var(--blue);
}

.stats .suffix {
  margin-left: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
}

.section {
  padding: 6.5rem 0;
}

.section-alt {
  background: rgba(6, 13, 26, 0.55);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-head h2,
.contact h2 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 24ch;
}

.lede {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.9rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.7), rgba(10, 19, 36, 0.55));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 163, 255, 0.13), transparent 65%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 163, 255, 0.35);
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.8);
}

.card:hover::before {
  opacity: 1;
}

.card-num {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: rgba(174, 183, 194, 0.35);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 163, 255, 0.24);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-top: 1.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}

.card > p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray);
}

.card-list {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 0.45rem;
}

.card-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #96a4b8;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 1px;
  background: var(--blue);
}

.solutions .solution {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.solution {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 27, 48, 0.8), rgba(8, 16, 30, 0.7));
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.solution::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.5;
  transition: width 0.35s var(--ease), opacity 0.35s ease;
}

.solution:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 163, 255, 0.32);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8);
}

.solution:hover::after {
  width: 80px;
  opacity: 1;
}

.solution-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.solution-area {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.solution-mark {
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: rgba(174, 183, 194, 0.35);
}

.solution h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  margin-top: 0.25rem;
}

.solution p {
  font-size: 0.85rem;
  line-height: 1.62;
  color: var(--gray);
}

.chip {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.32rem 0.6rem;
  border: 1px solid rgba(0, 163, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 163, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--blue-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.8);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.step h3 {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gray);
}

.step-time {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee {
  position: relative;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(14, 27, 48, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #c2ccda;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  margin-top: 3rem;
}

.principle {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.principle h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.principle h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
}

.principle p {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--gray);
}

.contact {
  padding-bottom: 7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #c2ccda;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list a:hover {
  color: var(--blue-light);
}

.diag {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.diag-title {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.diag ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.diag li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: #c2ccda;
}

.diag li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--blue);
  border-radius: 2px;
}

.form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.75), rgba(8, 16, 30, 0.8));
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.9);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b6c1d0;
}

.optional {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 12, 24, 0.75);
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f6f85;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(0, 163, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.9rem 1.3rem;
}

.form-note {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-status {
  display: none;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.form-status.is-success {
  display: block;
  border-color: rgba(61, 220, 151, 0.35);
  background: rgba(61, 220, 151, 0.08);
  color: #8ff0c4;
}

.form-status.is-error {
  display: block;
  border-color: rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.08);
  color: #ffb0b0;
}

.form.is-sending .form-submit {
  opacity: 0.65;
  pointer-events: none;
}

.footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 11, 22, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand .brand-wordmark {
  width: 124px;
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #b6c1d0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-contact a {
  color: var(--white);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-tag {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.grid-3 > .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.grid-3 > .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.steps > .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.steps > .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.steps > .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.principles > .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.principles > .reveal:nth-child(3) {
  transition-delay: 80ms;
}

.principles > .reveal:nth-child(4) {
  transition-delay: 160ms;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-panel {
    max-width: 600px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    margin-left: auto;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-copy {
    max-width: 640px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 5rem 0;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats > div {
    padding: 1.25rem 1.25rem 1.35rem;
  }

  .stats > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stats > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding-top: 8.5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    max-width: 16ch;
  }

  .hero-sub {
    font-size: 0.97rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-sub {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .console-log {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .console-foot div {
    padding: 0.65rem 0.7rem;
  }

  .console-foot strong {
    font-size: 0.82rem;
  }

  .console-foot span {
    font-size: 0.52rem;
  }

  .form {
    padding: 1.4rem;
  }

  .section-head h2,
  .contact h2 {
    font-size: 1.65rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    transform: none;
  }
}
