/* App & Web Development — service page */

:root {
  --sad-ink: #04080f;
  --sad-line: rgba(94, 234, 212, 0.18);
  --sad-cyan: #3ee0d0;
  --sad-amber: #f0b429;
  --sad-text: #e8f1f8;
  --sad-muted: rgba(232, 241, 248, 0.62);
  --sad-font-display: 'Sora', system-ui, sans-serif;
  --sad-font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --sad-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body.sad-page {
  background: var(--sad-ink);
  color: var(--sad-text);
  font-family: var(--sad-font-body);
  overflow-x: clip;
}

body.sad-page .navbar,
body.sad-page .navbar.scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(1, 40, 79, 0.12) !important;
  box-shadow: 0 2px 14px rgba(1, 40, 79, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.sad-page .nav-menu a { color: #3d5266; }
body.sad-page .nav-menu a:hover,
body.sad-page .nav-menu a.active { color: #01284f; }
body.sad-page .nav-toggle span { background: #071a2e; }

body.sad-page .footer {
  background: #f4f7fa !important;
  color: #3d5266 !important;
  border-top: 1px solid rgba(1, 40, 79, 0.1) !important;
  padding: 2.25rem 0 1.25rem !important;
}

body.sad-page .footer::before {
  background: linear-gradient(90deg, #01284f 0%, #005f8d 40%, #3ee0d0 70%, #f0b429 100%);
}

body.sad-page .footer-description,
body.sad-page .footer-links-column a,
body.sad-page .footer-links-column li:not(:has(a)),
body.sad-page .footer-copyright,
body.sad-page .footer-bottom-links a {
  color: #3d5266 !important;
}

body.sad-page .footer-links-column h4 {
  color: #01284f !important;
}

body.sad-page .footer-links-column a:hover,
body.sad-page .footer-bottom-links a:hover {
  color: #005f8d !important;
}

body.sad-page .footer .social-link {
  background: #fff !important;
  color: #01284f !important;
  border: 1px solid rgba(1, 40, 79, 0.12) !important;
}

body.sad-page .footer .social-link:hover {
  background: #01284f !important;
  color: #fff !important;
}

body.sad-page .footer-bottom {
  border-top-color: rgba(1, 40, 79, 0.12) !important;
}

body.sad-page .footer-logo {
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(1, 40, 79, 0.08);
  display: inline-flex;
}

/* ---------- HERO ---------- */
.sad-hero {
  position: relative;
  padding: 0.65rem 0 0;
  overflow: clip;
  isolation: isolate;
}

.sad-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 55% at 72% 42%, rgba(62, 224, 208, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 35% at 18% 75%, rgba(240, 180, 41, 0.1), transparent 55%),
    linear-gradient(165deg, #070d18 0%, #0a1524 48%, #04080f 100%);
}

.sad-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 224, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 224, 208, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 85% 75% at 65% 40%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 40%, #000 15%, transparent 78%);
  animation: sadGridDrift 22s linear infinite;
}

@keyframes sadGridDrift {
  to { background-position: 0 42px, 42px 0; }
}

.sad-hero__scan {
  position: absolute;
  inset-inline: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(62, 224, 208, 0.07), transparent);
  animation: sadScan 7s ease-in-out infinite;
}

@keyframes sadScan {
  0% { top: -30%; opacity: 0; }
  20% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.sad-hero__nodes span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sad-cyan);
  box-shadow: 0 0 12px rgba(62, 224, 208, 0.7);
  animation: sadNode 4.5s ease-in-out infinite;
}
.sad-hero__nodes span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.sad-hero__nodes span:nth-child(2) { top: 28%; left: 48%; background: var(--sad-amber); animation-delay: 0.6s; }
.sad-hero__nodes span:nth-child(3) { top: 62%; left: 22%; animation-delay: 1.1s; }
.sad-hero__nodes span:nth-child(4) { top: 22%; right: 18%; animation-delay: 0.3s; }
.sad-hero__nodes span:nth-child(5) { bottom: 24%; right: 28%; background: var(--sad-amber); animation-delay: 1.5s; }
.sad-hero__nodes span:nth-child(6) { bottom: 18%; left: 38%; animation-delay: 0.9s; }

@keyframes sadNode {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.55); opacity: 1; }
}

.sad-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 1.75rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
  gap: clamp(0.35rem, 1.2vw, 0.9rem);
  align-items: center;
  padding-bottom: 0.75rem;
}

