:root {
  color-scheme: dark;
  --bg: #070a13;
  --bg-2: #0b1020;
  --surface: rgba(14, 20, 38, 0.72);
  --surface-strong: rgba(18, 25, 45, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f7fbff;
  --muted: #aab6d3;
  --muted-2: #74819e;
  --accent: #8ef6ff;
  --accent-2: #7c5cff;
  --accent-3: #ff7ac8;
  --accent-text: #8ef6ff;
  --success: #6df7b5;
  --warning: #ffd166;
  --danger: #ff7a90;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f9fd;
  --bg-2: #edf3fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --surface-soft: rgba(7, 16, 31, 0.065);
  --border: rgba(7, 16, 31, 0.14);
  --border-strong: rgba(7, 16, 31, 0.24);
  --text: #07101f;
  --muted: #3f4d65;
  --muted-2: #60708b;
  --accent-text: #007f91;
  --success: #13b981;
  --shadow: 0 24px 80px rgba(51, 72, 110, 0.18);
  --shadow-soft: 0 18px 60px rgba(51, 72, 110, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 50% -20%, rgba(124, 92, 255, .26), transparent 35%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

button {
  cursor: pointer;
}

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

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

::selection {
  background: rgba(142, 246, 255, .28);
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-140%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 112px 0;
}

.compact-pad {
  padding: 82px 0;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .38;
  transform: translateZ(0);
  animation: float 18s var(--ease) infinite alternate;
}

.orb-one {
  top: -120px;
  left: -120px;
  background: var(--accent-2);
}

.orb-two {
  right: -140px;
  top: 25%;
  background: var(--accent);
  animation-delay: -5s;
}

.orb-three {
  left: 34%;
  bottom: -220px;
  background: var(--accent-3);
  animation-delay: -10s;
}

.grid-glow {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 42%, transparent), color-mix(in srgb, var(--bg) 78%, transparent)),
    radial-gradient(circle at 50% 0%, transparent, color-mix(in srgb, var(--bg) 72%, transparent) 76%);
}

html[data-theme="light"] .orb {
  opacity: .24;
  filter: blur(96px);
}

html[data-theme="light"] .grid-glow {
  opacity: .08;
}

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 42px, 0) scale(1.08); }
}

.header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--container), calc(100% - 28px));
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.header.is-scrolled {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

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

.brand.small {
  min-width: unset;
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand small {
  display: block;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(142, 246, 255, .38);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(142, 246, 255, .18), rgba(124, 92, 255, .24));
  box-shadow: inset 0 0 24px rgba(142, 246, 255, .12), 0 12px 38px rgba(124, 92, 255, .2);
}

.brand-mark.big {
  width: 74px;
  height: 74px;
  border-radius: 24px;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: rgba(142, 246, 255, .12);
  stroke: currentColor;
  color: var(--accent-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark.big svg {
  width: 46px;
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: var(--surface-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.burger {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.icon-button .sun,
.icon-button .moon {
  position: absolute;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

html[data-theme="dark"] .icon-button .sun {
  transform: translateY(-20px);
  opacity: 0;
}

html[data-theme="light"] .icon-button .moon {
  transform: translateY(20px);
  opacity: 0;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  font-size: 14px;
  white-space: nowrap;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}

.phone-link:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 246, 255, .45);
  background: rgba(142, 246, 255, .08);
}

.pulse-dot,
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(109, 247, 181, .55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 247, 181, .55); }
  70% { box-shadow: 0 0 0 12px rgba(109, 247, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 247, 181, 0); }
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

body.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}

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

.button:disabled {
  opacity: .58;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 56%, var(--accent-3));
  color: #07101f;
  box-shadow: 0 20px 58px rgba(124, 92, 255, .34);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface-soft);
  backdrop-filter: blur(10px);
}

.button-ghost {
  border-color: var(--border);
  background: rgba(255,255,255,.035);
}

.button-call {
  border-color: rgba(109, 247, 181, .34);
  background: rgba(109, 247, 181, .08);
}

.compact {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.full {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .78fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -0.062em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  min-height: 560px;
}

.dashboard-card,
.service-card,
.plan-card,
.contact-card,
.lead-form,
.calculator-card,
.metric-card,
.case-cards article,
.promise,
.faq details,
.timeline article {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 70%, transparent));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.main-dashboard {
  position: relative;
  grid-column: 1 / -1;
  width: min(100%, 480px);
  min-height: 470px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.dashboard-head strong {
  color: var(--success);
  font-size: 22px;
}

.uptime-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  margin: 24px auto;
}

.uptime-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.uptime-ring circle {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 12;
}

.uptime-ring circle:nth-child(2) {
  stroke: url(#none);
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 22;
  filter: drop-shadow(0 0 18px rgba(142, 246, 255, .45));
}

.uptime-ring div {
  text-align: center;
}

.uptime-ring strong {
  display: block;
  font-size: 42px;
  letter-spacing: -0.05em;
}

.uptime-ring span {
  color: var(--muted);
}

.incident-list {
  display: grid;
  gap: 10px;
}

.incident-list div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.incident-list p {
  margin: 0;
  color: var(--muted);
}

.incident-list span,
.incident-list .ok,
.incident-list .warn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.incident-list .ok { background: var(--success); }
.incident-list .warn { background: var(--warning); }

.floating-card {
  position: relative;
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  animation: bob 5s var(--ease) infinite alternate;
}

.card-left {
  align-self: stretch;
}

.card-right {
  align-self: stretch;
  animation-delay: -2s;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.floating-card strong {
  display: block;
  margin: 5px 0;
  font-size: 31px;
  letter-spacing: -0.05em;
}

.floating-card p {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-16px); }
}

.metrics {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-card:nth-child(2) strong::after { content: "+"; }
.metric-card:nth-child(3) strong::after { content: "/7"; font-size: .52em; color: var(--muted); }
.metric-card span {
  color: var(--muted);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p,
.calculator-copy p,
.contact-card p,
.case-grid p,
.promise-grid p,
.plan-card p,
.service-card p,
.timeline p,
.faq p,
.footer p {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142,246,255,.18), transparent 68%);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(142, 246, 255, .28);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1.4);
}

