:root {
  --ink: #121621;
  --muted: #5b6472;
  --soft: #f2eee6;
  --paper: #fffdf8;
  --line: #ded5c6;
  --green: #2f745f;
  --teal: #0f8392;
  --red: #a64338;
  --gold: #c08732;
  --blue: #2f5f8e;
  --dark: #0e1420;
  --copper: #b85c38;
  --saffron: #e1a94c;
  --aqua: #55b7c2;
  --plum: #5c4a72;
  --shadow: 0 24px 70px rgba(18, 22, 33, 0.14);
  --glow: 0 18px 48px rgba(15, 131, 146, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(18, 22, 33, 0.025) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(18, 22, 33, 0.02) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(222, 213, 198, 0.86);
  box-shadow: 0 10px 34px rgba(18, 22, 33, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, #0e1420, #1d3142 58%, #9f4f35);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(18, 22, 33, 0.18);
  font-weight: 800;
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
}

.nav a,
.nav-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  color: #333947;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
  gap: 4px;
  list-style: none;
}

.nav a:hover,
.nav-menu summary:hover,
.nav-menu:focus-within summary,
.nav-menu[open] summary {
  background: #f0e8dc;
}

.nav a[aria-current] {
  background: #ece7de;
}

.nav-menu {
  position: relative;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  content: "↓";
  color: #fff;
  background: linear-gradient(135deg, var(--dark), #7f463b);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 22, 33, 0.14);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-menu[open] summary::after,
.nav-menu:hover summary::after,
.nav-menu:focus-within summary::after {
  background: linear-gradient(135deg, #d87946, #0e1420);
  box-shadow: 0 10px 24px rgba(216, 121, 70, 0.24);
}

.nav-menu[open] summary::after {
  transform: rotate(180deg);
}

.nav-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  min-width: 238px;
  padding: 8px;
  pointer-events: none;
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 22, 33, 0.16);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(16px);
}

.nav-menu-list a {
  padding: 10px 11px;
  font-weight: 800;
}

.nav-menu:hover .nav-menu-list,
.nav-menu:focus-within .nav-menu-list,
.nav-menu[open] .nav-menu-list {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.nav .nav-cta {
  color: #fff;
  background:
    linear-gradient(135deg, var(--dark), #1d3142 60%, #6d3f38);
  box-shadow: 0 12px 28px rgba(18, 22, 33, 0.14);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark), #1d3142 58%, #6d3f38);
  border: 1px solid rgba(18, 22, 33, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 22, 33, 0.14);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nav-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle span::after {
  width: 18px;
  height: 12px;
  content: "";
  background:
    linear-gradient(#fff, #fff) 0 0 / 18px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 5px / 18px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 18px 2px no-repeat;
  transition: transform 180ms ease;
}

.site-header.nav-open .nav-toggle span::after {
  width: auto;
  height: auto;
  content: "×";
  background: none;
  font-size: 22px;
  line-height: 1;
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  min-height: calc(100svh - 74px);
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 56px) 34px;
  background:
    linear-gradient(115deg, rgba(14, 20, 32, 0.97) 0%, rgba(24, 39, 53, 0.93) 46%, rgba(151, 76, 52, 0.54) 68%, rgba(255, 253, 248, 0.98) 68.2%, #fffdf8 100%),
    linear-gradient(45deg, rgba(85, 183, 194, 0.18), transparent 42%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 20, 32, 0.94), rgba(14, 20, 32, 0.72) 36%, rgba(14, 20, 32, 0.12) 68%, rgba(14, 20, 32, 0.02)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(14, 20, 32, 0.24), rgba(14, 20, 32, 0.04) 54%, rgba(255, 253, 248, 0.78));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 110px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 253, 250, 0.94));
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #101724;
}

.scene-map {
  position: absolute;
  top: 11%;
  right: clamp(260px, 30vw, 440px);
  z-index: 1;
  width: min(620px, 44vw);
  height: min(560px, 66vh);
  pointer-events: none;
  perspective: 1100px;
  transform:
    rotateX(calc(var(--scene-y, 0) * -7deg))
    rotateY(calc(var(--scene-x, 0) * 10deg));
  transform-style: preserve-3d;
  transition: transform 260ms ease;
}

.scene-map::before,
.scene-map::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  transform-style: preserve-3d;
}

.scene-map::before {
  inset: 13% 8% 14% 4%;
  border: 1px solid rgba(139, 216, 247, 0.3);
  transform: rotateX(72deg) rotateZ(-14deg) translateZ(-90px);
  animation: sceneRing 14s linear infinite;
}

.scene-map::after {
  inset: 22% 21% 23% 18%;
  border: 1px dashed rgba(240, 185, 133, 0.42);
  transform: rotateX(67deg) rotateZ(18deg) translateZ(-40px);
  animation: sceneRingReverse 18s linear infinite;
}

.scene-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 11px 14px;
  color: #fff;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: sceneFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.scene-node::before {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  content: "";
  background: currentColor;
  border-radius: 99px;
  box-shadow: 0 0 22px currentColor;
}

