:root {
  --ink: #101316;
  --paper: #f7f4ee;
  --muted: #66706f;
  --line: rgba(16, 19, 22, 0.14);
  --glass: rgba(247, 244, 238, 0.76);
  --hero-bg: none;
  --mint: #46e6b2;
  --coral: #ff6f61;
  --blue: #68a7ff;
  --gold: #ffc857;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Inter", "DM Sans", "Manrope", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: none;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: none;
  pointer-events: none;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img,
video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(5, 11, 31, 0.85) 0%, rgba(13, 27, 82, 0.85) 30%, rgba(15, 31, 102, 0.85) 55%, rgba(60, 111, 255, 0.85) 100%);
  box-shadow: 0 6px 24px rgba(6, 13, 33, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0;
  border-radius: 0;
  transition: box-shadow 260ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 36px;
  background: linear-gradient(to bottom, rgba(6, 13, 33, 0.14), rgba(6, 13, 33, 0));
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(6, 13, 33, 0.3);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.site-header.is-open::after {
  opacity: 0;
}

.brand,
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.nav-primary,
.nav-actions {
  display: inline-flex;
  align-items: center;
}

.nav-primary {
  gap: 26px;
}

.nav-actions {
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-weight: 800;
  text-transform: none;
  font-size: 14px;
  transition: transform 200ms ease;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

nav a {
  padding: 12px 16px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  transition: all 200ms ease;
  position: relative;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-actions a,
.nav-actions button {
  padding: 0 20px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  font-weight: 700;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-actions button {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border-radius: 50%;
}

.nav-actions button:hover,
.nav-actions a:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #3c6fff 0%, #1a4bff 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(6, 13, 33, 0.32);
}

.button-primary:hover {
  box-shadow: 0 14px 30px rgba(6, 13, 33, 0.36);
}

.button.button-primary {
  background: linear-gradient(135deg, #3c6fff 0%, #1a4bff 100%);
  border-color: transparent;
  color: #ffffff;
}

.button-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.nav-actions button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.account-link {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

main {
  overflow: visible;
}

.section-panel {
  position: relative;
  z-index: 3;
  scroll-margin-top: 100px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

.section-panel > * {
  position: relative;
  z-index: 5;
}

.section-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.18), transparent 1px),
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.22), transparent 1px),
    radial-gradient(circle at 72% 74%, rgba(255, 255, 255, 0.2), transparent 1px),
    var(--hero-bg) center / cover no-repeat,
    #050607;
  background-size: 160px 160px, 260px 260px, 390px 390px, cover, auto;
  animation: earthDrift 28s ease-in-out infinite alternate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(0.82);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 52px;
  top: auto;
  bottom: 42px;
  max-width: 760px;
  z-index: 3;
}

.hero-content.hero-brand-content {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
}

.hero-brand-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  opacity: 0;
  transform: translateY(12px);
  animation: heroBrandReveal 1.1s cubic-bezier(0.19, 1, 0.22, 1) 0.45s forwards;
}

.hero-brand-logo {
  height: clamp(52px, 6.5vw, 92px);
  width: auto;
  display: block;
  filter: invert(1);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-brand span {
  font-size: clamp(44px, 7.5vw, 108px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(90deg, #ffffff 35%, #0044ff 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: heroBrandReveal 1.1s cubic-bezier(0.19, 1, 0.22, 1) 0.15s forwards;
  transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-brand span:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 44px rgba(60, 111, 255, 0.7));
}

@keyframes heroBrandReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-content .hero-brand::after {
  content: none;
}

.hero-content h1 {
  position: relative;
  font-size: clamp(64px, 7.2vw, 112px);
  line-height: 0.96;
  margin: 0 0 34px;
}

.hero-content h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f1f66, #3c6fff);
}

.hero-highlight {
  color: #3c6fff;
  text-shadow: 0 6px 24px rgba(60, 111, 255, 0.38);
}

.hero-nowrap {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}

.hero-content .eyebrow {
  color: #3c6fff;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-content p {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  min-height: 64px;
  padding: 0 40px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #3c6fff 0%, #1a4bff 100%);
  color: #ffffff;
  border: 1px solid #3c6fff;
  box-shadow: 0 14px 34px rgba(60, 111, 255, 0.35);
}

.btn-outline {
  background: rgba(2, 8, 20, 0.35);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-control {
  position: absolute;
  right: 42px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-toggle {
  min-width: 88px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.62);
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
}

.hero-toggle:hover {
  background: rgba(14, 22, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

.icon-btn {
  width: 36px;
  height: 36px;
  position: relative;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.icon-btn:active {
  transform: scale(0.96);
}

.icon-btn:focus {
  outline: none;
}

.icon-btn:focus-visible {
  outline: none;
}

@media (max-width: 768px) {
  .hero-content {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 108px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 13vw, 72px);
    margin-bottom: 26px;
  }

  .hero-content p {
    font-size: 18px;
    max-width: 480px;
  }

  .btn {
    min-height: 56px;
    padding: 0 24px;
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .hero-control {
    right: 20px;
    bottom: 20px;
  }
}

.hero-support {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.mission-console,
.mission-links {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  pointer-events: none;
  animation: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36) 52%, rgba(0, 0, 0, 0.76)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), #000000);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: 40px;
  line-height: 1.06;
  font-weight: 780;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p,
.contact-info p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.portfolio {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.portfolio.section-panel {
  min-height: auto;
  align-items: start;
  padding-top: 160px;
  padding-bottom: 60px;
  background: #ffffff;
}
.portfolio-hero {
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}
.portfolio-hero .section-heading {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.portfolio-hero .section-heading h2 {
  color: var(--ink);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 900;
  margin: 0;
}
.portfolio-hero .section-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.portfolio-hero .eyebrow {
  display: block;
  margin: 0 auto 20px;
  color: #3c6fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.portfolio-hero .eyebrow::after {
  content: none;
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
}
.filter-btn {
  border: 1px solid rgba(16, 19, 22, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.filter-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 111, 255, 0.25);
  box-shadow: 0 8px 20px rgba(60, 111, 255, 0.08);
}
.filter-btn.is-active {
  background: #3c6fff;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(60, 111, 255, 0.22);
}
.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.portfolio-showcase {
  display: grid;
  gap: 28px;
}
.portfolio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
  overflow: visible;
}
.portfolio-card {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(16, 19, 22, 0.08);
  background: #ffffff;
  border: 1px solid #e6e8ed;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  opacity: 1;
  transform: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  height: 100%;
  background: #f5f7fb;
  overflow: hidden;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef1f6;
  border-bottom: 1px solid #e2e5eb;
  flex: 0 0 auto;
}
.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6d9e0;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 8px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 12px;
  border: 1px solid #e2e5eb;
}
.portfolio-preview-frame {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(100deg, #eef1f6 30%, #f8f9fc 50%, #eef1f6 70%);
  background-size: 200% 100%;
  animation: portfolio-preview-shimmer 1.6s ease-in-out infinite;
}
.portfolio-preview-frame.is-loaded {
  animation: none;
  background: #f5f7fb;
}
@keyframes portfolio-preview-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.portfolio-preview {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  pointer-events: none;
  transform-origin: 0 0;
  opacity: 0;
  transition: opacity 400ms ease;
}
.portfolio-preview.is-loaded {
  opacity: 1;
}
.portfolio-visual-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.portfolio-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: #3c6fff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(60, 111, 255, 0.32);
}

.portfolio-featured {
  display: inline-flex;
  margin-bottom: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.accent-highlight {
  color: #3c6fff;
}
.portfolio-subtitle {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.accent-blue {
  color: #3c6fff;
}

.accent-gold {
  color: #c88f1d;
}

.star-rating {
  margin-bottom: 18px;
  color: #ffb703;
  font-size: 18px;
  letter-spacing: 0;
}
.portfolio-card-copy {
  padding: 30px 34px 34px;
}
.portfolio-card-copy h3 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.05;
  color: var(--ink);
}
.portfolio-card-copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}
.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f8f9fb;
  color: #20262f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}
.tag-pill svg {
  width: 18px;
  height: 18px;
  color: #3c6fff;
  flex-shrink: 0;
}
.portfolio-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.portfolio-action-link {
  font-weight: 700;
  font-size: 14px;
  color: #3c6fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.portfolio-action-link:hover {
  transform: translateY(-1px);
  border-color: currentColor;
}
.portfolio-action-link.accent-gold {
  color: #c88f1d;
}
.portfolio-action-link.accent-blue {
  color: #3c6fff;
}
.portfolio-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 18px;
}
.portfolio-stats article {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(16, 19, 22, 0.08);
}
.portfolio-stats strong {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}
.portfolio-stats span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-visual { min-height: auto; height: auto; aspect-ratio: 16 / 10; }
  .portfolio-stats { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}

@media (max-width: 720px) {
  .portfolio-hero { gap: 14px; }
  .portfolio-actions { justify-content: flex-start; }
  .portfolio-showcase { gap: 18px; }
  .portfolio-cards { gap: 20px; }
  .portfolio-stats { grid-template-columns: 1fr; }
}

/* Project case-study modal */
body.modal-open {
  overflow: hidden;
}

.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-modal.is-open {
  display: flex;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.72);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1720px, 96vw);
  max-height: 94vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e8ed;
  background: #ffffff;
  color: #101316;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.project-modal-close:hover {
  background: #f5f7fb;
  transform: scale(1.05);
}

.project-modal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.project-modal-visual {
  position: relative;
  aspect-ratio: 16 / 11;
}

.project-modal-desktop-screen {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f7fb;
  border: 1px solid #e6e8ed;
}

.project-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.project-modal-preview-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: #f5f7fb;
  color: var(--muted);
  font-size: 14px;
}

.project-modal-mobile-frame {
  position: absolute;
  right: -16px;
  bottom: -30px;
  z-index: 2;
  width: 148px;
  padding: 9px 7px 14px;
  border-radius: 24px;
  background: #0b0d10;
  border: 1px solid #262b33;
  box-shadow: 0 24px 48px rgba(8, 10, 14, 0.4), 0 0 0 1px rgba(60, 111, 255, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-modal-mobile-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 56px rgba(8, 10, 14, 0.48), 0 0 0 1px rgba(60, 111, 255, 0.45);
}

.project-modal-mobile-notch {
  width: 40px;
  height: 5px;
  margin: 0 auto 7px;
  border-radius: 999px;
  background: #262b33;
}

.project-modal-mobile-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.project-modal-mobile-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 375px;
  height: 812px;
  border: 0;
  transform: scale(0.3627);
  transform-origin: top left;
  pointer-events: none;
}

.project-modal-mobile-home {
  width: 46px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #262b33;
}

.project-modal-copy h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.15;
}

