:root {
  --ink: #071a3b;
  --muted: #62728a;
  --line: #d8e6fb;
  --paper: #f4f8ff;
  --white: #ffffff;
  --forest: #2356d6;
  --teal: #2563eb;
  --mint: #e7f1ff;
  --coral: #ff7a59;
  --amber: #7bc8ff;
  --steel: #183153;
  --shadow: 0 22px 70px rgba(28, 82, 190, 0.16);
  --radius: 8px;
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.svg-sprite {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  background: linear-gradient(90deg, rgba(9, 45, 140, 0.9), rgba(7, 33, 108, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 38px rgba(7, 26, 59, 0.12);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 26, 59, 0.88);
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(7, 26, 59, 0.18);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.site-header.scrolled .brand-mark {
  color: var(--white);
  background: var(--teal);
  border-color: rgba(37, 99, 235, 0.16);
}

.brand-type {
  display: inline-flex;
  align-items: baseline;
  color: currentColor;
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-light {
  font-weight: 400;
  opacity: 0.92;
}

.brand-strong {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2vw, 1.8rem);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  opacity: 0.86;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  color: var(--ink);
  background: var(--white);
}

.site-header.scrolled .header-cta {
  color: var(--ink);
  background: var(--white);
}

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

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.28);
}

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

.button-dark {
  color: var(--white);
  background: var(--forest);
}

.icon-button {
  display: inline-grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.mobile-menu {
  display: none;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header.scrolled .mobile-menu {
  background: var(--white);
  border-color: var(--line);
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.services {
  scroll-margin-top: 10rem;
}

.section-dark {
  color: var(--white);
  background: #255ee6;
}

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  padding: 8rem clamp(1rem, 4vw, 3rem) 4.5rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 94, 230, 0.96) 0%, rgba(37, 94, 230, 0.78) 48%, rgba(8, 34, 92, 0.66) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 84px);
  content: "";
}

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

.hero-inner,
.hero-console,
.hero-signal {
  position: relative;
  z-index: 1;
}

.hero-inner {
  width: min(100%, 58rem);
  max-width: 58rem;
  padding-top: clamp(2rem, 6vh, 5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  width: min(100%, 44rem);
  max-width: 44rem;
  margin: 0;
  font-size: clamp(3.25rem, 6.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-wordmark span {
  font-weight: 400;
}

.hero-wordmark strong {
  display: inline;
  font-weight: 800;
}

.hero-copy {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-metrics {
  display: grid;
  max-width: 48rem;
  margin-top: 3.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.hero-metrics div {
  min-width: 0;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.07);
}

.hero-metrics strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
}

.hero-metrics span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-console {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(2rem, 7vh, 4.5rem);
  align-self: end;
  width: min(28rem, 32vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 26, 59, 0.76);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-top span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.console-top strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.console-row {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.console-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.console-row strong {
  font-size: 1.15rem;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}

.dot-green,
.dot-blue {
  background: #dbeafe;
}

.dot-yellow,
.dot-sky {
  background: var(--amber);
}

.dot-coral {
  background: var(--coral);
}

.console-chart {
  display: flex;
  align-items: end;
  height: 10rem;
  gap: 0.65rem;
  padding: 1.2rem;
}

.console-chart i {
  flex: 1;
  min-width: 1rem;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #ffffff, rgba(219, 234, 254, 0.24));
}

.hero-signal {
  position: absolute;
  display: grid;
  width: 18rem;
  height: 18rem;
  place-items: center;
  opacity: 0.28;
}

.hero-signal-left {
  left: -5rem;
  bottom: 2rem;
}

.hero-signal-right {
  top: 6rem;
  right: 12rem;
}

.hero-signal span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-signal span:nth-child(1) {
  width: 4rem;
  height: 4rem;
}

.hero-signal span:nth-child(2) {
  width: 8rem;
  height: 8rem;
  animation-delay: 240ms;
}

.hero-signal span:nth-child(3) {
  width: 12rem;
  height: 12rem;
  animation-delay: 480ms;
}

.hero-signal span:nth-child(4) {
  width: 16rem;
  height: 16rem;
  animation-delay: 720ms;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(1.08);
  }
}

.service-strip {
  position: sticky;
  z-index: 10;
  top: 4.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: var(--paper);
}

.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--steel);
  background: var(--white);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.service-tab:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.service-tab:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.service-tab.active {
  color: var(--white);
  background: var(--forest);
}

.section-heading {
  max-width: 52rem;
  margin: 0 auto 3rem;
  text-align: center;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-detail {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.service-info {
  min-width: 0;
}

.service-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius);
}

.service-info h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.service-info p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.service-info ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.service-info li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--steel);
  font-weight: 700;
}

.service-info li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--teal);
  content: "✓";
}