.scene-node-laravel {
  top: 9%;
  left: 6%;
  color: #ff766c;
  transform: translateZ(90px);
}

.scene-node-wordpress {
  top: 48%;
  left: 2%;
  color: #6bc3e4;
  animation-delay: -1.3s;
  transform: translateZ(42px);
}

.scene-node-api {
  top: 25%;
  left: 39%;
  color: #f2c477;
  animation-delay: -2.1s;
  transform: translateZ(132px);
}

.scene-node-rbac {
  top: 58%;
  left: 42%;
  color: #6ee7a3;
  animation-delay: -0.7s;
  transform: translateZ(108px);
}

.scene-node-legacy {
  top: 77%;
  left: 21%;
  color: #c4b5fd;
  animation-delay: -1.7s;
  transform: translateZ(64px);
}

.scene-node-commerce {
  top: 14%;
  right: 2%;
  color: #ff9b76;
  animation-delay: -2.8s;
  transform: translateZ(76px);
}

.scene-link {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(183, 217, 232, 0.72), transparent);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(139, 216, 247, 0.22);
  transform-origin: left center;
  animation: scenePulse 4.8s ease-in-out infinite;
}

.scene-link-a {
  top: 22%;
  left: 22%;
  width: 30%;
  transform: rotate(17deg) translateZ(36px);
}

.scene-link-b {
  top: 38%;
  left: 50%;
  width: 34%;
  transform: rotate(-18deg) translateZ(24px);
  animation-delay: -1.2s;
}

.scene-link-c {
  top: 55%;
  left: 20%;
  width: 34%;
  transform: rotate(13deg) translateZ(20px);
  animation-delay: -2s;
}

.scene-link-d {
  top: 72%;
  left: 36%;
  width: 26%;
  transform: rotate(-34deg) translateZ(18px);
  animation-delay: -0.5s;
}

.scene-link-e {
  top: 45%;
  left: 58%;
  width: 26%;
  transform: rotate(55deg) translateZ(30px);
  animation-delay: -3s;
}

@keyframes sceneFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -13px;
  }
}

@keyframes scenePulse {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes sceneRing {
  to {
    transform: rotateX(72deg) rotateZ(346deg) translateZ(-90px);
  }
}

@keyframes sceneRingReverse {
  to {
    transform: rotateX(67deg) rotateZ(-342deg) translateZ(-40px);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: #fff;
  text-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
}

.hero-copy .eyebrow {
  color: #f2c477;
}

.hero-actions,
.tags,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin: 22px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 22, 33, 0.18);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dark), #1e3546 58%, #8b4837);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.105);
  border-color: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(12px);
}

