:root {
  /* Modernized from the legacy blue, silver, black, and slate-violet Total Tech palette, adapted to the Pivot Digital logo. */
  --color-bg: #050814;
  --color-surface: #0b1224;
  --color-surface-alt: #111a31;
  --color-text: #f4f8ff;
  --color-muted: #b7c3d7;
  --color-primary: #8cc7ff;
  --color-primary-strong: #4f8cff;
  --color-accent: #8f5cff;
  --color-border: rgba(188, 212, 255, 0.18);
  --color-glow: rgba(143, 92, 255, 0.28);
  --color-steel: #6f8fb8;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.26);
  --container: 1200px;
  --radius: 8px;
  --header-height: 88px;
  --section-space: clamp(4.8rem, 8vw, 7.4rem);
  --card-pad: clamp(1.25rem, 2.4vw, 1.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.08), transparent 32rem),
    linear-gradient(215deg, rgba(143, 92, 255, 0.12), transparent 34rem),
    var(--color-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(188, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(140, 199, 255, 0.75);
  outline-offset: 4px;
}

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius);
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--color-border);
  background: rgba(5, 8, 20, 0.92);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 92px;
  flex: 0 0 auto;
}

.brand img {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(143, 92, 255, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 750;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0.6rem 0.86rem;
  color: var(--color-muted);
  border: 1px solid transparent;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--color-text);
  background: rgba(140, 199, 255, 0.08);
  border-color: rgba(140, 199, 255, 0.16);
}

.site-nav a:focus-visible {
  background: rgba(140, 199, 255, 0.12);
}

.site-nav .nav-cta {
  margin-left: 0.4rem;
  color: var(--color-text);
  border: 1px solid rgba(140, 199, 255, 0.38);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.26), rgba(143, 92, 255, 0.22));
}

.site-nav .nav-client-login {
  margin-left: 0.35rem;
  color: var(--color-text);
  border-color: rgba(143, 92, 255, 0.42);
  background: rgba(143, 92, 255, 0.08);
}

.site-nav .nav-client-login:hover { border-color: rgba(143, 92, 255, 0.72); background: rgba(143, 92, 255, 0.16); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-alt {
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.5), rgba(11, 18, 36, 0.26));
  border-block: 1px solid var(--color-border);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 850;
}

h1 span {
  display: block;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
}

.hero-lede,
.hero-support,
.section-heading p,
.contact-copy > p {
  max-width: 700px;
  color: var(--color-muted);
  font-size: 1.16rem;
  line-height: 1.72;
}

.hero-lede {
  margin: 1.35rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.46rem);
  line-height: 1.55;
}

.hero-support {
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-capabilities li {
  border: 1px solid rgba(140, 199, 255, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.82rem 1.14rem;
  border: 1px solid var(--color-border);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 199, 255, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.button-primary {
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-accent));
  box-shadow: 0 12px 32px var(--color-glow);
}

.button-secondary {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel {
  min-height: 480px;
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(143, 92, 255, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(17, 26, 49, 0.92), rgba(11, 18, 36, 0.7));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(140, 199, 255, 0.14);
  border-radius: var(--radius);
  pointer-events: none;
}

.signal-card {
  position: relative;
  z-index: 2;
  width: min(330px, 100%);
  border: 1px solid rgba(140, 199, 255, 0.22);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(5, 8, 20, 0.72);
  backdrop-filter: blur(10px);
}

.signal-card strong {
  display: block;
  margin: 0.4rem 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.signal-card p {
  margin: 0;
  color: var(--color-muted);
}

.signal-label {
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.orbit-map {
  position: absolute;
  inset: 0;
}

.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 32px rgba(140, 199, 255, 0.72);
}

.node-a {
  top: 18%;
  right: 24%;
}

.node-b {
  top: 42%;
  right: 52%;
  background: var(--color-accent);
}

.node-c {
  bottom: 24%;
  right: 18%;
  background: var(--color-steel);
}

.orbit-line {
  position: absolute;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(140, 199, 255, 0.58), transparent);
}

.line-a {
  width: 230px;
  top: 26%;
  right: 24%;
  transform: rotate(148deg);
}

.line-b {
  width: 250px;
  top: 52%;
  right: 18%;
  transform: rotate(208deg);
}

.signal-row {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.signal-row span {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(188, 212, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.system-map {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem;
  background:
    linear-gradient(145deg, rgba(17, 26, 49, 0.92), rgba(5, 8, 20, 0.78)),
    linear-gradient(45deg, rgba(79, 140, 255, 0.14), transparent 60%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.system-map::before {
  inset: 72px 50px 52px;
  border: 1px solid rgba(140, 199, 255, 0.12);
  background-image:
    linear-gradient(rgba(188, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

.system-map::after {
  left: 13%;
  right: 13%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 199, 255, 0.68), rgba(143, 92, 255, 0.68), transparent);
}

.map-header,
.system-node {
  position: relative;
  z-index: 1;
}

.map-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.1rem;
  color: var(--color-muted);
}

.map-header span {
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-header strong {
  max-width: 260px;
  text-align: right;
  line-height: 1.2;
}

.system-node {
  position: absolute;
  width: min(190px, 34%);
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: rgba(5, 8, 20, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.system-node::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 22px rgba(140, 199, 255, 0.75);
}

.system-node span {
  display: block;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-node strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.02rem;
}

.system-node small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.node-website { left: 7%; top: 25%; }
.node-intake { left: 36%; top: 18%; }
.node-client { right: 7%; top: 25%; }
.node-documents { left: 7%; bottom: 14%; }
.node-automation { left: 36%; bottom: 8%; }
.node-insight { right: 7%; bottom: 14%; }

.node-website::before,
.node-documents::before { right: -6px; top: 50%; }
.node-intake::before,
.node-automation::before { left: 50%; bottom: -6px; }
.node-client::before,
.node-insight::before { left: -6px; top: 50%; }

.trust-strip {
  border-block: 1px solid var(--color-border);
  background: rgba(5, 8, 20, 0.54);
}

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

.trust-grid-six {
  grid-template-columns: repeat(6, 1fr);
}

.trust-grid p {
  margin: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  color: var(--color-muted);
  font-weight: 800;
}

.section-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin: 1rem 0 0;
}

.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.service-card,
.pricing-card,
.brief-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.82), rgba(11, 18, 36, 0.8));
  box-shadow: var(--shadow-card);
}

.service-card,
.pricing-card,
.project-card,
.brief-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.pricing-card:hover,
.project-card:hover,
.brief-card:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 199, 255, 0.34);
  background: linear-gradient(180deg, rgba(20, 31, 57, 0.92), rgba(11, 18, 36, 0.86));
}

.service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--card-pad);
}

.service-card-large {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: stretch;
  padding: 1.15rem;
  border-color: rgba(188, 212, 255, 0.22);
}

.service-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  min-width: 0;
  padding: 0.2rem 0.1rem;
}