.project-modal-challenge {
  color: #101316;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.project-modal-challenge strong {
  color: #3c6fff;
}

.project-modal-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.project-modal-copy h3 {
  font-size: 18px;
  margin: 0 0 14px;
  color: #3c6fff;
}

.project-modal-elements {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.project-modal-elements li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #101316;
}

.project-modal-cta {
  display: inline-flex;
  margin-bottom: 24px;
}

.project-modal-meta {
  font-size: 14px;
  margin: 6px 0;
  color: var(--muted);
}

.project-modal-meta a {
  color: #3c6fff;
  font-weight: 600;
  text-decoration: none;
}

.project-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.project-modal-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e6e8ed;
  background: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.project-modal-arrow:hover {
  background: #f5f7fb;
  transform: translateY(-1px);
}

.project-modal-grid-btn {
  font-size: 16px;
}

@media (max-width: 900px) {
  .project-modal-dialog {
    padding: 32px 24px;
  }

  .project-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-modal-visual {
    aspect-ratio: 16 / 10;
  }

  .project-modal-mobile-frame {
    width: 108px;
    right: -8px;
    bottom: -22px;
    padding: 7px 5px 10px;
    border-radius: 18px;
  }

  .project-modal-mobile-iframe {
    transform: scale(0.2613);
  }
}

/* Client reviews */
.reviews-section {
  width: 100%;
  padding: 120px max(22px, calc((100% - var(--max)) / 2));
  background: #f5f7fb;
}

.reviews-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.reviews-heading .section-eyebrow {
  text-align: center;
}

.reviews-heading h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}

.reviews-heading p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e6e8ed;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(16, 19, 22, 0.05);
}

.review-quote {
  font-style: italic;
  color: #3a4250;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.review-divider {
  height: 1px;
  background: #e6e8ed;
  margin: 0 0 20px;
}

.review-name {
  font-weight: 800;
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 4px;
}

.review-company {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .reviews-section { padding: 80px 18px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 18px; }
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .video-toggle {
  margin-left: auto;
  min-width: 54px;
  padding: 0 18px;
  font-size: 16px;
  line-height: 1;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.console-controls button:hover,
.system-row:hover,
.video-card button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: #3c6fff;
  border-color: #3c6fff;
  box-shadow: 0 18px 44px rgba(60, 111, 255, 0.24);
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-actions .video-toggle {
  min-width: auto;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.mission-console {
  align-self: stretch;
  min-height: 520px;
  display: grid;
  align-content: end;
  gap: 12px;
  perspective: 1000px;
}

.console-screen {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 12%, rgba(70, 230, 178, 0.14), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 236, 232, 0.9));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 240ms ease, background 240ms ease;
}

.mission-console:hover .console-screen {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

.screen-label {
  width: max-content;
  margin-bottom: auto;
  padding: 7px 9px;
  border: 1px solid rgba(16, 19, 22, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.console-screen strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
}

.console-screen p {
  max-width: 360px;
  margin-bottom: 0;
  color: #363d3d;
  font-weight: 650;
}

.console-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.console-controls button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.console-controls button.is-active {
  color: var(--ink);
  background: #ffffff;
}

.mission-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.mission-links a {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.mission-links span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mission-links strong {
  font-size: 15px;
}

.mission-links strong::after {
  content: " ->";
  color: var(--coral);
}

.media-section {
  width: 100%;
  gap: 56px;
  padding: 120px max(22px, calc((100% - var(--max)) / 2));
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.media-section.section-panel {
  min-height: auto;
  align-items: center;
}

.media-section .section-heading {
  max-width: 900px;
  margin: 0 auto;
}

.media-section .section-heading h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.1;
  margin: 24px 0;
}

.media-section .section-heading p {
  font-size: 16px;
  color: #66706f;
  line-height: 1.8;
  margin: 18px 0 0;
}

.decorative-star {
  font-size: 32px;
  color: #3c6fff;
  margin: 28px 0;
  opacity: 0.8;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.capability-card {
  display: grid;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  border-radius: 12px;
  background: #ffffff;
  text-align: left;
  transition: all 280ms ease;
  position: relative;
}

.capability-card:hover {
  border-color: rgba(60, 111, 255, 0.2);
  box-shadow: 0 16px 40px rgba(60, 111, 255, 0.08);
  transform: translateY(-4px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(60, 111, 255, 0.1);
  color: #3c6fff;
}

.capability-icon svg {
  width: 24px;
  height: 24px;
}

.capability-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #101316;
  margin: 0;
}

.capability-card p {
  font-size: 14px;
  color: #66706f;
  margin: 0;
  line-height: 1.6;
}

.capability-number {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #3c6fff;
}

.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
  scroll-margin-top: 240px;
}

.timeline-column,
.pricing-column {
  text-align: left;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3c6fff;
  margin: 0 0 12px;
}

.timeline-column h3,
.pricing-column h3 {
  font-size: 32px;
  font-weight: 700;
  color: #101316;
  margin: 0 0 12px;
}

.section-description {
  font-size: 15px;
  color: #66706f;
  margin: 0 0 32px;
  line-height: 1.7;
}

.timeline-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 32px 0;
  align-content: start;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(60, 111, 255, 0.1);
  color: #3c6fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: middle;
  white-space: nowrap;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-left: 2px solid rgba(60, 111, 255, 0.2);
  padding-left: 24px;
  margin-left: 40px;
  position: relative;
  transition: all 280ms ease;
}

.timeline-item.is-interactive {
  cursor: pointer;
}

.timeline-item.is-interactive:hover {
  padding: 24px 16px;
  background: rgba(60, 111, 255, 0.04);
  border-left-color: #3c6fff;
  transform: translateX(8px);
}

.timeline-item:last-child {
  border-left-color: rgba(60, 111, 255, 0.8);
}

.timeline-item.is-active {
  border-left-color: #3c6fff;
}

.timeline-item.is-active .timeline-marker {
  background: #3c6fff;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(60, 111, 255, 0.3);
  transform: scale(1.08);
}

.timeline-marker {
  position: absolute;
  left: -42px;
  top: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8f9fb;
  color: #3c6fff;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(16, 19, 22, 0.08);
  transition: all 280ms ease;
  position: relative;
}

.timeline-marker svg {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 280ms ease;
}

.timeline-marker .step-number {
  transition: opacity 280ms ease;
}

.timeline-item.is-interactive:hover .timeline-marker svg {
  opacity: 1;
}

.timeline-item.is-interactive:hover .timeline-marker .step-number {
  opacity: 0;
}

.timeline-item.is-active .timeline-marker svg {
  opacity: 1;
}

.timeline-item.is-active .timeline-marker .step-number {
  opacity: 0;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #101316;
  margin: 0 0 6px;
  transition: color 280ms ease;
}

.timeline-item.is-interactive:hover .timeline-content h4 {
  color: #3c6fff;
}

.timeline-content p {
  font-size: 14px;
  color: #66706f;
  margin: 0 0 8px;
}

.timeline-duration {
  font-size: 12px;
  font-weight: 600;
  color: #3c6fff;
  display: inline-block;
  transition: all 280ms ease;
}

.timeline-item.is-interactive:hover .timeline-duration {
  font-weight: 700;
}

.timeline-note {
  font-size: 12px;
  color: #66706f;
  margin-top: 20px;
}

.timeline-scope-note {
  margin: 20px 0 0 64px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(60, 111, 255, 0.08);
  color: #101316;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .timeline-scope-note {
    margin-left: 0;
  }
}

.timeline-group-label {
  margin: 0 0 4px 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(60, 111, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #66706f;
}

.timeline-group-label.is-first {
  padding-top: 0;
  border-top: none;
}

@media (max-width: 640px) {
  .timeline-group-label {
    margin-left: 0;
  }
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}

#maintenance .plans-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

#maintenance .plans-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #ffffff;
}

#maintenance .plans-table th,
#maintenance .plans-table td {
  padding: 14px 20px;
  border: 1px solid #e6ebf0;
  text-align: center;
  font-size: 15px;
}

#maintenance .plans-table th:first-child,
#maintenance .plans-table td:first-child {
  text-align: left;
}

#maintenance .plans-table thead th {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

#maintenance .plans-table thead th:first-child {
  background: #091126;
}

#maintenance .plans-table .plan-basic {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

#maintenance .plans-table .plan-standard {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

#maintenance .plans-table tbody tr {
  transition: background 180ms ease, transform 180ms ease;
}