.button-hero-contact {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  padding: 15px 24px;
  color: #121621;
  background:
    linear-gradient(135deg, #fff3c7 0%, #f4bf5d 36%, #d87946 72%, #a94734 100%);
  border-color: rgba(255, 222, 150, 0.88);
  box-shadow:
    0 20px 54px rgba(216, 121, 70, 0.36),
    0 0 0 4px rgba(255, 243, 199, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.button-hero-contact::before {
  position: absolute;
  inset: -2px auto -2px -55%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: skewX(-18deg);
  animation: ctaSweep 4.8s ease-in-out infinite;
}

.button-hero-contact::after {
  margin-left: 10px;
  content: "->";
  font-weight: 900;
}

.button-hero-contact:hover {
  border-color: rgba(255, 243, 199, 0.96);
  box-shadow:
    0 24px 64px rgba(216, 121, 70, 0.44),
    0 0 0 5px rgba(255, 243, 199, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.button-hero-proof {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes ctaSweep {
  0%,
  46% {
    left: -55%;
  }
  66%,
  100% {
    left: 120%;
  }
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.62);
}

.proof-row span {
  max-width: 260px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  backdrop-filter: blur(14px);
}

.proof-row strong {
  display: block;
  color: #fff;
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 20px;
  color: #f9fafb;
  background:
    linear-gradient(150deg, rgba(18, 24, 38, 0.7), rgba(29, 49, 66, 0.56)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px),
    var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(18px);
}

.panel-top,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  font-size: 13px;
  color: #cbd5e1;
}

.status-dot {
  position: relative;
  padding-left: 14px;
}

.status-dot::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: #55d187;
  border-radius: 99px;
  transform: translateY(-50%);
}

.metric-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
}

.metric-grid div,
.signal-card,
.mini-terminal {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.metric-grid div:hover,
.signal-card:hover {
  border-color: rgba(225, 169, 76, 0.32);
}

.metric-grid small,
.signal-title,
.mini-terminal span {
  display: block;
  color: #aebac9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.signal-card ul,
.case-body ul,
.cta-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.signal-card li,
.case-body li,
.cta-card li {
  margin: 7px 0;
}

.mini-terminal {
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mini-terminal code {
  display: block;
  margin-top: 10px;
  color: #e5e7eb;
  white-space: normal;
}

.section {
  padding: clamp(52px, 8vw, 98px) clamp(18px, 4vw, 56px);
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-visible {
  animation: revealSettle 520ms ease both;
}

.js .reveal:nth-child(2n) {
  animation-delay: 55ms;
}

.js .reveal:nth-child(3n) {
  animation-delay: 110ms;
}

@keyframes revealSettle {
  from {
    opacity: 0.72;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-wall {
  position: relative;
  overflow: hidden;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(14, 20, 32, 0.985), rgba(23, 41, 55, 0.965) 58%, rgba(65, 45, 53, 0.94)),
    var(--dark);
}

.tech-wall::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(225, 169, 76, 0.12), transparent 34%),
    linear-gradient(245deg, rgba(85, 183, 194, 0.14), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
}

.tech-heading,
.logo-groups,
.logo-cloud {
  position: relative;
  z-index: 1;
}

.tech-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(260px, 0.56fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 30px;
}

.tech-heading .eyebrow {
  color: #f0b985;
}

.tech-heading p:not(.eyebrow) {
  color: #cbd5e1;
  font-size: 18px;
}

.logo-groups {
  display: grid;
  gap: 22px;
}

.logo-group {
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-group h3 {
  margin-bottom: 14px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 12px;
}

.logo-card {
  display: grid;
  grid-template-rows: 44px auto auto;
  align-items: center;
  min-height: 154px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.logo-card:hover {
  transform: translateY(-4px) scale(1.01);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(225, 169, 76, 0.34);
}

.logo-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-card img.logo-wide {
  width: 74px;
  max-width: 100%;
}

.logo-card strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

.logo-card span {
  display: block;
  margin-top: 7px;
  color: #b8c4d4;
  font-size: 12px;
  line-height: 1.35;
}

.text-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 0;
  color: #fff;
  background: #ee672f;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.proof-matrix {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 246, 237, 0.7)),
    var(--paper);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.matrix-grid div {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.matrix-grid div::before,
.proof-paths a::before,
.case-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--copper), var(--saffron), var(--aqua));
  opacity: 0;
  transition: opacity 180ms ease;
}

.matrix-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 95, 142, 0.24);
  box-shadow: 0 18px 44px rgba(20, 24, 33, 0.08);
}

.matrix-grid div:hover::before,
.proof-paths a:hover::before,
.case-card:hover::before {
  opacity: 1;
}

.matrix-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--dark), #1f3947);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
}

.matrix-grid p {
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip div {
  min-height: 138px;
  padding: 26px;
  background: #faf7f1;
}

.strip small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.strip strong {
  display: block;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.35;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding-bottom: 28px;
}

.intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.proof-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 clamp(18px, 4vw, 56px) 28px;
}

.proof-paths a {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.proof-paths a:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 131, 146, 0.28);
  box-shadow: 0 20px 48px rgba(20, 24, 33, 0.09), var(--glow);
}

.proof-paths span,
.proof-paths strong,
.proof-paths small {
  display: block;
}

.proof-paths span {
  margin-bottom: 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-paths strong {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.proof-paths small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(56px, 8vw, 104px);
}

.case-grid.detailed {
  align-items: start;
}

.case-card {
  position: relative;
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 131, 146, 0.24);
  box-shadow: 0 22px 54px rgba(20, 24, 33, 0.1);
}

.featured-case {
  grid-column: span 2;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: auto;
}

.featured-case .case-visual {
  min-height: 100%;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.featured-case .case-body {
  padding: clamp(26px, 4vw, 42px);
}

.case-visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #eef4f2;
  border-bottom: 1px solid var(--line);
}

.case-commerce .case-visual {
  background: linear-gradient(135deg, #ebf3ef, #f8efe9);
}

.browser-bar {
  display: flex;
  gap: 7px;
  height: 38px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(20, 24, 33, 0.1);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 99px;
}

.browser-bar span:nth-child(2) {
  background: var(--gold);
}

.browser-bar span:nth-child(3) {
  background: var(--green);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 18px;
  padding: 28px;
}

.checkout-main,
.checkout-side,
.plugin-card,
.api-table,
.dash-sidebar,
.dash-main div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 24, 33, 0.1);
  border-radius: 8px;
}

