:root {
  --ink: #15130f;
  --ink-2: #242018;
  --paper: #f7f4ea;
  --paper-2: #ebe6d8;
  --muted: #736b5d;
  --line: rgba(21, 19, 15, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #fffdf6;
  --lime: #b9ff4f;
  --cyan: #4ee4d7;
  --coral: #ff6b57;
  --amber: #ffbe3d;
  --blue: #4e8cff;
  --violet: #9a7cff;
  --shadow: 0 24px 70px rgba(19, 17, 12, 0.18);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
  --font: "Inter", Arial, sans-serif;
  --display: "Space Grotesk", "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  display: block;
  fill: currentColor;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100vw - 28px));
  min-height: 68px;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  background: rgba(21, 19, 15, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 58px;
  background: rgba(21, 19, 15, 0.91);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand span {
  white-space: nowrap;
  font-size: 1.05rem;
}

.desktop-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
  color: rgba(255, 253, 246, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

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

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

.header-action,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.header-action {
  gap: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.header-action svg,
.menu-toggle svg,
.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  position: fixed;
  top: 90px;
  right: 14px;
  left: 14px;
  z-index: 45;
  display: none;
  padding: 12px;
  color: var(--white);
  background: rgba(21, 19, 15, 0.96);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.mobile-menu a {
  display: block;
  min-height: 46px;
  padding: 12px 10px;
  border-radius: var(--radius);
  font-weight: 800;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 24%, rgba(185, 255, 79, 0.1), transparent 28%),
    radial-gradient(circle at 82% 34%, rgba(78, 228, 215, 0.12), transparent 30%),
    linear-gradient(140deg, #12120f, #1d1a14 48%, #282219);
}

.hero::before {
  position: absolute;
  inset: -18px;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 18, 15, 0.92), rgba(18, 18, 15, 0.66) 42%, rgba(18, 18, 15, 0.76)),
    linear-gradient(140deg, rgba(185, 255, 79, 0.08), rgba(78, 228, 215, 0.06) 48%, rgba(18, 18, 15, 0.5)),
    url("assets/hero-coding-bg.jpg") center 48% / cover;
  content: "";
  filter: blur(5px) saturate(0.92) contrast(1.12);
  opacity: 0.9;
  transform: scale(1.07);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 92px;
  background: linear-gradient(to bottom, rgba(18, 18, 15, 0), var(--ink));
  content: "";
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent);
}

.signal {
  position: absolute;
  width: 42vw;
  max-width: 680px;
  min-width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(185, 255, 79, 0.42);
  border-radius: 50%;
  opacity: 0.22;
  animation: pulse 8s ease-in-out infinite;
}

.signal-one {
  top: 18%;
  right: -14%;
}

.signal-two {
  bottom: 8%;
  left: -16%;
  border-color: rgba(78, 228, 215, 0.46);
  animation-delay: -3s;
}

.float-token {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  padding: 8px 13px;
  color: rgba(255, 253, 246, 0.78);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.token-one {
  top: 22%;
  right: 28%;
}

.token-two {
  right: 8%;
  bottom: 22%;
}

.token-three {
  bottom: 12%;
  left: 3%;
  opacity: 0.42;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 152px 0 106px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.hero-copy-block {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(2.24rem, 4vw, 3.85rem);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.06;
  overflow-wrap: break-word;
}

.hero-copy {
  width: 100%;
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 253, 246, 0.82);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  perspective: 1200px;
}

.device-window,
.floating-card,
.media-panel,
.studio-note {
  will-change: transform;
}

.device-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.08);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.main-window {
  position: absolute;
  top: 24px;
  right: 0;
  width: min(520px, 100%);
  transform: rotate(2deg);
}

.window-top {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-top span:nth-child(2) {
  background: var(--amber);
}

.window-top span:nth-child(3) {
  background: var(--lime);
}

.window-top strong {
  margin-left: auto;
  color: rgba(255, 253, 246, 0.56);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.window-body {
  position: relative;
  min-height: 420px;
}

.window-body img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  filter: saturate(1.08) contrast(1.02);
}

.dashboard-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(21, 19, 15, 0.72);
  backdrop-filter: blur(18px);
}