#maintenance .plans-table tbody tr:hover {
  background: #f8fbff;
}

#maintenance .plans-table tbody td {
  color: #0f172a;
}

#maintenance .plans-table .is-accent {
  color: #0284c7;
  font-weight: 700;
}

@media (max-width: 640px) {
  #maintenance .plans-table th,
  #maintenance .plans-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
}

.pricing-card {
  position: relative;
  padding: 32px 30px 28px;
  border: 1px solid rgba(96, 116, 255, 0.16);
  border-radius: 24px;
  background: #ffffff;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(60, 111, 255, 0.12);
  border-color: rgba(96, 116, 255, 0.28);
}

.pricing-card.is-popular {
  border-color: rgba(109, 74, 255, 0.32);
  background: linear-gradient(180deg, rgba(123, 77, 255, 0.08), rgba(255, 255, 255, 0.92));
  box-shadow: 0 22px 60px rgba(109, 74, 255, 0.16);
}

.pricing-card.is-popular:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 78px rgba(109, 74, 255, 0.22);
  border-color: #6d4aff;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3e5cff, #8d5bff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 20px 30px rgba(77, 74, 255, 0.16);
}

.pricing-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.pricing-card.is-popular h4 {
  color: #6d4aff;
}

.pricing-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 18px;
}

.pricing-card.is-popular .pricing-subtitle {
  color: #7a5cff;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1;
}

.pricing-card.is-popular .pricing-amount {
  color: #6d4aff;
}

.pricing-duration {
  font-size: 12px;
  color: #6b7280;
  margin: 8px 0 22px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 12px;
}

.pricing-features li {
  font-size: 14px;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.pricing-features li::before {
  content: "✓";
  color: #2563eb;
  font-weight: 800;
}

.pricing-card.is-popular .pricing-features li::before {
  color: #7b4dff;
}

.button-pricing {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 200ms ease;
}

.pricing-card:hover .button-pricing {
  transform: translateY(-1px);
}

.button-pricing:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: #2563eb;
}

.button-pricing.is-primary {
  background: linear-gradient(135deg, #7b4dff, #5a2aff);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(123, 77, 255, 0.24);
}

.button-pricing.is-primary:hover {
  background: linear-gradient(135deg, #6d3cff, #4a22ff);
}

.button-pricing.is-secondary {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fb923c;
}

.button-pricing.is-secondary:hover {
  background: #fff2e8;
}

.pricing-card:nth-child(1) h4 {
  color: #2563eb;
}

.pricing-card:nth-child(1) .pricing-features li::before {
  color: #2563eb;
}

.pricing-card:nth-child(1) .button-pricing {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.22);
}

.pricing-card:nth-child(1) .button-pricing:hover {
  background: rgba(37, 99, 235, 0.08);
}

.pricing-card:nth-child(3) h4 {
  color: #f97316;
}

.pricing-card:nth-child(3) .pricing-features li::before {
  color: #fb923c;
}

.pricing-card:nth-child(3) .button-pricing {
  color: #ea580c;
  border-color: #fb923c;
  background: #fff7ed;
}

.pricing-card:nth-child(3) .button-pricing:hover {
  background: #fff2e8;
}

.pricing-note {
  font-size: 12px;
  color: #66706f;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pricing-card {
    padding: 24px;
  }

  .popular-badge {
    left: 16px;
    transform: none;
  }
}

@media (max-width: 900px) {
  .launch-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .timeline-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-section .section-heading h2 {
    font-size: clamp(36px, 4vw, 48px);
  }
}

@media (max-width: 640px) {
  .media-section {
    padding: 80px max(22px, calc((100% - var(--max)) / 2));
    gap: 40px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-bottom: 24px;
  }

  .timeline-marker {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 12px;
  }
}
.systems {
  width: 100vw;
  max-width: none;
  padding: 76px 0 76px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(140deg, #4a25f8 0%, #5e39ff 36%, #3f248f 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.systems::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%);
}

.systems::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  background: rgba(14, 6, 57, 0.22);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.systems-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.systems-copy {
  display: grid;
  gap: 22px;
  max-width: 600px;
}

.systems-copy .eyebrow {
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.32em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0;
}

.systems-copy h2 {
  color: #ffffff;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
  margin: 0;
}

.accent-highlight-white {
  color: #d6d1ff;
}

.systems-description {
  max-width: 560px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
}

.systems-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.system-feature {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.system-feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon-blue {
  background: rgba(133, 150, 255, 0.15);
  color: #d5ddff;
}

.feature-icon-accent {
  background: rgba(179, 120, 255, 0.18);
  color: #e2d2ff;
}

.feature-icon-green {
  background: rgba(109, 209, 188, 0.18);
  color: #c7f1e7;
}

.feature-icon-coral {
  background: rgba(255, 145, 135, 0.18);
  color: #ffd8d5;
}

.system-feature h4 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.system-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.systems-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 40px;
  width: min(100%, 380px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 85px rgba(8, 14, 50, 0.24);
  backdrop-filter: blur(24px);
  position: relative;
}

.systems-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 90%);
  pointer-events: none;
}

.systems-brand > * {
  position: relative;
  z-index: 1;
}

.systems-logo {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(122, 92, 255, 0.22), rgba(72, 117, 255, 0.35));
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.systems-brand strong {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  color: #ffffff;
}

.systems-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

@media (max-width: 980px) {
  .systems-hero {
    grid-template-columns: 1fr;
  }

  .systems-features {
    grid-template-columns: 1fr;
  }

  .systems-brand {
    width: 100%;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .systems {
    padding: 72px max(22px, calc((100% - var(--max)) / 2));
  }

  .systems-copy h2 {
    font-size: 42px;
  }

  .systems-brand {
    padding: 28px;
  }
}

.tilt-card,
.video-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 28px 80px rgba(16, 19, 22, 0.15);
  backdrop-filter: blur(18px);
}

.tilt-card,
.video-card,
.system-row {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease, box-shadow 220ms ease;
}

.tilt-card.is-visible,
.video-card.is-visible,
.system-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  position: relative;
  min-height: 280px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card:not(.is-visible) {
  transform: translateY(24px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card.is-visible {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card.large {
  grid-row: span 2;
}

.tilt-card::after,
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(16, 19, 22, 0.68));
  pointer-events: none;
}

.tilt-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: var(--paper);
  transform: translateZ(44px);
}

.tilt-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.tilt-card strong {
  display: block;
  max-width: 520px;
  font-size: 28px;
  line-height: 1.02;
}

.video-card {
  position: relative;
}

.video-card button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-width: 76px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  color: var(--paper);
  background: rgba(16, 19, 22, 0.48);
  font-size: 13px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

.build-card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: 18px;
  color: #ffffff;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.16) 0 28%, transparent 29%),
    radial-gradient(circle at 88% 12%, rgba(70, 230, 178, 0.32), transparent 12rem),
    linear-gradient(135deg, #101316, #315f57 52%, #6d4aff);
  box-shadow: 0 30px 90px rgba(16, 19, 22, 0.18);
  text-align: center;
}

.build-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #101316;
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.build-card h3 {
  max-width: 640px;
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
}

.build-card p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 650;
}

.build-card .button {
  min-width: 220px;
}

.review-stage {
  width: 100%;
  margin-top: 18px;
  padding: 92px max(22px, calc((100% - var(--max)) / 2)) 104px;
  color: var(--ink);
  background: #f4f4f6;
}

.review-heading {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}

.review-heading > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #33217c;
  background: #ded9ff;
  font-size: 12px;
  font-weight: 850;
}

.review-heading h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 650;
}

.review-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #101316;
  font-size: 14px;
}

.review-rating span {
  padding: 3px 7px;
  border-radius: 4px;
  color: #ffffff;
  background: #00b67a;
  letter-spacing: 1px;
}

.review-rating small {
  color: #5e6670;
  font-weight: 650;
}

.review-cards {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 314px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(16, 19, 22, 0.06);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 19, 22, 0.07);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(16, 19, 22, 0.12);
}

.review-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #6d4aff, #46e6b2);
  font-size: 13px;
  font-weight: 900;
}

.review-card p {
  color: #18202a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 560;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.review-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #39424e;
  background: #f1f2f4;
  font-size: 12px;
  font-weight: 760;
}

.review-author {
  margin-top: auto;
  display: grid;
  gap: 2px;
}

.review-author strong {
  font-size: 16px;
  font-weight: 760;
}

.review-author small {
  color: #7b838d;
  font-size: 14px;
}

.contact {
  position: relative;
  width: 100%;
  min-height: auto;
  margin-top: -1px;
  padding: 84px max(22px, calc((100% - var(--max)) / 2));
  color: #0f172a;
  background: radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.18), transparent 22rem),
    radial-gradient(circle at 10% 15%, rgba(96, 165, 250, 0.16), transparent 18rem),
    #f5f7ff;
}

.contact-page {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-overview {
  display: grid;
  gap: 28px;
}

.contact-brand {
  display: inline-block;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact-overview h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
  line-height: 0.98;
  max-width: 14ch;
}

.contact-overview h2 span {
  color: #2563eb;
}

.contact-overview p {
  max-width: 40ch;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.contact-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.contact-card small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 13px;
}

.contact-form-panel {
  border-radius: 40px;
  padding: 42px;
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(15, 23, 42, 0.08);
}

.form-heading {
  margin: 0 0 32px;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
}

.contact-form-panel form {
  display: grid;
  gap: 20px;
}

.contact-form-panel label {
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 18px;
  outline: 0;
  color: #0f172a;
  background: #f8fafc;
  font: inherit;
  font-size: 16px;
  resize: vertical;
}

.contact-form-panel textarea {
  min-height: 160px;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.contact-form-panel .button.primary {
  width: 100%;
  min-height: 56px;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.24);
}

.contact-form-panel .button.primary:hover,
.contact-form-panel .button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.28);
}