.checkout-main,
.checkout-side {
  min-height: 160px;
  padding: 18px;
}

.checkout-main span,
.checkout-side span,
.checkout-side strong {
  display: block;
  height: 16px;
  margin-bottom: 14px;
  background: rgba(49, 93, 136, 0.22);
  border-radius: 99px;
}

.checkout-main span:nth-child(1) {
  width: 72%;
}

.checkout-main span:nth-child(2) {
  width: 92%;
}

.checkout-main span:nth-child(3) {
  width: 46%;
  background: rgba(47, 111, 94, 0.32);
}

.checkout-side strong {
  width: 62%;
  height: 30px;
  background: rgba(157, 63, 56, 0.24);
}

.case-body {
  padding: 24px;
}

.case-meta {
  margin-bottom: 9px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-body p {
  color: #3e4652;
}

.case-body ul {
  color: var(--muted);
}

.case-detail-grid,
.case-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

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

.case-detail-grid div,
.case-summary div {
  padding: 14px;
  background: #f8f2e8;
  border: 1px solid #e5ded2;
  border-radius: 8px;
}

.case-detail-grid strong,
.case-detail-grid span,
.case-summary strong,
.case-summary span {
  display: block;
}

.case-detail-grid strong,
.case-summary strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.case-detail-grid span,
.case-summary span {
  color: var(--muted);
  font-size: 14px;
}

.extension-map,
.plugin-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.extension-map div,
.plugin-map div {
  padding: 14px;
  background: #fffdfa;
  border: 1px solid #e5ded2;
  border-radius: 8px;
}

.extension-map strong,
.extension-map span,
.plugin-map strong,
.plugin-map span {
  display: block;
}

.extension-map strong,
.plugin-map strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.extension-map span,
.plugin-map span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.plugin-map div:nth-child(odd) {
  background: #f7fbfa;
  border-color: rgba(47, 111, 94, 0.2);
}

.plugin-map div:nth-child(even) {
  background: #fff8f2;
  border-color: rgba(183, 123, 44, 0.2);
}

.tags {
  margin-top: 18px;
}

.tags span {
  padding: 7px 10px;
  color: #303847;
  background: #f3ecdf;
  border: 1px solid #e2dbcf;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.case-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-link::after {
  margin-left: 8px;
  content: ">";
}

.case-link:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 131, 146, 0.28);
  box-shadow: var(--glow);
}