.service-visual {
  position: relative;
  display: grid;
  min-height: 32rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(123, 200, 255, 0.14)),
    var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-visual::before {
  position: absolute;
  inset: 1.2rem;
  border: 1px dashed rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  content: "";
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(72%, 17.5rem);
  min-height: 25rem;
  padding: 1.3rem;
  border: 8px solid var(--ink);
  border-radius: 1.8rem;
  background: #edf5ff;
  box-shadow: 0 24px 60px rgba(28, 82, 190, 0.2);
}

.phone-bar {
  width: 4rem;
  height: 0.35rem;
  margin: 0 auto 2rem;
  border-radius: 999px;
  background: rgba(23, 32, 29, 0.25);
}

.message-bubble {
  max-width: 92%;
  margin: 0.8rem 0;
  padding: 0.85rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(28, 82, 190, 0.1);
}

.message-bubble.primary {
  color: var(--white);
  background: var(--forest);
}

.message-bubble.accent {
  margin-left: auto;
  color: var(--ink);
  background: var(--mint);
}

.mini-report {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  width: 11rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-report span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-report strong {
  display: block;
  margin: 0.35rem 0 0.7rem;
  font-size: 1.8rem;
}

.progress {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eee9;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 260ms ease;
}

.cards-grid {
  display: grid;
  max-width: 72rem;
  margin: 3rem auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.metric-card,
.timeline-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card svg {
  color: var(--teal);
}

.feature-card h3 {
  margin: 1rem 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.platform-band {
  background: #eaf2ff;
}

.dashboard {
  max-width: 76rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.segmented {
  display: inline-flex;
  min-width: 0;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f6ff;
}

.segmented button,
.code-tabs button {
  min-height: 2.4rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.segmented button.active,
.code-tabs button.active {
  color: var(--white);
  background: var(--forest);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.metric-card,
.timeline-card {
  padding: 1.2rem;
}

.metric-card span,
.timeline-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 1.5rem;
  font-size: 2.4rem;
}

.metric-card small {
  color: var(--muted);
}

.timeline-card {
  grid-column: 1 / -1;
}

.timeline-card ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-card li {
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--steel);
  background: #f3f7ff;
}

.timeline-card b {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--forest);
}

.api-section {
  background: var(--white);
}

.api-layout {
  display: grid;
  max-width: 76rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.api-copy {
  display: grid;
  gap: 1rem;
}

.api-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.api-step span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.api-step h3 {
  margin: 0 0 0.4rem;
}

.api-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.code-panel {
  position: relative;
  border: 1px solid #193d91;
  border-radius: var(--radius);
  background: #071a3b;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 1rem 4.5rem 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.code-tabs button {
  color: rgba(255, 255, 255, 0.66);
}

.copy-button {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

pre {
  min-height: 22rem;
  margin: 0;
  padding: 1.2rem;
  overflow: auto;
  color: #e7f1ff;
  font-size: 0.92rem;
  line-height: 1.65;
}

.pricing-band {
  background: #f2f0e8;
}

.pricing-tool {
  display: grid;
  max-width: 76rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr) minmax(16rem, 0.7fr);
  gap: 1rem;
  align-items: stretch;
}

.volume-control,
.channel-checks,
.price-output {
  padding: 1.2rem;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.volume-control label {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--steel);
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.range-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: var(--muted);
}

.range-meta strong {
  color: var(--ink);
  font-size: 1.4rem;
}

.channel-checks {
  display: grid;
  gap: 0.75rem;
}

.channel-checks label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.channel-checks input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
}

.price-output {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.price-output span {
  color: var(--muted);
  font-weight: 900;
}

.price-output strong {
  font-size: 2.4rem;
}

.contact-section {
  background: var(--paper);
}

.contact-form {
  display: grid;
  max-width: 58rem;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  color: var(--steel);
  font-weight: 900;
}

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

.contact-select,
.multi-select {
  position: relative;
  min-width: 0;
  color: var(--steel);
  font-weight: 900;
}

.select-label {
  display: block;
  margin-bottom: 0.5rem;
}

.preference-trigger,
.multi-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.2rem;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--steel);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.preference-trigger span,
.preference-menu button,
.multi-select-trigger span,
.multi-select-menu label span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.preference-trigger:hover,
.preference-trigger[aria-expanded="true"],
.multi-select-trigger:hover,
.multi-select-trigger[aria-expanded="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.preference-trigger:focus-visible,
.multi-select-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.select-arrow {
  width: 1rem;
  height: 1rem;
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.preference-trigger[aria-expanded="true"] .select-arrow,
.multi-select-trigger[aria-expanded="true"] .select-arrow {
  transform: rotate(-90deg);
}

.preference-menu,
.multi-select-menu {
  position: absolute;
  z-index: 12;
  right: 0;
  left: 0;
  display: none;
  margin-top: 0.45rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-select.open .preference-menu {
  display: grid;
  gap: 0.25rem;
}

.multi-select.open .multi-select-menu {
  display: grid;
  gap: 0.25rem;
}

.preference-menu button,
.multi-select-menu label {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  border: 0;
  border-radius: 6px;
  color: var(--steel);
  background: transparent;
  font-weight: 900;
  text-align: left;
}

.multi-select-menu label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  cursor: pointer;
}

.multi-select-menu input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--teal);
}

.preference-menu button:hover,
.preference-menu button[aria-selected="true"],
.multi-select-menu label:hover,
.multi-select-menu label[aria-selected="true"] {
  color: var(--white);
  background: var(--teal);
}

.multi-select-menu label[aria-selected="true"] input {
  accent-color: var(--white);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

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

.form-status {
  position: absolute;
  left: -9999px;
  min-height: 1.5rem;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.form-modal[hidden] {
  display: none;
}

.form-modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 59, 0.58);
  backdrop-filter: blur(8px);
}

.form-modal-card {
  position: relative;
  display: grid;
  width: min(100%, 30rem);
  gap: 1rem;
  padding: 2rem;
  border: 1px solid rgba(216, 230, 251, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(7, 26, 59, 0.28);
  text-align: center;
}

.form-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
}

.form-modal-close svg {
  transform: rotate(45deg);
}

.modal-status-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  margin: 0 auto;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal);
}

.modal-status-icon.error {
  background: var(--coral);
}

.form-modal-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.65rem;
}

