:root {
  --bg: #07111d;
  --bg-deep: #030913;
  --surface: rgba(10, 18, 31, 0.72);
  --surface-strong: rgba(8, 16, 28, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --text: #f4f8ff;
  --muted: #a0b1cb;
  --line: rgba(109, 162, 255, 0.16);
  --line-strong: rgba(109, 162, 255, 0.3);
  --accent: #2b7fff;
  --accent-strong: #0b58d5;
  --accent-soft: #8ec5ff;
  --success: #63d29a;
  --error: #ff8e97;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: 144px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(43, 127, 255, 0.22), transparent 24%),
    radial-gradient(circle at 100% 15%, rgba(142, 197, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #07111d 0%, #060d18 46%, #030913 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

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

h1,
h2,
h3,
p,
fieldset,
legend {
  margin: 0;
}

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

.site-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: padding 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid transparent;
  border-radius: 0 0 28px 28px;
  background: rgba(5, 13, 23, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
  transition:
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-scrolled .site-header-shell {
  padding: 18px 16px 0;
}

body.is-scrolled .site-header {
  padding: 16px 22px;
  border-color: var(--line-strong);
  border-radius: 999px;
  background: rgba(6, 13, 23, 0.76);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 26px rgba(43, 127, 255, 0.2);
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy span {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 0.95rem;
  color: #dce8fb;
}

.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: center;
  padding: 78px 0 56px;
}

.contact-page-hero {
  padding: 88px 0 34px;
  max-width: 820px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1,
.section-copy h2 {
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  max-width: 10ch;
}

.hero-text,
.section-copy p,
.service-row p,
.value-card p,
.proof-panel p,
.site-footer p,
.intro-band p,
.form-shell p,
.field small,
.consent-error {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin-top: 24px;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(11, 88, 213, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: #e6f0ff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8e6fb;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15) 45%, transparent 46%),
    linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 6px rgba(43, 127, 255, 0.08);
}

.hero-copy-block {
  max-width: 680px;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-visual-stage {
  --scene-primary: rgba(54, 134, 255, 0.92);
  --scene-secondary: rgba(130, 191, 255, 0.26);
  --scene-glow: rgba(63, 132, 255, 0.22);
  --scene-surface: linear-gradient(180deg, rgba(17, 42, 74, 0.94), rgba(10, 27, 47, 0.96));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(43, 127, 255, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(11, 21, 36, 0.96), rgba(7, 14, 24, 0.98));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.hero-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip-row span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #dce9ff;
  font-size: 0.85rem;
  transition: border-color 260ms ease, background 260ms ease, color 260ms ease;
}

.hero-chip-row span.is-active {
  border-color: rgba(87, 156, 255, 0.42);
  background: rgba(43, 127, 255, 0.16);
  color: #f3f8ff;
}

.hero-morph-shell {
  position: absolute;
  inset: 84px 22px 70px;
}

.hero-morph-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(98, 149, 236, 0.16);
  border-radius: 30px;
  background: var(--scene-surface);
  overflow: hidden;
  transition: border-radius 900ms cubic-bezier(0.22, 1, 0.36, 1), background 900ms ease;
  box-shadow: inset 0 1px 0 rgba(194, 223, 255, 0.05);
}

.hero-morph-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, var(--scene-glow), transparent 24%),
    linear-gradient(135deg, rgba(115, 176, 255, 0.08), transparent 32%);
  pointer-events: none;
}

.morph-shape {
  position: absolute;
  display: block;
  transition:
    top 900ms cubic-bezier(0.22, 1, 0.36, 1),
    left 900ms cubic-bezier(0.22, 1, 0.36, 1),
    right 900ms cubic-bezier(0.22, 1, 0.36, 1),
    bottom 900ms cubic-bezier(0.22, 1, 0.36, 1),
    width 900ms cubic-bezier(0.22, 1, 0.36, 1),
    height 900ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms ease,
    background 900ms ease,
    border-color 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 900ms ease;
}

.morph-surface,
.morph-panel {
  border: 1px solid rgba(136, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  z-index: 1;
}

.morph-line,
.morph-chip {
  background: linear-gradient(90deg, var(--scene-primary), var(--scene-secondary));
  z-index: 3;
}

.morph-accent {
  background: linear-gradient(135deg, var(--scene-primary), rgba(255, 255, 255, 0.28));
  box-shadow: 0 14px 30px rgba(10, 54, 118, 0.18);
  z-index: 2;
}

.hero-visual-stage.is-transitioning .morph-line,
.hero-visual-stage.is-transitioning .morph-chip,
.hero-visual-stage.is-transitioning .morph-accent-b {
  opacity: 0.18;
}

.hero-visual-stage.is-transitioning .morph-accent-a {
  opacity: 0.5;
}

.hero-visual-copy {
  display: grid;
  gap: 8px;
  padding: 0 6px;
}

.hero-visual-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: #eef5ff;
}

.hero-visual-copy p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 42ch;
}

.hero-stage-footer {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.hero-stage-dots {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.hero-stage-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(185, 211, 255, 0.28);
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.hero-stage-dots span.is-active {
  background: var(--scene-primary);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--scene-primary) 18%, transparent);
}

[data-active-scene="web"] {
  --scene-primary: rgba(54, 134, 255, 0.92);
  --scene-secondary: rgba(130, 191, 255, 0.26);
  --scene-glow: rgba(63, 132, 255, 0.22);
  --scene-surface: linear-gradient(180deg, rgba(17, 42, 74, 0.94), rgba(10, 27, 47, 0.96));
}

[data-active-scene="app"] {
  --scene-primary: rgba(70, 214, 196, 0.92);
  --scene-secondary: rgba(170, 255, 236, 0.24);
  --scene-glow: rgba(61, 215, 197, 0.2);
  --scene-surface: linear-gradient(180deg, rgba(14, 60, 72, 0.94), rgba(8, 34, 42, 0.98));
}

[data-active-scene="editing"] {
  --scene-primary: rgba(255, 154, 92, 0.94);
  --scene-secondary: rgba(255, 214, 168, 0.24);
  --scene-glow: rgba(255, 163, 102, 0.2);
  --scene-surface: linear-gradient(180deg, rgba(74, 34, 23, 0.94), rgba(33, 18, 12, 0.98));
}

[data-active-scene="web"] .morph-surface {
  top: 22px;
  left: 22px;
  width: calc(100% - 44px);
  height: 228px;
  border-radius: 24px;
}

[data-active-scene="web"] .morph-panel-a {
  top: 44px;
  left: 42px;
  width: 82px;
  height: 174px;
  border-radius: 20px;
}

[data-active-scene="web"] .morph-panel-b {
  top: 44px;
  left: 142px;
  width: calc(100% - 184px);
  height: 114px;
  border-radius: 22px;
}

[data-active-scene="web"] .morph-panel-c {
  top: 172px;
  left: 142px;
  width: calc(100% - 184px);
  height: 46px;
  border-radius: 18px;
}

[data-active-scene="web"] .morph-line-a {
  top: 62px;
  left: 164px;
  width: 74px;
  height: 9px;
}

[data-active-scene="web"] .morph-line-b {
  top: 84px;
  left: 164px;
  width: calc(100% - 300px);
  height: 16px;
}

[data-active-scene="web"] .morph-line-c {
  top: 112px;
  left: 164px;
  width: calc(100% - 346px);
  height: 9px;
}

[data-active-scene="web"] .morph-accent-a {
  top: 142px;
  left: 164px;
  width: 94px;
  height: 20px;
  border-radius: 999px;
}

[data-active-scene="web"] .morph-accent-b {
  top: 142px;
  right: 42px;
  width: 92px;
  height: 20px;
  border-radius: 999px;
}

[data-active-scene="web"] .morph-chip-a {
  top: 66px;
  left: 60px;
  width: 38px;
  height: 8px;
}

[data-active-scene="web"] .morph-chip-b {
  top: 92px;
  left: 60px;
  width: 44px;
  height: 8px;
}

[data-active-scene="web"] .morph-chip-c {
  top: 118px;
  left: 60px;
  width: 32px;
  height: 8px;
}

[data-active-scene="app"] .hero-morph-canvas {
  border-radius: 28px;
}

[data-active-scene="app"] .morph-surface {
  top: 22px;
  left: 22px;
  width: calc(100% - 44px);
  height: 228px;
  border-radius: 24px;
  transform: none;
}

[data-active-scene="app"] .morph-panel-a {
  top: 42px;
  left: 44px;
  width: 88px;
  height: 158px;
  border-radius: 20px;
  transform: none;
}

[data-active-scene="app"] .morph-panel-b {
  top: 42px;
  left: 152px;
  width: calc(100% - 194px);
  height: 66px;
  border-radius: 20px;
  transform: none;
}

[data-active-scene="app"] .morph-panel-c {
  top: 124px;
  left: 152px;
  width: calc(100% - 194px);
  height: 76px;
  border-radius: 20px;
  transform: none;
}

[data-active-scene="app"] .morph-line-a {
  top: 62px;
  left: 170px;
  width: 72px;
  height: 9px;
  transform: none;
}

[data-active-scene="app"] .morph-line-b {
  top: 84px;
  left: 170px;
  width: calc(100% - 260px);
  height: 14px;
  transform: none;
}

[data-active-scene="app"] .morph-line-c {
  top: 146px;
  left: 170px;
  width: calc(100% - 252px);
  height: 10px;
  transform: none;
}

[data-active-scene="app"] .morph-accent-a {
  top: 160px;
  left: 170px;
  width: 96px;
  height: 20px;
  border-radius: 18px;
  transform: none;
}

[data-active-scene="app"] .morph-accent-b {
  top: 160px;
  right: 44px;
  width: 86px;
  height: 20px;
  border-radius: 999px;
  transform: none;
}

[data-active-scene="app"] .morph-chip-a {
  top: 60px;
  left: 62px;
  width: 46px;
  height: 8px;
  transform: none;
}

[data-active-scene="app"] .morph-chip-b {
  top: 86px;
  left: 62px;
  width: 38px;
  height: 8px;
}

[data-active-scene="app"] .morph-chip-c {
  top: 112px;
  left: 62px;
  width: 30px;
  height: 8px;
}

[data-active-scene="editing"] .hero-morph-canvas {
  border-radius: 24px;
}

[data-active-scene="editing"] .morph-surface {
  top: 24px;
  left: 22px;
  width: calc(100% - 44px);
  height: 228px;
  border-radius: 22px;
}

[data-active-scene="editing"] .morph-panel-a {
  top: 42px;
  left: 40px;
  width: calc(100% - 142px);
  height: 142px;
  border-radius: 20px;
}

[data-active-scene="editing"] .morph-panel-b {
  top: 42px;
  right: 40px;
  width: 56px;
  height: 142px;
  border-radius: 18px;
}

[data-active-scene="editing"] .morph-panel-c {
  top: 196px;
  left: 40px;
  width: calc(100% - 80px);
  height: 22px;
  border-radius: 999px;
}

[data-active-scene="editing"] .morph-line-a {
  top: 204px;
  left: 56px;
  width: 46%;
  height: 7px;
}

[data-active-scene="editing"] .morph-line-b {
  top: 204px;
  right: 54px;
  width: 16%;
  height: 7px;
}

[data-active-scene="editing"] .morph-line-c {
  top: 78px;
  right: 57px;
  width: 22px;
  height: 66px;
  border-radius: 14px;
}

[data-active-scene="editing"] .morph-accent-a {
  top: 60px;
  left: 62px;
  width: calc(100% - 182px);
  height: 94px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 226, 182, 0.72), transparent 22%),
    radial-gradient(circle at 65% 58%, rgba(255, 160, 96, 0.7), transparent 18%),
    linear-gradient(135deg, var(--scene-primary), rgba(255, 243, 228, 0.24));
}

[data-active-scene="editing"] .morph-accent-b {
  top: 58px;
  right: 58px;
  width: 26px;
  height: 26px;
  border-radius: 12px;
}

[data-active-scene="editing"] .morph-chip-a {
  top: 58px;
  right: 58px;
  width: 26px;
  height: 6px;
  opacity: 0;
}

[data-active-scene="editing"] .morph-chip-b {
  top: 92px;
  right: 58px;
  width: 26px;
  height: 6px;
}

[data-active-scene="editing"] .morph-chip-c {
  top: 108px;
  right: 58px;
  width: 26px;
  height: 6px;
}

.intro-band,
.section-block {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.intro-band {
  padding: 28px 30px;
  border-radius: 22px;
  margin-bottom: 22px;
}

.intro-band p {
  max-width: 72ch;
  font-size: 1.02rem;
}

.section-block {
  padding: 34px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.section-copy {
  max-width: 760px;
}

.section-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  max-width: 14ch;
}

.section-copy p + p,
.section-copy h2 + p {
  margin-top: 18px;
}

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

.service-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3,
.value-card h3,
.proof-panel h3,
.form-section legend {
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.value-grid,
.proof-layout {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.value-grid,
.proof-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.proof-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.value-card h3,
.proof-panel h3 {
  margin-bottom: 10px;
}

.proof-panel span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(43, 127, 255, 0.14), transparent 28%),
    rgba(8, 16, 28, 0.92);
}

.contact-cta .section-copy {
  max-width: 980px;
}

.contact-cta .section-copy h2 {
  max-width: 12ch;
}

.form-shell {
  display: grid;
  gap: 20px;
  width: 100%;
}

.form-alert {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.form-alert-success {
  border-color: rgba(99, 210, 154, 0.38);
  color: #e8fff2;
}

.form-alert-error {
  border-color: rgba(255, 142, 151, 0.34);
  color: #ffeef0;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-step-pill {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.form-step-pill span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(142, 197, 255, 0.24);
  color: #dce9ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-step-pill strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  color: #e8f1ff;
}

.form-step-pill.is-active {
  border-color: rgba(87, 156, 255, 0.42);
  background: linear-gradient(135deg, rgba(20, 48, 86, 0.88), rgba(10, 23, 42, 0.9));
  transform: translateY(-1px);
}

.form-step-pill.is-active span {
  border-color: rgba(43, 127, 255, 0.66);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
}

.form-step-panel {
  display: grid;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(43, 127, 255, 0.08), transparent 30%),
    rgba(6, 14, 25, 0.7);
}

.js .form-step-panel {
  display: none;
}

.js .form-step-panel.is-active {
  display: grid;
}

.form-step-intro {
  display: grid;
  gap: 10px;
  max-width: 700px;
}

.form-step-intro h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
}

.form-step-intro p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.form-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.form-section + .form-section {
  margin-top: 8px;
}

.form-section legend {
  padding: 0;
  margin-bottom: 16px;
  color: #eef5ff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.form-grid > .field:nth-child(1),
.form-grid > .field:nth-child(2) {
  grid-column: span 2;
}

.form-grid > .field:nth-child(3),
.form-grid > .field:nth-child(4) {
  grid-column: span 2;
}

.field {
  display: grid;
  gap: 10px;
}

.field:has(select),
.custom-select {
  position: relative;
}

.form-section > .field + .form-grid {
  margin-top: 26px;
}

.form-section > .field + .field,
.form-section > .form-grid + .field,
.form-section > .form-grid + .form-grid {
  margin-top: 22px;
}

.field span,
.consent-row span {
  color: #edf4ff;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 18, 34, 0.72);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 58px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(7, 18, 34, 0.84);
  cursor: pointer;
}

.field:has(select)::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(220, 233, 255, 0.72);
  border-bottom: 2px solid rgba(220, 233, 255, 0.72);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f84a5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
}

.field:has(select:focus)::after {
  border-color: #eef5ff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.custom-select-ui {
  display: none;
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(7, 18, 34, 0.84);
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.custom-select-trigger::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(220, 233, 255, 0.72);
  border-bottom: 2px solid rgba(220, 233, 255, 0.72);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
  flex: 0 0 auto;
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.12);
  outline: none;
}

.custom-select.is-open .custom-select-trigger::after {
  border-color: #eef5ff;
  transform: rotate(225deg) translateY(-1px);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  gap: 6px;
  padding: 10px;
  max-height: min(320px, calc(100vh - 120px));
  overflow-y: auto;
  border: 1px solid rgba(109, 162, 255, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(43, 127, 255, 0.1), transparent 28%),
    rgba(6, 14, 25, 0.98);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36);
  z-index: 10;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 197, 255, 0.42) rgba(255, 255, 255, 0.04);
}