.api-visual {
  display: grid;
  grid-template-columns: 88px 1fr 88px 1fr 88px;
  align-items: center;
  gap: 10px;
  padding: 36px;
  background: linear-gradient(135deg, #edf5f8, #f4f1ea);
}

.flow-node {
  width: 82px;
  height: 82px;
  background: rgba(49, 93, 136, 0.22);
  border: 1px solid rgba(49, 93, 136, 0.28);
  border-radius: 8px;
}

.flow-node.strong {
  background: rgba(47, 111, 94, 0.28);
}

.flow-node.alt {
  background: rgba(183, 123, 44, 0.28);
}

.flow-line {
  height: 3px;
  background: rgba(20, 24, 33, 0.22);
}

.api-table {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
}

.api-table span,
.workflow-columns span,
.auth-list span,
.attribute-grid span,
.automation-card span,
.automation-rail span {
  height: 26px;
  background: rgba(49, 93, 136, 0.18);
  border-radius: 7px;
}

.automation-visual {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #eef4f2, #f6efe5);
}

.automation-rail {
  position: relative;
  display: grid;
  gap: 22px;
}

.automation-rail::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 13px;
  width: 3px;
  content: "";
  background: rgba(20, 24, 33, 0.16);
}

.automation-rail span {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  background: rgba(47, 111, 94, 0.32);
  border: 1px solid rgba(47, 111, 94, 0.25);
  border-radius: 99px;
}

.automation-card {
  display: grid;
  gap: 10px;
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 24, 33, 0.1);
  border-radius: 8px;
}

.automation-card.strong {
  align-self: end;
  background: rgba(255, 255, 255, 0.9);
}

.automation-card strong {
  display: block;
  width: 68%;
  height: 18px;
  background: rgba(157, 63, 56, 0.22);
  border-radius: 99px;
}

.automation-card span:nth-child(1) {
  width: 44%;
}

.automation-card span:nth-child(3) {
  width: 82%;
}

.healthcare-visual {
  padding: 34px;
  background: linear-gradient(135deg, #f5eeee, #eef4f2);
}

.chart-lines {
  display: grid;
  gap: 14px;
  max-width: 62%;
}

.chart-lines span {
  display: block;
  height: 16px;
  background: rgba(157, 63, 56, 0.2);
  border-radius: 99px;
}

.chart-lines span:nth-child(2) {
  width: 78%;
  background: rgba(47, 111, 94, 0.24);
}

.chart-lines span:nth-child(3) {
  width: 88%;
  background: rgba(49, 93, 136, 0.22);
}

.workflow-columns {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.workflow-columns span {
  height: 104px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 24, 33, 0.1);
}

.auth-visual {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #f5f0e7, #edf5f8);
}

.lock-shape {
  position: relative;
  width: 118px;
  height: 154px;
  margin: 0 auto;
}

.lock-shape::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 74px;
  height: 68px;
  content: "";
  border: 14px solid rgba(18, 24, 38, 0.84);
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
  box-sizing: border-box;
  z-index: 1;
}

.lock-shape::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  content: "";
  background: rgba(18, 24, 38, 0.84);
  border-radius: 8px;
  z-index: 2;
}