.service-card-copy strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(1.42rem, 2vw, 1.76rem);
  line-height: 1.12;
}

.service-card-copy > span:not(.eyebrow):not(.card-action) {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.service-visual {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(188, 212, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(5, 8, 20, 0.84), rgba(17, 26, 49, 0.8)),
    linear-gradient(45deg, rgba(79, 140, 255, 0.14), transparent);
  overflow: hidden;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(140, 199, 255, 0.1);
  border-radius: var(--radius);
}

.visual-website .browser-bar {
  position: absolute;
  left: 28px;
  right: 70px;
  top: 46px;
  height: 74px;
  border: 1px solid rgba(140, 199, 255, 0.28);
  border-radius: 6px;
  background: rgba(5, 8, 20, 0.7);
}

.visual-line {
  position: absolute;
  left: 44px;
  height: 9px;
  border-radius: 99px;
  background: rgba(183, 195, 215, 0.62);
}

.visual-line.wide {
  top: 72px;
  width: 86px;
}

.visual-line:not(.wide) {
  top: 94px;
  width: 128px;
  opacity: 0.55;
}

.visual-button {
  position: absolute;
  left: 44px;
  top: 126px;
  width: 78px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-primary-strong);
}

.phone-frame {
  position: absolute;
  right: 34px;
  bottom: 46px;
  width: 58px;
  height: 108px;
  border: 1px solid rgba(140, 199, 255, 0.38);
  border-radius: 14px;
  background: rgba(5, 8, 20, 0.8);
}

.visual-dashboard,
.visual-flow,
.visual-layers,
.visual-launch,
.visual-rescue {
  display: grid;
  gap: 0.7rem;
  padding: 2rem;
  align-content: center;
}

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

.visual-dashboard span,
.visual-layers span,
.visual-launch span,
.visual-flow span,
.visual-rescue span {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(140, 199, 255, 0.22);
  border-radius: 6px;
  background: rgba(5, 8, 20, 0.7);
}

.visual-dashboard span {
  min-height: 58px;
}

.visual-dashboard span:nth-child(1) {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.55), rgba(143, 92, 255, 0.32));
}

.visual-dashboard span:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 42px;
}

.visual-flow span,
.visual-launch span,
.visual-layers span,
.visual-rescue span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-flow,
.visual-launch {
  grid-template-columns: 1fr;
}

.visual-flow span::after,
.visual-launch span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.7rem;
  width: 1px;
  height: 0.7rem;
  background: rgba(140, 199, 255, 0.45);
}

.visual-flow span:last-child::after,
.visual-launch span:last-child::after {
  display: none;
}

.visual-layers span:nth-child(1) { transform: translateX(-8px); }
.visual-layers span:nth-child(2) { transform: translateX(10px); }
.visual-layers span:nth-child(3) { transform: translateX(-2px); }
.visual-layers span:nth-child(4) { transform: translateX(16px); }

.visual-rescue .status-bad { border-color: rgba(255, 140, 140, 0.35); color: #ffb8b8; }
.visual-rescue .status-mid { border-color: rgba(140, 199, 255, 0.35); color: var(--color-primary); }
.visual-rescue .status-good { border-color: rgba(102, 255, 201, 0.32); color: #9bf7d9; }

.service-card p {
  margin-bottom: 1rem;
}

.card-action {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 850;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.38);
  text-underline-offset: 0.22em;
}

.service-card:hover .card-action,
.service-card:focus-visible .card-action {
  color: var(--color-text);
}

.feature-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 1.35rem;
  padding-left: 1.15rem;
  color: var(--color-muted);
}

.service-card h3,
.pricing-card h3,
.brief-card h3,
.project-card h3 {
  color: var(--color-text);
}

.service-card p,
.pricing-card p,
.brief-card li,
.about-copy p,
.project-card p,
.pricing-note,
.service-area {
  color: var(--color-muted);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-border);
}

.process-track article {
  min-height: 280px;
  padding: 1.15rem;
  background: rgba(11, 18, 36, 0.92);
}

.process-track span {
  display: inline-flex;
  margin-bottom: 3.5rem;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-track p {
  color: var(--color-muted);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: 520px;
}

.filter-button {
  min-height: 38px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.48rem 0.7rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--color-text);
  border-color: rgba(140, 199, 255, 0.48);
  background: rgba(79, 140, 255, 0.16);
}

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

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(11, 18, 36, 0.86);
  box-shadow: var(--shadow-card);
}

.project-card.is-featured {
  border-color: rgba(143, 92, 255, 0.38);
}

.project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.browser-frame-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 28px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding-left: 12px;
  background: rgba(5, 8, 20, 0.78);
  border-bottom: 1px solid rgba(188, 212, 255, 0.14);
}

.browser-frame-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(140, 199, 255, 0.7);
}

.browser-frame-bar span:nth-child(2) {
  background: rgba(143, 92, 255, 0.75);
}

.browser-frame-bar span:nth-child(3) {
  background: rgba(183, 195, 215, 0.6);
}

.project-card-diagram {
  padding: 1rem;
}

.diagram-card {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-content: center;
  border: 1px solid rgba(188, 212, 255, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(5, 8, 20, 0.86), rgba(17, 26, 49, 0.78)),
    linear-gradient(45deg, rgba(79, 140, 255, 0.14), transparent);
}

.diagram-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(140, 199, 255, 0.3);
}

.diagram-card::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 50%;
  height: 1px;
  background: rgba(143, 92, 255, 0.32);
}

.diagram-card span {
  position: relative;
  z-index: 1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: 6px;
  color: var(--color-muted);
  background: rgba(5, 8, 20, 0.78);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagram-card span:first-child {
  color: var(--color-text);
  border-color: rgba(143, 92, 255, 0.38);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.28), rgba(143, 92, 255, 0.22));
}

.project-card img {
  background: var(--color-surface-alt);
}