.custom-select-menu::-webkit-scrollbar {
  width: 10px;
}

.custom-select-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(142, 197, 255, 0.42);
  border-radius: 999px;
  border: 2px solid rgba(6, 14, 25, 0.98);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
}

.custom-select.opens-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 10px);
}

.custom-select-option {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: #dce9ff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  border-color: rgba(109, 162, 255, 0.24);
  background: rgba(43, 127, 255, 0.1);
  color: #ffffff;
  outline: none;
}

.custom-select-option.is-selected {
  border-color: rgba(87, 156, 255, 0.34);
  background: linear-gradient(135deg, rgba(28, 67, 117, 0.92), rgba(11, 28, 50, 0.96));
  color: #ffffff;
}

.js .native-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.js .field:has(.native-select)::after {
  display: none;
}

.js .custom-select-ui {
  display: block;
}

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

.field small,
.consent-error {
  color: var(--error);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.scope-heading {
  display: grid;
  gap: 6px;
}

.scope-heading span {
  color: #edf4ff;
  font-size: 1rem;
  font-weight: 500;
}

.scope-heading p {
  color: #7f95b6;
  font-size: 0.92rem;
  line-height: 1.4;
}

.check-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 19, 34, 0.72);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
  cursor: pointer;
}

.check-option:hover {
  border-color: var(--line-strong);
  background: rgba(11, 24, 43, 0.88);
}