.auth-list {
  display: grid;
  gap: 12px;
}

.auth-list span {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 24, 33, 0.1);
}

.dashboard-visual {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  padding: 26px;
  background: linear-gradient(135deg, #edf5f8, #f7efe4);
}

.dash-sidebar {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}

.dash-sidebar span {
  height: 22px;
  background: rgba(20, 24, 33, 0.16);
  border-radius: 7px;
}

.dash-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dash-main div {
  min-height: 88px;
}

.wordpress-visual {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(170px, 1fr);
  gap: 22px;
  align-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 18% 24%, rgba(47, 111, 94, 0.18), transparent 24%),
    linear-gradient(135deg, #f5efe6, #edf3f0);
}

.commerce-hub {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 154px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 253, 250, 0.86);
  border: 1px solid rgba(20, 24, 33, 0.11);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(20, 24, 33, 0.08);
}

.commerce-hub::before,
.commerce-hub::after {
  position: absolute;
  content: "";
  border: 1px dashed rgba(49, 93, 136, 0.24);
  border-radius: 999px;
}

.commerce-hub::before {
  inset: -16px;
}

.commerce-hub::after {
  inset: -31px;
}

.commerce-hub strong,
.commerce-hub span {
  position: relative;
  z-index: 1;
  display: block;
}

.commerce-hub strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.commerce-hub span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.plugin-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plugin-orbit span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 9px;
  color: #223042;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 24, 33, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.plugin-orbit span:nth-child(3n + 1) {
  background: rgba(47, 111, 94, 0.12);
}

.plugin-orbit span:nth-child(3n + 2) {
  background: rgba(183, 123, 44, 0.13);
}

.plugin-orbit span:nth-child(3n) {
  background: rgba(49, 93, 136, 0.12);
}

.ops-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr 1.2fr;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 24, 33, 0.1);
  border-radius: 8px;
}

.ops-panel span {
  height: 16px;
  background: rgba(20, 24, 33, 0.16);
  border-radius: 99px;
}

.trust {
  color: #f8fafc;
  background: var(--dark);
}

.proof-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background: #f8f4ed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.trust .eyebrow {
  color: #f0b985;
}

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

.trust-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.trust-card p {
  color: #cbd5e1;
}

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

.capability-grid div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.capability-grid p,
.process-list span,
.cta-section p {
  color: var(--muted);
}

.process {
  background: var(--soft);
}

.fit-check {
  background: #fffdfa;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.fit-grid div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fit-grid div:nth-child(2) {
  background: #fbf0ed;
  border-color: rgba(157, 63, 56, 0.22);
}

.fit-grid div:nth-child(3) {
  background: #eef5f2;
  border-color: rgba(47, 111, 94, 0.22);
}

.fit-grid ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.fit-grid li {
  margin: 8px 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 240px;
  padding: 58px 20px 20px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.process-list li::before {
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  content: counter(step);
  color: #fff;
  background: var(--green);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 540px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 106px) clamp(18px, 4vw, 56px);
}

.cta-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-card .button {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  min-height: 72px;
  padding: 20px clamp(18px, 4vw, 56px);
  color: #cbd5e1;
  background: var(--dark);
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(135deg, var(--dark), #1f3947 52%, #8b4837);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(18, 22, 33, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scroll-top span {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.scroll-top.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  box-shadow: 0 24px 54px rgba(18, 22, 33, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.scroll-top:focus-visible {
  outline: 3px solid rgba(85, 183, 194, 0.42);
  outline-offset: 3px;
}

.contact-open {
  overflow: hidden;
}

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

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 38, 0.72);
  backdrop-filter: blur(8px);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.contact-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 48px);
}