.project-body {
  padding: 1.15rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tag-list span {
  border: 1px solid rgba(188, 212, 255, 0.14);
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.project-link,
.text-link {
  color: var(--color-primary);
  font-weight: 850;
}

.project-link:hover,
.text-link:hover {
  color: var(--color-text);
}

.muted-link {
  color: var(--color-muted);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.project-details {
  margin-top: 1rem;
  border-top: 1px solid rgba(188, 212, 255, 0.12);
  padding-top: 0.85rem;
}

.project-details summary {
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 850;
}

.project-details summary:hover {
  color: var(--color-text);
}

.project-details dl {
  display: grid;
  gap: 0.75rem;
  margin: 0.9rem 0 0;
}

.project-details div {
  display: grid;
  gap: 0.22rem;
}

.project-details dt {
  color: var(--color-text);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-details dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.project-details ul {
  margin: 0;
  padding-left: 1.1rem;
}

.portfolio-note {
  max-width: 840px;
  margin: 1.4rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-copy p:first-child {
  margin-top: 0;
}

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

.pricing-card {
  min-height: 220px;
  padding: 1.1rem;
}

.price {
  margin: 1rem 0 0.6rem;
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1.25;
}

.pricing-note {
  max-width: 780px;
  margin-top: 1.5rem;
}

.contact-section {
  padding-bottom: 7rem;
}

.brief-card {
  padding: 1.35rem;
}

.brief-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.brief-card li + li {
  margin-top: 0.55rem;
}

.service-area {
  margin-top: 1.5rem;
  font-weight: 800;
}

.service-chip-list,
.summary-chip-list,
.pricing-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-chip-list span,
.summary-chip-list span,
.pricing-fit-list li,
.tag-list span {
  border: 1px solid rgba(188, 212, 255, 0.2);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  color: #d7e5fa;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
}

.services-overview-actions {
  justify-content: center;
  margin-top: 2rem;
}

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

.services-grid .service-card-large {
  --tile-accent: var(--color-primary);
  --tile-accent-soft: rgba(140, 199, 255, 0.14);
  position: relative;
  min-height: clamp(350px, 28vw, 420px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.15rem, 2vw, 1.45rem);
  align-items: start;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border-color: rgba(188, 212, 255, 0.24);
  background:
    radial-gradient(circle at 88% 12%, var(--tile-accent-soft), transparent 30%),
    linear-gradient(150deg, rgba(17, 26, 49, 0.9), rgba(7, 12, 26, 0.92));
  overflow: visible;
}

.services-grid .service-card-large::before,
.services-grid .service-card-large::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.services-grid .service-card-large::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tile-accent) 18%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36%);
  opacity: 0.62;
}

.services-grid .service-card-large::after {
  left: -1px;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--tile-accent), transparent);
  opacity: 0.72;
}

.services-grid .service-card-large:hover {
  border-color: color-mix(in srgb, var(--tile-accent) 58%, rgba(188, 212, 255, 0.34));
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--tile-accent) 18%, transparent), transparent 32%),
    linear-gradient(150deg, rgba(20, 31, 57, 0.94), rgba(7, 12, 26, 0.94));
}

.service-tile--websites {
  --tile-accent: #8cc7ff;
  --tile-accent-soft: rgba(140, 199, 255, 0.16);
}

.service-tile--portals {
  --tile-accent: #b79cff;
  --tile-accent-soft: rgba(183, 156, 255, 0.15);
}

.service-tile--automation {
  --tile-accent: #65e0c2;
  --tile-accent-soft: rgba(101, 224, 194, 0.13);
}

.service-tile--strategy {
  --tile-accent: #ffce73;
  --tile-accent-soft: rgba(255, 206, 115, 0.13);
}

.service-tile--hosting {
  --tile-accent: #8dffb5;
  --tile-accent-soft: rgba(141, 255, 181, 0.12);
}

.service-tile--rescue {
  --tile-accent: #ff9d8d;
  --tile-accent-soft: rgba(255, 157, 141, 0.13);
}

.service-card-top,
.services-grid .service-card-copy {
  position: relative;
  z-index: 1;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
}

.services-grid .service-card-top > .eyebrow {
  max-width: 74%;
  margin-bottom: 0;
  color: #d8ebff;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
}

.services-grid .service-card-copy {
  gap: 0.86rem;
  padding: 0;
}

.services-grid .service-card-copy strong {
  font-size: clamp(1.52rem, 2vw, 1.9rem);
  line-height: 1.08;
  max-width: 720px;
}

.services-grid .service-card-copy > span:not(.eyebrow):not(.card-action) {
  max-width: 680px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.services-grid .service-chip-list {
  margin-top: 0.1rem;
}

.services-grid .service-chip-list span {
  border-color: color-mix(in srgb, var(--tile-accent) 28%, rgba(188, 212, 255, 0.2));
  background: color-mix(in srgb, var(--tile-accent) 10%, rgba(255, 255, 255, 0.045));
}

.services-grid .card-action {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--tile-accent) 32%, rgba(188, 212, 255, 0.22));
  border-radius: var(--radius);
  padding: 0.55rem 0.72rem;
  color: #f4f8ff;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.services-grid .service-card:hover .card-action,
.services-grid .service-card:focus-visible .card-action {
  border-color: color-mix(in srgb, var(--tile-accent) 64%, rgba(188, 212, 255, 0.38));
  background: color-mix(in srgb, var(--tile-accent) 13%, rgba(255, 255, 255, 0.05));
  transform: translateX(2px);
}

.service-accent {
  position: relative;
  flex: 0 0 auto;
  width: 86px;
  height: 62px;
  opacity: 0.92;
}

.service-accent,
.service-accent span,
.service-accent::before,
.service-accent::after {
  border-color: color-mix(in srgb, var(--tile-accent) 58%, rgba(188, 212, 255, 0.18));
}

.service-accent span,
.service-accent::before,
.service-accent::after {
  content: "";
  position: absolute;
  display: block;
}

.service-accent--websites::before {
  inset: 5px 8px 15px 12px;
  border: 1px solid;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 10px, transparent 10px);
}

.service-accent--websites span {
  left: 24px;
  right: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--tile-accent);
  opacity: 0.75;
}

.service-accent--websites span:nth-child(1) { top: 27px; }
.service-accent--websites span:nth-child(2) { top: 36px; right: 32px; opacity: 0.46; }
.service-accent--websites span:nth-child(3) { right: 6px; bottom: 6px; width: 24px; height: 34px; border: 1px solid; background: transparent; opacity: 0.72; }

.service-accent--portals {
  display: grid;
  grid-template-columns: repeat(3, 16px);
  grid-auto-rows: 16px;
  place-content: center end;
  gap: 6px;
}

.service-accent--portals span,
.service-accent--portals::before,
.service-accent--portals::after {
  position: relative;
  inset: auto;
  width: 16px;
  height: 16px;
  border: 1px solid;
  border-radius: 5px;
  background: color-mix(in srgb, var(--tile-accent) 16%, transparent);
}

.service-accent--portals::before,
.service-accent--portals::after {
  position: absolute;
  right: 0;
}

.service-accent--portals::before { top: 2px; width: 42px; }
.service-accent--portals::after { bottom: 2px; width: 64px; height: 2px; border: 0; border-radius: 999px; background: var(--tile-accent); opacity: 0.54; }

.service-accent--automation::before {
  left: 11px;
  right: 11px;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tile-accent), transparent);
}