.dashboard-overlay small,
.floating-card span,
.floating-card small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 253, 246, 0.62);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-overlay strong,
.floating-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(21, 19, 15, 0.78);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.card-code {
  top: 390px;
  left: 0;
}

.card-code strong {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.98rem;
}

.card-metric {
  right: 24px;
  bottom: 12px;
  width: 170px;
}

.card-metric strong {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 2.4rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  isolation: isolate;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.46) 28%, transparent 48%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 520ms ease, opacity 220ms ease;
}

.button::after {
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: calc(var(--radius) - 1px);
  content: "";
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
  transform: translateX(120%);
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow:
    0 0 0 1px rgba(185, 255, 79, 0.45),
    0 14px 34px rgba(185, 255, 79, 0.24),
    0 0 42px rgba(185, 255, 79, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c5ff64;
  box-shadow:
    0 0 0 1px rgba(185, 255, 79, 0.7),
    0 18px 48px rgba(185, 255, 79, 0.34),
    0 0 70px rgba(185, 255, 79, 0.32);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.24),
    0 0 36px rgba(78, 228, 215, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(78, 228, 215, 0.55);
  background: rgba(78, 228, 215, 0.11);
  box-shadow:
    0 0 0 1px rgba(78, 228, 215, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.28),
    0 0 58px rgba(78, 228, 215, 0.18);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 760px;
}

.trust-row span,
.stack-tags span,
.cta-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 253, 246, 0.8);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.intro-band {
  padding: 54px 0;
  background: var(--ink);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.intro-grid p {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.intro-stat {
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.intro-stat strong,
.intro-stat span {
  display: block;
}

.intro-stat strong {
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 1.05rem;
}

.intro-stat span {
  color: rgba(255, 253, 246, 0.72);
}

.diagnostic-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 18, 15, 0.96), rgba(27, 27, 22, 0.92)),
    url("assets/hero-coding-bg.jpg") center / cover;
}

.diagnostic-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(185, 255, 79, 0.16), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(78, 228, 215, 0.12), transparent 34%);
  content: "";
  pointer-events: none;
}

.diagnostic-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

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

.diagnostic-copy .eyebrow {
  color: var(--lime);
}

.diagnostic-copy p:not(.eyebrow) {
  color: rgba(255, 253, 246, 0.76);
  font-size: 1.08rem;
}

.diagnostic-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.diagnostic-promise span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  color: rgba(255, 253, 246, 0.82);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
  font-weight: 800;
}

.diagnostic-panel {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(18, 18, 15, 0.76);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.diagnostic-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(185, 255, 79, 0.13), transparent 38%, rgba(78, 228, 215, 0.1));
  content: "";
  pointer-events: none;
}

.diagnostic-panel > * {
  position: relative;
}

.diagnostic-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diagnostic-topline span,
.diagnostic-result small,
.solution-map-output > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagnostic-topline strong {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1.4rem;
}

.diagnostic-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.diagnostic-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  box-shadow: 0 0 26px rgba(185, 255, 79, 0.34);
  transition: width 220ms ease;
}

.diagnostic-question {
  display: grid;
  gap: 10px;
}

.diagnostic-question p {
  margin: 0;
  color: rgba(255, 253, 246, 0.86);
  font-weight: 900;
}