.contact-intro,
.contact-note,
.contact-status {
  color: var(--muted);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #f2eee7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

.contact-form label,
.contact-form span {
  display: block;
}

.contact-form label span {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8d1c5;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(49, 93, 136, 0.2);
  border-color: var(--blue);
}

.contact-wide,
.contact-actions,
.contact-note,
.contact-status {
  grid-column: 1 / -1;
}

.contact-hp {
  position: absolute;
  left: -9999px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-actions .button {
  min-width: 220px;
}

.contact-actions .button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.contact-mailto,
.contact-status a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note,
.contact-status {
  margin: 0;
  font-size: 13px;
}

.contact-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.contact-status:not(:empty) {
  display: flex;
}

.contact-status::before {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.contact-status.is-success {
  color: #14543f;
  background: #e8f8ef;
  border-color: #9edbb8;
  box-shadow: 0 14px 34px rgba(47, 116, 95, 0.12);
}

.contact-status.is-success::before {
  content: "✓";
  color: #fff;
  background: #2f745f;
}

.contact-status.is-sending {
  color: #77500f;
  background: #fff7df;
  border-color: #efd391;
}

.contact-status.is-sending::before {
  content: "...";
  color: #fff;
  background: #c08732;
}

.contact-status.is-warning {
  color: #6f3f16;
  background: #fff2e3;
  border-color: #edbd86;
}

.contact-status.is-warning::before {
  content: "!";
  color: #fff;
  background: #b85c38;
}

.case-page {
  background: #fffdfa;
}

.case-hero-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  min-height: 620px;
  padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(115deg, #0e1420, #172739 62%, #3a3240),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
}

.commerce-case-hero {
  background:
    linear-gradient(115deg, #111827, #1f2937 58%, #54352c),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
}

.api-case-hero {
  background:
    linear-gradient(115deg, #101724, #172233 58%, #183a42),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
}

.case-hero-page h1 {
  max-width: 980px;
  font-size: clamp(42px, 6.2vw, 82px);
}

.case-hero-page p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.case-hero-page .eyebrow {
  color: #f0b985;
}

.case-proof-card {
  padding: 24px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.case-proof-card span {
  display: block;
  margin-bottom: 10px;
  color: #f0b985;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-proof-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.case-proof-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #d7dee9;
}

.case-proof-card li {
  margin: 8px 0;
}

.case-page-section {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 4vw, 56px);
}

.muted-band {
  background: #f4f1ea;
}

.case-page-grid,
.deep-map,
.evidence-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

.case-page-grid div,
.deep-map div,
.evidence-list div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 24, 33, 0.04);
}

.case-page-grid p,
.deep-map span,
.evidence-list span {
  color: var(--muted);
}

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

.deep-map strong,
.deep-map span,
.evidence-list strong,
.evidence-list span {
  display: block;
}

.deep-map strong,
.evidence-list strong {
  margin-bottom: 8px;
}

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

.case-page-cta {
  margin: 0;
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .cta-section,
  .tech-heading,
  .case-hero-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 80% 22%, rgba(17, 126, 139, 0.24), transparent 34%),
      linear-gradient(145deg, #0f1420 0%, #172232 62%, #fffdfa 62.2%, #fffdfa 100%);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 20, 32, 0.92), rgba(15, 20, 32, 0.58) 66%, rgba(255, 253, 250, 0.88));
  }

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

  .scene-map {
    top: auto;
    right: clamp(18px, 4vw, 56px);
    bottom: 28px;
    width: min(500px, 52vw);
    height: 430px;
  }

  .case-grid,
  .proof-paths,
  .case-page-grid,
  .deep-map,
  .evidence-list,
  .trust-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .featured-case,
  .proof-strip {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .featured-case .case-visual {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid,
  .process-list,
  .matrix-grid,
  .logo-cloud {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    grid-template-columns: 1fr;
    gap: 8px;
    order: 3;
    width: 100%;
    padding: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 229, 0.98));
    border: 0 solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(18, 22, 33, 0);
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease, border-width 180ms ease, box-shadow 180ms ease;
    scrollbar-color: rgba(184, 92, 56, 0.78) rgba(14, 20, 32, 0.08);
    scrollbar-width: thin;
  }

  .site-header.nav-open .nav {
    max-height: min(680px, calc(100svh - 104px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 10px 18px;
    pointer-events: auto;
    border-width: 1px;
    box-shadow: 0 20px 44px rgba(18, 22, 33, 0.12);
    opacity: 1;
    transform: translateY(0);
  }

  .nav a,
  .nav-menu summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(222, 213, 198, 0.72);
    font-weight: 850;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu-list {
    position: static;
    min-width: 0;
    margin-top: 7px;
    padding: 7px;
    pointer-events: auto;
    background: rgba(14, 20, 32, 0.04);
    box-shadow: none;
    opacity: 1;
    transform: none;
    display: none;
  }

  .nav-menu[open] .nav-menu-list {
    display: grid;
  }

  .nav-menu-list a {
    background: #fff;
  }

  .nav .nav-cta {
    justify-content: center;
    text-align: center;
    border-color: transparent;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: grid;
    max-height: 0;
    overflow: hidden;
    grid-template-columns: 1fr;
    gap: 8px;
    order: 3;
    width: 100%;
    padding: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 229, 0.98));
    border: 0 solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 44px rgba(18, 22, 33, 0);
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease, border-width 180ms ease, box-shadow 180ms ease;
    scrollbar-color: rgba(184, 92, 56, 0.78) rgba(14, 20, 32, 0.08);
    scrollbar-width: thin;
  }

  .site-header.nav-open .nav {
    max-height: calc(100svh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 10px 18px;
    pointer-events: auto;
    border-width: 1px;
    box-shadow: 0 20px 44px rgba(18, 22, 33, 0.12);
    opacity: 1;
    transform: translateY(0);
  }

  .nav a,
  .nav-menu summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(222, 213, 198, 0.72);
    font-weight: 850;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu-list {
    position: static;
    min-width: 0;
    margin-top: 7px;
    padding: 7px;
    pointer-events: auto;
    background: rgba(14, 20, 32, 0.04);
    box-shadow: none;
    opacity: 1;
    transform: none;
    display: none;
  }

  .nav-menu[open] .nav-menu-list {
    display: grid;
  }

  .nav-menu-list a {
    background: #fff;
  }

  .nav .nav-cta {
    justify-content: center;
    text-align: center;
    border-color: transparent;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .proof-row {
    width: 100%;
  }

  .proof-row span {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }

  h1 {
    font-size: 39px;
    line-height: 0.98;
  }

  .scene-map {
    top: 48%;
    right: -62%;
    width: 132vw;
    height: 470px;
    opacity: 0.18;
    filter: blur(0.4px);
  }

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

  .hero-scene {
    opacity: 0.82;
  }

  .strip,
  .capability-grid,
  .process-list,
  .matrix-grid,
  .logo-cloud,
  .deep-map,
  .evidence-list,
  .case-detail-grid,
  .extension-map,
  .plugin-map {
    grid-template-columns: 1fr;
  }

  .strip {
    gap: 0;
  }

  .case-card {
    grid-template-rows: 220px auto;
  }

  .featured-case {
    grid-template-rows: auto;
  }

  .case-visual {
    min-height: 220px;
  }

  .checkout-layout,
  .auth-visual,
  .dashboard-visual,
  .wordpress-visual {
    grid-template-columns: 1fr;
  }

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

  .api-visual {
    grid-template-columns: 70px 1fr 70px;
    padding: 28px;
  }

  .api-visual .flow-line:nth-of-type(4),
  .api-visual .flow-node.alt {
    display: none;
  }

  .flow-node {
    width: 68px;
    height: 68px;
  }

  .checkout-side,
  .dash-sidebar {
    display: none;
  }

  .hero-actions .button,
  .cta-card .button,
  .contact-actions .button {
    width: 100%;
  }

  .contact-modal {
    align-items: end;
    padding: 12px;
  }

  .contact-dialog {
    max-height: 94vh;
  }

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

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-top,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