.service-accent--automation span {
  top: 21px;
  width: 18px;
  height: 18px;
  border: 1px solid;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tile-accent) 18%, rgba(5, 8, 20, 0.7));
  box-shadow: 0 0 22px color-mix(in srgb, var(--tile-accent) 28%, transparent);
}

.service-accent--automation span:nth-child(1) { left: 5px; }
.service-accent--automation span:nth-child(2) { left: 34px; }
.service-accent--automation span:nth-child(3) { right: 5px; }

.service-accent--strategy span {
  width: 46px;
  height: 18px;
  border: 1px solid;
  border-radius: 5px;
  background: color-mix(in srgb, var(--tile-accent) 12%, transparent);
}

.service-accent--strategy span:nth-child(1) { right: 28px; top: 7px; }
.service-accent--strategy span:nth-child(2) { right: 14px; top: 24px; }
.service-accent--strategy span:nth-child(3) { right: 0; top: 41px; }

.service-accent--strategy::before {
  right: 10px;
  top: 15px;
  bottom: 11px;
  width: 1px;
  background: var(--tile-accent);
  opacity: 0.42;
}

.service-accent--hosting span {
  right: 8px;
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tile-accent) 18%, rgba(255, 255, 255, 0.06));
}

.service-accent--hosting span:nth-child(1) { top: 12px; }
.service-accent--hosting span:nth-child(2) { top: 28px; width: 46px; }
.service-accent--hosting span:nth-child(3) { top: 44px; width: 62px; }

.service-accent--hosting::after {
  right: 2px;
  top: 21px;
  width: 16px;
  height: 26px;
  border-right: 2px solid var(--tile-accent);
  border-bottom: 2px solid var(--tile-accent);
  transform: rotate(38deg);
}

.service-accent--rescue::before {
  left: 8px;
  right: 8px;
  top: 31px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tile-accent), transparent);
}

.service-accent--rescue::after {
  right: 11px;
  top: 17px;
  width: 28px;
  height: 28px;
  border: 1px solid;
  border-radius: 50%;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--tile-accent) 9%, transparent);
}

.service-accent--rescue span {
  left: 9px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--tile-accent);
  opacity: 0.62;
}

.service-accent--rescue span:nth-child(1) { top: 18px; }
.service-accent--rescue span:nth-child(2) { top: 31px; width: 34px; opacity: 0.8; }
.service-accent--rescue span:nth-child(3) { top: 44px; width: 16px; opacity: 0.48; }
}

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

.pricing-card {
  padding: var(--card-pad);
}

.pricing-card p {
  font-size: 1rem;
  line-height: 1.62;
}

.pricing-card h3 {
  font-size: 1.34rem;
}

.pricing-fit-list {
  margin-top: 1rem;
}

.pricing-fit-list li {
  color: var(--color-muted);
}

.visual-caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 16px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-browser,
.mini-phone,
.action-panel,
.record-table,
.launch-stack,
.rescue-board,
.strategy-map {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 8, 20, 0.74);
}

.mini-browser {
  left: 24px;
  right: 68px;
  top: 52px;
  min-height: 154px;
  padding: 2.2rem 1rem 1rem;
}

.mini-browser::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  border-bottom: 1px solid rgba(188, 212, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.mini-title,
.mini-copy,
.mini-cta,
.mini-nav,
.mobile-line,
.record-row,
.report-bar,
.check-row {
  display: block;
  border-radius: 99px;
  background: rgba(183, 195, 215, 0.54);
}

.mini-title {
  width: 68%;
  height: 12px;
}

.mini-copy {
  width: 88%;
  height: 8px;
  margin-top: 0.75rem;
  opacity: 0.62;
}

.mini-cta {
  width: 92px;
  height: 28px;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-accent));
}

.mini-nav {
  width: 58%;
  height: 8px;
  margin-bottom: 1rem;
  opacity: 0.48;
}

.mini-phone {
  right: 24px;
  bottom: 30px;
  width: 76px;
  min-height: 142px;
  padding: 1.1rem 0.55rem;
  border-radius: 18px;
}

.mobile-line {
  height: 8px;
  margin-top: 0.65rem;
  opacity: 0.6;
}

.mobile-line:first-child {
  margin-top: 0;
  width: 82%;
}

.mobile-cta {
  display: block;
  height: 22px;
  margin-top: 0.8rem;
  border-radius: 6px;
  background: var(--color-primary-strong);
}

.record-table {
  left: 22px;
  top: 54px;
  bottom: 34px;
  width: 54%;
  padding: 1rem;
}

.record-row {
  height: 30px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(140, 199, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.record-row:nth-child(2) {
  width: 86%;
}

.record-row:nth-child(3) {
  width: 94%;
}

.action-panel {
  right: 22px;
  top: 80px;
  width: 35%;
  min-height: 160px;
  padding: 0.9rem;
}

.status-pill,
.flow-step,
.map-step,
.launch-item,
.check-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: 6px;
  padding: 0.48rem 0.58rem;
  color: #d7e5fa;
  background: rgba(5, 8, 20, 0.72);
  font-size: 0.84rem;
  font-weight: 850;
}

.action-panel .status-pill + .status-pill {
  margin-top: 0.55rem;
}

.visual-flow,
.visual-layers,
.visual-launch,
.visual-rescue {
  align-content: center;
}

.visual-flow {
  grid-template-columns: minmax(0, 1fr);
  padding: 3.4rem 2.1rem 2rem;
}

.flow-step {
  justify-content: space-between;
}

.flow-step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.82rem;
  width: 1px;
  height: 0.82rem;
  background: rgba(140, 199, 255, 0.46);
}

.flow-step:last-child::after {
  display: none;
}

.report-bar {
  width: 64px;
  height: 9px;
  margin-left: auto;
  background: linear-gradient(90deg, var(--color-primary-strong), var(--color-accent));
}

.strategy-map {
  inset: 54px 28px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
}

.strategy-map::before,
.strategy-map::after {
  content: "";
  position: absolute;
  background: rgba(140, 199, 255, 0.22);
}

.strategy-map::before {
  left: 50%;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
}

.strategy-map::after {
  top: 50%;
  left: 1rem;
  right: 1rem;
  height: 1px;
}

.map-step {
  justify-content: center;
  text-align: center;
}

.launch-stack {
  inset: 55px 30px 32px;
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.launch-item {
  justify-content: space-between;
}

.launch-item::after,
.check-item::after {
  content: "OK";
  color: #9bf7d9;
  font-size: 0.72rem;
  font-weight: 900;
}

.rescue-board {
  inset: 55px 30px 32px;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.check-item.status-bad::after {
  content: "FIX";
  color: #ffb8b8;
}

.check-item.status-mid::after {
  content: "NEXT";
  color: var(--color-primary);
}

.service-page-hero {
  padding-top: clamp(4rem, 7vw, 6.4rem);
  padding-bottom: clamp(2.1rem, 4vw, 3.4rem);
}

.service-page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.75rem, 4.8vw, 4.45rem);
  line-height: 1.04;
}

