:root {
  --deep-space: #07111f;
  --night-surface: #0d1b2e;
  --panel: #13263d;
  --signal-blue: #1d8cff;
  --routing-cyan: #27d8ff;
  --delivery-green: #26c481;
  --compliance-amber: #ffc857;
  --rose-route: #f05f82;
  --cloud-white: #f6faff;
  --ice-panel: #eaf4ff;
  --graphite: #152235;
  --muted: #64748b;
  --line: rgba(29, 140, 255, 0.18);
  --soft-line: rgba(21, 34, 53, 0.1);
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.13);
  --shadow-lift: 0 28px 90px rgba(7, 17, 31, 0.18);
  --glow-blue: 0 0 0 1px rgba(39, 216, 255, 0.16), 0 22px 70px rgba(29, 140, 255, 0.24);
  color: var(--graphite);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #eff6ff 100%);
  color: var(--graphite);
}

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(21, 34, 53, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #081936;
  font-size: 26px;
  font-weight: 850;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
  color: #07152d;
  font-size: 14px;
  font-weight: 680;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(7, 21, 45, 0.9);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-blue), var(--routing-cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--signal-blue);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.login-button,
.primary-action,
.secondary-action,
.api-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 760;
}

.login-button {
  padding: 0 22px;
  color: #0b65d8;
  border: 1px solid rgba(29, 140, 255, 0.55);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.login-button:hover,
.primary-action:hover,
.secondary-action:hover,
.api-card button:hover,
.api-brief-action:hover {
  transform: translateY(-2px);
}

.login-button:hover {
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 140, 255, 0.18);
}

.menu-toggle {
  display: none;
}

.hero-atlas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(460px, 0.86fr) minmax(500px, 1.14fr);
  align-items: stretch;
  min-height: 584px;
  overflow: hidden;
  padding: 52px clamp(28px, 5vw, 72px) 38px;
  color: var(--cloud-white);
  background: #06101d;
}

.hero-atlas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 31%, rgba(7, 17, 31, 0.32) 58%, rgba(7, 17, 31, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0) 0%, rgba(7, 17, 31, 0.1) 58%, rgba(7, 17, 31, 0.68) 100%);
}

.hero-atlas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.3) 46%, transparent 78%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 560px;
  animation: fade-up 0.78s ease both;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--signal-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.media-copy h2,
.about-copy h2 {
  margin: 0;
  font-weight: 850;
  line-height: 1.06;
}

.hero-copy h1 {
  max-width: 640px;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 62px);
}