.diagnostic-options,
.solution-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diagnostic-options button,
.solution-map-tabs button {
  min-height: 40px;
  padding: 8px 12px;
  color: rgba(255, 253, 246, 0.76);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.diagnostic-options button:hover,
.diagnostic-options button:focus-visible,
.diagnostic-options button.is-active,
.solution-map-tabs button:hover,
.solution-map-tabs button:focus-visible,
.solution-map-tabs button.is-active {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
  transform: translateY(-2px);
}

.diagnostic-result {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.diagnostic-result h3,
.solution-map-output h3,
.transformation-card strong {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.08;
}

.diagnostic-result h3 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.diagnostic-result p {
  margin: 0;
  color: rgba(255, 253, 246, 0.74);
}

.diagnostic-result ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 0;
  list-style: none;
}

.diagnostic-result li {
  display: flex;
  gap: 10px;
  color: rgba(255, 253, 246, 0.86);
  font-weight: 800;
}

.diagnostic-result li::before {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(185, 255, 79, 0.4);
  content: "";
}

.diagnostic-cta {
  width: fit-content;
  margin-top: 4px;
}

.logo-marquee-section {
  overflow: hidden;
  padding: 34px 0 38px;
  color: var(--white);
  background: #0f0e0b;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
}

.marquee-label {
  width: var(--container);
  margin: 0 auto 18px;
  color: rgba(255, 253, 246, 0.52);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-marquee {
  position: relative;
  display: flex;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 58px;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 58px;
}

.logo-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.logo-item {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  color: rgba(255, 253, 246, 0.72);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

.logo-item:hover {
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
}

.logo-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.1));
}

.logo-item img.logo-invert {
  filter: invert(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.1));
}

.logo-item img.logo-openai-wordmark {
  width: 118px;
  height: 32px;
}

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

.studio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.studio-copy {
  max-width: 520px;
}

.studio-copy h2 {
  margin-bottom: 18px;
}

.studio-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.studio-media {
  position: relative;
  min-height: 560px;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.media-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-large {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 460px;
}

.panel-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 280px;
}

.studio-note {
  position: absolute;
  right: 26px;
  bottom: 42px;
  width: min(360px, 70%);
  padding: 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(21, 19, 15, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.studio-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-note strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.22;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.split {
  grid-template-columns: 1.1fr 0.75fr;
  max-width: none;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(1.82rem, 3.15vw, 3.05rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.08;
}

h3 {
  font-family: var(--display);
}

.section-heading > p,
.section-heading.split > p,
.method-copy p,
.cta-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

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

.service-card,
.case-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-card {
  min-height: 294px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card:hover {
  border-color: rgba(21, 19, 15, 0.28);
  background: var(--white);
  transform: translateY(-5px);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  color: var(--ink);
  background: var(--lime);
  border-radius: var(--radius);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.icon-badge.green {
  background: #64e383;
}

.icon-badge.coral {
  background: var(--coral);
}

.icon-badge.amber {
  background: var(--amber);
}

.icon-badge.blue {
  background: var(--blue);
}

.icon-badge.violet {
  background: var(--violet);
}

.service-card h3,
.case-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.12;
}

.service-card p,
.case-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.solution-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.solution-map-grid > div:first-child > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.06rem;
}

.solution-map-tabs {
  margin-top: 28px;
}

.solution-map-tabs button {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.solution-map-output {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 430px;
  align-content: center;
  padding: clamp(28px, 5vw, 46px);
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 19, 15, 0.96), rgba(31, 30, 24, 0.92)),
    url("assets/hero-coding-bg.jpg") center / cover;
  box-shadow: var(--shadow);
}

.solution-map-output::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 20%, rgba(185, 255, 79, 0.2), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(78, 228, 215, 0.16), transparent 34%);
  content: "";
}

.solution-map-output > * {
  position: relative;
}

.solution-map-output h3 {
  max-width: 680px;
  font-size: clamp(1.75rem, 2.7vw, 2.72rem);
}

.solution-map-output p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 253, 246, 0.74);
  font-size: 1.06rem;
}

.solution-map-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.solution-map-stack span {
  min-height: 36px;
  padding: 8px 11px;
  color: rgba(255, 253, 246, 0.86);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

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

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

.transformation-card {
  display: grid;
  min-height: 280px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.68);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.transformation-card:hover {
  border-color: rgba(21, 19, 15, 0.24);
  background: var(--white);
  transform: translateY(-5px);
}

.transformation-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  color: var(--coral);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.transformation-card strong {
  display: block;
  margin: 38px 0 12px;
  color: var(--ink);
  font-size: 1.45rem;
}

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

.lab-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 18, 15, 0.97), rgba(30, 29, 23, 0.95)),
    url("assets/hero-coding-bg.jpg") center / cover;
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.lab-copy .eyebrow,
.loss-result .eyebrow {
  color: var(--lime);
}