.service-value-headline {
  max-width: 780px;
  margin: 1rem 0 0;
  color: var(--color-text);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
}

.service-page-hero .hero-lede {
  max-width: 760px;
  font-size: clamp(1.14rem, 1.7vw, 1.28rem);
}

.service-page-visual {
  min-height: clamp(320px, 34vw, 440px);
}

.service-page-hero + .section {
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
}

.breadcrumb {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(183, 195, 215, 0.58);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.38);
  text-underline-offset: 0.22em;
}

.service-pager {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-pager--top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  max-width: none;
  margin-top: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(140, 199, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.6rem;
  background: rgba(5, 8, 20, 0.42);
}

.service-pager--bottom {
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.4rem);
}

.service-adjacent-row {
  margin-top: clamp(0.85rem, 2vw, 1.25rem);
}

.service-pager-kicker {
  min-width: 0;
  padding: 0 0.55rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-pager-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: min(48%, 320px);
  border: 1px solid rgba(140, 199, 255, 0.18);
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.service-pager-link:hover,
.service-pager-link:focus-visible {
  border-color: rgba(140, 199, 255, 0.44);
  color: var(--color-text);
  background: rgba(140, 199, 255, 0.07);
  transform: translateY(-1px);
}

.service-pager-link:focus-visible {
  outline: 2px solid rgba(140, 199, 255, 0.7);
  outline-offset: 4px;
}

.service-pager-arrow {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(140, 199, 255, 0.22);
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(5, 8, 20, 0.72);
  font-size: 0.98rem;
  line-height: 1;
}

.service-pager-copy {
  min-width: 0;
  display: block;
}

.service-pager-link small {
  display: block;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.service-pager-link strong {
  display: block;
  min-width: 0;
  margin-top: 0.16rem;
  color: var(--color-text);
  font-size: 0.84rem;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-pager-link--next {
  margin-left: auto;
  text-align: right;
}

.service-pager--top .service-pager-link {
  max-width: none;
  width: 100%;
  min-height: 58px;
  border-color: transparent;
  background: transparent;
  padding: 0.48rem 0.62rem;
}

.service-pager--top .service-pager-link:hover,
.service-pager--top .service-pager-link:focus-visible {
  border-color: rgba(140, 199, 255, 0.24);
  background: rgba(140, 199, 255, 0.06);
}

.service-pager--top .service-pager-link strong {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}

.service-pager--top .service-pager-copy {
  overflow: visible;
}

.service-pager--top .service-pager-link--next {
  margin-left: 0;
}

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

.summary-card,
.service-side-panel,
.example-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(11, 18, 36, 0.76);
  box-shadow: var(--shadow-card);
}

.summary-card {
  min-height: 185px;
  padding: 1.2rem;
}

.summary-card h2,
.summary-card h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.summary-card p,
.example-card p,
.service-side-panel li,
.service-side-panel p,
.service-main-copy p,
.faq-item p,
.content-panel p,
.content-panel li {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.service-main-copy > p {
  max-width: 780px;
}

.service-main-copy h2 {
  max-width: 820px;
}

.service-main-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.service-ai-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  background: rgba(143, 92, 255, 0.08);
}

.service-ai-section h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.service-main-panels.two-up,
.example-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-side-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.2rem);
  padding: 1.25rem;
}

.service-side-panel h2,
.service-side-panel h3 {
  font-size: 1.16rem;
}

.service-side-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 1.2rem;
  padding-left: 1.1rem;
}

.service-side-panel .button {
  width: 100%;
}

.service-process {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-process article {
  min-height: 250px;
}

.example-card {
  padding: var(--card-pad);
}

.example-card h3 {
  font-size: 1.22rem;
}

.faq-section .section-heading {
  margin-bottom: 1.5rem;
}

.final-cta {
  margin-top: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid rgba(140, 199, 255, 0.26);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.18), rgba(143, 92, 255, 0.13));
}

