:root {
  --bg: #fbfcff;
  --bg-soft: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #0b1634;
  --muted: #52617d;
  --muted-2: #74839d;
  --line: #dce6f8;
  --line-strong: #c7d6f2;
  --blue: #2688ff;
  --cyan: #18b8ff;
  --violet: #8b5cff;
  --pink: #c56cff;
  --green: #16b69a;
  --shadow-sm: 0 12px 34px rgba(42, 97, 176, 0.09);
  --shadow-md: 0 24px 70px rgba(55, 91, 159, 0.14);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 6%, rgba(38, 136, 255, 0.12), transparent 32%),
    radial-gradient(circle at 90% 14%, rgba(139, 92, 255, 0.12), transparent 36%),
    radial-gradient(circle at 58% 100%, rgba(24, 184, 255, 0.10), transparent 38%),
    var(--bg);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.site-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto auto 5% -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(38, 136, 255, 0.12), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.site-shell::after {
  inset: 8% -8% auto auto;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.12), transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0 18px;
  border-bottom: 1px solid rgba(199, 214, 242, 0.72);
  background: rgba(251, 252, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #091630;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 0 5px rgba(38, 136, 255, 0.1);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  font-size: 0.93rem;
  color: #172541;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transition: transform 220ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 13px;
  padding: 0 24px;
  font-weight: 750;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 34px rgba(70, 91, 235, 0.26);
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.header-cta:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(38, 136, 255, 0.32);
  outline-offset: 4px;
}