@media (max-width: 980px) {
  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .contact {
    padding: 64px 22px;
  }

  .contact-page {
    gap: 20px;
  }

  .contact-card,
  .contact-form-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .contact-form-panel .button.primary {
    min-height: 52px;
  }
}

footer {
  width: min(var(--max), calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@keyframes earthDrift {
  0% {
    background-position:
      0 0,
      34px 58px,
      80px 20px,
      50% 50%,
      center;
  }

  100% {
    background-position:
      70px 40px,
      -42px 88px,
      120px -38px,
      58% 44%,
      center;
  }
}

@keyframes starFieldMove {
  0% {
    background-position: 0 0, 34px 58px, 80px 20px;
    opacity: 0.36;
  }

  50% {
    opacity: 0.68;
  }

  100% {
    background-position: 260px 120px, -190px 210px, 160px -240px;
    opacity: 0.42;
  }
}

@keyframes starShimmer {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.12;
  }
}

@keyframes gallerySpin {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-52%);
  }
}

@keyframes logoOrbit {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-10px) rotate(4deg) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 960px) {
  .site-header {
    height: 60px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
  }

  .nav-primary {
    gap: 0;
  }

  .nav-actions {
    display: none;
  }

  .site-header.is-open {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 24px;
  }

  .site-header.is-open .nav-primary {
    flex-wrap: wrap;
  }

  .site-header.is-open nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    margin-top: 12px;
    order: 10;
  }

  .site-header.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 18px;
    order: 11;
  }

  .site-header.is-open .nav-actions a,
  .site-header.is-open .nav-actions button {
    width: 100%;
  }

  .section-panel {
    min-height: auto;
    padding: 86px 0;
  }

  .contact {
    width: 100%;
    padding: 86px 22px;
  }

  .hero,
  .systems,
  .contact-page,
  .contact-info-panel {
    grid-template-columns: 1fr;
  }

  .mission-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1 {
    font-size: 66px;
  }

  h2 {
    font-size: 52px;
  }

  .hero-copy p,
  .contact-info a {
    font-size: 17px;
  }

  .contact-form-panel {
    min-height: auto;
  }

  .mission-console {
    min-height: 440px;
  }

  .console-screen {
    min-height: 300px;
    transform: none;
  }

  .power-grid,
  .zeno-stats,
  .pricing-cards,
  .media-grid,
  .offer-cards {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-rows: auto;
  }

  .power-grid {
    gap: 48px;
  }

  .power-column + .power-column {
    padding-left: 0;
    border-left: 0;
  }

  .tilt-card,
  .video-card {
    min-height: 360px;
  }

  .tilt-card.large {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .section-panel {
    width: min(100% - 28px, var(--max));
    padding: 72px 0;
  }

  .contact {
    width: 100%;
    padding: 72px 14px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  h3,
  .tilt-card strong {
    font-size: 26px;
  }

  .hero-actions,
  .console-controls {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button {
    width: 100%;
  }

  .mission-console {
    min-height: 380px;
  }

  .tilt-card,
  .video-card {
    min-height: 300px;
  }

  .pricing-intro h2 {
    font-size: 36px;
  }

  .review-heading h2 {
    font-size: 36px;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .contact-page {
    gap: 12px;
  }

  .contact-form-panel h2 {
    font-size: 40px;
  }

  .contact-form-panel {
    padding: 26px;
  }

  .main-contact {
    font-size: 19px !important;
  }

  .contact-logo-card {
    min-height: 280px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 56px;
    padding: 0 16px;
  }

  .brand {
    gap: 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .section-panel {
    width: 100%;
    min-height: auto;
    padding: 72px 16px;
  }

  .hero {
    min-height: 70vh;
    gap: 28px;
    padding: 102px 16px 42px;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    max-width: 11ch;
    font-size: 54px;
    line-height: 0.94;
  }

  h2,
  .contact-form-panel h2 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-copy p,
  .build-card p {
    font-size: 16px;
  }

  .mission-console {
    min-height: auto;
  }

  .console-screen {
    min-height: 280px;
    padding: 22px;
  }

  .console-screen strong {
    font-size: 38px;
  }

  .mission-links {
    margin-top: 8px;
    gap: 8px;
    padding-top: 14px;
  }

  .mission-links a {
    min-height: 58px;
  }

  .mission-links span {
    letter-spacing: 0;
  }

  .media-section,
  .systems,
  .inspiration,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .media-section,
  .systems {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .offer-card {
    min-height: 220px;
    padding: 24px;
  }

  .offer-card span {
    font-size: 26px;
  }

  .media-grid {
    gap: 12px;
  }

  .tilt-card,
  .video-card {
    min-height: 260px;
  }

  .power-grid {
    gap: 34px;
  }

  .capability-row {
    padding: 22px 38px 22px 0;
  }

  .capability-row span,
  .system-row strong {
    font-size: 22px;
  }

  .zeno-stats a {
    min-height: 160px;
    padding: 22px;
  }

  .zeno-stats strong {
    font-size: 44px;
  }

  .system-row {
    min-height: auto;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    padding: 18px;
  }

  .system-row small {
    grid-column: 1 / -1;
  }

  .system-row.is-open small {
    max-height: 140px;
  }

  .inspiration {
    gap: 34px;
    padding-top: 76px;
  }

  .pricing-intro,
  .pricing-cards,
  .pricing-summary {
    width: 100%;
  }

  .pricing-intro h2 {
    font-size: 40px;
  }

  .pricing-promises {
    justify-content: flex-start;
    gap: 8px;
  }

  .pricing-promises span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f0f7;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .build-card {
    padding: 30px 22px;
    text-align: left;
  }

  .build-card h3 {
    font-size: 34px;
  }

  .review-stage {
    margin-left: -16px;
    margin-right: -16px;
    padding: 70px 16px;
  }

  .review-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .review-rating {
    justify-content: flex-start;
  }

  .contact {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form-panel,
  .contact-info-panel {
    width: 100%;
  }

  .contact-form-panel {
    padding: 26px;
  }

  .contact-logo-card {
    min-height: 240px;
  }

  .contact-info strong {
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .section-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding: 94px 14px 36px;
  }

  h1 {
    font-size: 42px;
  }

  h2,
  .pricing-intro h2,
  .contact-form-panel h2 {
    font-size: 34px;
  }

  h3,
  .tilt-card strong,
  .build-card h3 {
    font-size: 25px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }

  .console-screen {
    min-height: 230px;
    padding: 18px;
  }

  .console-screen strong {
    font-size: 32px;
  }

  .console-controls button {
    min-height: 44px;
  }

  .mission-links a {
    min-height: 52px;
  }

  .offer-card {
    min-height: 190px;
    padding: 20px;
  }

  .tilt-card,
  .video-card {
    min-height: 230px;
  }

  .tilt-card div {
    left: 18px;
    right: 18px;
    bottom: 18px;
    transform: none;
  }

  .zeno-stats a {
    min-height: 136px;
  }

  .pricing-card {
    padding: 26px 20px;
  }

  .price {
    font-size: 34px;
  }

  .review-stage {
    margin-left: -14px;
    margin-right: -14px;
  }

  .review-card {
    min-height: auto;
    padding: 22px;
  }

  .contact-form-panel {
    padding: 22px;
  }

  .contact-form-panel input,
  .contact-form-panel textarea {
    font-size: 16px;
  }

  .contact-info > div,
  .main-contact,
  .domain-link {
    padding: 18px 46px 18px 18px;
  }

  .main-contact {
    font-size: 16px !important;
  }

  footer {
    width: calc(100% - 28px);
  }
}

@media (max-width: 360px) {
  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 38px;
  }

  .review-heading h2 {
    font-size: 31px;
  }
}

/* Vision Section */
.vision-section {
  width: 100%;
  padding: 88px max(22px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 76% 24%, rgba(62, 112, 255, 0.35), transparent 42%),
    radial-gradient(circle at 15% 75%, rgba(9, 39, 107, 0.52), transparent 50%),
    linear-gradient(100deg, #040914 0%, #07142c 40%, #0f2a63 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -11deg,
      rgba(153, 187, 255, 0.06) 0px,
      rgba(153, 187, 255, 0.06) 1px,
      transparent 1px,
      transparent 14px
    ),
    linear-gradient(90deg, rgba(4, 8, 20, 0.3), rgba(4, 8, 20, 0));
}

.vision-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.vision-copy .eyebrow {
  color: rgba(226, 236, 255, 0.82);
  letter-spacing: 0.11em;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.vision-copy h2 {
  color: #ffffff;
  font-size: clamp(38px, 3.9vw, 64px);
  line-height: 1.08;
  margin: 0;
  font-weight: 800;
}

.vision-desc {
  max-width: 560px;
  font-size: clamp(16px, 1.1vw, 22px);
  color: rgba(224, 235, 255, 0.86);
  line-height: 1.45;
  margin: 0;
}

.vision-cta-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.vision-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(180, 207, 255, 0.6);
  background: linear-gradient(130deg, #3f76ff 0%, #2b60f5 100%);
  color: #f4f8ff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vision-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59, 107, 255, 0.4);
  border-color: rgba(204, 223, 255, 0.92);
}

@media (max-width: 980px) {
  .vision-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .vision-cta {
    font-size: 16px;
    min-height: 48px;
  }

  .vision-copy .eyebrow {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .vision-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .vision-copy .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .vision-copy h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .vision-desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .vision-cta {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
}

/* Contact Section */
.contact-section {
  width: 100%;
  padding: 96px max(22px, calc((100% - var(--max)) / 2));
  background: #f9fafb;
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-left {
  display: grid;
  gap: 32px;
}

.contact-left .eyebrow {
  color: #3c6fff;
  margin: 0;
}

.contact-left h2 {
  color: #101316;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.1;
  margin: 0;
}

.contact-left h2 span {
  color: #3c6fff;
}

.contact-items {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 19, 22, 0.08);
  box-shadow: 0 8px 24px rgba(16, 19, 22, 0.04);
  transition: all 200ms ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(60, 111, 255, 0.08);
  border-color: rgba(60, 111, 255, 0.15);
}

.contact-item-icon {
  font-size: 32px;
  min-width: 40px;
  text-align: center;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: #101316;
  font-size: 16px;
  font-weight: 700;
}

.contact-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.contact-right {
  display: grid;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 12px;
  outline: 0;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  transition: all 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(60, 111, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(60, 111, 255, 0.08);
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form .button.primary {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer */
/* Final spacing + sizing consistency overrides */
.portfolio.section-panel,
.media-section,
.contact-section,
.site-footer {
  background: #ffffff;
}

.portfolio.section-panel {
  padding-top: 188px;
  padding-bottom: 96px;
}

.media-section {
  gap: 72px;
  padding-top: 148px;
  padding-bottom: 120px;
}

.vision-section {
  padding-top: 118px;
  padding-bottom: 118px;
}

.contact-section {
  padding-top: 118px;
  padding-bottom: 118px;
}

.portfolio-hero .section-heading h2 {
  font-size: clamp(64px, 6.5vw, 100px);
}

.portfolio-hero .section-heading p,
.media-section .section-heading p,
.vision-desc,
.contact-item p {
  font-size: 18px;
  line-height: 1.85;
}

.media-section .section-heading h2 {
  font-size: clamp(56px, 5.5vw, 84px);
}

.vision-copy h2,
.contact-left h1 {
  font-size: clamp(50px, 5vw, 72px);
  line-height: 1.08;
}

.contact-item strong,
.footer-brand strong {
  font-size: 20px;
}

.contact-form label {
  font-size: 16px;
}

.contact-form input,
.contact-form textarea {
  font-size: 16px;
  padding: 18px 20px;
}

.contact-form .button.primary {
  min-height: 58px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .portfolio.section-panel {
    padding-top: 152px;
    padding-bottom: 84px;
  }

  .media-section,
  .vision-section,
  .contact-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .portfolio-hero .section-heading h2 {
    font-size: clamp(48px, 7vw, 72px);
  }

  .media-section .section-heading h2 {
    font-size: clamp(44px, 6.5vw, 64px);
  }

  .portfolio-hero .section-heading p,
  .media-section .section-heading p,
  .vision-desc,
  .contact-item p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .portfolio.section-panel {
    padding-top: 126px;
    padding-bottom: 70px;
  }

  .media-section,
  .vision-section,
  .contact-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .contact-item {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 16px;
  }
}

/* Full-width layout overrides (safe) */
:root {
  --max: 1460px;
}

.portfolio,
.media-section .section-heading,
.capabilities-grid,
.launch-grid,
.vision-container,
.contact-container,
.footer-container {
  max-width: 1460px;
}

/* Homepage CTA strip hard override */
/* Homepage teaser sections */
.home-section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-section-heading h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}

.home-section-heading p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.home-services {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 30px;
}

.home-services-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.home-services-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid rgba(16, 19, 22, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.home-services-more a:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 111, 255, 0.35);
  color: #3c6fff;
  box-shadow: 0 12px 28px rgba(60, 111, 255, 0.12);
}

.home-work {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-work-card {
  border: 1px solid #e6e8ed;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(16, 19, 22, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(16, 19, 22, 0.1);
}

.home-work-card .portfolio-visual {
  min-height: 220px;
  height: auto;
}

.home-work-copy {
  padding: 22px 24px 26px;
  display: grid;
  gap: 6px;
}

.home-work-copy h3 {
  margin: 0;
  font-size: 21px;
  color: var(--ink);
}

.home-work-copy p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .home-work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .home-services { padding: 84px 0 20px; }
  .home-work { padding: 70px 0; }
}

.home-cta-section {
  width: 100%;
  padding: 88px max(22px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 76% 24%, rgba(62, 112, 255, 0.35), transparent 42%),
    radial-gradient(circle at 15% 75%, rgba(9, 39, 107, 0.52), transparent 50%),
    linear-gradient(100deg, #040914 0%, #07142c 40%, #0f2a63 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.home-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -11deg,
      rgba(153, 187, 255, 0.06) 0px,
      rgba(153, 187, 255, 0.06) 1px,
      transparent 1px,
      transparent 14px
    ),
    linear-gradient(90deg, rgba(4, 8, 20, 0.3), rgba(4, 8, 20, 0));
}

.home-cta-section .vision-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-cta-section .vision-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.home-cta-section .vision-copy .eyebrow {
  color: rgba(226, 236, 255, 0.82);
  letter-spacing: 0.11em;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.home-cta-section .vision-copy h2 {
  color: #ffffff;
  font-size: clamp(38px, 3.9vw, 64px);
  line-height: 1.08;
  margin: 0;
  font-weight: 800;
}

.home-cta-section .vision-desc {
  max-width: 560px;
  font-size: clamp(16px, 1.1vw, 22px);
  color: rgba(224, 235, 255, 0.86);
  line-height: 1.45;
  margin: 0;
}

.home-cta-section .vision-cta-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.home-cta-section .vision-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(180, 207, 255, 0.6);
  background: linear-gradient(130deg, #3f76ff 0%, #2b60f5 100%);
  color: #f4f8ff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-cta-section .vision-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59, 107, 255, 0.4);
  border-color: rgba(204, 223, 255, 0.92);
}

@media (max-width: 980px) {
  .home-cta-section .vision-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .home-cta-section .vision-cta {
    font-size: 16px;
    min-height: 48px;
  }

  .home-cta-section .vision-copy .eyebrow {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .home-cta-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .home-cta-section .vision-copy .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .home-cta-section .vision-copy h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .home-cta-section .vision-desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .home-cta-section .vision-cta {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
}

.portfolio.section-panel {
  width: min(1460px, calc(100% - 40px));
}

.media-section,
.vision-section,
.contact-section {
  padding-left: max(24px, calc((100% - 1460px) / 2));
  padding-right: max(24px, calc((100% - 1460px) / 2));
}

.portfolio-cards {
  gap: 36px;
}

.launch-grid {
  gap: 80px;
}

@media (max-width: 980px) {
  .portfolio.section-panel {
    width: min(100%, calc(100% - 28px));
  }

  .media-section,
  .vision-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Footer: single combined row — brand left, legal center, social right */
.site-footer {
  background: #ffffff;
  position: relative;
  border-top: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-top: 1px solid rgba(16, 19, 22, 0.08);
  pointer-events: none;
}

.site-footer .footer-container {
  width: min(1460px, calc(100% - 72px));
  max-width: none;
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(72, 136, 255, 0.3));
}

.footer-brand strong {
  display: block;
  color: #101316;
  font-size: 15px;
  margin: 0;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #66706f;
  font-size: 13px;
  line-height: 1.5;
}

.footer-links {
  color: #66706f;
  font-size: 13px;
  text-align: center;
}

.footer-links p {
  margin: 0;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.footer-policies a {
  color: #66706f;
  font-size: 13px;
  transition: color 200ms ease;
}

.footer-policies a:hover {
  color: #3c6fff;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f9fafb;
  color: #101316;
  font-size: 16px;
  transition: all 200ms ease;
}

.footer-social a:hover {
  background: #3c6fff;
  color: #ffffff;
}

@media (max-width: 760px) {
  .site-footer .footer-container {
    width: calc(100% - 28px);
    padding: 40px 0;
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }
}

/* Homepage contact section design override */
.home-contact-section {
  background: #f7f9fd;
  padding-top: 96px;
  padding-bottom: 112px;
}

.home-contact-section .home-contact-container {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.15fr);
  gap: clamp(36px, 4vw, 76px);
  align-items: start;
}

.home-contact-left {
  display: grid;
  align-content: start;
  gap: 22px;
  padding-top: 6px;
}

.home-contact-left .eyebrow {
  margin: 0;
  color: #2c5df0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-contact-left h2 {
  margin: 0;
  color: #0d1b38;
  font-size: clamp(56px, 5.4vw, 80px);
  line-height: 1.02;
  font-weight: 800;
}

.home-contact-left h2 span {
  color: #2f63ff;
}

.home-contact-lead {
  margin: 0;
  max-width: 520px;
  color: #4e5f7c;
  font-size: 16px;
  line-height: 1.56;
}

.home-contact-divider {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #2f63ff;
}

.home-contact-list {
  display: grid;
  gap: 14px;
}

.home-contact-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
}

.home-contact-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: #2f63ff;
}

.home-contact-icon-box svg {
  width: 28px;
  height: 28px;
}

.home-contact-item strong {
  display: block;
  margin: 0 0 4px;
  color: #121d34;
  font-size: 33px;
  font-weight: 700;
}

.home-contact-item p {
  margin: 0;
  color: #4f6181;
  font-size: 16px;
  line-height: 1.45;
}

.home-contact-note {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #edf2fc;
  border: 1px solid #e3eaf9;
}

.home-contact-note-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2f63ff, #2754dd);
  color: #ffffff;
}

.home-contact-note-icon svg {
  width: 22px;
  height: 22px;
}

.home-contact-note strong {
  display: block;
  margin: 0 0 3px;
  color: #131f36;
  font-size: 33px;
  font-weight: 700;
}

.home-contact-note p {
  margin: 0;
  color: #4d607f;
  font-size: 16px;
  line-height: 1.45;
}

.home-contact-right {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e4e8f0;
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.06);
  padding: clamp(22px, 2.4vw, 34px);
}

.home-contact-form {
  display: grid;
  gap: 14px;
}

.home-field-label {
  margin-top: 4px;
  color: #1f2a3f;
  font-size: 16px;
  font-weight: 700;
}

.home-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-contact-form input,
.home-contact-form textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #d7deea;
  background: #ffffff;
  color: #101b30;
  padding: 0 15px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-contact-form input::placeholder,
.home-contact-form textarea::placeholder {
  color: #7a869f;
}

.home-contact-form textarea {
  min-height: 158px;
  resize: vertical;
  padding: 12px 15px;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
  border-color: #8da6ec;
  box-shadow: 0 0 0 3px rgba(47, 99, 255, 0.12);
}

.home-input-with-icon {
  position: relative;
}

.home-input-with-icon input {
  padding-right: 48px;
}

.home-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa6bb;
  display: grid;
  place-items: center;
}

.home-input-icon svg {
  width: 20px;
  height: 20px;
}

.home-contact-submit {
  margin-top: 10px;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(125deg, #2f63ff, #2b58e7);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(47, 99, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-contact-submit svg {
  width: 16px;
  height: 16px;
}

.home-contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(47, 99, 255, 0.3);
}

.home-contact-form.is-submitting .home-contact-submit {
  opacity: 0.6;
  pointer-events: none;
}

.home-contact-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: #63728d;
  min-height: 20px;
  text-align: center;
}

.home-contact-form.is-done .home-contact-status {
  color: #1a9e6d;
  font-weight: 600;
}

.home-contact-meta {
  margin: 6px 0 0;
  color: #63728d;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-contact-meta svg {
  width: 16px;
  height: 16px;
  color: #2f63ff;
}

@media (max-width: 1040px) {
  .home-contact-section {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .home-contact-section .home-contact-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-contact-left h2 {
    font-size: clamp(46px, 8vw, 66px);
  }

  .home-contact-lead {
    font-size: 18px;
  }

  .home-contact-item strong,
  .home-contact-note strong {
    font-size: 18px;
  }

  .home-contact-form input,
  .home-contact-form textarea,
  .home-field-label {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .home-contact-section {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .home-contact-left {
    gap: 18px;
  }

  .home-contact-left .eyebrow {
    font-size: 12px;
  }

  .home-contact-left h2 {
    font-size: clamp(34px, 12vw, 50px);
  }

  .home-contact-item {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }

  .home-contact-icon-box {
    width: 52px;
    height: 52px;
  }

  .home-contact-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .home-contact-note {
    grid-template-columns: 52px 1fr;
    padding: 16px;
  }

  .home-contact-note-icon {
    width: 44px;
    height: 44px;
    justify-self: center;
  }

  .home-contact-item strong,
  .home-contact-note strong {
    font-size: 22px;
  }

  .home-contact-item p,
  .home-contact-note p,
  .home-contact-meta {
    font-size: 14px;
  }

  .home-contact-right {
    border-radius: 16px;
    padding: 18px;
  }

  .home-name-row {
    grid-template-columns: 1fr;
  }
}

/* OUR WORK section fix */
.portfolio.section-panel {
  width: min(1500px, calc(100% - 40px));
  padding-top: 138px;
  padding-bottom: 84px;
}

.portfolio-hero {
  margin-bottom: 42px;
}

.portfolio-hero .section-heading {
  max-width: 980px;
  gap: 16px;
  text-align: center;
}

.portfolio-hero .section-heading h2 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: 1.02;
}

.portfolio-hero .section-heading p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
}

.portfolio-filters {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .portfolio.section-panel {
    width: min(100%, calc(100% - 28px));
    padding-top: 116px;
    padding-bottom: 74px;
  }

  .portfolio-hero .section-heading h2 {
    font-size: clamp(42px, 8vw, 66px);
    max-width: 14ch;
  }

  .portfolio-hero .section-heading p {
    font-size: 16px;
  }
}

/* Services section (matches provided reference image) */
.services-section {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding: 86px 0 92px;
  background:
    radial-gradient(circle at 16% 24%, rgba(120, 168, 255, 0.14), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(76, 138, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #0d2c5a 0%, #133b73 52%, #0b2d5a 100%);
  overflow: hidden;
}

.services-shell {
  width: min(1760px, calc(100% - 76px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(760px, 1.18fr);
  gap: 62px;
  align-items: start;
}

.services-intro {
  display: grid;
  gap: 24px;
  padding-top: 6px;
  color: #e6efff;
}

.services-pill {
  width: max-content;
  margin: 0;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(140, 178, 255, 0.28);
  background: rgba(106, 160, 255, 0.16);
  color: #dbe8ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.services-pill span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4f8dff;
  box-shadow: 0 0 0 7px rgba(79, 141, 255, 0.18);
}

.services-intro h2 {
  margin: 0;
  color: #f4f8ff;
  font-size: clamp(62px, 5vw, 88px);
  line-height: 1.02;
  font-weight: 800;
}

.services-intro h2 span {
  color: #8dc0ff;
}

.services-line {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4d9bff, rgba(77, 155, 255, 0.2));
}

.services-intro p {
  margin: 0;
  max-width: 500px;
  color: rgba(214, 230, 255, 0.95);
  font-size: 19px;
  line-height: 1.56;
}

.services-link {
  margin-top: 14px;
  color: #4f90ff;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.services-link strong {
  color: #4f90ff;
  font-weight: 700;
  font-size: 1.15em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 320px;
  padding: 36px 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(132, 174, 255, 0.17), rgba(117, 164, 250, 0.14));
  border: 1px solid rgba(160, 194, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.service-icon {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: rgba(112, 160, 255, 0.19);
  border: 1px solid rgba(140, 180, 255, 0.2);
  color: #7db0ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 38px;
  height: 38px;
}

.service-body {
  display: grid;
  gap: 14px;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-head h3 {
  margin: 0;
  color: #f6f9ff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.service-arrow {
  color: #4f90ff;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.service-body p {
  margin: 0;
  color: rgba(221, 235, 255, 0.9);
  font-size: 19px;
  line-height: 1.66;
  max-width: 36ch;
}

@media (max-width: 1300px) {
  .services-shell {
    width: min(100%, calc(100% - 44px));
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .services-intro {
    max-width: 760px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .services-section {
    padding: 66px 0 72px;
  }

  .services-shell {
    width: calc(100% - 30px);
    gap: 28px;
  }

  .services-intro h2 {
    font-size: clamp(44px, 10vw, 66px);
  }

  .services-intro p {
    font-size: 18px;
  }

  .services-link {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .service-head h3 {
    font-size: 30px;
  }

  .service-arrow {
    font-size: 38px;
  }

  .service-body p {
    font-size: 18px;
  }
}

/* About section */
.about-section {
  width: 100%;
  background: #ffffff;
  padding: 112px max(24px, calc((100% - 1460px) / 2));
  scroll-margin-top: 148px;
}

.about-shell {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  gap: 42px;
}

.about-top {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(560px, 1.08fr);
  gap: 54px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-eyebrow {
  margin: 0;
  color: #3c6fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0;
  color: #101316;
  font-size: clamp(44px, 4.8vw, 74px);
  line-height: 1.02;
}

.about-copy h2 span {
  color: #3c6fff;
}

.about-line {
  width: 78px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3c6fff, rgba(60, 111, 255, 0.2));
}

.about-lead {
  max-width: 58ch;
  margin: 0;
  color: #5e6978;
  font-size: 18px;
  line-height: 1.8;
}

.about-location-card,
.about-floating-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 19, 22, 0.08);
}

.about-location-card h3,
.about-floating-card h3 {
  margin: 0 0 6px;
  color: #101316;
  font-size: 21px;
  line-height: 1.2;
}

.about-location-card p,
.about-floating-card p {
  margin: 0;
  color: #667281;
  font-size: 16px;
  line-height: 1.7;
}

.about-location-icon,
.about-floating-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #3c6fff;
  background: #eef4ff;
}

.about-location-icon svg,
.about-floating-icon svg,
.about-metric-icon svg {
  width: 26px;
  height: 26px;
}

.about-media-wrap {
  position: relative;
  min-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(16, 19, 22, 0.16);
  background: #0f172a;
}

.about-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.98);
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.about-metric {
  display: grid;
  gap: 14px;
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 19, 22, 0.06);
}

.about-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3c6fff;
  background: #eef4ff;
}

.about-metric h3 {
  margin: 0;
  color: #101316;
  font-size: 20px;
  line-height: 1.2;
}

.about-metric p {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .about-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-media-wrap {
    min-height: 500px;
  }

  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-section {
    padding: 76px 16px;
    scroll-margin-top: 112px;
  }

  .about-copy h2 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .about-lead {
    font-size: 16px;
  }

  .about-location-card,
  .about-floating-card,
  .about-metric {
    padding: 18px;
  }

  .about-media-wrap {
    min-height: 420px;
  }

  .about-floating-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }
}

/* Mission & Vision */
.mission-section {
  width: 100%;
  background: #f9fafb;
  padding: 96px max(24px, calc((100% - 1460px) / 2));
}

.mission-grid {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mission-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 19, 22, 0.06);
}

.mission-card .about-eyebrow {
  margin-bottom: 14px;
}

.mission-card h3 {
  margin: 0 0 14px;
  color: #101316;
  font-size: 26px;
  line-height: 1.15;
}

.mission-card p {
  margin: 0;
  color: #5e6978;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

/* Core Values */
.values-section {
  width: 100%;
  background: #ffffff;
  padding: 96px max(24px, calc((100% - 1460px) / 2));
}

.values-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.values-heading h2 {
  margin: 0;
  color: #101316;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
}

.values-grid {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card {
  padding: 30px 26px;
  border-radius: 18px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 19, 22, 0.05);
}

.value-index {
  margin: 0 0 16px;
  color: #3c6fff;
  font-size: 14px;
  font-weight: 800;
}

.value-card h3 {
  margin: 0 0 10px;
  color: #101316;
  font-size: 19px;
  line-height: 1.25;
}

.value-card p {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Powerful Technologies */
.tech-section {
  width: 100%;
  background: #f9fafb;
  padding: 96px max(24px, calc((100% - 1460px) / 2));
}

.tech-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.tech-heading h2 {
  margin: 8px 0 14px;
  color: #101316;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
}

.tech-subtitle {
  margin: 0;
  color: #5e6978;
  font-size: 16px;
  line-height: 1.7;
}

.tech-grid {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 32px 20px;
}

.tech-item {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--tech-tint);
  color: var(--tech-color);
  box-shadow: 0 10px 24px rgba(16, 19, 22, 0.06);
  transition: transform 0.2s ease;
}

.tech-item:hover .tech-icon {
  transform: translateY(-4px);
}

.tech-icon svg {
  width: 30px;
  height: 30px;
}

.tech-item span {
  font-size: 13px;
  font-weight: 600;
  color: #5e6978;
  text-align: center;
}

@media (max-width: 1180px) {
  .tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 14px;
  }
}

/* Our Story + Founders */
.story-section {
  width: 100%;
  background: #f9fafb;
  padding: 96px max(24px, calc((100% - 1460px) / 2));
}

.story-shell {
  max-width: 1460px;
  margin: 0 auto;
  display: grid;
  gap: 64px;
}

.story-copy {
  max-width: 74ch;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.story-copy p:not(.about-eyebrow) {
  margin: 0;
  color: #5e6978;
  font-size: 17px;
  line-height: 1.85;
  text-align: left;
  justify-self: stretch;
}

.founders-heading {
  margin: 0 0 28px;
  color: #101316;
  text-align: center;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(16, 19, 22, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(16, 19, 22, 0.06);
}

.founder-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.founder-avatar {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #3c6fff;
  background: #eef4ff;
  font-size: 20px;
  font-weight: 800;
}

.founder-name {
  margin: 0;
  color: #101316;
  font-size: 20px;
}

.founder-title {
  margin: 4px 0 0;
  color: #3c6fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.founder-bio {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .mission-section,
  .values-section,
  .story-section {
    padding: 76px 16px;
  }

  .mission-card,
  .founder-card {
    padding: 26px;
  }
}

/* ===== Page + scroll transitions ===== */
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageFadeIn 380ms ease;
}

body.is-leaving {
  opacity: 0;
  transition: opacity 200ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Legal / policy pages ===== */
.legal-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 168px 0 120px;
}

.legal-page .eyebrow {
  margin-bottom: 12px;
}

.legal-page h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 40px;
}

.legal-page p,
.legal-page li {
  color: #33393c;
  font-size: 16px;
  line-height: 1.8;
}

.legal-page ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 128px 0 80px;
  }
}

/* Inquiry form modal */
body.inquiry-modal-open {
  overflow: hidden;
}

.inquiry-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 16, 0.72);
}

.inquiry-modal-overlay.is-open {
  display: flex;
}

.inquiry-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.inquiry-modal h3 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--ink);
}

.inquiry-modal-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.inquiry-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e6e8ed;
  background: #ffffff;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.inquiry-modal-close:hover {
  background: #f5f7fb;
  transform: scale(1.05);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
}