.final-cta p {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.visual-caption,
.visual-flow .visual-caption,
.visual-launch .visual-caption,
.visual-layers .visual-caption,
.visual-rescue .visual-caption {
  min-height: 0;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  transform: none;
}

.visual-caption::after,
.report-bar::after,
.strategy-map::after,
.launch-stack::after,
.rescue-board::after {
  display: none;
}

.services-grid .visual-caption,
.services-grid .visual-flow .visual-caption,
.services-grid .visual-launch .visual-caption,
.services-grid .visual-layers .visual-caption,
.services-grid .visual-rescue .visual-caption {
  display: none;
}

.visual-layers .strategy-map,
.visual-launch .launch-stack,
.visual-rescue .rescue-board {
  transform: none;
}

.service-page-visual {
  isolation: isolate;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(140, 199, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(17, 26, 49, 0.9), rgba(5, 8, 20, 0.82));
}

.service-page-visual::before {
  inset: clamp(0.8rem, 2vw, 1.15rem);
  border-color: rgba(140, 199, 255, 0.13);
}

.visual-website,
.visual-dashboard,
.visual-flow,
.visual-layers,
.visual-launch,
.visual-rescue {
  display: grid;
  align-content: center;
}

.visual-browser-shell,
.visual-phone-shell,
.visual-records,
.visual-status-column,
.visual-role-panel {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 8, 20, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.visual-browser-shell {
  left: 8%;
  right: 20%;
  top: 16%;
  bottom: 22%;
  padding: 3.4rem 1.2rem 1.2rem;
}

.visual-browser-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34px;
  border-bottom: 1px solid rgba(188, 212, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.visual-content-line,
.visual-content-block,
.visual-cta-path,
.visual-phone-shell span {
  display: block;
  border-radius: 999px;
  background: rgba(183, 195, 215, 0.58);
}

.visual-content-line {
  width: 72%;
  height: 10px;
  margin-top: 0.8rem;
  opacity: 0.64;
}

.visual-content-line--wide {
  width: 52%;
  height: 16px;
  margin-top: 0;
  background: rgba(216, 235, 255, 0.78);
}

.visual-content-block {
  width: 86%;
  height: 44px;
  margin-top: 1.15rem;
  border-radius: 6px;
  background: rgba(140, 199, 255, 0.12);
}

.visual-cta-path {
  width: 128px;
  height: 34px;
  margin-top: 1.15rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-accent));
  box-shadow: 0 0 34px rgba(140, 199, 255, 0.28);
}

.visual-phone-shell {
  right: 8%;
  bottom: 13%;
  width: min(96px, 24%);
  min-height: 168px;
  padding: 1.3rem 0.7rem;
  border-radius: 18px;
}

.visual-phone-shell span {
  height: 9px;
  margin-top: 0.75rem;
  opacity: 0.62;
}

.visual-phone-shell span:first-child {
  width: 78%;
  margin-top: 0;
}

.visual-phone-shell .visual-phone-cta {
  height: 26px;
  border-radius: 6px;
  background: var(--color-primary-strong);
  opacity: 1;
}

.visual-dashboard {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.visual-records,
.visual-status-column,
.visual-role-panel {
  position: relative;
  inset: auto;
  min-height: 0;
}

.visual-records {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.visual-records span,
.visual-status-column span,
.visual-role-panel span {
  display: block;
  min-height: 0;
  border: 1px solid rgba(140, 199, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.visual-records span {
  height: 46px;
}

.visual-status-column {
  display: grid;
  gap: 0.75rem;
  align-self: stretch;
  padding: 1rem;
}

.visual-status-column span {
  height: 34px;
  background: rgba(140, 199, 255, 0.14);
}

.visual-role-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0.75rem;
  padding: 0.85rem;
}

.visual-role-panel span {
  height: 28px;
  background: rgba(143, 92, 255, 0.16);
}

.website-system-board,
.website-mobile-preview,
.app-workspace {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 8, 20, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.visual-website {
  grid-template-columns: minmax(0, 1fr) minmax(92px, 0.26fr);
  gap: clamp(0.8rem, 2vw, 1.15rem);
  align-items: end;
}

.website-system-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.72fr);
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.75rem;
  min-height: clamp(248px, 26vw, 330px);
  padding: 3rem 1rem 1rem;
  overflow: hidden;
}

.website-browser-top {
  position: absolute;
  inset: 0 0 auto;
  height: 35px;
  display: flex;
  align-items: center;
  gap: 0.34rem;
  padding-left: 1rem;
  border-bottom: 1px solid rgba(188, 212, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.website-browser-top span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(188, 212, 255, 0.38);
}

.website-message-card,
.website-structure-card,
.website-trust-strip,
.website-cta-lane,
.website-launch-note,
.website-mobile-preview strong,
.website-mobile-preview em {
  border: 1px solid rgba(140, 199, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.website-message-card,
.website-structure-card {
  display: grid;
  gap: 0.28rem;
  padding: 0.86rem;
}

.website-message-card {
  grid-column: 1 / 2;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.26), rgba(143, 92, 255, 0.14));
}

.website-structure-card {
  grid-column: 1 / 2;
}

.website-message-card strong,
.website-structure-card strong,
.website-cta-lane strong,
.website-mobile-preview strong {
  color: var(--color-text);
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1.1;
}

.website-message-card em,
.website-structure-card em,
.website-mobile-preview em,
.website-launch-note {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.website-trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(188, 212, 255, 0.12);
}

.website-trust-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: #d7e5fa;
  background: rgba(5, 8, 20, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
}

.website-cta-lane {
  grid-column: 2 / 3;
  grid-row: 2 / 5;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 0.9rem;
}

.website-cta-lane span {
  position: relative;
  height: 66px;
  border: 1px solid rgba(140, 199, 255, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(140, 199, 255, 0.22), transparent 62%),
    rgba(255, 255, 255, 0.05);
}

.website-cta-lane span::after {
  content: "";
  position: absolute;
  right: -0.45rem;
  top: 50%;
  width: 1.8rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(140, 199, 255, 0.74), transparent);
}

.website-cta-lane strong {
  display: inline-flex;
  justify-content: center;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-accent));
  box-shadow: 0 0 34px rgba(140, 199, 255, 0.32);
}

.website-launch-note {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  padding: 0.58rem 0.7rem;
  color: #d7e5fa;
  background: rgba(102, 255, 201, 0.08);
  border-color: rgba(102, 255, 201, 0.2);
}

.website-mobile-preview {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 220px;
  padding: 1rem 0.72rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 26, 49, 0.88), rgba(5, 8, 20, 0.82));
}

.website-mobile-preview strong,
.website-mobile-preview em {
  display: grid;
  min-height: 34px;
  place-items: center;
  text-align: center;
}

.website-mobile-preview span {
  height: 9px;
  border-radius: 999px;
  background: rgba(183, 195, 215, 0.5);
}

.website-mobile-preview span:nth-of-type(2) {
  width: 72%;
}

.website-mobile-preview em {
  color: var(--color-text);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.84), rgba(143, 92, 255, 0.72));
}

.app-workspace,
.app-workspace span {
  border-radius: var(--radius);
}

.app-workspace {
  display: grid;
  grid-template-columns: minmax(112px, 0.68fr) minmax(0, 1.2fr) minmax(104px, 0.62fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  width: 100%;
  min-height: clamp(260px, 28vw, 350px);
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.1), transparent 42%),
    rgba(5, 8, 20, 0.76);
}

.app-workspace span {
  min-height: 0;
  border: 0;
  background: transparent;
}

.app-metrics-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.app-metrics-strip span,
.app-queue-list,
.app-record-panel,
.app-action-panel {
  border: 1px solid rgba(140, 199, 255, 0.2);
  background: rgba(255, 255, 255, 0.052);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.app-metrics-strip span {
  display: grid;
  gap: 0.12rem;
  min-height: 56px;
  align-content: center;
  padding: 0.62rem 0.7rem;
}

.app-metrics-strip strong,
.app-queue-list strong,
.app-record-panel strong,
.app-action-panel strong {
  color: var(--color-text);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.12;
}

.app-metrics-strip em,
.app-queue-list span,
.app-record-panel span,
.app-action-panel span {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.app-queue-list,
.app-record-panel,
.app-action-panel {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-height: 0;
  padding: 0.86rem;
}

.app-queue-list span,
.app-record-panel span,
.app-action-panel span {
  display: flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(140, 199, 255, 0.15);
  padding: 0 0.58rem;
  background: rgba(5, 8, 20, 0.46);
}

.app-queue-list .is-selected {
  color: var(--color-text);
  border-color: rgba(140, 199, 255, 0.35);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.26), rgba(143, 92, 255, 0.16));
}

.app-record-panel {
  background: rgba(140, 199, 255, 0.075);
}

.app-action-panel span:first-of-type {
  color: var(--color-text);
  border-color: rgba(102, 255, 201, 0.24);
  background: rgba(102, 255, 201, 0.08);
}

.visual-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.visual-flow::after,
.visual-launch::after,
.visual-rescue::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 199, 255, 0.62), transparent);
}

.flow-step,
.map-step,
.launch-item,
.check-item {
  z-index: 1;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(140, 199, 255, 0.26);
  border-radius: var(--radius);
  padding: 0.75rem;
  color: #d7e5fa;
  background: rgba(5, 8, 20, 0.82);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 900;
  line-height: 1.18;
  text-transform: none;
}

.flow-step::after,
.launch-item::after {
  display: none;
}