.service-card.featured {
  background: linear-gradient(145deg, rgba(142,246,255,.16), rgba(124,92,255,.16), rgba(255,255,255,.035));
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid rgba(142, 246, 255, .36);
  border-radius: 16px;
  color: var(--accent-text);
  background: rgba(142, 246, 255, .08);
  font-weight: 900;
}

.service-card ul,
.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.plan-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.service-card li::before,
.plan-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.promise {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(142,246,255,.12), rgba(124,92,255,.12), rgba(255,122,200,.08)),
    var(--surface);
}

.promise-grid {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 42px;
  align-items: start;
}

.promise-list {
  display: grid;
  gap: 14px;
}

.promise-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.promise-list b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--accent-text);
  background: rgba(142,246,255,.08);
}

.promise-list p {
  margin: 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: .82fr 1.04fr;
  gap: 42px;
  align-items: start;
}

.calculator-copy {
  position: sticky;
  top: 130px;
}

.calc-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(109, 247, 181, .24);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(109, 247, 181, .08);
}

.calc-note strong {
  color: var(--success);
}

.calculator-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.tab {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.tab.active {
  color: #07101f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 34px rgba(124,92,255,.26);
}

.range-list {
  display: grid;
  gap: 24px;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  color: var(--muted);
  font-weight: 700;
}

.range-row output {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.range-row input {
  grid-column: 1 / -1;
  width: 100%;
  appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142,246,255,.7), rgba(124,92,255,.8), rgba(255,255,255,.12));
  outline: none;
}

.range-row input::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 4px solid var(--bg-2);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(142, 246, 255, .16), 0 8px 18px rgba(0,0,0,.25);
}

.range-row input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid var(--bg-2);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(142, 246, 255, .16), 0 8px 18px rgba(0,0,0,.25);
}

.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 30px 0;
}

.extras label,
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.extras label {
  min-height: 50px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-text);
  flex: 0 0 auto;
}

.calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-result div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.calc-result span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.calc-result strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.calc-breakdown {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 438px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.plan-card.popular {
  border-color: rgba(142, 246, 255, .42);
  background: linear-gradient(145deg, rgba(142,246,255,.15), rgba(124,92,255,.14), rgba(255,255,255,.035));
  transform: translateY(-12px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(142, 246, 255, .34);
  border-radius: 999px;
  color: var(--accent-text);
  background: rgba(142, 246, 255, .09);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-top {
  margin-bottom: 22px;
}

.plan-top span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.plan-top strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan-card ul {
  margin-bottom: 28px;
}

.plan-card .button {
  margin-top: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: .8fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline article {
  position: relative;
  padding: 24px 24px 24px 92px;
  border-radius: var(--radius-lg);
}

.timeline article::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #07101f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.timeline span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
}

.case-strip {
  position: relative;
}

.case-grid {
  display: grid;
  grid-template-columns: .84fr 1.1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124,92,255,.13), rgba(142,246,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow-soft);
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case-cards article {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
}

.case-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.case-cards span {
  color: var(--muted);
  font-size: 14px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.15fr;
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 20px;
  overflow: hidden;
}

.faq summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

.faq p {
  margin: 0;
  padding: 0 22px 22px;
}

.contacts {
  padding-bottom: 86px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.lead-form {
  border-radius: var(--radius-xl);
}

.contact-card {
  padding: 34px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-lines a,
.contact-lines div {
  display: grid;
  gap: 4px;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.contact-lines span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-lines b {
  font-size: 16px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.lead-form label:not(.check-row) {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255,255,255,.052);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

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

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(142, 246, 255, .48);
  box-shadow: 0 0 0 4px rgba(142, 246, 255, .1);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted-2) 82%, transparent);
}

.check-row a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-row a:hover,
.check-row a:focus-visible {
  color: var(--text);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.form-status.error {
  color: var(--danger);
}

.footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: start;
}

.footer p {
  max-width: 460px;
  margin: 18px 0 0;
}

.footer nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer nav a,
.footer-contact a {
  color: var(--muted);
  transition: color .2s var(--ease);
}

.footer nav a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.sticky-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(109, 247, 181, .44);
  border-radius: 50%;
  color: #07101f;
  background: linear-gradient(135deg, var(--success), var(--accent));
  box-shadow: 0 18px 55px rgba(109, 247, 181, .24);
  font-size: 23px;
  transition: transform .2s var(--ease);
}

.sticky-call:hover {
  transform: translateY(-3px) scale(1.03);
}

.modal {
  width: min(620px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.modal::backdrop {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  overflow: auto;
  max-height: calc(100vh - 30px);
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 28px;
  line-height: 1;
}

.modal-head {
  padding-right: 44px;
}

.modal-head h2 {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 42px);
}

.modal-head p {
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  max-width: min(460px, calc(100% - 34px));
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal,
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible,
.reveal-group > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .12s;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found {
  width: min(560px, calc(100% - 40px));
  text-align: center;
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.not-found .brand-mark {
  margin: 0 auto 20px;
}

.not-found h1 {
  margin: 0 0 14px;
}

.not-found p {
  margin-bottom: 28px;
  color: var(--muted);
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.legal-card {
  width: min(920px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--text);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 76%, transparent));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.legal-card .brand {
  margin-bottom: 34px;
}

.legal-card h1 {
  max-width: 820px;
  font-size: clamp(34px, 6vw, 58px);
}

.legal-card h2 {
  margin-top: 30px;
  font-size: clamp(22px, 3vw, 32px);
}

.legal-card p {
  color: var(--muted);
}

.legal-card .button {
  margin-top: 26px;
}

@media (max-width: 1120px) {
  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 26px);
    z-index: 60;
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

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

  .nav a {
    padding: 14px 16px;
  }

  .burger {
    display: block;
  }

  .header .phone-link,
  .header .compact {
    display: none;
  }

  .hero-grid,
  .calculator-grid,
  .process-grid,
  .faq-grid,
  .contacts-grid,
  .case-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .calculator-copy {
    position: static;
  }

  .hero-panel {
    min-height: 520px;
  }

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

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

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

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .promise {
    width: min(100% - 28px, var(--container));
  }

  .section-pad {
    padding: 74px 0;
  }

  .compact-pad {
    padding: 58px 0;
  }

  .header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 9px 10px 9px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .trust-strip span {
    width: 100%;
    justify-content: center;
  }

  .hero-panel {
    min-height: 520px;
  }

  .main-dashboard {
    padding: 20px;
    min-height: 430px;
  }

  .uptime-ring {
    width: 220px;
    height: 220px;
  }

  .floating-card {
    width: auto;
  }

  .card-left,
  .card-right {
    inset: auto;
  }

  .metrics {
    margin-top: 0;
  }

  .metrics-grid,
  .services-grid,
  .plans-grid,
  .case-cards,
  .calc-result,
  .extras,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .service-card,
  .plan-card,
  .calculator-card,
  .contact-card,
  .lead-form,
  .case-grid,
  .promise {
    border-radius: 24px;
  }

  .service-card,
  .plan-card,
  .calculator-card,
  .contact-card,
  .lead-form {
    padding: 22px;
  }

  .plan-card.popular {
    transform: none;
  }

  .case-grid {
    padding: 24px;
  }

  .timeline article {
    padding-left: 24px;
    padding-top: 84px;
  }

  .timeline article::before {
    top: 24px;
  }

  .sticky-call {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .promise {
    width: min(100% - 24px, var(--container));
  }

  .header {
    width: calc(100% - 12px);
    min-width: 0;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand strong {
    max-width: 142px;
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .brand-mark svg {
    width: 24px;
    height: 24px;
  }

  .icon-button,
  .burger {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    gap: 36px;
  }

  .eyebrow,
  .section-kicker {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .075em;
  }

  h1 {
    font-size: clamp(34px, 11.5vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.05;
  }

  .lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-panel {
    min-height: auto;
  }

  .main-dashboard {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    padding: 18px;
    transform: none;
  }

  .floating-card {
    display: none;
  }

  .dashboard-head {
    padding-bottom: 16px;
  }

  .uptime-ring {
    width: 178px;
    height: 178px;
    margin: 18px auto;
  }

  .uptime-ring strong {
    font-size: 32px;
  }

  .incident-list div {
    min-height: 44px;
    padding: 0 12px;
    grid-template-columns: 9px 1fr auto;
  }

  .calc-tabs {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .range-row {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .promise-list div {
    grid-template-columns: 1fr;
  }

  .toast {
    border-radius: 20px;
  }
}

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

  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
  }
}