.hero-text {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(246, 250, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0;
  border: 1px solid rgba(141, 190, 231, 0.24);
  border-radius: 8px;
  background: rgba(13, 27, 46, 0.58);
}

.hero-metrics div {
  padding: 17px 20px;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(141, 190, 231, 0.2);
}

.hero-metrics span {
  display: block;
  color: #8edfff;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 850;
}

.hero-metrics small {
  color: rgba(246, 250, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-action,
.secondary-action {
  min-width: 176px;
  padding: 0 26px;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, #0877ff, #27d8ff);
  box-shadow: 0 18px 42px rgba(29, 140, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.secondary-action {
  color: var(--cloud-white);
  border: 1px solid rgba(246, 250, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.secondary-action.light {
  color: #0b65d8;
  border-color: rgba(29, 140, 255, 0.3);
  background: rgba(255, 255, 255, 0.82);
}

.primary-action:hover {
  box-shadow: 0 24px 64px rgba(29, 140, 255, 0.34);
  filter: saturate(1.08);
}

.secondary-action:hover {
  border-color: rgba(246, 250, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

.atlas-wrap {
  position: relative;
  z-index: 3;
  min-height: 430px;
}

.channel-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid rgba(246, 250, 255, 0.25);
  border-radius: 8px;
  font-weight: 850;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.chip-sms {
  top: 15%;
  left: 18%;
  background: linear-gradient(135deg, #0877ff, #2da9ff);
}

.chip-rcs {
  top: 8%;
  right: 8%;
  background: linear-gradient(135deg, #1bbd9c, #35e0a1);
}

.chip-whatsapp {
  left: 12%;
  bottom: 28%;
  background: linear-gradient(135deg, #169c77, #35e0a1);
}

.chip-voice {
  right: 4%;
  top: 48%;
  background: linear-gradient(135deg, #2d63d8, #5e7cff);
}

.chip-smpp {
  right: 23%;
  bottom: 14%;
  color: #241700;
  background: linear-gradient(135deg, #ffc857, #ffdf8a);
}

.signal-panel {
  position: absolute;
  right: 2%;
  bottom: 4%;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid rgba(141, 190, 231, 0.34);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  animation-delay: 0.18s;
}

.signal-panel span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-panel strong {
  color: #fff;
  font-size: 36px;
}

.signal-panel small {
  color: rgba(246, 250, 255, 0.72);
}

.overview-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1440px;
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(29, 140, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  animation: fade-up 0.72s ease 0.08s both;
}

.overview-band div {
  padding: 24px 26px;
}

.overview-band div + div {
  border-left: 1px solid var(--soft-line);
}

.overview-band strong,
.overview-band span {
  display: block;
}

.overview-band strong {
  margin-bottom: 8px;
  color: #07152d;
  font-size: 16px;
}

.overview-band span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-shell {
  padding: 82px clamp(24px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 34px 0;
}

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

.section-heading h2,
.media-copy h2,
.about-copy h2 {
  color: #07152d;
  font-size: clamp(30px, 3.4vw, 48px);
}

.section-heading p:last-child {
  margin: 0;
  color: #53657c;
  font-size: 17px;
  line-height: 1.68;
}

.a2p-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.a2p-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.service-card,
.voice-card,
.api-card {
  border: 1px solid rgba(29, 140, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
}

.service-card:hover,
.voice-card:hover,
.api-card:hover,
.api-brief-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 140, 255, 0.28);
  box-shadow: var(--shadow-lift);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e6f2ff;
  transition: transform 0.36s ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card:first-child img {
  object-fit: contain;
  padding: 20px;
}

.service-card div {
  padding: 26px;
}

.service-card h3,
.voice-card h3,
.api-card h3 {
  margin: 0;
  color: #07152d;
  font-size: 24px;
  line-height: 1.16;
}

.api-card-intro {
  margin: 14px 0 18px;
  color: #53657c;
  font-size: 15px;
  line-height: 1.68;
}

.service-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--soft-line);
}

.service-card li {
  color: #4a5d75;
  font-size: 14px;
  line-height: 1.62;
}

.service-card strong {
  color: #10223a;
}

.media-section {
  background:
    linear-gradient(135deg, #081424 0%, #102742 48%, #0d342c 100%);
}

.media-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  max-width: 1440px;
  min-height: 478px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(246, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  position: relative;
}

.media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(39, 216, 255, 0.16), transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(38, 196, 129, 0.13));
}

.media-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(32px, 5vw, 64px);
}

.media-copy .eyebrow,
.media-copy h2 {
  color: #fff;
}

.media-copy p {
  margin: 20px 0 0;
  color: rgba(246, 250, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.media-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.media-channels span {
  min-height: 54px;
  padding: 14px 16px;
  color: #eafaff;
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  line-height: 1.45;
}

.media-image {
  position: relative;
  z-index: 1;
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(13, 27, 46, 0.08), rgba(13, 27, 46, 0.2)),
    url("./assets/bg-multi-media.jpg") center / cover no-repeat;
}

.voice-section {
  background: #f8fbff;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.voice-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 438px;
  padding: 32px 28px;
  text-align: center;
}

.voice-card img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin-bottom: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf4ff, #fff);
  box-shadow: inset 0 0 0 1px rgba(29, 140, 255, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.voice-card:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: inset 0 0 0 1px rgba(29, 140, 255, 0.14), 0 16px 38px rgba(29, 140, 255, 0.12);
}

.voice-card p {
  margin: 18px 0 0;
  color: #4a5d75;
  font-size: 15px;
  line-height: 1.72;
}

.api-section {
  background:
    linear-gradient(180deg, #07111f 0%, #0f2138 100%);
  color: var(--cloud-white);
}

.api-brief-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}

.api-brief-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}

.api-brief-card,
.api-brief-action {
  border: 1px solid rgba(29, 140, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.api-brief-card {
  padding: 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.api-brief-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #006fe8;
  border-radius: 999px;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 850;
}

.api-brief-card h3 {
  margin: 18px 0 10px;
  color: #07152d;
  font-size: 22px;
}

.api-brief-card p {
  margin: 0;
  color: #53657c;
  line-height: 1.68;
}

.api-brief-action {
  display: inline-flex;
  min-width: 214px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #0877ff, #27d8ff);
  font-weight: 850;
  box-shadow: var(--glow-blue);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.api-brief-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.api-brief-action:hover {
  filter: saturate(1.1);
}

.api-page {
  background:
    linear-gradient(180deg, #07111f 0%, #0f2138 32%, #f7fbff 32%, #eff6ff 100%);
}

.api-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: 476px;
  padding: 78px clamp(24px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(39, 216, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255, 200, 87, 0.18), transparent 26%),
    linear-gradient(135deg, #07111f 0%, #102946 58%, #0d342c 100%);
}

.api-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

.api-hero-copy,
.api-terminal {
  position: relative;
  z-index: 1;
}

.api-hero-copy {
  animation: fade-up 0.72s ease both;
}

.api-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
}

.api-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(246, 250, 255, 0.78);
  font-size: 18px;
  line-height: 1.72;
}

.api-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.api-terminal {
  overflow: hidden;
  border: 1px solid rgba(141, 190, 231, 0.28);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  animation: fade-up 0.72s ease 0.12s both;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(141, 190, 231, 0.18);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f05f82;
}

.terminal-bar span:nth-child(2) {
  background: #ffc857;
}

.terminal-bar span:nth-child(3) {
  background: #26c481;
}

.api-terminal pre {
  border-radius: 0;
  background: transparent;
}

.api-section .section-heading h2,
.api-section .section-heading p:last-child {
  color: #fff;
}

.api-section .section-heading p:last-child {
  color: rgba(246, 250, 255, 0.72);
}

.api-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
}

.api-menu {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.api-menu a {
  padding: 13px 14px;
  color: rgba(246, 250, 255, 0.78);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
}

.api-menu a:hover {
  color: #07111f;
  background: #8edfff;
}

.api-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.api-card {
  min-width: 0;
  padding: 24px;
  color: var(--graphite);
  background: #f8fbff;
}

.api-card:target {
  border-color: rgba(39, 216, 255, 0.48);
  box-shadow: var(--glow-blue);
}

.api-card.wide {
  grid-column: 1 / -1;
}

.api-card.future {
  display: grid;
  align-content: center;
  background: linear-gradient(135deg, #e9f7ff, #fff8df);
}

.api-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.api-card button {
  min-height: 38px;
  padding: 0 14px;
  color: #006fe8;
  border: 1px solid rgba(29, 140, 255, 0.28);
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.api-card button:hover {
  background: #f6fbff;
  box-shadow: 0 12px 30px rgba(29, 140, 255, 0.14);
}

.method-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.method-list div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--soft-line);
}

.method-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.method-list dd {
  min-width: 0;
  margin: 0;
  color: #10223a;
  overflow-wrap: anywhere;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  color: #c8f7ff;
  border-radius: 8px;
  background: #06111f;
  font-size: 13px;
  line-height: 1.55;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--soft-line);
}

th {
  color: #0b65d8;
  background: #eaf4ff;
}

td {
  color: #43536a;
  line-height: 1.55;
}

.code-grid,
.smpp-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

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

.code-grid span,
.smpp-list div {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(21, 34, 53, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #43536a;
  font-size: 13px;
  line-height: 1.4;
}

.code-grid span {
  justify-content: flex-start;
}

.code-grid strong {
  color: #006fe8;
}

.smpp-list span {
  color: var(--muted);
}

.smpp-list strong {
  color: #10223a;
  text-align: right;
}

.future p {
  margin: 16px 0 0;
  color: #41546c;
  line-height: 1.65;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
}

.about-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #4a5d75;
  font-size: 17px;
  line-height: 1.78;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.about-stats span {
  min-height: 90px;
  padding: 16px;
  border: 1px solid rgba(29, 140, 255, 0.14);
  border-radius: 8px;
  background: #f6fbff;
  color: #52677f;
  font-size: 13px;
  line-height: 1.35;
}

.about-stats strong {
  display: block;
  color: #006fe8;
  font-size: 28px;
  line-height: 1.1;
}

.about-section > img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 46px clamp(24px, 5vw, 72px);
  color: rgba(246, 250, 255, 0.75);
  background: var(--deep-space);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(280px, 1.4fr);
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 320px;
  margin: 16px 0 0;
  line-height: 1.65;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 10px;
  font-style: normal;
}

.site-footer a,
.site-footer span {
  color: rgba(246, 250, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer a:hover {
  color: #8edfff;
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 1180px) {
  .hero-atlas {
    grid-template-columns: 1fr;
  }

  .atlas-wrap {
    min-height: 380px;
  }

  .a2p-grid,
  .voice-grid,
  .overview-band,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-panel,
  .about-section {
    grid-template-columns: 1fr;
  }

  .api-layout {
    grid-template-columns: 1fr;
  }

  .api-menu {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .api-brief-layout,
  .api-hero {
    grid-template-columns: 1fr;
  }

  .api-brief-action {
    min-height: 68px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 0 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand {
    font-size: 23px;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(29, 140, 255, 0.28);
    border-radius: 8px;
    background: #fff;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: #07152d;
  }

  .main-nav,
  .login-button {
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .login-button {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.nav-open .main-nav {
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
  }

  .site-header.nav-open .login-button {
    width: max-content;
    margin-bottom: 16px;
  }

  .hero-atlas {
    min-height: 860px;
    grid-template-columns: 1fr;
    padding: 44px 20px 34px;
  }

  .hero-atlas::before {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.78) 42%, rgba(7, 17, 31, 0.42) 100%);
  }

  .hero-backdrop {
    object-position: 66% center;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
  }

  .hero-metrics,
  .a2p-grid,
  .voice-grid,
  .overview-band,
  .footer-grid,
  .api-content,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div,
  .overview-band div + div {
    border-top: 1px solid rgba(141, 190, 231, 0.2);
    border-left: 0;
  }

  .overview-band {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section-shell {
    padding: 54px 20px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .service-card {
    grid-template-rows: 190px 1fr;
  }

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

  .media-copy {
    padding: 32px 24px;
  }

  .media-channels,
  .api-menu {
    grid-template-columns: 1fr;
  }

  .api-brief-layout {
    grid-template-columns: 1fr;
  }

  .api-brief-action {
    min-height: 58px;
  }

  .api-hero {
    min-height: auto;
    padding: 54px 20px;
  }

  .api-hero-copy h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .media-image {
    min-height: 280px;
  }

  .api-card.wide {
    grid-column: auto;
  }

  .method-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .about-section > img {
    min-height: 240px;
  }

  .atlas-wrap {
    min-height: 300px;
  }

  .channel-chip {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .chip-whatsapp {
    bottom: 30%;
  }

  .signal-panel {
    right: 0;
    bottom: 0;
    min-width: 168px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .channel-chip,
  .signal-panel {
    animation: float-in 0.8s ease both;
  }

  .service-card,
  .voice-card,
  .api-card,
  .api-brief-card,
  .media-panel,
  .about-section {
    animation: fade-up 0.72s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Frontend design pass: refine hierarchy, motion, and product polish. */
:root {
  --ink: #071426;
  --ink-soft: #23364d;
  --text-muted: #5d7088;
  --surface: #ffffff;
  --surface-blue: #f3f8ff;
  --surface-mint: #eefbf7;
  --surface-warm: #fff8e5;
  --line-quiet: rgba(7, 20, 38, 0.09);
  --line-blue: rgba(29, 140, 255, 0.2);
  --shadow-soft: 0 18px 48px rgba(9, 31, 62, 0.1);
  --shadow-strong: 0 28px 84px rgba(9, 31, 62, 0.18);
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 34%, #f2f8ff 66%, #ffffff 100%);
}

.site-header {
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 0 clamp(24px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(7, 20, 38, 0.08);
  box-shadow: 0 14px 38px rgba(7, 20, 38, 0.06);
}

.brand {
  font-size: 24px;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.main-nav {
  gap: 8px;
  justify-self: center;
  padding: 6px;
  border: 1px solid rgba(7, 20, 38, 0.06);
  border-radius: 999px;
  background: rgba(246, 250, 255, 0.76);
}

.main-nav a {
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(7, 20, 38, 0.76);
  line-height: 1;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #005fd1;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(29, 140, 255, 0.12);
}

.login-button {
  min-height: 42px;
  padding: 0 18px;
  color: #0758bd;
  background: #fff;
}

.hero-atlas {
  min-height: clamp(650px, 76vh, 760px);
  grid-template-columns: minmax(430px, 0.88fr) minmax(520px, 1.12fr);
  padding: clamp(62px, 7vw, 94px) clamp(24px, 5vw, 72px) 58px;
}

.hero-atlas::before {
  background:
    linear-gradient(90deg, rgba(5, 14, 27, 0.96) 0%, rgba(6, 17, 31, 0.88) 34%, rgba(6, 17, 31, 0.45) 61%, rgba(6, 17, 31, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.05) 0%, rgba(7, 17, 31, 0.08) 54%, rgba(7, 17, 31, 0.72) 100%);
}

.hero-atlas::after {
  background-image:
    linear-gradient(rgba(141, 190, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 190, 231, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.hero-copy h1 {
  font-size: clamp(46px, 5.2vw, 76px);
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  color: rgba(246, 250, 255, 0.84);
}

.hero-metrics {
  max-width: 590px;
  border-color: rgba(141, 190, 231, 0.28);
  background: rgba(6, 17, 31, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.primary-action,
.secondary-action {
  min-height: 50px;
}

.atlas-wrap {
  min-height: 510px;
}

.channel-chip {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.signal-panel {
  right: 5%;
  bottom: 10%;
  min-width: 218px;
  background: rgba(4, 14, 26, 0.76);
}

.overview-band {
  width: min(1120px, calc(100% - 48px));
  margin-top: -28px;
  overflow: hidden;
  border-color: var(--line-blue);
}

.overview-band div {
  padding: 28px;
}

.overview-band strong {
  font-size: 17px;
}

.section-shell {
  padding: clamp(72px, 8vw, 112px) clamp(24px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-heading h2,
.media-copy h2,
.about-copy h2 {
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: 0;
}

.section-heading p:last-child {
  max-width: 760px;
  color: var(--text-muted);
}

.a2p-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f2f8ff 100%);
}

.a2p-grid {
  gap: 22px;
}

.service-card {
  grid-template-rows: 238px 1fr;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.service-card img {
  background:
    linear-gradient(135deg, #eaf4ff, #f9fcff);
}

.service-card div {
  padding: 30px;
}

.card-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #006fe8;
  letter-spacing: 0;
  text-transform: none;
}

.service-card h3,
.voice-card h3,
.api-card h3 {
  color: var(--ink);
}

.service-card li {
  color: #52677f;
}

.service-card li + li {
  padding-top: 12px;
  border-top: 1px dashed rgba(7, 20, 38, 0.09);
}

.media-section {
  background:
    linear-gradient(135deg, #071426 0%, #123154 48%, #0c3a33 100%);
}

.media-panel {
  grid-template-columns: minmax(360px, 0.82fr) minmax(460px, 1fr);
  min-height: 520px;
  border-color: rgba(141, 190, 231, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

.media-copy p {
  color: rgba(246, 250, 255, 0.8);
}

.media-channels span {
  min-height: 62px;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.voice-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.voice-grid {
  gap: 22px;
}

.voice-card {
  min-height: 462px;
  padding: 34px 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: var(--shadow-soft);
}

.voice-card img {
  width: 156px;
  height: 156px;
}

.api-brief-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.api-brief-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.api-brief-card {
  min-height: 216px;
  padding: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.api-brief-card:nth-child(2) span {
  color: #0b7d5e;
  background: var(--surface-mint);
}

.api-brief-card:nth-child(3) span {
  color: #8a5a00;
  background: var(--surface-warm);
}

.api-brief-action {
  grid-column: 1 / -1;
  min-height: 76px;
  justify-self: start;
  padding: 0 30px;
}

.about-section {
  width: min(1440px, 100%);
  padding-top: clamp(74px, 8vw, 112px);
  padding-bottom: clamp(74px, 8vw, 112px);
}

.about-section > img {
  min-height: 430px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  box-shadow: var(--shadow-strong);
}

.about-stats span {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 14px 32px rgba(29, 140, 255, 0.08);
}

.api-page .site-header {
  background: rgba(255, 255, 255, 0.9);
}

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

.api-terminal {
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.api-section .section-heading {
  margin-right: auto;
}

.api-layout {
  gap: 26px;
}

.api-menu {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.api-content {
  gap: 22px;
}

.api-card {
  padding: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-soft);
}

.api-card.wide {
  padding: 30px;
}

.method-list div {
  grid-template-columns: 112px minmax(0, 1fr);
}

pre {
  border: 1px solid rgba(141, 190, 231, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.table-wrap {
  border: 1px solid var(--line-quiet);
  border-radius: 8px;
  background: #fff;
}

table {
  min-width: 900px;
}

th {
  background: #eef6ff;
}

.code-grid span,
.smpp-list div {
  align-items: flex-start;
  min-height: 48px;
}

.site-footer {
  background:
    linear-gradient(135deg, #06101d 0%, #0d2138 64%, #0b2d29 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-backdrop {
    animation: slow-scale 18s ease-in-out infinite alternate;
  }

  .channel-chip {
    animation: float-in 0.8s ease both, route-pulse 3.8s ease-in-out infinite;
  }

  .chip-rcs {
    animation-delay: 0.08s, 0.4s;
  }

  .chip-whatsapp {
    animation-delay: 0.16s, 0.8s;
  }

  .chip-voice {
    animation-delay: 0.24s, 1.2s;
  }

  .chip-smpp {
    animation-delay: 0.32s, 1.6s;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .login-button {
    justify-self: end;
  }

  .hero-atlas,
  .media-panel,
  .api-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
  }

  .site-header.nav-open .main-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .site-header.nav-open .login-button {
    grid-column: 1 / -1;
  }

  .hero-atlas {
    min-height: auto;
    padding: 46px 20px 42px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.58;
  }

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

  .hero-metrics div {
    padding: 12px 10px;
  }

  .hero-metrics div + div {
    border-top: 0;
    border-left: 1px solid rgba(141, 190, 231, 0.2);
  }

  .hero-metrics span {
    font-size: 20px;
  }

  .hero-metrics small {
    display: block;
    font-size: 12px;
    line-height: 1.3;
  }

  .hero-actions {
    gap: 12px;
  }

  .primary-action,
  .secondary-action {
    flex: 1 1 152px;
    min-width: 0;
    min-height: 46px;
    padding: 0 16px;
  }

  .atlas-wrap {
    min-height: 230px;
  }

  .overview-band {
    width: 100%;
    margin-top: 0;
  }

  .service-card {
    grid-template-rows: 210px 1fr;
  }

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

  .api-brief-layout {
    grid-template-columns: 1fr;
  }

  .api-brief-action {
    width: 100%;
  }

  .api-hero {
    padding-top: 64px;
  }

  .api-terminal pre {
    font-size: 12px;
  }

  table {
    min-width: 780px;
  }
}

@keyframes slow-scale {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes route-pulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.18) brightness(1.08);
  }
}

/* Frontend Design: official capability card system. */
.overview-band {
  gap: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  box-shadow: 0 20px 64px rgba(8, 28, 56, 0.14);
}

.overview-band div {
  position: relative;
  padding: 30px 28px 28px 54px;
}

.overview-band div::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 28px;
  width: 12px;
  height: 12px;
  border: 2px solid #1d8cff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(29, 140, 255, 0.09);
}

.overview-band div:nth-child(2)::before {
  border-color: #26c481;
  box-shadow: 0 0 0 6px rgba(38, 196, 129, 0.1);
}

.overview-band div:nth-child(3)::before {
  border-color: #ffc857;
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.16);
}

.overview-band div:nth-child(4)::before {
  border-color: #f05f82;
  box-shadow: 0 0 0 6px rgba(240, 95, 130, 0.1);
}

.overview-band strong {
  color: #071426;
  font-size: 18px;
  letter-spacing: 0;
}

.overview-band span {
  color: #53657c;
}

.service-card,
.voice-card,
.api-brief-card,
.api-card {
  border: 1px solid rgba(7, 20, 38, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 251, 255, 0.98) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 46px rgba(9, 31, 62, 0.1);
}

.service-card:hover,
.voice-card:hover,
.api-brief-card:hover,
.api-card:hover {
  transform: translateY(-7px);
  border-color: rgba(29, 140, 255, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 30px 82px rgba(9, 31, 62, 0.18);
}

.service-card {
  grid-template-rows: 202px 1fr;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  left: 0;
  height: 72px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.07), transparent),
    linear-gradient(90deg, rgba(29, 140, 255, 0.09), transparent 54%);
}

.service-card.A2P-notice::after {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.06), transparent),
    linear-gradient(90deg, rgba(38, 196, 129, 0.11), transparent 54%);
}

.service-card.A2P-marketing::after {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, 0.06), transparent),
    linear-gradient(90deg, rgba(255, 200, 87, 0.16), transparent 54%);
}

.service-card img {
  background:
    linear-gradient(135deg, #eef6ff 0%, #ffffff 100%);
}

.service-card:first-child img {
  padding: 18px 26px;
}

.service-card div {
  padding: 28px 30px 30px;
}

.card-kicker {
  min-height: 30px;
  padding: 0 12px;
  color: #005fd1;
  border: 1px solid rgba(29, 140, 255, 0.16);
  background: linear-gradient(180deg, #eef6ff, #ffffff);
  box-shadow: 0 8px 22px rgba(29, 140, 255, 0.08);
}

.service-card.A2P-notice .card-kicker {
  color: #087354;
  border-color: rgba(38, 196, 129, 0.18);
  background: linear-gradient(180deg, #eefbf7, #ffffff);
}

.service-card.A2P-marketing .card-kicker {
  color: #8a5a00;
  border-color: rgba(255, 200, 87, 0.26);
  background: linear-gradient(180deg, #fff8e5, #ffffff);
}

.service-card h3 {
  margin-top: 14px;
  font-size: 26px;
}

.card-summary {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(7, 20, 38, 0.08);
}

.service-card ul {
  margin-top: 0;
  padding-top: 4px;
  border-top: 0;
}

.service-card li {
  padding-top: 13px;
  padding-bottom: 13px;
}

.service-card li strong {
  color: #10223a;
}

.media-channels span {
  position: relative;
  padding: 16px 18px 16px 42px;
  border-color: rgba(141, 190, 231, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 14px 30px rgba(0, 0, 0, 0.12);
}

.media-channels span::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #27d8ff;
  box-shadow: 0 0 0 5px rgba(39, 216, 255, 0.1);
}

.media-channels span:nth-child(2)::before,
.media-channels span:nth-child(5)::before {
  background: #26c481;
  box-shadow: 0 0 0 5px rgba(38, 196, 129, 0.1);
}

.media-channels span:nth-child(3)::before {
  background: #ffc857;
  box-shadow: 0 0 0 5px rgba(255, 200, 87, 0.14);
}

.media-channels span:nth-child(4)::before {
  background: #f05f82;
  box-shadow: 0 0 0 5px rgba(240, 95, 130, 0.1);
}

.voice-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px 32px;
}

.voice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #5068ff, #27d8ff);
}

.voice-card.voice-notice::before {
  background: linear-gradient(90deg, #26c481, #27d8ff);
}

.voice-card.voice-marketing::before {
  background: linear-gradient(90deg, #ffc857, #f05f82);
}

.voice-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 140, 255, 0.1), transparent 66%);
}

.voice-card img {
  position: relative;
  z-index: 1;
  width: 148px;
  height: 148px;
  padding: 18px;
  border: 1px solid rgba(29, 140, 255, 0.12);
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0%, #f4f9ff 54%, #eaf4ff 100%);
}

.voice-card h3,
.voice-card p {
  position: relative;
  z-index: 1;
}

.voice-card p {
  color: #4c6179;
}

.api-brief-card {
  padding: 32px;
  border-color: rgba(7, 20, 38, 0.075);
}

.api-brief-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d8cff, #27d8ff);
}

.api-brief-card:nth-child(2)::before {
  background: linear-gradient(90deg, #26c481, #27d8ff);
}

.api-brief-card:nth-child(3)::before {
  background: linear-gradient(90deg, #ffc857, #f05f82);
}

.api-brief-card > span,
.api-brief-card h3,
.api-brief-card p {
  position: relative;
  z-index: 1;
}

.api-brief-card span {
  border: 1px solid rgba(29, 140, 255, 0.12);
  box-shadow: 0 8px 20px rgba(29, 140, 255, 0.08);
}

.api-card {
  border-color: rgba(141, 190, 231, 0.18);
}

.api-card-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(7, 20, 38, 0.08);
}

.api-card-intro {
  color: #4d627a;
}

@media (max-width: 820px) {
  .overview-band div {
    padding-left: 52px;
  }

  .service-card {
    grid-template-rows: 178px 1fr;
  }

  .service-card div {
    padding: 24px;
  }

  .media-channels span {
    padding-left: 40px;
  }

  .voice-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .api-brief-card {
    min-height: auto;
    padding: 28px 24px;
  }
}

/* Frontend Design: multimedia showcase, not a tag list. */
.media-panel {
  grid-template-columns: minmax(480px, 0.96fr) minmax(440px, 1.04fr);
  gap: 0;
  min-height: 610px;
  isolation: isolate;
}

.media-copy {
  align-self: stretch;
  display: grid;
  align-content: center;
}

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

.media-channel-card {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(141, 190, 231, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 36px rgba(0, 0, 0, 0.14);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.media-channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 216, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.075));
}

.media-channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #27d8ff, #1d8cff);
}

.media-channel-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 216, 255, 0.16), transparent 65%);
}

.media-channel-card.mms::before,
.media-channel-card.zalo::before {
  background: linear-gradient(90deg, #26c481, #27d8ff);
}

.media-channel-card.mms::after,
.media-channel-card.zalo::after {
  background: radial-gradient(circle, rgba(38, 196, 129, 0.16), transparent 65%);
}

.media-channel-card.whatsapp::before {
  background: linear-gradient(90deg, #ffc857, #26c481);
}

.media-channel-card.whatsapp::after {
  background: radial-gradient(circle, rgba(255, 200, 87, 0.18), transparent 65%);
}

.media-channel-card.viber::before {
  background: linear-gradient(90deg, #7b72ff, #f05f82);
}

.media-channel-card.viber::after {
  background: radial-gradient(circle, rgba(123, 114, 255, 0.18), transparent 65%);
}

.media-channel-card span,
.media-channel-card strong,
.media-channel-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.media-channel-card span {
  width: max-content;
  min-height: 26px;
  padding: 5px 9px;
  color: #071426;
  border-radius: 999px;
  background: #8edfff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.media-channel-card.mms span,
.media-channel-card.zalo span {
  background: #9ff0d5;
}

.media-channel-card.whatsapp span {
  background: #ffe19a;
}

.media-channel-card.viber span {
  color: #fff;
  background: #7b72ff;
}

.media-channel-card strong {
  margin-top: 14px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.28;
}

.media-channel-card small {
  margin-top: 8px;
  color: rgba(246, 250, 255, 0.72);
  font-size: 13px;
  line-height: 1.52;
}

.media-stage {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 610px;
  padding: clamp(34px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.18), rgba(6, 17, 31, 0.02)),
    radial-gradient(circle at 62% 20%, rgba(39, 216, 255, 0.2), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(255, 200, 87, 0.16), transparent 26%);
}

.media-stage::before {
  content: "";
  position: absolute;
  inset: 38px 34px;
  z-index: -1;
  border: 1px solid rgba(141, 190, 231, 0.16);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(141, 190, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 190, 231, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.media-visual-card {
  position: relative;
  justify-self: end;
  width: min(420px, 92%);
  overflow: hidden;
  border: 1px solid rgba(141, 190, 231, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.32);
}

.media-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 45%, rgba(6, 17, 31, 0.42)),
    linear-gradient(90deg, rgba(39, 216, 255, 0.12), transparent 46%);
}

.media-visual-card img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
}

.message-preview-card {
  position: absolute;
  left: clamp(22px, 4vw, 56px);
  bottom: clamp(88px, 9vw, 128px);
  z-index: 2;
  width: min(330px, calc(100% - 70px));
  padding: 22px;
  border: 1px solid rgba(246, 250, 255, 0.2);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.78);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.message-preview-card span,
.message-preview-card strong,
.message-preview-card p {
  display: block;
}

.message-preview-card span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.message-preview-card strong {
  margin-top: 9px;
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.message-preview-card p {
  margin: 12px 0 0;
  color: rgba(246, 250, 255, 0.74);
  font-size: 14px;
  line-height: 1.62;
}

.media-route-strip {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: 42px;
  left: clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.media-route-strip span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: rgba(246, 250, 255, 0.82);
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .media-panel {
    grid-template-columns: 1fr;
  }

  .media-stage {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  .media-channel-grid {
    grid-template-columns: 1fr;
  }

  .media-channel-card {
    min-height: auto;
  }

  .media-stage {
    min-height: 500px;
    padding: 26px 20px 92px;
  }

  .media-stage::before {
    inset: 24px 18px;
  }

  .media-visual-card {
    justify-self: center;
    width: 100%;
  }

  .media-visual-card img {
    min-height: 240px;
  }

  .message-preview-card {
    right: 32px;
    bottom: 80px;
    left: 32px;
    width: auto;
  }

  .media-route-strip {
    right: 20px;
    bottom: 26px;
    left: 20px;
    justify-content: center;
  }
}

/* Frontend Design: rebuilt multimedia section as a dispatch console. */
.rich-media-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(39, 216, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 200, 87, 0.14), transparent 26%),
    linear-gradient(135deg, #06101d 0%, #102946 48%, #0a342f 100%);
  color: #f6faff;
}

.rich-media-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 190, 231, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 190, 231, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
}

.rich-media-header,
.rich-media-console {
  position: relative;
  z-index: 1;
}

.rich-media-header {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.rich-media-header .eyebrow,
.rich-media-header h2 {
  color: #fff;
}

.rich-media-header h2 {
  margin: 0;
  font-size: clamp(32px, 3.7vw, 54px);
  line-height: 1.08;
}

.rich-media-header p:last-child {
  max-width: 780px;
  margin: 20px auto 0;
  color: rgba(246, 250, 255, 0.76);
  font-size: 17px;
  line-height: 1.74;
}

.rich-media-console {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(360px, 0.78fr);
  grid-template-areas:
    "canvas dock"
    "scenarios scenarios";
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
}

.rich-media-canvas {
  grid-area: canvas;
  min-width: 0;
}

.rich-media-window {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 92px rgba(0, 0, 0, 0.32);
}

.rich-media-toolbar {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(246, 250, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.72);
  backdrop-filter: blur(16px);
}

.rich-media-toolbar span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rich-media-toolbar strong {
  color: #fff;
  font-size: 14px;
}

.rich-media-window img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
}

.rich-media-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 17, 31, 0.12), rgba(6, 17, 31, 0.68)),
    linear-gradient(90deg, rgba(39, 216, 255, 0.18), transparent 46%);
}

.rich-message-sheet {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  width: min(420px, calc(100% - 56px));
  padding: 24px;
  border: 1px solid rgba(246, 250, 255, 0.22);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.76);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.rich-message-sheet span {
  color: #ffc857;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rich-message-sheet strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.14;
}

.rich-message-sheet p {
  margin: 14px 0 0;
  color: rgba(246, 250, 255, 0.74);
  line-height: 1.68;
}

.rich-channel-dock {
  grid-area: dock;
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.rich-channel {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(141, 190, 231, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 16px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.rich-channel:hover {
  transform: translateX(5px);
  border-color: rgba(39, 216, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.07));
}

.rich-channel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #27d8ff;
}

.rich-channel.mms::before,
.rich-channel.zalo::before {
  background: #26c481;
}

.rich-channel.whatsapp::before {
  background: #ffc857;
}

.rich-channel.viber::before {
  background: #7b72ff;
}

.rich-channel span,
.rich-channel strong,
.rich-channel p {
  display: block;
  position: relative;
  z-index: 1;
}

.rich-channel span {
  color: #8edfff;
  font-size: 12px;
  font-weight: 900;
}

.rich-channel.mms span,
.rich-channel.zalo span {
  color: #9ff0d5;
}

.rich-channel.whatsapp span {
  color: #ffe19a;
}

.rich-channel.viber span {
  color: #c8c4ff;
}

.rich-channel strong {
  margin-top: 6px;
  color: #fff;
  font-size: 18px;
}

.rich-channel p {
  margin: 7px 0 0;
  color: rgba(246, 250, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.rich-media-scenarios {
  grid-area: scenarios;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rich-media-scenarios article {
  position: relative;
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(141, 190, 231, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rich-media-scenarios span {
  color: rgba(141, 190, 231, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.rich-media-scenarios strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 20px;
}

.rich-media-scenarios p {
  margin: 10px 0 0;
  color: rgba(246, 250, 255, 0.68);
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .rich-media-console {
    grid-template-columns: 1fr;
    grid-template-areas:
      "canvas"
      "dock"
      "scenarios";
  }

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

@media (max-width: 820px) {
  .rich-media-header {
    text-align: left;
  }

  .rich-media-window,
  .rich-media-window img {
    min-height: 430px;
  }

  .rich-media-toolbar {
    right: 14px;
    left: 14px;
  }

  .rich-message-sheet {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 20px;
  }

  .rich-channel-dock,
  .rich-media-scenarios {
    grid-template-columns: 1fr;
  }

  .rich-channel:hover {
    transform: translateY(-3px);
  }
}

/* Frontend Design: centered section hierarchy and cleaner capability cards. */
.a2p-section .section-heading.centered,
.api-brief-section .section-heading.centered {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.a2p-section .section-heading.centered .eyebrow,
.api-brief-section .section-heading.centered .eyebrow {
  justify-self: center;
}

.a2p-section .section-heading.centered p:last-child,
.api-brief-section .section-heading.centered p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.a2p-section .section-heading h2,
.api-brief-section .section-heading h2 {
  max-width: 780px;
  justify-self: center;
}

.a2p-grid {
  align-items: stretch;
}

.service-card {
  position: relative;
  grid-template-rows: 214px 1fr;
  border-color: rgba(7, 20, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow: 0 18px 46px rgba(9, 31, 62, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, #1d8cff, #27d8ff);
}

.service-card.A2P-notice::before {
  background: linear-gradient(90deg, #26c481, #7be3c1);
}

.service-card.A2P-marketing::before {
  background: linear-gradient(90deg, #ffc857, #f05f82);
}

.service-card img {
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.service-card:first-child img {
  padding: 24px 28px;
  object-fit: contain;
}

.service-card div {
  display: grid;
  align-content: start;
  padding: 28px;
}

.service-card h3 {
  margin-top: 12px;
  font-size: 25px;
}

.card-summary {
  margin: 12px 0 0;
  color: #40546d;
  font-size: 15px;
  line-height: 1.68;
}

.service-card ul {
  gap: 0;
  margin-top: 22px;
  padding-top: 18px;
}

.service-card li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 14px;
  line-height: 1.62;
}

.service-card li:first-child {
  padding-top: 0;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d8cff;
  box-shadow: 0 0 0 4px rgba(29, 140, 255, 0.1);
}

.service-card.A2P-notice li::before {
  background: #26c481;
  box-shadow: 0 0 0 4px rgba(38, 196, 129, 0.1);
}

.service-card.A2P-marketing li::before {
  background: #ffc857;
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.18);
}

.service-card li + li {
  border-top: 1px solid rgba(7, 20, 38, 0.07);
}

.api-brief-layout {
  max-width: 1180px;
}

.api-brief-card {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border-color: rgba(7, 20, 38, 0.08);
}

.api-brief-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(29, 140, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 140, 255, 0.1), transparent 62%);
}

.api-brief-card:nth-child(2)::after {
  border-color: rgba(38, 196, 129, 0.18);
  background: radial-gradient(circle, rgba(38, 196, 129, 0.1), transparent 62%);
}

.api-brief-card:nth-child(3)::after {
  border-color: rgba(255, 200, 87, 0.24);
  background: radial-gradient(circle, rgba(255, 200, 87, 0.14), transparent 62%);
}

.api-brief-card h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
}

.api-brief-card p {
  max-width: 30em;
  color: #4c6179;
  font-size: 15px;
}

.api-brief-action {
  justify-self: center;
}

@media (max-width: 820px) {
  .a2p-section .section-heading.centered,
  .api-brief-section .section-heading.centered {
    text-align: center;
  }

  .a2p-section .section-heading.centered .eyebrow,
  .api-brief-section .section-heading.centered .eyebrow,
  .a2p-section .section-heading h2,
  .api-brief-section .section-heading h2 {
    justify-self: center;
  }

  .service-card {
    grid-template-rows: 184px 1fr;
  }

  .service-card div {
    padding: 24px;
  }

  .service-card h3 {
    font-size: 23px;
  }
}

/* Frontend Design: voice service rebuilt as a call dispatch board. */
.voice-command-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
}

.voice-command-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 140, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 140, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, rgba(0, 0, 0, 0.74) 72%, transparent 100%);
}

.voice-command-header,
.voice-command-layout {
  position: relative;
  z-index: 1;
}

.voice-command-header {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.voice-command-header .eyebrow {
  color: #0a72df;
}

.voice-command-header h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #07152d;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
}

.voice-command-header p:last-child {
  max-width: 760px;
  margin: 20px auto 0;
  color: #53657c;
  font-size: 17px;
  line-height: 1.72;
}

.voice-command-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(380px, 1.05fr);
  grid-template-areas:
    "board rail"
    "strip strip";
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
}

.voice-flow-board {
  grid-area: board;
  position: relative;
  display: grid;
  min-height: 520px;
  align-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(29, 140, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(39, 216, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #061426 0%, #102946 54%, #0a342f 100%);
  box-shadow: 0 30px 90px rgba(9, 31, 62, 0.24);
  color: #f6faff;
}

.voice-flow-board::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(141, 190, 231, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.voice-flow-board::after {
  content: "";
  position: absolute;
  inset: 28% 15%;
  border: 1px solid rgba(39, 216, 255, 0.2);
  border-radius: 999px;
  transform: rotate(-14deg);
}

.voice-flow-status,
.voice-pulse-core,
.voice-waveform,
.voice-flow-steps {
  position: relative;
  z-index: 1;
}

.voice-flow-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(246, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.68);
  backdrop-filter: blur(14px);
}

.voice-flow-status span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.voice-flow-status strong {
  color: #fff;
  font-size: 15px;
}

.voice-pulse-core {
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(270px, 70vw);
  aspect-ratio: 1;
  margin: 26px 0 18px;
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(246, 250, 255, 0.96) 0 18%, rgba(39, 216, 255, 0.28) 19% 20%, transparent 21%),
    radial-gradient(circle, rgba(39, 216, 255, 0.18), transparent 58%);
  box-shadow:
    inset 0 0 42px rgba(39, 216, 255, 0.18),
    0 0 56px rgba(39, 216, 255, 0.22);
}

.voice-pulse-core::before {
  content: "CALL";
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #071426;
  border-radius: 50%;
  background: linear-gradient(135deg, #8edfff, #ffffff);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  box-shadow: 0 16px 44px rgba(39, 216, 255, 0.28);
}

.voice-pulse-core span {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(39, 216, 255, 0.34);
  border-radius: 50%;
  animation: voice-pulse 2.8s ease-out infinite;
}

.voice-pulse-core span:nth-child(2) {
  animation-delay: 0.75s;
}

.voice-pulse-core span:nth-child(3) {
  animation-delay: 1.5s;
}

.voice-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
}

.voice-waveform span {
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8edfff, #26c481);
  box-shadow: 0 0 18px rgba(39, 216, 255, 0.3);
  animation: voice-wave 1.5s ease-in-out infinite;
}

.voice-waveform span:nth-child(2n) {
  height: 42px;
  animation-delay: 0.12s;
}

.voice-waveform span:nth-child(3n) {
  height: 56px;
  background: linear-gradient(180deg, #ffc857, #27d8ff);
  animation-delay: 0.24s;
}

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

.voice-flow-steps span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: rgba(246, 250, 255, 0.82);
  border: 1px solid rgba(141, 190, 231, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.voice-task-rail {
  grid-area: rail;
  display: grid;
  gap: 14px;
}

.voice-task {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 158px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: 0 20px 54px rgba(9, 31, 62, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.voice-task:hover {
  transform: translateX(6px);
  border-color: rgba(29, 140, 255, 0.2);
  box-shadow: 0 28px 78px rgba(9, 31, 62, 0.16);
}

.voice-task::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #1d8cff;
}

.voice-task.notice::before {
  background: #26c481;
}

.voice-task.campaign::before {
  background: #ffc857;
}

.voice-task::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(29, 140, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 140, 255, 0.08), transparent 64%);
}

.voice-task.notice::after {
  border-color: rgba(38, 196, 129, 0.16);
  background: radial-gradient(circle, rgba(38, 196, 129, 0.08), transparent 64%);
}

.voice-task.campaign::after {
  border-color: rgba(255, 200, 87, 0.22);
  background: radial-gradient(circle, rgba(255, 200, 87, 0.12), transparent 64%);
}

.voice-task img,
.voice-task div {
  position: relative;
  z-index: 1;
}

.voice-task img {
  width: 104px;
  height: 104px;
  padding: 15px;
  object-fit: contain;
  border: 1px solid rgba(29, 140, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 36% 28%, #ffffff 0%, #f6fbff 52%, #e9f5ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.voice-task span {
  color: #0a72df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.voice-task.notice span {
  color: #12865f;
}

.voice-task.campaign span {
  color: #a96c00;
}

.voice-task h3 {
  margin: 8px 0 10px;
  color: #07152d;
  font-size: 24px;
  line-height: 1.16;
}

.voice-task p {
  max-width: 36em;
  margin: 0;
  color: #4c6179;
  font-size: 15px;
  line-height: 1.68;
}

.voice-scenario-strip {
  grid-area: strip;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.voice-scenario-strip div {
  position: relative;
  min-height: 108px;
  padding: 22px 24px 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(29, 140, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 42px rgba(9, 31, 62, 0.08);
}

.voice-scenario-strip div::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #1d8cff, #27d8ff);
}

.voice-scenario-strip strong,
.voice-scenario-strip span {
  display: block;
}

.voice-scenario-strip strong {
  color: #07152d;
  font-size: 19px;
}

.voice-scenario-strip span {
  margin-top: 8px;
  color: #53657c;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes voice-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.72);
  }

  74% {
    opacity: 0.12;
  }

  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes voice-wave {
  0%,
  100% {
    transform: scaleY(0.58);
    opacity: 0.72;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .voice-command-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "board"
      "rail"
      "strip";
  }

  .voice-task-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .voice-task {
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (max-width: 820px) {
  .voice-command-header {
    text-align: center;
  }

  .voice-flow-board {
    min-height: 460px;
    padding: 22px;
  }

  .voice-flow-board::before {
    inset: 18px;
  }

  .voice-flow-steps,
  .voice-task-rail,
  .voice-scenario-strip {
    grid-template-columns: 1fr;
  }

  .voice-task {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    min-height: 136px;
    padding: 20px;
  }

  .voice-task:hover {
    transform: translateY(-3px);
  }

  .voice-task img {
    width: 82px;
    height: 82px;
    padding: 12px;
  }

  .voice-task h3 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-pulse-core span,
  .voice-waveform span {
    animation: none;
  }
}

/* Frontend Design: A2P service rebuilt as a message operations console. */
.a2p-command-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
}

.a2p-command-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(29, 140, 255, 0.08), transparent 28%, rgba(38, 196, 129, 0.06) 72%, transparent),
    linear-gradient(rgba(29, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 140, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, rgba(0, 0, 0, 0.78) 74%, transparent 100%);
}

.a2p-command-header,
.a2p-command-console {
  position: relative;
  z-index: 1;
}

.a2p-command-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.a2p-command-header .eyebrow {
  color: #0a72df;
}

.a2p-command-header h2 {
  max-width: 800px;
  margin: 0 auto;
  color: #07152d;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
}

.a2p-command-header p:last-child {
  max-width: 780px;
  margin: 20px auto 0;
  color: #53657c;
  font-size: 17px;
  line-height: 1.72;
}

.a2p-command-console {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(410px, 0.95fr);
  grid-template-areas:
    "console rail"
    "matrix matrix";
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
}

.a2p-message-console {
  grid-area: console;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(29, 140, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 22%, rgba(39, 216, 255, 0.23), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(255, 200, 87, 0.14), transparent 25%),
    linear-gradient(145deg, #061426 0%, #102946 58%, #0a342f 100%);
  box-shadow: 0 30px 90px rgba(9, 31, 62, 0.24);
  color: #f6faff;
}

.a2p-message-console::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(141, 190, 231, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.a2p-console-bar,
.a2p-route-map,
.a2p-message-stack {
  position: relative;
  z-index: 1;
}

.a2p-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(246, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.68);
  backdrop-filter: blur(14px);
}

.a2p-console-bar span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.a2p-console-bar strong {
  color: #fff;
  font-size: 15px;
}

.a2p-route-map {
  min-height: 250px;
  margin: 30px 0 20px;
}

.route-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #071426;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #8edfff);
  box-shadow:
    0 18px 46px rgba(39, 216, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 950;
}

.route-node.source {
  top: 28%;
  left: 16%;
}

.route-node.hub {
  top: 58%;
  left: 48%;
  width: 104px;
  height: 104px;
  color: #061426;
  background: linear-gradient(135deg, #ffc857, #8edfff);
}

.route-node.carrier {
  top: 28%;
  left: 78%;
  right: auto;
  background: linear-gradient(135deg, #9ff0d5, #ffffff);
}

.route-node.user {
  top: 78%;
  left: 88%;
  right: auto;
  bottom: auto;
  background: linear-gradient(135deg, #ffffff, #c8c4ff);
}

.route-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(39, 216, 255, 0.85), transparent);
  transform-origin: left center;
}

.route-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8edfff;
  box-shadow: 0 0 18px rgba(39, 216, 255, 0.8);
  animation: a2p-route-scan 2.6s ease-in-out infinite;
}

.line-one {
  top: 84px;
  left: 15%;
  width: 28%;
  transform: rotate(18deg);
}

.line-two {
  top: 116px;
  left: 47%;
  width: 25%;
  transform: rotate(-16deg);
}

.line-three {
  right: 10%;
  bottom: 72px;
  width: 27%;
  transform: rotate(22deg);
}

.a2p-message-stack {
  display: grid;
  gap: 12px;
}

.a2p-message-pill {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(141, 190, 231, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.a2p-message-pill span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: #071426;
  border-radius: 999px;
  background: #8edfff;
  font-size: 12px;
  font-weight: 900;
}

.a2p-message-pill.notice span {
  background: #9ff0d5;
}

.a2p-message-pill.campaign span {
  background: #ffe19a;
}

.a2p-message-pill strong {
  color: rgba(246, 250, 255, 0.88);
  font-size: 15px;
  line-height: 1.42;
}

.a2p-signal-rail {
  grid-area: rail;
  display: grid;
  gap: 14px;
}

.a2p-signal-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 170px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(9, 31, 62, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.a2p-signal-card:hover {
  transform: translateX(6px);
  border-color: rgba(29, 140, 255, 0.2);
  box-shadow: 0 28px 78px rgba(9, 31, 62, 0.16);
}

.a2p-signal-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #1d8cff;
}

.a2p-signal-card.notice::before {
  background: #26c481;
}

.a2p-signal-card.campaign::before {
  background: #ffc857;
}

.a2p-signal-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(29, 140, 255, 0.13);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 140, 255, 0.08), transparent 64%);
}

.a2p-signal-card.notice::after {
  border-color: rgba(38, 196, 129, 0.16);
  background: radial-gradient(circle, rgba(38, 196, 129, 0.08), transparent 64%);
}

.a2p-signal-card.campaign::after {
  border-color: rgba(255, 200, 87, 0.22);
  background: radial-gradient(circle, rgba(255, 200, 87, 0.12), transparent 64%);
}

.a2p-signal-card img,
.a2p-signal-card div {
  position: relative;
  z-index: 1;
}

.a2p-signal-card img {
  width: 100px;
  height: 100px;
  padding: 12px;
  object-fit: cover;
  border: 1px solid rgba(29, 140, 255, 0.12);
  border-radius: 8px;
  background: #f6fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.a2p-signal-card.verify img {
  object-fit: contain;
}

.a2p-signal-card span {
  color: #0a72df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.a2p-signal-card.notice span {
  color: #12865f;
}

.a2p-signal-card.campaign span {
  color: #a96c00;
}

.a2p-signal-card h3 {
  margin: 8px 0 10px;
  color: #07152d;
  font-size: 24px;
  line-height: 1.16;
}

.a2p-signal-card p {
  margin: 0;
  color: #4c6179;
  font-size: 15px;
  line-height: 1.66;
}

.a2p-capability-matrix {
  grid-area: matrix;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.a2p-capability-matrix div {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(29, 140, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 42px rgba(9, 31, 62, 0.08);
}

.a2p-capability-matrix div::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #1d8cff, #27d8ff);
}

.a2p-capability-matrix div:nth-child(2)::before {
  background: linear-gradient(180deg, #26c481, #27d8ff);
}

.a2p-capability-matrix div:nth-child(3)::before {
  background: linear-gradient(180deg, #ffc857, #f05f82);
}

.a2p-capability-matrix div:nth-child(4)::before {
  background: linear-gradient(180deg, #7b72ff, #27d8ff);
}

.a2p-capability-matrix strong,
.a2p-capability-matrix span {
  display: block;
}

.a2p-capability-matrix strong {
  color: #07152d;
  font-size: 19px;
}

.a2p-capability-matrix span {
  margin-top: 9px;
  color: #53657c;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes a2p-route-scan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  18% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(160px);
  }
}

@media (max-width: 1180px) {
  .a2p-command-console {
    grid-template-columns: 1fr;
    grid-template-areas:
      "console"
      "rail"
      "matrix";
  }

  .a2p-signal-rail,
  .a2p-capability-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .a2p-command-header {
    text-align: center;
  }

  .a2p-message-console {
    min-height: 540px;
    padding: 22px;
  }

  .a2p-message-console::before {
    inset: 18px;
  }

  .a2p-route-map {
    min-height: 238px;
  }

  .route-node {
    width: 66px;
    height: 66px;
    font-size: 12px;
  }

  .route-node.hub {
    width: 82px;
    height: 82px;
  }

  .a2p-message-pill,
  .a2p-signal-card,
  .a2p-signal-rail,
  .a2p-capability-matrix {
    grid-template-columns: 1fr;
  }

  .a2p-message-pill {
    gap: 10px;
  }

  .a2p-message-pill span {
    justify-self: start;
    padding: 0 12px;
  }

  .a2p-signal-card {
    gap: 16px;
    min-height: auto;
    padding: 22px;
  }

  .a2p-signal-card:hover {
    transform: translateY(-3px);
  }

  .a2p-signal-card img {
    width: 92px;
    height: 92px;
  }

  .a2p-signal-card h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-line::after {
    animation: none;
  }
}

/* Frontend Design: final product-suite pass for SMS, rich media, and voice. */
.signal-product-section {
  padding-top: clamp(76px, 7vw, 104px);
  padding-bottom: clamp(76px, 7vw, 104px);
}

.signal-product-layout {
  border-radius: 8px;
}

.a2p-command-header,
.rich-media-header,
.voice-command-header {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.a2p-command-header h2,
.rich-media-header h2,
.voice-command-header h2 {
  letter-spacing: 0;
}

.a2p-command-console,
.rich-media-console,
.voice-command-layout {
  gap: 24px;
}

.a2p-message-console,
.rich-media-window,
.voice-flow-board {
  min-height: 540px;
  border-color: rgba(141, 190, 231, 0.24);
  box-shadow:
    0 34px 96px rgba(7, 17, 31, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.a2p-message-console,
.voice-flow-board {
  background:
    radial-gradient(circle at 24% 18%, rgba(39, 216, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(255, 200, 87, 0.13), transparent 24%),
    linear-gradient(145deg, #061426 0%, #102946 56%, #0a342f 100%);
}

.a2p-signal-card,
.voice-task,
.rich-channel {
  border-color: rgba(7, 20, 38, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.95));
}

.rich-channel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.062));
}

.a2p-signal-card,
.voice-task {
  grid-template-columns: 94px minmax(0, 1fr);
  min-height: 158px;
  padding: 22px 24px;
}

.signal-glyph,
.voice-glyph {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(29, 140, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 24%, #ffffff 0%, #f4faff 48%, #e7f4ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 14px 34px rgba(29, 140, 255, 0.12);
  color: #0a72df;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.a2p-signal-card.notice > .signal-glyph,
.voice-task.notice > .voice-glyph {
  color: #12865f;
  border-color: rgba(38, 196, 129, 0.2);
  background:
    radial-gradient(circle at 30% 24%, #ffffff 0%, #f2fff9 48%, #e4f9f0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 14px 34px rgba(38, 196, 129, 0.12);
}

.a2p-signal-card.campaign > .signal-glyph,
.voice-task.campaign > .voice-glyph {
  color: #9b6400;
  border-color: rgba(255, 200, 87, 0.28);
  background:
    radial-gradient(circle at 30% 24%, #ffffff 0%, #fffaf0 48%, #fff1c9 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 14px 34px rgba(255, 200, 87, 0.14);
}

.a2p-signal-card > .signal-glyph + div span,
.voice-task > .voice-glyph + div span {
  display: block;
}

.voice-task > .voice-glyph {
  text-transform: none;
}

.rich-media-window {
  display: grid;
  align-content: stretch;
  background:
    radial-gradient(circle at 18% 18%, rgba(39, 216, 255, 0.22), transparent 30%),
    radial-gradient(circle at 82% 75%, rgba(255, 200, 87, 0.14), transparent 26%),
    linear-gradient(145deg, #061426 0%, #102946 58%, #0a342f 100%);
}

.rich-media-window::after {
  background:
    linear-gradient(180deg, rgba(6, 17, 31, 0.06), rgba(6, 17, 31, 0.24)),
    linear-gradient(90deg, rgba(39, 216, 255, 0.1), transparent 48%);
  pointer-events: none;
}

.rich-media-composer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 520px;
  padding: 92px clamp(24px, 5vw, 52px) 130px;
}

.media-phone-shell {
  position: relative;
  justify-self: center;
  width: min(250px, 100%);
  min-height: 372px;
  padding: 18px;
  border: 1px solid rgba(246, 250, 255, 0.22);
  border-radius: 28px;
  background: rgba(6, 17, 31, 0.72);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.media-phone-top {
  width: 72px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(246, 250, 255, 0.26);
}

.media-bubble {
  border-radius: 8px;
}

.media-bubble.visual {
  height: 158px;
  background:
    linear-gradient(135deg, rgba(39, 216, 255, 0.86), rgba(38, 196, 129, 0.78)),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.28) 49% 51%, transparent 52%);
  box-shadow: 0 18px 42px rgba(39, 216, 255, 0.18);
}

.media-bubble.text {
  height: 78px;
  margin-top: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 62%, transparent 62%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.66) 0 82%, transparent 82%);
  background-size: 100% 16px, 100% 16px;
  background-position: 0 16px, 0 46px;
  background-repeat: no-repeat;
}

.media-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.media-cta-row span {
  height: 38px;
  border-radius: 8px;
  background: #8edfff;
}

.media-cta-row span + span {
  background: #ffc857;
}

.media-asset-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-asset-board span {
  display: grid;
  min-height: 104px;
  place-items: center;
  color: rgba(246, 250, 255, 0.84);
  border: 1px solid rgba(141, 190, 231, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rich-message-sheet {
  right: 32px;
  bottom: 30px;
  width: min(460px, calc(100% - 64px));
}

.rich-channel-dock {
  gap: 14px;
}

.rich-channel {
  min-height: 104px;
  padding: 18px 20px 18px 24px;
}

.a2p-capability-matrix div,
.voice-scenario-strip div,
.rich-media-scenarios article {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 46px rgba(9, 31, 62, 0.085);
}

.rich-media-scenarios article {
  background: rgba(255, 255, 255, 0.075);
}

.a2p-capability-matrix div:hover,
.voice-scenario-strip div:hover,
.rich-media-scenarios article:hover {
  transform: translateY(-4px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 24px 64px rgba(9, 31, 62, 0.12);
}

@media (max-width: 1180px) {
  .rich-media-composer {
    grid-template-columns: 1fr;
    padding-bottom: 150px;
  }

  .media-asset-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .a2p-command-console,
  .rich-media-console,
  .voice-command-layout {
    gap: 18px;
  }

  .a2p-signal-card,
  .voice-task {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 20px;
  }

  .signal-glyph,
  .voice-glyph {
    width: 62px;
    height: 62px;
    font-size: 14px;
  }

  .rich-media-composer {
    min-height: 500px;
    padding: 82px 20px 188px;
  }

  .media-phone-shell {
    width: min(230px, 100%);
    min-height: 326px;
  }

  .media-bubble.visual {
    height: 124px;
  }

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

  .media-asset-board span {
    min-height: 72px;
  }

  .rich-message-sheet {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }
}

@media (max-width: 820px) {
  .signal-product-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .a2p-command-header,
  .rich-media-header,
  .voice-command-header {
    margin-bottom: 28px;
  }

  .a2p-command-header p:last-child,
  .rich-media-header p:last-child,
  .voice-command-header p:last-child {
    font-size: 15px;
    line-height: 1.62;
  }

  .a2p-message-console,
  .rich-media-window,
  .voice-flow-board {
    min-height: auto;
    padding: 18px;
  }

  .a2p-message-console::before,
  .voice-flow-board::before {
    inset: 14px;
  }

  .a2p-console-bar,
  .voice-flow-status,
  .rich-media-toolbar {
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .a2p-route-map {
    min-height: 184px;
    margin: 20px 0 14px;
  }

  .route-node {
    width: 54px;
    height: 54px;
    font-size: 11px;
  }

  .route-node.hub {
    width: 68px;
    height: 68px;
  }

  .a2p-message-pill {
    min-height: 58px;
    padding: 12px;
  }

  .a2p-message-pill strong {
    font-size: 14px;
  }

  .a2p-signal-card,
  .voice-task {
    min-height: auto;
    gap: 12px;
    padding: 16px;
  }

  .a2p-signal-card h3,
  .voice-task h3 {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .a2p-signal-card p,
  .voice-task p,
  .rich-channel p {
    font-size: 14px;
    line-height: 1.54;
  }

  .signal-glyph,
  .voice-glyph {
    width: 56px;
    height: 56px;
  }

  .rich-media-composer {
    min-height: 410px;
    padding: 72px 16px 150px;
  }

  .media-phone-shell {
    min-height: 254px;
    padding: 14px;
  }

  .media-phone-top {
    margin-bottom: 12px;
  }

  .media-bubble.visual {
    height: 94px;
  }

  .media-bubble.text {
    height: 56px;
    margin-top: 10px;
    background-size: 100% 12px, 100% 12px;
    background-position: 0 12px, 0 34px;
  }

  .media-cta-row {
    margin-top: 12px;
  }

  .media-cta-row span {
    height: 30px;
  }

  .media-asset-board span {
    min-height: 58px;
    font-size: 11px;
  }

  .rich-message-sheet {
    padding: 16px;
  }

  .rich-message-sheet strong {
    font-size: 20px;
  }

  .rich-channel,
  .a2p-capability-matrix div,
  .voice-scenario-strip div,
  .rich-media-scenarios article {
    min-height: auto;
    padding: 16px 18px;
  }

  .voice-pulse-core {
    width: min(210px, 64vw);
    margin: 18px 0 12px;
  }

  .voice-waveform {
    min-height: 48px;
  }

  .voice-flow-steps span {
    min-height: 42px;
    padding: 10px;
  }
}

/* Frontend Design: about section rebuilt as trust infrastructure, no stock image. */
.about-section {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  width: 100%;
  max-width: none;
  padding-right: clamp(24px, 5vw, 72px);
  padding-left: clamp(24px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 18%, rgba(39, 216, 255, 0.18), transparent 28%),
    radial-gradient(circle at 86% 68%, rgba(255, 200, 87, 0.13), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 140, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 140, 255, 0.052) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, rgba(0, 0, 0, 0.74) 72%, transparent 100%);
}

.about-copy,
.about-trust-panel {
  position: relative;
  z-index: 1;
}

.about-copy {
  max-width: 620px;
}

.about-copy .eyebrow {
  color: #0a72df;
}

.about-copy h2 {
  color: #07152d;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.about-copy p:not(.eyebrow) {
  max-width: 34em;
  color: #4c6179;
}

.about-stats {
  grid-template-columns: 1fr;
  max-width: 430px;
  gap: 10px;
}

.about-stats span {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  overflow: hidden;
  border-color: rgba(7, 20, 38, 0.075);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(9, 31, 62, 0.08);
}

.about-stats span::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #1d8cff;
}

.about-stats span:nth-child(2)::before {
  background: #26c481;
}

.about-stats span:nth-child(3)::before {
  background: #ffc857;
}

.about-stats strong {
  color: #07152d;
  font-size: 30px;
}

.about-trust-panel {
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(141, 190, 231, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 18%, rgba(39, 216, 255, 0.23), transparent 28%),
    radial-gradient(circle at 86% 76%, rgba(255, 200, 87, 0.13), transparent 24%),
    linear-gradient(145deg, #061426 0%, #102946 58%, #0a342f 100%);
  box-shadow:
    0 34px 96px rgba(7, 17, 31, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-trust-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(141, 190, 231, 0.16);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.about-panel-head,
.about-coverage-map,
.about-proof-grid,
.about-contact-card {
  position: relative;
  z-index: 1;
}

.about-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(246, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.68);
  backdrop-filter: blur(14px);
}

.about-panel-head span {
  color: #8edfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-panel-head strong {
  color: #fff;
  font-size: 15px;
}

.about-coverage-map {
  min-height: 250px;
  margin: 24px 0;
}

.map-dot {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border: 4px solid rgba(246, 250, 255, 0.9);
  border-radius: 50%;
  background: #27d8ff;
  box-shadow: 0 0 0 8px rgba(39, 216, 255, 0.12), 0 0 28px rgba(39, 216, 255, 0.42);
}

.dot-one {
  top: 24%;
  left: 18%;
}

.dot-two {
  top: 44%;
  left: 45%;
  background: #26c481;
  box-shadow: 0 0 0 8px rgba(38, 196, 129, 0.12), 0 0 28px rgba(38, 196, 129, 0.38);
}

.dot-three {
  top: 26%;
  left: 78%;
  right: auto;
  background: #ffc857;
  box-shadow: 0 0 0 8px rgba(255, 200, 87, 0.14), 0 0 28px rgba(255, 200, 87, 0.36);
}

.dot-four {
  top: 78%;
  left: 68%;
  right: auto;
  bottom: auto;
  background: #7b72ff;
  box-shadow: 0 0 0 8px rgba(123, 114, 255, 0.14), 0 0 28px rgba(123, 114, 255, 0.34);
}

.map-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(141, 190, 231, 0.68), transparent);
  transform-origin: left center;
}

.map-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8edfff;
  box-shadow: 0 0 18px rgba(39, 216, 255, 0.8);
  animation: about-map-scan 3s ease-in-out infinite;
}

.map-line-one {
  top: 84px;
  left: 19%;
  width: 30%;
  transform: rotate(16deg);
}

.map-line-two {
  top: 103px;
  left: 48%;
  width: 28%;
  transform: rotate(-12deg);
}

.map-line-three {
  right: 30%;
  bottom: 78px;
  width: 28%;
  transform: rotate(24deg);
}

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

.about-proof-grid article,
.about-contact-card {
  border: 1px solid rgba(141, 190, 231, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-proof-grid article {
  min-height: 170px;
  padding: 18px;
}

.about-proof-grid span,
.about-contact-card span {
  color: #8edfff;
  font-size: 12px;
  font-weight: 900;
}

.about-proof-grid strong,
.about-contact-card strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.24;
}

.about-proof-grid p,
.about-contact-card p {
  margin: 10px 0 0;
  color: rgba(246, 250, 255, 0.68);
  font-size: 13px;
  line-height: 1.58;
}

.about-contact-card {
  display: block;
  margin-top: 12px;
  padding: 18px;
  font-style: normal;
}

.about-contact-card strong {
  color: #ffc857;
  font-size: 20px;
}

@keyframes about-map-scan {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  20%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(170px);
  }
}

@media (max-width: 1180px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 860px;
  }

  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 820px) {
  .about-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.62;
  }

  .about-stats,
  .about-proof-grid {
    grid-template-columns: 1fr;
  }

  .about-stats span {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 62px;
    padding: 12px 16px;
  }

  .about-stats strong {
    font-size: 25px;
  }

  .about-trust-panel {
    padding: 18px;
  }

  .about-trust-panel::before {
    inset: 14px;
  }

  .about-panel-head {
    display: grid;
    align-content: center;
    min-height: 58px;
  }

  .about-coverage-map {
    min-height: 190px;
    margin: 18px 0;
  }

  .about-proof-grid article,
  .about-contact-card {
    min-height: auto;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-line::after {
    animation: none;
  }
}

/* Frontend Design: final title hierarchy pass. */
.hero-copy .eyebrow,
.api-hero-copy .eyebrow {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.a2p-command-header .eyebrow,
.rich-media-header .eyebrow,
.voice-command-header .eyebrow,
.api-brief-section .section-heading .eyebrow,
.about-copy .eyebrow,
.api-section .section-heading .eyebrow {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid rgba(29, 140, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(29, 140, 255, 0.08);
  color: #0a72df;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.rich-media-header .eyebrow {
  color: #8edfff;
  border-color: rgba(141, 190, 231, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.about-copy .eyebrow {
  justify-self: start;
}

.api-section .section-heading .eyebrow {
  color: #8edfff;
  border-color: rgba(141, 190, 231, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.a2p-command-header h2,
.rich-media-header h2,
.voice-command-header h2,
.api-brief-section .section-heading h2,
.about-copy h2,
.api-section .section-heading h2 {
  max-width: 780px;
  font-size: clamp(28px, 2.85vw, 42px);
  font-weight: 820;
  line-height: 1.16;
}

.a2p-command-header h2,
.rich-media-header h2,
.voice-command-header h2,
.api-brief-section .section-heading h2 {
  margin-right: auto;
  margin-left: auto;
}

.about-copy h2 {
  max-width: 560px;
}

.a2p-command-header p:last-child,
.rich-media-header p:last-child,
.voice-command-header p:last-child,
.api-brief-section .section-heading p:last-child,
.about-copy p:not(.eyebrow),
.api-section .section-heading p:last-child {
  max-width: 760px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.68;
}

.a2p-command-header,
.rich-media-header,
.voice-command-header,
.api-brief-section .section-heading.centered {
  max-width: 900px;
}

.a2p-signal-card h3,
.voice-task h3,
.rich-channel strong,
.api-brief-card h3,
.about-proof-grid strong {
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.22;
}

.a2p-capability-matrix strong,
.voice-scenario-strip strong,
.rich-media-scenarios strong,
.about-stats strong {
  line-height: 1.16;
}

@media (max-width: 820px) {
  .hero-copy .eyebrow,
  .api-hero-copy .eyebrow {
    font-size: 13px;
  }

  .a2p-command-header .eyebrow,
  .rich-media-header .eyebrow,
  .voice-command-header .eyebrow,
  .api-brief-section .section-heading .eyebrow,
  .about-copy .eyebrow,
  .api-section .section-heading .eyebrow {
    min-height: 32px;
    margin-bottom: 14px;
    font-size: 16px;
  }

  .a2p-command-header h2,
  .rich-media-header h2,
  .voice-command-header h2,
  .api-brief-section .section-heading h2,
  .about-copy h2,
  .api-section .section-heading h2 {
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.18;
  }
}

/* Frontend Design: sharpen hero channel labels for crisp readability. */
.atlas-wrap {
  isolation: isolate;
}

.channel-chip {
  min-width: 92px;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background-clip: padding-box;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
}

.chip-sms {
  background: #0877ff;
}

.chip-rcs {
  background: #0aa37f;
}

.chip-whatsapp {
  background: #108c6d;
}

.chip-voice {
  background: #355fdf;
}

.chip-smpp {
  min-width: 128px;
  color: #171000;
  border-color: rgba(255, 255, 255, 0.78);
  background: #ffc857;
  text-shadow: none;
}

@media (max-width: 820px) {
  .channel-chip {
    min-width: 78px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .chip-smpp {
    min-width: 112px;
  }
}

/* Frontend Design: rebuilt first viewport while keeping the existing background image. */
.hero-atlas {
  grid-template-columns: minmax(460px, 0.92fr) minmax(500px, 1.08fr);
  min-height: clamp(640px, 74vh, 760px);
  padding-top: clamp(58px, 6.4vw, 86px);
  padding-bottom: 54px;
}

.hero-atlas::before {
  background:
    linear-gradient(90deg, rgba(5, 14, 27, 0.97) 0%, rgba(6, 17, 31, 0.9) 33%, rgba(6, 17, 31, 0.5) 59%, rgba(6, 17, 31, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.02) 0%, rgba(7, 17, 31, 0.12) 54%, rgba(7, 17, 31, 0.7) 100%);
}

.hero-copy {
  align-self: center;
  max-width: 650px;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(44px, 4.8vw, 68px);
  line-height: 1.04;
}

.hero-text {
  max-width: 560px;
  margin-top: 20px;
  font-size: 17px;
}

.hero-metrics {
  max-width: 560px;
  margin: 24px 0;
  background: rgba(6, 17, 31, 0.64);
}

.hero-metrics div {
  padding: 16px 18px;
}

.hero-metrics span {
  font-size: clamp(21px, 2vw, 28px);
}

.atlas-wrap {
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 500px;
}

.hero-network-panel {
  position: relative;
  width: min(560px, 100%);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(141, 190, 231, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 28%, rgba(39, 216, 255, 0.22), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(255, 200, 87, 0.16), transparent 24%),
    rgba(6, 17, 31, 0.52);
  box-shadow:
    0 28px 92px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-network-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(141, 190, 231, 0.16);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(246, 250, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 250, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-network-head {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(246, 250, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.74);
}

.hero-network-head span {
  color: #8edfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-network-head strong {
  color: #fff;
  font-size: 14px;
}

.hero-route-field {
  position: absolute;
  inset: 88px 28px 32px;
  z-index: 1;
}

.route-thread {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(141, 190, 231, 0.74), transparent);
  transform-origin: left center;
}

.route-thread::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8edfff;
  box-shadow: 0 0 16px rgba(39, 216, 255, 0.82);
  animation: hero-route-pulse 3.2s ease-in-out infinite;
}

.thread-one {
  top: 48px;
  left: 12%;
  width: 62%;
  transform: rotate(10deg);
}

.thread-two {
  top: 148px;
  left: 18%;
  width: 58%;
  transform: rotate(-16deg);
}

.thread-three {
  right: 8%;
  bottom: 58px;
  width: 64%;
  transform: rotate(18deg);
}

.thread-two::after {
  animation-delay: 0.7s;
}

.thread-three::after {
  animation-delay: 1.35s;
}

.hero-network-panel .channel-chip {
  z-index: 3;
}

.chip-sms {
  top: 28%;
  left: 10%;
}

.chip-rcs {
  top: 24%;
  right: 16%;
}

.chip-whatsapp {
  bottom: 29%;
  left: 13%;
}

.chip-voice {
  top: 52%;
  right: 8%;
}

.chip-smpp {
  right: 30%;
  bottom: 14%;
}

@keyframes hero-route-pulse {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  20%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(190px);
  }
}

@media (max-width: 1180px) {
  .hero-atlas {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .atlas-wrap {
    justify-items: start;
    min-height: auto;
  }

  .hero-network-panel {
    width: min(720px, 100%);
  }
}

@media (max-width: 820px) {
  .hero-atlas {
    padding: 42px 20px 36px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 9.4vw, 42px);
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div {
    border-top: 1px solid rgba(141, 190, 231, 0.2);
    border-left: 0;
  }

  .hero-network-panel {
    min-height: 350px;
  }

  .hero-network-panel::before {
    inset: 16px;
  }

  .hero-network-head {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .hero-route-field {
    inset: 76px 18px 24px;
  }

  .chip-sms {
    top: 30%;
    left: 7%;
  }

  .chip-rcs {
    top: 29%;
    right: 8%;
  }

  .chip-whatsapp {
    bottom: 30%;
    left: 7%;
  }

  .chip-voice {
    top: 53%;
    right: 7%;
  }

  .chip-smpp {
    right: 24%;
    bottom: 12%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-thread::after {
    animation: none;
  }
}

/* Frontend Design: connector endpoints share the same coordinate system as nodes. */
.route-link-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-link-map,
.a2p-link-map,
.about-link-map {
  transform-origin: center;
}

.route-link {
  fill: none;
  stroke: rgba(141, 190, 231, 0.72);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(39, 216, 255, 0.24));
}

.route-link.link-two {
  stroke: rgba(39, 216, 255, 0.82);
}

.route-link.link-three {
  stroke: rgba(255, 200, 87, 0.7);
}

.route-point {
  fill: #8edfff;
  stroke: rgba(246, 250, 255, 0.88);
  stroke-width: 0.55;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(39, 216, 255, 0.72));
}

.hero-route-field {
  inset: 0;
}

.hero-network-panel .channel-chip,
.route-node,
.map-dot {
  translate: -50% -50%;
}

.chip-sms {
  top: 34%;
  left: 18%;
}

.chip-rcs {
  top: 34%;
  left: 75%;
  right: auto;
}

.chip-whatsapp {
  top: 66%;
  left: 20%;
  bottom: auto;
}

.chip-voice {
  top: 52%;
  left: 86%;
  right: auto;
}

.chip-smpp {
  top: 84%;
  left: 48%;
  right: auto;
  bottom: auto;
}

.route-node,
.map-dot {
  z-index: 2;
}

.route-node.source {
  top: 28%;
  left: 16%;
}

.route-node.hub {
  top: 58%;
  left: 48%;
}

.route-node.carrier {
  top: 28%;
  left: 78%;
  right: auto;
}

.route-node.user {
  top: 78%;
  left: 88%;
  right: auto;
  bottom: auto;
}

.dot-one {
  top: 24%;
  left: 18%;
}

.dot-two {
  top: 44%;
  left: 45%;
}

.dot-three {
  top: 26%;
  left: 78%;
  right: auto;
}

.dot-four {
  top: 78%;
  left: 68%;
  right: auto;
  bottom: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .route-link {
    stroke-dasharray: 7 10;
    animation: connector-flow 8s linear infinite;
  }

  .route-link.link-two {
    animation-duration: 6.8s;
  }

  .route-point {
    animation: connector-breathe 2.8s ease-in-out infinite;
  }
}

@keyframes connector-flow {
  to {
    stroke-dashoffset: -68;
  }
}

@keyframes connector-breathe {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .hero-link-map {
    transform: scaleX(0.98);
    transform-origin: center;
  }
}

/* Frontend Design: remove the hero matrix and let the preserved image carry the first viewport. */
.hero-atlas {
  grid-template-columns: minmax(0, 820px);
  justify-content: start;
  min-height: clamp(560px, 68vh, 700px);
}

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

.atlas-wrap {
  display: none;
}

/* Frontend Design: brighten the preserved hero background without washing out the headline. */
.hero-backdrop {
  filter: brightness(1.18) saturate(1.08);
}

.hero-atlas::before {
  background:
    linear-gradient(90deg, rgba(5, 14, 27, 0.88) 0%, rgba(6, 17, 31, 0.76) 34%, rgba(6, 17, 31, 0.34) 62%, rgba(6, 17, 31, 0.06) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0) 0%, rgba(7, 17, 31, 0.06) 54%, rgba(7, 17, 31, 0.52) 100%);
}

.hero-atlas::after {
  opacity: 0.58;
}

@media (max-width: 820px) {
  .hero-atlas::before {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.8) 0%, rgba(7, 17, 31, 0.6) 46%, rgba(7, 17, 31, 0.32) 100%);
  }
}

/* Frontend Design: keep the rich media preview headline subordinate to the section title. */
.rich-message-sheet strong {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.22;
}

@media (max-width: 820px) {
  .rich-message-sheet strong {
    font-size: 18px;
  }
}

/* Frontend Design: API page title hierarchy and centered documentation heading. */
.api-hero-copy .eyebrow {
  min-height: 38px;
  padding: 0 16px;
  font-size: clamp(15px, 1.2vw, 18px);
  letter-spacing: 0.06em;
}

.api-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

.api-section .section-heading.centered {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.api-section .section-heading.centered .eyebrow,
.api-section .section-heading.centered h2 {
  justify-self: center;
}

.api-section .section-heading.centered h2 {
  max-width: 760px;
  font-size: clamp(30px, 3vw, 44px);
}

.api-section .section-heading.centered p:last-child {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 820px) {
  .api-hero-copy .eyebrow {
    min-height: 34px;
    font-size: 14px;
  }

  .api-hero-copy h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .api-section .section-heading.centered h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
}

/* Frontend Design: make the hero positioning label readable as a first-viewport signal. */
.hero-copy .eyebrow {
  min-height: 42px;
  padding: 0 18px;
  font-size: clamp(17px, 1.35vw, 22px);
  letter-spacing: 0.055em;
}

@media (max-width: 820px) {
  .hero-copy .eyebrow {
    min-height: 36px;
    padding: 0 14px;
    font-size: 15px;
  }
}

/* Frontend Design: compact language switcher for the internationalized header. */
.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-switcher {
  position: relative;
  display: inline-grid;
  grid-template-columns: 38px minmax(112px, auto);
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.9));
  box-shadow:
    0 12px 28px rgba(7, 20, 38, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.language-icon {
  width: 18px;
  height: 18px;
  margin-left: 14px;
  color: #0758bd;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.88;
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: #0758bd;
  pointer-events: none;
  transition: transform 0.2s ease;
  transform: translateY(-62%) rotate(45deg);
}

.language-switcher.is-open::after {
  transform: translateY(-28%) rotate(225deg);
}

.language-trigger {
  width: 120px;
  min-width: 120px;
  min-height: 42px;
  padding: 0 34px 0 6px;
  color: #0758bd;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  outline: none;
  text-align: left;
}

.language-trigger span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switcher:hover,
.language-switcher:focus-within {
  border-color: rgba(29, 140, 255, 0.42);
  box-shadow:
    0 0 0 3px rgba(29, 140, 255, 0.12),
    0 14px 34px rgba(7, 20, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  width: 188px;
  padding: 8px;
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 20px 54px rgba(7, 20, 38, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 0 10px 0 12px;
  color: #071426;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.language-menu button span {
  font-size: 13px;
  font-weight: 850;
}

.language-menu button small {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 24px;
  color: rgba(7, 20, 38, 0.54);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.language-menu button:hover,
.language-menu button.is-active {
  color: #0758bd;
  background: rgba(29, 140, 255, 0.08);
}

.language-menu button.is-active small {
  color: #fff;
  border-color: transparent;
  background: #0758bd;
}

@media (max-width: 820px) {
  .header-tools {
    display: none;
  }

  .site-header.nav-open .header-tools {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .language-switcher {
    grid-template-columns: 40px minmax(130px, auto);
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .site-header.nav-open .header-tools .login-button {
    display: inline-flex;
    width: max-content;
    margin-bottom: 0;
  }
}