.lab-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 253, 246, 0.74);
  font-size: 1.08rem;
}

.lab-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.lab-modules button {
  min-height: 44px;
  padding: 9px 13px;
  color: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.lab-modules button:hover,
.lab-modules button:focus-visible,
.lab-modules button.is-active {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
  transform: translateY(-2px);
}

.lab-output {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 480px;
  align-content: center;
  padding: clamp(26px, 5vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(18, 18, 15, 0.78);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.lab-output::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(185, 255, 79, 0.16), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(78, 228, 215, 0.16), transparent 30%);
  content: "";
}

.lab-output > * {
  position: relative;
}

.lab-output > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-output h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.78rem, 3vw, 2.95rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.lab-output p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 253, 246, 0.74);
  font-size: 1.06rem;
}

.lab-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.lab-stack span {
  min-height: 36px;
  padding: 8px 11px;
  color: rgba(255, 253, 246, 0.86);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.lab-cta {
  width: fit-content;
  margin-top: 10px;
}

.loss-section {
  color: var(--white);
  background: var(--ink);
}

.loss-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.loss-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.loss-control {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.loss-control label {
  color: rgba(255, 253, 246, 0.84);
  font-weight: 900;
}

.loss-control strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.6rem;
}

.drag-cue {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 255, 79, 0.42);
  border-radius: 50%;
  background: rgba(185, 255, 79, 0.1);
  box-shadow: 0 0 24px rgba(185, 255, 79, 0.18);
}

.drag-cue::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow:
    -7px 0 0 rgba(185, 255, 79, 0.42),
    7px 0 0 rgba(185, 255, 79, 0.42);
  content: "";
}

.loss-control input {
  grid-column: 1 / -1;
  width: 100%;
  height: 32px;
  accent-color: var(--lime);
  cursor: grab;
  appearance: none;
  background: transparent;
}

.loss-control input:active {
  cursor: grabbing;
}

.loss-control input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(185, 255, 79, 0.95), rgba(78, 228, 215, 0.74)),
    rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.loss-control input::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  appearance: none;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(185, 255, 79, 0.16), 0 0 26px rgba(185, 255, 79, 0.5);
}

.loss-control input::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.loss-control input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 255, 79, 0.95), rgba(78, 228, 215, 0.74));
}

.loss-control input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(185, 255, 79, 0.16), 0 0 26px rgba(185, 255, 79, 0.5);
}

.loss-result h2 {
  max-width: 720px;
}

.loss-number {
  display: grid;
  gap: 4px;
  margin: 28px 0 18px;
}

.loss-number strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: 0 0 50px rgba(185, 255, 79, 0.24);
}

.loss-number span {
  color: rgba(255, 253, 246, 0.86);
  font-size: 1.15rem;
  font-weight: 900;
}

.loss-result p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 253, 246, 0.74);
  font-size: 1.08rem;
}

.loss-cta {
  width: fit-content;
  margin-top: 12px;
}

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

.case-card {
  min-height: 250px;
  padding: 24px;
  transition: transform 160ms ease, background 160ms ease;
}

.case-card.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.case-card:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.case-card.featured:hover {
  background: var(--ink-2);
}

.case-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card.featured span {
  color: var(--lime);
}

.case-card.featured p {
  color: rgba(255, 253, 246, 0.72);
}

.method-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 19, 15, 0.98), rgba(35, 32, 25, 0.96)),
    url("assets/image2.png") center / cover;
}

.method-heading {
  max-width: 760px;
}

.method-heading .eyebrow {
  color: var(--lime);
}

.method-heading p {
  color: rgba(255, 253, 246, 0.72);
}

.method-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.method-line {
  position: absolute;
  top: 86px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--amber));
  opacity: 0.72;
}