.sad-hero__content {
  max-width: 34rem;
}

.sad-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  padding: 0.3rem 0.7rem 0.3rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 224, 208, 0.28);
  background: rgba(62, 224, 208, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sad-cyan);
}

.sad-live__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sad-cyan);
  box-shadow: 0 0 0 0 rgba(62, 224, 208, 0.5);
  animation: sadPing 1.8s ease-out infinite;
}

@keyframes sadPing {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 208, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 208, 0); }
}

.sad-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  color: rgba(232, 241, 248, 0.42);
}
.sad-crumbs a { color: rgba(232, 241, 248, 0.55); text-decoration: none; }
.sad-crumbs a:hover { color: var(--sad-cyan); }

.sad-brand {
  font-family: var(--sad-font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.6vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 0.55rem;
  background: linear-gradient(105deg, #fff 15%, var(--sad-cyan) 65%, var(--sad-amber) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sad-hero h1 {
  font-family: var(--sad-font-display);
  font-weight: 500;
  font-size: clamp(1.22rem, 2.1vw, 1.62rem);
  letter-spacing: -0.025em;
  line-height: 1.28;
  margin: 0 0 0.65rem;
  color: #fff;
  max-width: 24ch;
}

.sad-hero__lede {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--sad-muted);
  max-width: 40ch;
}

.sad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-family: var(--sad-font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.25s var(--sad-ease), background 0.2s ease, border-color 0.2s ease;
}
.sad-btn:hover { transform: translateY(-2px); }
.sad-btn--primary { background: var(--sad-cyan); color: #041018; border: 1px solid var(--sad-cyan); }
.sad-btn--primary:hover { background: #6ff0e2; }
.sad-btn--ghost { background: transparent; color: var(--sad-text); border: 1px solid rgba(62, 224, 208, 0.35); }
.sad-btn--ghost:hover { border-color: var(--sad-cyan); color: #fff; }

.sad-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.sad-hero__signals li {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(232, 241, 248, 0.72);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 224, 208, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

/* Hero composition */
.sad-hero__art {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.sad-stack-visual {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.sad-stack-visual__glow {
  position: absolute;
  inset: 12% 8% 18% 12%;
  background: radial-gradient(circle, rgba(62, 224, 208, 0.18), transparent 65%);
  filter: blur(8px);
}

.sad-terminal {
  position: absolute;
  left: 0;
  top: 6%;
  width: min(48%, 260px);
  border-radius: 14px;
  border: 1px solid rgba(62, 224, 208, 0.4);
  background: linear-gradient(160deg, rgba(18, 34, 54, 0.98), rgba(6, 12, 22, 0.98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(62, 224, 208, 0.1);
  overflow: hidden;
  z-index: 3;
  animation: sadFloat 5.5s var(--sad-ease) infinite;
}

.sad-terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(62, 224, 208, 0.12);
  background: rgba(0, 0, 0, 0.25);
}
.sad-terminal__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}
.sad-terminal__bar span:nth-child(2) { background: #febc2e; }
.sad-terminal__bar span:nth-child(3) { background: #28c840; }
.sad-terminal__bar em {
  margin-left: 0.45rem;
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(232, 241, 248, 0.45);
  font-family: ui-monospace, Menlo, monospace;
}

.sad-terminal__code {
  margin: 0;
  padding: 0.85rem 0.9rem 1rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(62, 224, 208, 0.85);
  white-space: pre-wrap;
}
.sad-terminal__code .c-cmt { color: rgba(232, 241, 248, 0.35); }
.sad-terminal__code .c-key { color: #9ad7ff; }
.sad-terminal__code .c-str { color: var(--sad-amber); }
.sad-terminal__code .c-ok { color: #4ade80; }

.sad-dash {
  position: absolute;
  left: 12%;
  top: 12%;
  right: 6%;
  bottom: 10%;
  border-radius: 20px;
  border: 1px solid rgba(62, 224, 208, 0.42);
  background: linear-gradient(155deg, rgba(22, 42, 68, 0.98), rgba(8, 16, 30, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(62, 224, 208, 0.12);
  padding: 1rem 1.1rem 0.9rem;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.75rem;
  z-index: 2;
}

.sad-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sad-dash__pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sad-cyan);
}
.sad-dash__status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.sad-dash__modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sad-mod {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(62, 224, 208, 0.32);
  background: rgba(62, 224, 208, 0.12);
  transition: transform 0.25s var(--sad-ease), border-color 0.2s ease;
}
.sad-mod:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 224, 208, 0.45);
}
.sad-mod--amber {
  border-color: rgba(240, 180, 41, 0.4);
  background: rgba(240, 180, 41, 0.14);
}
.sad-mod strong {
  display: block;
  font-family: var(--sad-font-display);
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.15rem;
}
.sad-mod span {
  font-size: 0.72rem;
  color: var(--sad-muted);
}

.sad-dash__flow {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.sad-dash__flow span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(62, 224, 208, 0.15), rgba(62, 224, 208, 0.7));
  animation: sadFlow 2.2s ease-in-out infinite;
}
.sad-dash__flow span:nth-child(2) { animation-delay: 0.25s; background: linear-gradient(90deg, rgba(240, 180, 41, 0.15), rgba(240, 180, 41, 0.75)); }
.sad-dash__flow span:nth-child(3) { animation-delay: 0.5s; }
.sad-dash__flow span:nth-child(4) { animation-delay: 0.75s; background: linear-gradient(90deg, rgba(240, 180, 41, 0.15), rgba(240, 180, 41, 0.75)); }

@keyframes sadFlow {
  0%, 100% { opacity: 0.35; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

.sad-dash__chart {
  width: 100%;
  height: 72px;
  display: block;
}

.sad-illu__chart {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: sadDraw 2.6s var(--sad-ease) 0.2s forwards;
}
@keyframes sadDraw { to { stroke-dashoffset: 0; } }

.sad-phone-card {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: min(34%, 148px);
  aspect-ratio: 9 / 17;
  border-radius: 22px;
  border: 2px solid rgba(62, 224, 208, 0.4);
  background: #0b1522;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  padding: 0.7rem 0.55rem 0.6rem;
  z-index: 4;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.45rem;
  animation: sadFloat 4.8s var(--sad-ease) infinite reverse;
}
.sad-phone-card__notch {
  width: 42%;
  height: 5px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}
.sad-phone-card__hero {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #3ee0d0, #1aa6c4);
  color: #041018;
  font-family: var(--sad-font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.sad-phone-card__rows {
  display: grid;
  gap: 0.3rem;
}
.sad-phone-card__rows span {
  height: 8px;
  border-radius: 999px;
  background: rgba(232, 241, 248, 0.12);
}
.sad-phone-card__rows span:nth-child(2) { width: 78%; }
.sad-phone-card__rows span:nth-child(3) { width: 58%; }
.sad-phone-card p {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(232, 241, 248, 0.55);
}

.sad-float {
  position: absolute;
  z-index: 5;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e8f1f8;
  background: rgba(10, 22, 36, 0.92);
  border: 1px solid rgba(62, 224, 208, 0.35);
  animation: sadFloat 4.2s var(--sad-ease) infinite;
}
.sad-float--a { top: 2%; right: 22%; }
.sad-float--b { top: 42%; left: -2%; border-color: rgba(240, 180, 41, 0.4); animation-delay: -1s; }
.sad-float--c { bottom: 10%; left: 28%; animation-delay: -1.8s; }

@keyframes sadFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.sad-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- SECTIONS ---------- */
.sad-section {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.35rem) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 480px;
}
.sad-section--tight { padding-top: 1.25rem; }
.sad-section--stack {
  background: linear-gradient(180deg, rgba(62, 224, 208, 0.05), transparent 45%, rgba(240, 180, 41, 0.035));
  border-block: 1px solid rgba(62, 224, 208, 0.12);
  padding-block: clamp(1.6rem, 3.2vw, 2.5rem);
}

.sad-iconrail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.sad-iconrail span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(62, 224, 208, 0.18);
  background: rgba(62, 224, 208, 0.05);
  color: rgba(232, 241, 248, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
}
.sad-iconrail svg {
  width: 1rem;
  height: 1rem;
  color: var(--sad-cyan);
  flex-shrink: 0;
}

.sad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sad-cyan);
}
.sad-eyebrow::before {
  content: '';
  width: 1.3rem;
  height: 1px;
  background: var(--sad-cyan);
}

.sad-seo-links {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--sad-muted);
  line-height: 1.6;
}
.sad-seo-links a {
  color: var(--sad-cyan);
  text-decoration: none;
  font-weight: 500;
}
.sad-seo-links a:hover {
  text-decoration: underline;
}

.sad-section h2 {
  font-family: var(--sad-font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.55rem;
  color: #fff;
  max-width: 24ch;
}

.sad-section__sub {
  margin: 0;
  max-width: 52ch;
  color: var(--sad-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Bento — no numbers */
.sad-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.sad-bento__card {
  position: relative;
  padding: 1.1rem 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 224, 208, 0.16);
  background:
    linear-gradient(165deg, rgba(16, 30, 48, 0.9), rgba(7, 14, 24, 0.95));
  overflow: hidden;
  transition: transform 0.3s var(--sad-ease), border-color 0.25s ease, box-shadow 0.3s ease;
}
.sad-bento__card::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(62, 224, 208, 0.16), transparent 65%);
  pointer-events: none;
}
.sad-bento__card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 224, 208, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.sad-bento__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  color: var(--sad-cyan);
  background: rgba(62, 224, 208, 0.1);
  border: 1px solid rgba(62, 224, 208, 0.22);
}
.sad-bento__icon--amber {
  color: var(--sad-amber);
  background: rgba(240, 180, 41, 0.1);
  border-color: rgba(240, 180, 41, 0.25);
}
.sad-bento__icon svg { width: 1.2rem; height: 1.2rem; }

.sad-bento__card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--sad-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}
.sad-bento__card p {
  margin: 0;
  color: var(--sad-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Capabilities */
.sad-cap {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  min-height: 0;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(62, 224, 208, 0.16);
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(62, 224, 208, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.sad-cap__rail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 1px solid var(--sad-line);
}

.sad-cap__tab {
  appearance: none;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  margin-left: -1px;
  padding: 0.7rem 0.95rem;
  color: var(--sad-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sad-cap__tab:hover { color: #fff; }
.sad-cap__tab[aria-selected="true"] {
  color: var(--sad-cyan);
  border-left-color: var(--sad-cyan);
  background: linear-gradient(90deg, rgba(62, 224, 208, 0.08), transparent);
}

.sad-cap__panel { display: none; animation: sadPanelIn 0.45s var(--sad-ease); }
.sad-cap__panel.is-active { display: block; }
@keyframes sadPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.sad-cap__panel h3 {
  margin: 0 0 0.6rem;
  font-family: var(--sad-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: #fff;
}
.sad-cap__panel p {
  margin: 0 0 1.15rem;
  color: var(--sad-muted);
  line-height: 1.6;
  max-width: 48ch;
}

.sad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sad-tags li {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(232, 241, 248, 0.85);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(62, 224, 208, 0.22);
  border-radius: 999px;
}

/* Process — no numbers */
.sad-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.sad-process__row {
  padding: 1.15rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(62, 224, 208, 0.14);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.25s var(--sad-ease);
}
.sad-process__row:hover {
  border-color: rgba(62, 224, 208, 0.35);
  transform: translateY(-3px);
}
.sad-process__row h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sad-font-display);
  font-size: 1.05rem;
  color: #fff;
}
.sad-process__row p {
  margin: 0 0 0.75rem;
  color: var(--sad-muted);
  line-height: 1.5;
  font-size: 0.9rem;
}
.sad-process__row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.sad-process__row li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.8rem;
  color: rgba(232, 241, 248, 0.72);
}
.sad-process__row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--sad-cyan);
}

.sad-workgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.sad-workgrid article {
  padding: 1.1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(62, 224, 208, 0.16);
  background: rgba(62, 224, 208, 0.04);
}
.sad-workgrid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sad-font-display);
  font-size: 1rem;
  color: #fff;
}
.sad-workgrid p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--sad-muted);
}

.sad-tech {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.sad-tech__col {
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(62, 224, 208, 0.16);
  background: rgba(8, 16, 28, 0.85);
}
.sad-tech__col h3 {
  margin: 0 0 0.75rem;
  font-family: var(--sad-font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--sad-cyan);
  letter-spacing: -0.01em;
}
.sad-tech__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.sad-tech__col li {
  font-size: 0.9rem;
  color: rgba(232, 241, 248, 0.82);
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.sad-deliver {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.sad-deliver > div {
  padding: 1.15rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(62, 224, 208, 0.16);
  background: linear-gradient(165deg, rgba(16, 30, 48, 0.9), rgba(7, 14, 24, 0.95));
}
.sad-deliver h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sad-font-display);
  font-size: 1rem;
  color: #fff;
}
.sad-deliver p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--sad-muted);
}

/* FAQ — no Q markers */
.sad-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.sad-faq__item {
  padding: 1.2rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(62, 224, 208, 0.14);
  background: rgba(255, 255, 255, 0.02);
}
.sad-faq__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sad-font-display);
  font-size: 1.05rem;
  color: #fff;
}
.sad-faq__item p {
  margin: 0;
  color: var(--sad-muted);
  line-height: 1.55;
}

.sad-cta {
  position: relative;
  padding: 1.15rem 0 1.35rem;
  overflow: clip;
  border-top: 1px solid rgba(62, 224, 208, 0.12);
  background:
    radial-gradient(ellipse 40% 80% at 8% 50%, rgba(62, 224, 208, 0.1), transparent 60%),
    radial-gradient(ellipse 35% 70% at 95% 40%, rgba(240, 180, 41, 0.07), transparent 55%);
}

.sad-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.1rem 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(62, 224, 208, 0.28);
  background: linear-gradient(145deg, rgba(14, 28, 46, 0.95), rgba(6, 12, 22, 0.98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.sad-cta__visual {
  display: grid;
  place-items: center;
}
.sad-cta__visual svg {
  width: min(100%, 280px);
  height: auto;
}

.sad-cta__copy .sad-eyebrow {
  justify-content: flex-start;
}
.sad-cta__copy h2 {
  max-width: 22ch;
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  text-align: left;
}
.sad-cta__copy .sad-section__sub {
  margin: 0 0 0.75rem;
  text-align: left;
}
.sad-cta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
}
.sad-cta__chips span {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(232, 241, 248, 0.75);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 224, 208, 0.22);
  background: rgba(62, 224, 208, 0.06);
}
.sad-cta .sad-actions {
  justify-content: flex-start;
}

.sad-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes sadRise {
      from { opacity: 0; transform: translateY(24px); }
    }
    .sad-reveal {
      animation: sadRise auto linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
  }
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .sad-reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.65s var(--sad-ease), transform 0.65s var(--sad-ease);
    }
    .sad-reveal.is-in { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sad-hero__grid,
  .sad-hero__scan,
  .sad-hero__nodes span,
  .sad-terminal,
  .sad-phone-card,
  .sad-float,
  .sad-live__dot,
  .sad-dash__flow span,
  .sad-illu__chart,
  .sad-dash__flow span {
    animation: none !important;
  }
  .sad-illu__chart { stroke-dashoffset: 0; }
}