.inquiry-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 0 6px;
}

.inquiry-optional {
  font-weight: 400;
  color: var(--muted);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fafafa;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.inquiry-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.inquiry-submit {
  margin-top: 22px;
  padding: 13px 20px;
  border-radius: 10px;
  border: none;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.inquiry-submit:hover {
  transform: translateY(-1px);
}

.inquiry-form.is-submitting .inquiry-submit {
  opacity: 0.6;
  pointer-events: none;
}

.inquiry-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
}

.inquiry-form.is-done .inquiry-status {
  color: #1a9e6d;
  font-weight: 600;
}

@media (max-width: 560px) {
  .inquiry-modal {
    padding: 28px 22px;
  }

  .inquiry-form-row {
    grid-template-columns: 1fr;
  }
}

/* Inquiries dashboard */
.dashboard-body {
  background: #f5f6fa;
  min-height: 100vh;
}

.dashboard-login:not([hidden]) {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dashboard-login-form {
  width: min(400px, 100%);
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.dashboard-login-form h1 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--ink);
}

.dashboard-login-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.dashboard-login-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 15px;
  background: #fafafa;
  color: var(--ink);
}

.dashboard-login-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
}

.dashboard-login-error {
  margin: 12px 0 0;
  font-size: 14px;
  color: #d9483d;
  min-height: 18px;
}