.check-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(142, 197, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.check-option input::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
  transform: scale(0);
  transition: transform 140ms ease;
}

.check-option input:checked {
  border-color: rgba(43, 127, 255, 0.9);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 4px rgba(43, 127, 255, 0.14);
}

.check-option input:checked::before {
  transform: scale(1);
}

.check-option:has(input:checked) {
  border-color: rgba(43, 127, 255, 0.5);
  background: linear-gradient(135deg, rgba(18, 45, 81, 0.92), rgba(10, 24, 43, 0.92));
  box-shadow: 0 10px 26px rgba(5, 17, 37, 0.24);
}

.check-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.check-copy strong {
  display: block;
  max-width: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #eef5ff;
  white-space: normal;
}

.check-option:has(input:checked) .check-copy strong {
  color: #ffffff;
}

.scope-panel {
  min-height: 100%;
}

.scope-panels {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.scope-panel {
  display: none;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 18, 34, 0.34);
}

.scope-panel.is-visible {
  display: grid;
}

.scope-panel-heading {
  display: grid;
  gap: 6px;
}

.scope-panel-heading h3 {
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.scope-panel-heading p,
.scope-panel-error {
  color: #89a1c3;
  font-size: 0.92rem;
  line-height: 1.45;
}

.scope-panel-error {
  color: var(--error);
}

.scope-panel-grid {
  margin-top: 0;
}

.check-option:has(input:checked):hover {
  background: linear-gradient(135deg, rgba(20, 50, 90, 0.94), rgba(11, 27, 48, 0.94));
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: start;
}

.consent-row input {
  margin-top: 4px;
}

.form-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.submit-button {
  justify-self: start;
  min-width: 240px;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 28px;
  font-size: 0.92rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 980px) {
  .hero,
  .value-grid,
  .proof-layout,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .form-grid > .field:nth-child(n) {
    grid-column: span 1;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual-stage {
    min-height: 500px;
  }

  .hero-morph-shell {
    inset: 84px 22px 104px;
  }

  .section-copy h2 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 124px;
  }

  .page-shell {
    width: min(100% - 20px, var(--max));
  }

  .site-header-shell {
    padding: 0;
  }

  .site-header,
  body.is-scrolled .site-header {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 0 0 24px 24px;
    max-width: none;
  }

  body.is-scrolled .site-header-shell {
    padding: 0;
  }

  .site-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .contact-page-hero {
    padding: 40px 0 22px;
  }

  .contact-cta .section-copy,
  .contact-cta .section-copy h2 {
    max-width: none;
  }

  .hero {
    padding: 36px 0 34px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    max-width: 10ch;
  }

  .contact-page-hero h1,
  .contact-page-form .section-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 12ch;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-visual-stage {
    min-height: 440px;
    padding: 18px;
  }

  .hero-morph-shell {
    inset: 70px 18px 126px;
  }

  .hero-visual-copy {
    padding: 0 2px;
  }

  [data-active-scene="web"] .morph-panel-a {
    width: 72px;
  }

  [data-active-scene="web"] .morph-panel-b,
  [data-active-scene="web"] .morph-panel-c {
    left: 126px;
    width: calc(100% - 150px);
  }

  [data-active-scene="app"] .morph-panel-b,
  [data-active-scene="app"] .morph-panel-c {
    left: 134px;
    width: calc(100% - 156px);
  }

  [data-active-scene="app"] .morph-line-a,
  [data-active-scene="app"] .morph-line-b,
  [data-active-scene="app"] .morph-line-c,
  [data-active-scene="app"] .morph-accent-a {
    left: 150px;
  }

  [data-active-scene="app"] .morph-line-b {
    width: calc(100% - 226px);
  }

  [data-active-scene="app"] .morph-line-c {
    width: calc(100% - 212px);
  }

  [data-active-scene="editing"] .morph-panel-a {
    width: calc(100% - 104px);
  }

  [data-active-scene="editing"] .morph-accent-a {
    width: calc(100% - 154px);
  }

  .hero-stage-footer {
    right: 18px;
    bottom: 18px;
    justify-content: flex-end;
  }

  .intro-band,
  .section-block {
    padding: 24px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .form-section {
    padding: 0;
  }

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

  .form-step-panel {
    padding: 22px;
  }

  .form-grid > .field:nth-child(n) {
    grid-column: auto;
  }

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

  .check-option {
    min-height: 68px;
    padding: 0 16px;
  }

  .scope-panel {
    padding: 18px;
  }

  .submit-button {
    width: 100%;
  }

  .form-step-actions {
    display: grid;
  }

  .form-step-actions .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  body {
    padding-top: 156px;
  }

  .brand {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-logo,
  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy span {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .site-nav {
    justify-content: space-between;
    gap: 12px 18px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .contact-page-hero h1,
  .contact-page-form .section-copy h2 {
    max-width: none;
  }

  .contact-page-hero {
    padding-top: 52px;
  }

  .form-step-pill,
  .form-step-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-step-intro h3 {
    font-size: clamp(1.35rem, 8vw, 1.8rem);
  }
}