.service-page-visual .flow-step,
.service-page-visual .map-step {
  min-height: clamp(82px, 7vw, 104px);
  padding: 1rem;
}

.visual-layers {
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding-inline: clamp(1.4rem, 4vw, 3rem);
}

.visual-layers::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(140, 199, 255, 0.58), transparent);
}

.visual-layers .map-step {
  width: min(420px, 92%);
}

.visual-layers .map-step:nth-child(odd) {
  justify-self: start;
}

.visual-layers .map-step:nth-child(even) {
  justify-self: end;
}

.visual-layers span:nth-child(1),
.visual-layers span:nth-child(2),
.visual-layers span:nth-child(3),
.visual-layers span:nth-child(4) {
  transform: none;
}

.visual-launch {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  align-content: center;
  align-items: center;
}

.launch-item::before,
.check-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #9bf7d9;
  box-shadow: 0 0 16px rgba(155, 247, 217, 0.42);
}

.launch-item {
  min-height: clamp(96px, 10vw, 124px);
  flex-direction: column;
  gap: 0.38rem;
  padding: 1rem 0.75rem;
}

.launch-item::before {
  width: 14px;
  height: 14px;
  margin: 0 0 0.2rem;
  outline: 6px solid rgba(155, 247, 217, 0.07);
}

.launch-item strong,
.rescue-stage strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(0.92rem, 1.05vw, 1.04rem);
  line-height: 1.12;
}

.launch-item small,
.rescue-stage small {
  display: block;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.launch-verification-rail {
  grid-column: 1 / -1;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: center;
  margin: 0.55rem auto 0;
  width: min(420px, 78%);
}

.launch-verification-rail span {
  min-height: 0;
  display: block;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(140, 199, 255, 0.28), rgba(155, 247, 217, 0.78));
  box-shadow: 0 0 18px rgba(155, 247, 217, 0.18);
}

.visual-rescue {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.78rem;
  align-content: center;
  align-items: stretch;
}

.visual-rescue::after {
  left: 8%;
  right: 8%;
  top: calc(50% - 28px);
  background: linear-gradient(90deg, rgba(255, 157, 141, 0.2), rgba(140, 199, 255, 0.62), rgba(155, 247, 217, 0.58));
}

.rescue-stage {
  position: relative;
  z-index: 1;
  min-height: clamp(116px, 11vw, 142px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  padding: 0.92rem 0.65rem;
  text-align: center;
  background: rgba(5, 8, 20, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.rescue-stage span {
  align-self: center;
  min-height: 0;
  min-width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.rescue-stage--issue {
  border-color: rgba(255, 157, 141, 0.42);
}

.rescue-stage--issue span {
  color: #ffd3cc;
  background: rgba(255, 157, 141, 0.14);
}

.rescue-stage--diagnose,
.rescue-stage--repair {
  border-color: rgba(140, 199, 255, 0.34);
}

.rescue-stage--diagnose span,
.rescue-stage--repair span {
  color: var(--color-primary);
  background: rgba(140, 199, 255, 0.12);
}

.rescue-stage--repair {
  background: linear-gradient(180deg, rgba(17, 23, 54, 0.88), rgba(5, 8, 20, 0.84));
}

.rescue-stage--stabilize,
.rescue-stage--handoff {
  border-color: rgba(102, 255, 201, 0.3);
}

.rescue-stage--stabilize span,
.rescue-stage--handoff span {
  color: #9bf7d9;
  background: rgba(102, 255, 201, 0.1);
}

.rescue-stability-check {
  grid-column: 2 / 5;
  z-index: 1;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(40px, 1fr));
  gap: 0.55rem;
  align-items: center;
  margin: 0.55rem auto 0;
  width: min(440px, 86%);
  border: 1px solid rgba(102, 255, 201, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  background: rgba(5, 8, 20, 0.72);
}

.rescue-stability-check strong {
  color: #d7e5fa;
  font-size: 0.74rem;
  line-height: 1;
  white-space: nowrap;
}

.rescue-stability-check span {
  min-height: 0;
  display: block;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(140, 199, 255, 0.26), rgba(155, 247, 217, 0.76));
}

.project-card {
  background: linear-gradient(180deg, rgba(12, 20, 39, 0.92), rgba(7, 12, 26, 0.9));
}

.project-card-media {
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid rgba(188, 212, 255, 0.15);
}

.project-card-media img {
  transform: scale(1);
}

.browser-frame-bar {
  height: 34px;
  padding-left: 14px;
  background: rgba(3, 6, 17, 0.86);
}

.browser-frame-bar::after {
  content: "";
  width: min(210px, 44%);
  height: 9px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(188, 212, 255, 0.16);
}

.project-body {
  padding: 1.35rem;
}

.project-meta {
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.84rem;
  line-height: 1.2;
}

.project-card h3 {
  font-size: 1.38rem;
  line-height: 1.15;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.65;
}

.project-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  background: rgba(79, 140, 255, 0.12);
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.42);
  text-underline-offset: 0.2em;
}

.muted-link {
  border-color: rgba(188, 212, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.project-details {
  border-top-color: rgba(188, 212, 255, 0.18);
}

.project-details summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.38);
  text-underline-offset: 0.2em;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  background: #030611;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.service-hero-grid > * {
  min-width: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.content-panel,
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(11, 18, 36, 0.74);
  padding: 1.25rem;
}

.content-panel + .content-panel,
.faq-item + .faq-item {
  margin-top: 1rem;
}

.content-panel p,
.content-panel li,
.faq-item p,
.service-intro-list li {
  color: var(--color-muted);
}

.content-panel h2,
.faq-item h3 {
  font-size: 1.45rem;
}

.service-intro-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
}

.split-list {
  columns: 2;
  column-gap: 2rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
  font-weight: 850;
}

.service-cta-panel {
  margin-top: 1.5rem;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.16), rgba(143, 92, 255, 0.12));
}

.legal-page-hero {
  padding-bottom: clamp(2.6rem, 5vw, 4.2rem);
}

.legal-page-hero h1 {
  max-width: 920px;
}

.last-updated {
  margin: 1.4rem 0 0;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.legal-content {
  width: min(900px, calc(100% - 40px));
}

.legal-intro {
  margin: 0 0 2rem;
  color: var(--color-muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.legal-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

.legal-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-section h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.2;
}

.legal-section h3 {
  margin-top: 1.35rem;
}

.legal-section p,
.legal-section li,
.contact-detail-card p,
.contact-detail-card address {
  color: var(--color-muted);
}

.legal-section p,
.legal-section ul {
  margin: 0.8rem 0 0;
}

.legal-section ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.25rem;
}

.legal-section a,
.contact-detail-card a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.42);
  text-underline-offset: 0.2em;
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.contact-detail-card {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(11, 18, 36, 0.74);
  box-shadow: var(--shadow-card);
}