.dashboard-view {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-header h1 {
  margin: 0 0 4px;
  font-size: 28px;
  color: var(--ink);
}

.dashboard-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a9e6d;
  box-shadow: 0 0 0 rgba(26, 158, 109, 0.5);
  animation: dashboard-pulse 2s infinite;
}

@keyframes dashboard-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 158, 109, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(26, 158, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 158, 109, 0); }
}

.dashboard-logout {
  color: var(--ink);
  border-color: #d8dbe4;
}

.dashboard-table-wrap {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #edeef2;
  white-space: nowrap;
}

.dashboard-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-message {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.dashboard-message:hover {
  text-decoration: underline;
  color: var(--blue);
}

.ticket-number-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
}

.ticket-number-btn:hover {
  color: var(--blue);
  text-decoration: underline;
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0 0 20px;
  font-size: 14px;
}

.ticket-detail-grid dt {
  color: var(--muted);
  font-weight: 600;
}

.ticket-detail-grid dd {
  margin: 0;
  color: var(--ink);
}

.ticket-detail-message {
  white-space: pre-wrap;
  line-height: 1.6;
  color: var(--ink);
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #e0e2e8;
}

.dashboard-status-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 13px;
  background: #fafafa;
}

.dashboard-empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.dashboard-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e4ea;
}