.method-step {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 310px;
  padding: 36px 26px 30px;
  border-right: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.method-step:hover,
.method-step:focus-within {
  z-index: 2;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: scale(1.035);
}

.method-step:last-child {
  border-right: 0;
}

.method-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 46px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(185, 255, 79, 0.12);
}

.method-step:nth-of-type(2) span {
  background: var(--cyan);
}

.method-step:nth-of-type(3) span {
  background: var(--amber);
}

.method-step:nth-of-type(4) span {
  color: var(--white);
  background: var(--coral);
}

.method-step h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.method-step p {
  margin: 0;
  color: rgba(255, 253, 246, 0.7);
}

.stack-section {
  padding-block: 78px;
  background: var(--white);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.stack-grid h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.35vw, 3.18rem);
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
}

.stack-tags span {
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.stack-tags img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.stack-tags img.stack-logo-invert {
  width: 68px;
}

.cta-section {
  background:
    linear-gradient(140deg, rgba(21, 19, 15, 0.97), rgba(36, 32, 24, 0.9)),
    url("assets/image2.png") center / cover;
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.cta-copy .eyebrow {
  color: var(--lime);
}

.cta-copy p {
  color: rgba(255, 253, 246, 0.76);
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: rgba(255, 253, 246, 0.94);
}

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

.lead-form label,
.lead-form label span {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.lead-form textarea {
  min-height: 124px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(185, 255, 79, 0.42);
}

.form-button {
  position: relative;
  width: 100%;
  min-height: 54px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(185, 255, 79, 0.6),
    0 20px 54px rgba(185, 255, 79, 0.3),
    0 0 78px rgba(185, 255, 79, 0.24);
}

.form-button::after {
  position: absolute;
  inset: -60% auto -60% -30%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(18deg) translateX(-140%);
  animation: button-sweep 3.4s ease-in-out infinite;
}

.form-button > * {
  position: relative;
  z-index: 1;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 253, 246, 0.72);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-brandline {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brandline img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.footer-grid p {
  max-width: 520px;
  margin-bottom: 0;
}

.footer-top-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--lime);
  font-weight: 900;
}

.footer-top-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.88);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes button-sweep {
  0%,
  42% {
    transform: rotate(18deg) translateX(-160%);
  }
  62%,
  100% {
    transform: rotate(18deg) translateX(420%);
  }
}

.admin-page {
  min-height: 100vh;
  background: var(--ink);
}

.admin-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.admin-login {
  width: min(460px, 100%);
  margin: 8vh auto 0;
  padding: 30px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.admin-login img,
.admin-topbar img {
  width: 58px;
  height: 58px;
}

.admin-login h1,
.admin-topbar h1 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.admin-login p {
  color: rgba(255, 253, 246, 0.7);
}

.admin-login form,
.admin-login label {
  display: grid;
  gap: 10px;
}

.admin-login input,
.contact-manage select,
.contact-manage textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-alert {
  margin-bottom: 16px;
  padding: 12px;
  color: var(--ink);
  background: var(--amber);
  border-radius: var(--radius);
  font-weight: 800;
}

.admin-topbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 18px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.admin-topbar > div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-topbar .eyebrow {
  margin-bottom: 4px;
  color: var(--lime);
}

.admin-topbar h1 {
  margin-bottom: 0;
}

.admin-topbar a,
.admin-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 800;
}

.admin-topbar a {
  color: var(--ink);
  background: var(--lime);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-filters a {
  color: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
}

.admin-filters a.is-active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.empty-state,
.contact-card {
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.empty-state {
  padding: 28px;
}

.empty-state h2 {
  font-size: 1.7rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 20px;
  padding: 22px;
}

.contact-main h2 {
  margin: 14px 0 8px;
  font-size: 1.9rem;
}

.contact-main > p {
  color: rgba(255, 253, 246, 0.76);
}

.contact-main dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.contact-main dl div {
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact-main dt {
  color: rgba(255, 253, 246, 0.54);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-main dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--lime);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
}

.status-em_contato {
  background: var(--cyan);
}

.status-proposta {
  background: var(--amber);
}

.status-fechado {
  background: #64e383;
}

.status-arquivado {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.contact-manage {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-manage label,
.contact-manage label span {
  display: grid;
  gap: 7px;
}

.contact-manage label span {
  color: rgba(255, 253, 246, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

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

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
  }

  .hero-content {
    padding-top: 150px;
    padding-bottom: 86px;
  }

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

  .hero-copy-block {
    max-width: 760px;
  }

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

  .main-window {
    right: auto;
    left: 0;
    width: min(680px, 100%);
  }

  .card-code {
    top: 350px;
    left: 28px;
  }

  .card-metric {
    right: 28px;
    bottom: 20px;
  }

  .intro-grid,
  .diagnostic-grid,
  .studio-grid,
  .lab-grid,
  .loss-grid,
  .solution-map-grid,
  .section-heading.split,
  .stack-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .method-copy {
    position: static;
  }

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

  .method-board,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .method-line {
    display: none;
  }

  .method-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .method-step:last-child {
    border-bottom: 0;
  }

  .method-step span {
    margin-bottom: 20px;
  }

  .diagnostic-copy {
    max-width: 760px;
  }

  .solution-map-output {
    min-height: 360px;
  }

  .lab-output {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(1180px, calc(100vw - 28px));
  }

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

  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
    min-height: 60px;
    padding: 9px 10px 9px 12px;
  }

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

  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu {
    top: 78px;
    right: 10px;
    left: 10px;
  }

  .hero-content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-top: 132px;
    padding-bottom: 70px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.08rem, 8vw, 2.9rem);
    line-height: 1.06;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .trust-row span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-width: 0;
    font-size: 0.8rem;
  }

  .float-token {
    display: none;
  }

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

  .main-window {
    position: relative;
    top: 0;
    width: 100%;
    transform: none;
  }

  .window-body,
  .window-body img {
    height: 340px;
    min-height: 340px;
  }

  .floating-card {
    position: relative;
    width: 100%;
    margin-top: 12px;
    inset: auto;
  }

  .card-metric strong {
    font-size: 2rem;
  }

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

  .panel-large {
    width: 88%;
    height: 380px;
  }

  .panel-small {
    width: 58%;
    height: 230px;
  }

  .studio-note {
    right: 0;
    bottom: 20px;
    width: 82%;
  }

  .section {
    padding-block: 70px;
  }

  .service-grid,
  .case-grid,
  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .case-card,
  .transformation-card {
    min-height: auto;
    padding: 22px;
  }

  .diagnostic-panel {
    padding: 20px;
  }

  .diagnostic-options button,
  .solution-map-tabs button,
  .lab-modules button {
    flex: 1 1 100%;
  }

  .diagnostic-cta,
  .lab-cta,
  .loss-cta {
    width: 100%;
  }

  .loss-panel,
  .lab-output {
    padding: 22px;
  }

  .loss-number strong {
    font-size: clamp(3.3rem, 18vw, 5.4rem);
  }

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

  .footer-brandline {
    align-items: flex-start;
  }

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

  .admin-topbar,
  .admin-topbar > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    left: 10px;
    width: min(362px, calc(100vw - 20px));
    transform: none;
  }

  .mobile-menu {
    right: auto;
    left: 10px;
    width: min(362px, calc(100vw - 20px));
    transform: none;
  }

  .hero-content {
    width: min(362px, calc(100vw - 28px));
    max-width: min(362px, calc(100vw - 28px));
    margin-left: 14px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(1.92rem, 7.6vw, 2.18rem);
  }

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

  .window-top strong {
    display: none;
  }

  .window-body,
  .window-body img {
    height: 260px;
    min-height: 260px;
  }

  .dashboard-overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 14px;
  }

  .studio-media {
    min-height: 420px;
  }

  .panel-large {
    width: 100%;
    height: 300px;
  }

  .panel-small {
    width: 62%;
    height: 190px;
  }

  .studio-note {
    width: 88%;
    padding: 16px;
  }
}

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