@media (max-width: 980px) {
  .sad-hero__inner {
    grid-template-columns: 1fr;
  }
  .sad-hero__art {
    min-height: 380px;
    order: -1;
  }
  .sad-stack-visual { min-height: 380px; }
  .sad-process { grid-template-columns: 1fr 1fr; }
  .sad-workgrid { grid-template-columns: 1fr; }
  .sad-tech { grid-template-columns: 1fr 1fr; }
  .sad-deliver { grid-template-columns: 1fr 1fr; }
  .sad-faq { grid-template-columns: 1fr; }
  .sad-cap { grid-template-columns: 1fr; }
  .sad-iconrail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sad-cta__panel { grid-template-columns: 1fr; }
  .sad-cta__visual { order: -1; }
  .sad-cta__visual svg { width: min(100%, 220px); }
  .sad-cap__rail {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    border-bottom: 1px solid var(--sad-line);
    gap: 0.2rem;
  }
  .sad-cap__tab {
    border-left: 0;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    padding: 0.5rem 0.7rem;
  }
  .sad-cap__tab[aria-selected="true"] {
    border-bottom-color: var(--sad-cyan);
    background: transparent;
  }
}

@media (max-width: 640px) {
  .sad-iconrail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sad-bento { grid-template-columns: 1fr; }
  .sad-process { grid-template-columns: 1fr; }
  .sad-tech { grid-template-columns: 1fr; }
  .sad-deliver { grid-template-columns: 1fr; }
  .sad-terminal { width: 42%; font-size: 0.65rem; }
  .sad-phone-card { width: 30%; }
  .sad-float--b { left: 2%; }
  .sad-hero__art { min-height: 340px; }
  .sad-stack-visual { min-height: 340px; }
}