.dashboard-tab {
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transform: translateY(1px);
}

.dashboard-tab:hover {
  color: var(--ink);
}

.dashboard-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

.dashboard-panel[hidden] {
  display: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.stat-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.stat-value {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}

.stat-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.dashboard-subsection {
  margin-top: 8px;
}

.dashboard-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dashboard-panel-toolbar .dashboard-subheading {
  margin: 0;
}

.dashboard-subheading {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink);
}

.assignee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.assignee-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.assignee-count {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.assignee-label {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.dashboard-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, opacity 160ms ease;
}

.dashboard-btn:hover {
  transform: translateY(-1px);
}

.dashboard-btn-small {
  padding: 6px 10px;
  font-size: 12px;
}

.dashboard-btn-danger {
  border-color: #d9483d;
  background: #ffffff;
  color: #d9483d;
}

.dashboard-btn-danger:hover {
  background: #d9483d;
  color: #ffffff;
}

.ticket-converted {
  font-size: 12px;
  font-weight: 600;
  color: #1a9e6d;
  white-space: nowrap;
}

.ticket-type-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: #eef0f5;
  color: var(--muted);
}

.ticket-type-badge.ticket-type-call {
  background: #e6f4ff;
  color: #1466b3;
}

.ticket-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.calendar-weekday {
  padding: 4px 6px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.calendar-cell {
  min-height: 92px;
  padding: 8px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #edeef2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 140ms ease, background 140ms ease;
}

.calendar-cell:hover {
  border-color: var(--blue);
}

.calendar-cell-empty {
  background: none;
  border: none;
  cursor: default;
}

.calendar-cell-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.calendar-cell.is-today .calendar-cell-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
}

.calendar-cell.is-selected {
  border-color: var(--blue);
  background: #eef6ff;
}

.calendar-cell.has-calls {
  border-color: #b9dcff;
}

.calendar-cell-calls {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.calendar-call-chip {
  display: block;
  padding: 2px 6px;
  border-radius: 6px;
  background: #e6f4ff;
  color: #1466b3;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-call-more {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 720px) {
  .calendar-cell {
    min-height: 64px;
  }
  .calendar-call-chip {
    font-size: 10px;
  }
}

.calendar-day-detail {
  margin-top: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.calendar-day-detail h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink);
}

.calendar-day-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-day-detail-list li[data-id] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #edeef2;
  cursor: pointer;
}

.calendar-day-detail-list li[data-id]:hover {
  border-color: var(--blue);
}

.calendar-day-detail-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.calendar-day-detail-name {
  flex: 1;
  color: var(--ink);
}

/* Project detail modal (notes + features + services) */
.inquiry-modal-wide {
  width: min(880px, 100%);
}

.project-detail-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .project-detail-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .project-detail-columns {
    grid-template-columns: 1fr;
  }
}

.project-detail-col .dashboard-subheading {
  margin-bottom: 10px;
}

.detail-edit-form {
  margin: 16px 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edeef2;
}

.detail-edit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-edit-field {
  flex: 1 1 140px;
}