.contact-detail-card h2 {
  font-size: 1.15rem;
}

.contact-detail-card p,
.contact-detail-card address {
  margin: 0.55rem 0 0;
  font-style: normal;
  overflow-wrap: anywhere;
}

.support-note {
  margin-top: 2rem;
  border: 1px solid rgba(140, 199, 255, 0.24);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.16), rgba(143, 92, 255, 0.12));
}

.support-note h2 {
  font-size: 1.45rem;
}

.support-note p {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid p {
  margin: 0.35rem 0;
  color: var(--color-muted);
}

.footer-grid a {
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.75rem 0;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 255, 0.42);
  text-underline-offset: 0.2em;
}

.footer-grid img {
  width: 64px;
  height: auto;
  margin-bottom: 0.7rem;
}

.footer-grid .footer-client-login { display: inline-flex; margin-top: .55rem; font-weight: 750; text-decoration: none; }

@media (max-width: 1020px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .hero-grid,
  .service-hero-grid,
  .content-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
  }

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

  .card-grid,
  .pricing-grid,
  .services-grid,
  .summary-grid,
  .pricing-pathways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-track,
  .service-process {
    grid-template-columns: 1fr;
  }

  .process-track article {
    min-height: auto;
  }

  .process-track span {
    margin-bottom: 1rem;
  }

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

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

  .service-main-grid {
    grid-template-columns: 1fr;
  }

  .service-side-panel {
    position: static;
  }

  .service-pager--top {
    max-width: none;
  }

  .visual-flow,
  .visual-launch,
  .visual-rescue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-verification-rail,
  .rescue-stability-check {
    grid-column: 1 / -1;
    width: min(460px, 92%);
  }

  .visual-flow::after,
  .visual-launch::after,
  .visual-rescue::after {
    display: none;
  }
}

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--header-height) - 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.7rem;
    background: rgba(5, 8, 20, 0.98);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .support-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .heading-row {
    grid-template-columns: 1fr;
  }

  .filter-group {
    justify-content: flex-start;
  }

  .service-card-large {
    grid-template-columns: 1fr;
  }

  .service-visual {
    min-height: 260px;
  }

  .services-grid .service-visual {
    min-height: 0;
    block-size: 190px;
  }

  .service-main-panels.two-up,
  .example-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-pager {
    flex-wrap: nowrap;
  }

  .service-pager-link--next {
    text-align: right;
  }

  .system-map {
    min-height: auto;
    display: grid;
    gap: 0.75rem;
  }

  .system-map::before,
  .system-map::after {
    display: none;
  }

  .map-header {
    display: block;
  }

  .map-header strong {
    display: block;
    margin-top: 0.4rem;
    text-align: left;
  }

  .system-node {
    position: relative;
    inset: auto;
    width: auto;
  }

  .system-node::before {
    left: 1rem;
    right: auto;
    top: -0.42rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .legal-content {
    width: min(calc(100% - 36px), 900px);
  }

  .section {
    padding: 4.4rem 0;
  }

  h1 {
    font-size: 2.58rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-lede {
    font-size: 1.02rem;
    line-height: 1.72;
  }

  .hero-panel {
    min-height: 360px;
    padding: 1rem;
  }

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

  .card-grid,
  .pricing-grid,
  .project-grid,
  .services-grid,
  .trust-grid,
  .summary-grid,
  .pricing-pathways {
    grid-template-columns: 1fr;
  }

  .service-card-large {
    min-height: auto;
  }

  .service-page-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .service-value-headline {
    font-size: clamp(1.24rem, 6vw, 1.6rem);
  }

  .service-page-visual {
    min-height: 300px;
  }

  .visual-website {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .website-system-board {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 0.62fr);
    min-height: 238px;
    gap: 0.55rem;
    padding: 2.65rem 0.7rem 0.7rem;
  }

  .website-message-card,
  .website-structure-card {
    padding: 0.62rem;
  }

  .website-trust-strip span {
    min-height: 36px;
    font-size: 0.72rem;
  }

  .website-cta-lane {
    gap: 0.55rem;
    padding: 0.62rem;
  }

  .website-cta-lane span {
    height: 50px;
  }

  .website-mobile-preview {
    grid-template-columns: auto 1fr 0.7fr auto;
    align-items: center;
    min-height: 0;
    padding: 0.7rem;
    border-radius: var(--radius);
  }

  .website-mobile-preview strong,
  .website-mobile-preview em {
    min-height: 32px;
    padding: 0 0.5rem;
  }

  .app-workspace {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 0.78rem;
  }

  .app-metrics-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .app-metrics-strip span {
    min-height: 50px;
    padding: 0.5rem;
  }

  .app-queue-list,
  .app-record-panel,
  .app-action-panel {
    gap: 0.45rem;
    padding: 0.65rem;
  }

  .visual-browser-shell {
    left: 7%;
    right: 18%;
    top: 14%;
    bottom: 24%;
    padding: 3rem 0.85rem 0.9rem;
  }

  .visual-phone-shell {
    right: 7%;
    width: 74px;
    min-height: 138px;
  }

  .visual-dashboard,
  .visual-flow,
  .visual-layers,
  .visual-launch,
  .visual-rescue {
    grid-template-columns: 1fr;
  }

  .service-pager {
    gap: 0.5rem;
  }

  .service-pager--top {
    grid-template-columns: 1fr;
    padding: 0.55rem;
  }

  .service-pager-kicker {
    padding: 0.25rem 0.5rem 0.4rem;
  }

  .service-pager-link {
    flex: 1 1 0;
    max-width: none;
    padding: 0.36rem 0.44rem;
  }

  .service-pager--top .service-pager-link {
    min-height: 54px;
  }

  .service-pager-arrow {
    width: 1.85rem;
    height: 1.85rem;
  }

  .service-pager-link strong {
    font-size: 0.78rem;
  }

  .launch-item,
  .rescue-stage,
  .service-page-visual .flow-step,
  .service-page-visual .map-step {
    min-height: 78px;
  }

  .launch-verification-rail {
    width: 88%;
  }

  .rescue-stability-check {
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: var(--radius);
    text-align: center;
  }

  .visual-role-panel {
    grid-template-columns: 1fr;
  }

  .visual-layers .map-step {
    width: 100%;
    justify-self: stretch;
  }

  .services-grid .service-visual {
    min-height: 0;
    block-size: 170px;
  }

  .mini-browser {
    left: 18px;
    right: 54px;
  }

  .mini-phone {
    right: 18px;
    width: 66px;
  }

  .record-table {
    width: 56%;
  }

  .action-panel {
    width: 38%;
    right: 16px;
  }

  .split-list {
    columns: 1;
  }

  .trust-grid p {
    min-height: 58px;
    border-bottom: 1px solid var(--color-border);
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

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