.form-modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .mobile-menu {
    display: inline-grid;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 4.8rem;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 32rem;
    width: 100%;
    margin-top: 2rem;
  }

  .service-detail,
  .api-layout,
  .pricing-tool {
    grid-template-columns: 1fr;
  }

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

  .timeline-card ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 84svh;
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .hero-inner {
    width: 100%;
    max-width: calc(100vw - 2rem);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 3.25rem;
    overflow-wrap: break-word;
  }

  .hero-wordmark strong {
    display: block;
  }

  .hero-copy {
    max-width: 20.8rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions,
  .hero-metrics {
    width: 100%;
    max-width: 20.8rem;
  }

  .hero-console {
    display: none;
  }

  .service-strip,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
  }

  .hero-metrics div {
    padding: 0.85rem 0.7rem;
  }

  .hero-metrics strong {
    font-size: 1.25rem;
  }

  .hero-metrics span {
    font-size: 0.72rem;
  }

  .service-strip {
    position: static;
    padding-top: 1rem;
  }

  .service-tab,
  .service-tab:first-child,
  .service-tab:last-child {
    min-height: 3.75rem;
    border-radius: var(--radius);
  }

  .service-visual {
    min-height: 28rem;
  }

  .phone-shell {
    width: min(82%, 17rem);
  }

  .mini-report {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .hero-actions,
  .dashboard-toolbar,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .segmented,
  .segmented button {
    width: 100%;
  }

  .segmented {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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