.detail-edit-field-wide {
  flex-basis: 100%;
}

.detail-edit-url-row {
  display: flex;
  gap: 8px;
}

.detail-edit-url-row input {
  flex: 1;
}

.detail-edit-field .inquiry-field-label {
  margin: 0 0 6px;
}

.detail-edit-field input,
.detail-edit-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
}

.detail-edit-field input:focus,
.detail-edit-field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
}

.detail-edit-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.detail-edit-msg {
  font-size: 13px;
  color: #1a9e6d;
  font-weight: 600;
}

.feature-list,
.notes-list,
.service-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

.feature-list li,
.notes-list li,
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #edeef2;
}

.notes-list li {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.detail-service-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-service-notes {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-service-form {
  flex-direction: column;
}

.detail-service-form input {
  width: 100%;
}

.detail-empty {
  color: var(--muted);
  font-size: 13px;
  border-bottom: none !important;
}

.detail-item-label {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
}

.feature-status-select {
  flex-shrink: 0;
}

.detail-remove-btn {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.detail-remove-btn:hover {
  background: #f5f7fb;
  color: var(--coral);
}

.detail-note-body {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  white-space: pre-wrap;
}

.detail-note-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}

.detail-add-form {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.detail-add-form input,
.detail-add-form textarea {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 13px;
  background: #fafafa;
  resize: vertical;
}

.detail-add-form input:focus,
.detail-add-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
}

#project-new-customer-fields[hidden] {
  display: none;
}

/* Search/filter bars (Tickets, Projects) */
.dashboard-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dashboard-filter-bar input[type="search"],
.dashboard-filter-bar select,
.dashboard-filter-bar input[type="date"] {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 13px;
  background: #ffffff;
  color: var(--ink);
}

.dashboard-filter-bar input[type="search"] {
  flex: 1 1 220px;
  min-width: 160px;
}

.dashboard-filter-bar input:focus,
.dashboard-filter-bar select:focus {
  outline: none;
  border-color: var(--blue);
}

.dashboard-filter-date-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.dashboard-btn-ghost {
  background: none;
  border-color: #d8dbe4;
  color: var(--muted);
}

.dashboard-btn-ghost:hover {
  background: #f5f7fb;
  color: var(--ink);
}

/* Payments ledger (project detail modal) */
.project-detail-payments {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edeef2;
}

.payments-table {
  margin-bottom: 12px;
}

.payments-total {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.detail-payment-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-payment-form input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e0e2e8;
  font-family: inherit;
  font-size: 13px;
  background: #fafafa;
}

.detail-payment-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
}

.detail-payment-form input[name="paid_on"] {
  flex: 0 0 150px;
}

.detail-payment-form input[name="label"] {
  flex: 1 1 160px;
}

.detail-payment-form input[name="amount"] {
  flex: 0 0 120px;
}

/* Homepage services section refresh */
.home-services {
  position: relative;
  overflow: hidden;
  padding: 110px 0 105px;
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 99, 235, 0.1), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(96, 165, 250, 0.07), transparent 25%),
    #ffffff;
}

.home-services::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.home-services .services-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-services .home-services-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 64px;
}

.home-services .section-eyebrow {
  margin: 0 0 16px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.home-services .home-services-heading h2 {
  margin: 0;
  color: #071533;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.055em;
  max-width: 640px;
  text-transform: none;
}

.home-services .home-services-heading h2 span {
  color: #2563eb;
}

.home-services .home-services-heading-copy {
  max-width: 520px;
  justify-self: end;
}

.home-services .home-services-heading-copy p {
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.75;
}

.home-services .home-services-list {
  border-top: 1px solid #e4eaf2;
}

.home-services .home-service-row {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1.05fr 1.35fr auto;
  gap: 28px;
  align-items: center;
  min-height: 150px;
  padding: 28px 8px;
  border-bottom: 1px solid #e4eaf2;
  transition: padding 220ms ease, background 220ms ease;
  cursor: pointer;
}

.home-services .home-service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent 72%);
  transition: opacity 220ms ease;
  pointer-events: none;
}

.home-services .home-service-row:hover {
  padding-left: 18px;
  padding-right: 18px;
}

.home-services .home-service-row:hover::before {
  opacity: 1;
}

.home-services .home-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: #edf4ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  position: relative;
  z-index: 1;
}

.home-services .home-service-icon svg {
  width: 30px;
  height: 30px;
}

.home-services .home-service-row:hover .home-service-icon {
  transform: rotate(-4deg) scale(1.07);
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #4f7cff);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.24);
}

.home-services .home-service-title {
  position: relative;
  z-index: 1;
}

.home-services .home-service-number {
  display: block;
  margin-bottom: 7px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-services .home-service-title h3 {
  margin: 0;
  color: #071533;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.home-services .home-service-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.65;
}

.home-services .home-service-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #e4eaf2;
  color: #2563eb;
  background: #ffffff;
  font-size: 18px;
  position: relative;
  z-index: 1;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.home-services .home-service-row:hover .home-service-arrow {
  transform: translateX(5px);
  color: #ffffff;
  border-color: #2563eb;
  background: #2563eb;
}

.home-services .home-services-more {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-services .home-services-more p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.home-services .home-services-more a {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1749d8);
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  border: 0;
}

.home-services .home-services-more a:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

@media (max-width: 900px) {
  .home-services .home-services-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-services .home-services-heading-copy {
    justify-self: start;
  }

  .home-services .home-service-row {
    grid-template-columns: 72px 1fr auto;
  }

  .home-services .home-service-icon {
    justify-self: center;
  }

  .home-services .home-service-copy {
    grid-column: 2 / -1;
    padding-right: 72px;
  }

  .home-services .home-service-arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .home-services {
    padding: 74px 0;
  }

  .home-services .home-service-row {
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    padding: 22px 0;
  }

  .home-services .home-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    justify-self: center;
  }

  .home-services .home-service-title h3 {
    font-size: 21px;
  }

  .home-services .home-service-copy {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .home-services .home-services-more {
    align-items: flex-start;
    flex-direction: column;
  }
}

.home-cta-section {
  width: 100%;
  padding: 34px 0 96px;
  background: #ffffff;
}

.home-cta-section::before {
  content: none;
}

.home-cta-section .vision-container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  padding: 56px;
  background: linear-gradient(135deg, #173780, #214dbf 58%, #3262e8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 24px 56px rgba(33, 67, 160, 0.24);
}

.home-cta-section .vision-container::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -72px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.34) 0%, rgba(124, 162, 255, 0.28) 42%, rgba(124, 162, 255, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.home-cta-section .vision-copy,
.home-cta-section .vision-cta-wrap {
  position: relative;
  z-index: 1;
}

.home-cta-section .vision-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.home-cta-section .vision-copy .eyebrow {
  margin: 0;
  color: #dbe7ff;
  letter-spacing: 0.11em;
  font-size: 14px;
  font-weight: 700;
}

.home-cta-section .vision-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.home-cta-section .vision-desc {
  margin: 0;
  max-width: 560px;
  color: #d5e1ff;
  font-size: 18px;
  line-height: 1.45;
}

.home-cta-section .vision-cta-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.home-cta-section .vision-cta {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #1e4fc7;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(18, 42, 109, 0.28);
}

.home-cta-section .vision-cta:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(18, 42, 109, 0.34);
}

@media (max-width: 980px) {
  .home-cta-section .vision-container {
    padding: 44px 36px;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .home-cta-section {
    padding: 28px 0 78px;
  }

  .home-cta-section .vision-container {
    padding: 34px 24px;
  }

  .home-cta-section .vision-container::after {
    right: -38px;
    top: -54px;
    width: 128px;
    height: 128px;
  }

  .home-cta-section .vision-copy .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .home-cta-section .vision-copy h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .home-cta-section .vision-desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .home-cta-section .vision-cta {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
}


/* Homepage final CTA refresh (replaces .home-cta-section on index.html) */
.home-final-cta {
  position: relative;
  overflow: hidden;
  width: min(1320px, calc(100% - 48px));
  margin: 100px auto 0;
  border-radius: 32px;
  padding: 56px;
  background:
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, 0.25), transparent 35%),
    linear-gradient(135deg, #071533, #0c2d7a, #2563eb);
  color: #ffffff;
  box-shadow: 0 30px 70px rgba(10, 35, 80, 0.25);
}

.home-final-cta .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.home-final-cta .eyebrow {
  margin: 0 0 16px;
  color: #9bc4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-final-cta h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 54px;
  line-height: 1;
  max-width: 700px;
}

.home-final-cta .desc {
  margin: 0;
  max-width: 620px;
  color: #d8e5ff;
  line-height: 1.7;
}

.home-final-cta .buttons {
  display: flex;
  gap: 14px;
}

.home-final-cta .buttons a {
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.home-final-cta .buttons a:hover {
  transform: translateY(-3px);
}

.home-final-cta .primary {
  background: #ffffff;
  color: #071533;
}

.home-final-cta .secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.home-final-cta .stats {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.home-final-cta .stats strong {
  display: block;
  font-size: 28px;
}

.home-final-cta .stats span {
  color: #c7d8f7;
  font-size: 14px;
}

.home-prefooter {
  width: min(1320px, calc(100% - 48px));
  margin: 42px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5ebf4;
  font-size: 14px;
  color: #667085;
}

.home-prefooter a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .home-final-cta {
    padding: 40px 28px;
  }

  .home-final-cta .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .home-final-cta h2 {
    font-size: 38px;
  }

  .home-final-cta .stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-prefooter {
    flex-direction: column;
    gap: 8px;
  }
}