.button-secondary {
  color: #2d5ebf;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(139, 92, 255, 0.34);
  box-shadow: 0 14px 28px rgba(70, 91, 235, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 11px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

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

.section-pad {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(38px, 6vw, 76px);
}

.section-pad-sm {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px) 0;
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #296ad6;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

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

h1 {
  font-size: clamp(3.1rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
  color: #081634;
}

.hero-text {
  color: #2d3b59;
  font-size: clamp(1.04rem, 0.4vw + 1rem, 1.28rem);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 32px;
}

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

.capability-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #283753;
  font-size: 0.93rem;
}

.capability-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.capability-strip li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #98a8c3;
  margin-left: 12px;
}

.capability-strip svg {
  width: 23px;
  height: 23px;
  stroke: url(#lineGradientFallback);
  stroke: #3589ff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 255, 0.35)),
    radial-gradient(circle at 68% 18%, rgba(38, 136, 255, 0.14), transparent 38%),
    radial-gradient(circle at 86% 84%, rgba(139, 92, 255, 0.14), transparent 42%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 360px;
  height: 210px;
  opacity: 0.7;
  background-image: radial-gradient(circle, rgba(98, 119, 214, 0.42) 1px, transparent 1.8px);
  background-size: 10px 10px;
  transform: perspective(420px) rotateX(58deg) rotateZ(-9deg);
  transform-origin: bottom right;
  mask-image: linear-gradient(90deg, transparent, #000 32%, transparent);
}

.circuit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.line-art path,
.line-art rect,
.line-art circle {
  stroke: url(#lineGradient);
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.36;
}

.orb-one {
  width: 120px;
  height: 120px;
  background: #24b6ff;
  top: 90px;
  left: 210px;
}

.orb-two {
  width: 150px;
  height: 150px;
  background: #8d5cff;
  right: 22px;
  bottom: 42px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(183, 200, 232, 0.8);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.dashboard-card {
  right: 6px;
  top: 112px;
  width: min(310px, 44vw);
  border-radius: 18px;
  padding: 14px;
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6a9d;
}
.window-dots span:nth-child(2) { background: #ffbd52; }
.window-dots span:nth-child(3) { background: #16c6a3; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 10px;
}

.dashboard-grid > div,
.metric-card,
.notifications {
  border-radius: 12px;
  border: 1px solid rgba(214, 225, 245, 0.8);
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.dashboard-grid small,
.phone-card small,
.dashboard-grid span,
.notifications p,
.metric-card em,
.temp-card em {
  color: var(--muted-2);
  font-size: 0.69rem;
  font-style: normal;
}

.dashboard-grid strong,
.phone-card strong {
  display: block;
  font-size: 0.77rem;
  margin: 4px 0 6px;
}

.chart-line {
  width: 100%;
  height: auto;
}

.chart-line polyline,
.chart-line path {
  stroke: #5079ff;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line path {
  stroke: rgba(141, 158, 195, 0.3);
}

.metric-card b {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  margin: 3px 0;
}

.ring {
  position: relative;
}

.ring::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(var(--violet) 68%, rgba(221, 229, 246, 0.88) 0);
  mask: radial-gradient(circle at center, transparent 52%, #000 53%);
}

.notifications p {
  margin: 7px 0 0;
}

.phone-card {
  right: 116px;
  top: 292px;
  width: 132px;
  min-height: 240px;
  border-radius: 26px;
  padding: 20px 12px 12px;
  border: 4px solid rgba(17, 29, 59, 0.75);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(14, 28, 54, 0.28);
}

.temp-card {
  display: grid;
  gap: 2px;
  margin: 10px 0;
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(38, 136, 255, 0.08), rgba(139, 92, 255, 0.1));
  border: 1px solid rgba(201, 214, 243, 0.8);
}

.temp-card span {
  font-weight: 850;
  font-size: 1.4rem;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-grid span {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
  padding: 8px;
  background: rgba(247, 250, 255, 0.9);
  border: 1px solid rgba(217, 226, 246, 0.95);
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.2;
}

.phone-grid b {
  color: #2f70de;
  font-size: 0.65rem;
}

.positioning {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding: clamp(34px, 4vw, 54px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(207, 219, 243, 0.82);
  box-shadow: var(--shadow-sm);
}

.positioning h2,
.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

.positioning p,
.section-lead,
.cta p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.positioning-icon svg,
.icon-wrap svg,
.build-illustration svg,
.cta-icon svg,
.step-icon svg {
  width: 100%;
  height: 100%;
  stroke: url(#paintFallback);
  stroke: #3b8eff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.positioning-icon {
  width: 132px;
  height: 132px;
  justify-self: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered .eyebrow::before {
  display: none;
}

.section-heading.centered h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  border-radius: 999px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.card-grid {
  display: grid;
  gap: 22px;
}

.four-cols {
  grid-template-columns: repeat(4, 1fr);
}

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

.feature-card,
.build-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.78)),
    radial-gradient(circle at 20% 0%, rgba(38, 136, 255, 0.09), transparent 42%);
  border: 1px solid rgba(205, 218, 243, 0.92);
  box-shadow: 0 16px 44px rgba(58, 94, 156, 0.08);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-card:hover,
.build-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(89, 142, 244, 0.38);
}

.feature-card::after,
.build-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% 20%;
  height: 150px;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.12), transparent 68%);
}

.icon-wrap {
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
}

.feature-card h3,
.build-card h3,
.process-steps h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-card p,
.build-card p,
.process-steps p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.build-card {
  min-height: 302px;
}

.build-illustration {
  height: 135px;
  margin: -4px 0 18px;
}

.build-illustration svg {
  stroke-width: 2.3;
}

.controller svg rect:nth-of-type(n + 1) {
  stroke: var(--green);
}

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

.process-steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 9.5%;
  right: 9.5%;
  border-top: 2px dotted #b8c8e5;
}

.process-steps li {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cbd8f0;
  color: #0c1b3e;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(66, 109, 182, 0.09);
}

.step-icon {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-bottom: 14px;
}

.process-steps h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-steps p {
  font-size: 0.88rem;
  max-width: 172px;
  margin-inline: auto;
}

.cta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: clamp(34px, 4vw, 52px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(204, 216, 241, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(252, 247, 255, 0.9)),
    radial-gradient(circle at 78% 40%, rgba(139, 92, 255, 0.19), transparent 46%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cta p {
  margin-bottom: 24px;
  max-width: 610px;
}

.cta-copy p {
  margin-bottom: 0;
}

.cta-icon {
  width: 130px;
  height: 130px;
  justify-self: center;
}

.cta-actions {
  position: relative;
  z-index: 1;
  justify-self: end;
}

.contact-form {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #243553;
  font-size: 0.86rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(190, 205, 235, 0.96);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  box-shadow: 0 10px 22px rgba(66, 109, 182, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 124px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(38, 136, 255, 0.62);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(38, 136, 255, 0.12);
}

.contact-extra {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-widget {
  --cap-background: rgba(255, 255, 255, 0.78);
  --cap-border-color: rgba(190, 205, 235, 0.96);
  --cap-border-radius: 13px;
  --cap-color: var(--text);
  --cap-widget-width: 100%;
  --cap-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.captcha-progress {
  min-height: 1.3em;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.contact-form .button {
  width: fit-content;
}

.contact-modal {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--text);
  background: transparent;
  box-shadow: var(--shadow-md);
  overflow: visible;
}

.contact-modal::backdrop {
  background: rgba(8, 18, 42, 0.44);
  backdrop-filter: blur(9px);
}

.contact-modal-panel {
  position: relative;
  max-height: min(760px, calc(100dvh - 32px));
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(204, 216, 241, 0.92);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at 86% 8%, rgba(139, 92, 255, 0.14), transparent 38%);
  overflow: auto;
}

.modal-heading {
  max-width: 520px;
  margin-bottom: 24px;
}

.modal-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 12px;
}

.modal-heading p:last-child {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(190, 205, 235, 0.96);
  border-radius: 13px;
  color: #243553;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 136, 255, 0.48);
  box-shadow: 0 10px 22px rgba(66, 109, 182, 0.1);
}

.modal-close:focus-visible {
  outline: 3px solid rgba(38, 136, 255, 0.32);
  outline-offset: 4px;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
}

.form-status {
  min-height: 1.4em;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: #087f6c;
}

.form-status.is-error {
  color: #b42318;
}

.wave-lines {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 52%;
  height: 200px;
  opacity: 0.45;
  background:
    repeating-radial-gradient(ellipse at 50% 120%, transparent 0 15px, rgba(139, 92, 255, 0.28) 16px 17px, transparent 18px 32px),
    radial-gradient(circle at 70% 70%, rgba(38, 136, 255, 0.18), transparent 58%);
  transform: rotate(-7deg);
  z-index: -1;
}

.site-footer {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 34px;
  text-align: center;
  color: #8290a8;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-actions {
    margin-bottom: 42px;
  }

  .hero-visual {
    min-height: 610px;
  }

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

  .dashboard-card {
    right: 5%;
  }

  .phone-card {
    right: 22%;
  }
}

@media (max-width: 920px) {
  .site-header {
    width: min(var(--container), calc(100% - 32px));
    grid-template-columns: auto auto;
    padding: 18px 0 14px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--bg-soft);
  }

  .header-cta {
    display: none;
  }

  .section-pad,
  .section-pad-sm {
    width: min(var(--container), calc(100% - 32px));
  }

  .positioning {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .three-cols {
    grid-template-columns: 1fr;
  }

  .build-card {
    min-height: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 540px;
    margin: 0 auto;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    height: 92%;
    border-top: 0;
    border-left: 2px dotted #b8c8e5;
  }

  .process-steps li {
    display: grid;
    grid-template-columns: 44px 52px 1fr;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .step-number,
  .step-icon {
    margin: 0;
  }

  .process-steps h3 {
    grid-column: 3;
    margin-bottom: 2px;
  }

  .process-steps p {
    grid-column: 3;
    max-width: none;
    margin: -8px 0 0;
  }

  .cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cta p {
    margin-inline: 0;
  }

  .cta-icon {
    display: none;
  }

  .cta-actions {
    justify-self: start;
  }

  .wave-lines {
    width: 100%;
    right: -35%;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero {
    padding-top: 48px;
  }

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

  .button {
    width: 100%;
  }

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

  .contact-modal {
    width: min(100% - 24px, 680px);
    max-height: calc(100dvh - 24px);
  }

  .contact-modal-panel {
    max-height: calc(100dvh - 24px);
    padding: 26px 18px 22px;
  }

  .modal-heading {
    padding-right: 46px;
  }

  .capability-strip {
    gap: 12px 16px;
  }

  .capability-strip li:not(:last-child)::after {
    display: none;
  }

  .hero-visual {
    min-height: 520px;
    margin-inline: -10px;
  }

  .circuit-lines {
    width: 125%;
    transform: translateX(-13%) translateY(0) scale(0.96);
  }

  .dashboard-card {
    width: min(270px, 80vw);
    top: 306px;
    right: 50%;
    transform: translateX(50%);
  }

  .phone-card {
    top: 180px;
    right: 6%;
    transform: scale(0.92);
    transform-origin: top right;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .four-cols {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .section-heading.centered,
  .section-heading {
    text-align: left;
    margin-inline: 0;
  }

  .section-heading.centered .eyebrow {
    justify-content: flex-start;
  }

  .section-heading.centered h2::after {
    margin-left: 0;
  }

  .process-steps li {
    grid-template-columns: 42px 42px 1fr;
    gap: 12px;
  }

  .step-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 440px) {
  .section-pad,
  .section-pad-sm,
  .site-header,
  .site-footer {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-visual {
    min-height: 480px;
  }

  .phone-card {
    right: -4px;
  }

  .dashboard-card {
    width: calc(100% - 20px);
  }

  .positioning,
  .feature-card,
  .build-card,
  .cta {
    padding: 24px;
    border-radius: 20px;
  }
}
