:root {
  --bg: #0b1220;
  --bg-elev: #111a2b;
  --bg-soft: #162236;
  --card: rgba(255, 255, 255, 0.04);
  --text: #eef4ff;
  --muted: #a8b7d1;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #72d4c7;
  --accent-2: #95e3da;
  --danger: #ff7c7c;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0b1220 0%, #0e1728 100%);
  color: var(--text);
  line-height: 1.55;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 1rem;
}

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

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #06111b;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  padding: 4.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(114, 212, 199, 0.2);
  color: var(--accent-2);
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(114, 212, 199, 0.06);
  margin-bottom: 1rem;
}

.icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 11ch;
}

.hero h1,
.marketing-hero h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.15rem);
  line-height: 1.03;
  text-wrap: balance;
}

.hero h1 {
  max-width: 18ch;
}

.marketing-hero h1 {
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.12rem;
}

.lead {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
}

.hero .lead,
.marketing-hero .lead {
  margin: 0;
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.card {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.feature-card {
  align-self: center;
  padding: 1.2rem 1.35rem;
  min-height: auto;
}

.feature-card .list-clean li + li {
  margin-top: 0.45rem;
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin: 1rem 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 3.6rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: center;
}

.kicker {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-band {
  padding: 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(114, 212, 199, 0.12), rgba(255, 255, 255, 0.04));
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7f90ad;
}

.req {
  color: var(--danger);
  font-weight: 700;
}

.label-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-contact-card {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.page-hero {
  padding: 3.2rem 0 1.8rem;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.page-stack {
  display: grid;
  gap: 1.2rem;
}

.marketing-hero .page-stack {
  gap: 0;
}

.marketing-hero .breadcrumbs {
  margin-bottom: 1rem;
}

.about-hero-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-grid > .page-stack {
  flex: 1 1 auto;
  min-width: 0;
}

.about-hero-image {
  flex: 0 0 42%;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.small {
  font-size: 0.93rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 10;
    gap: 0;
    border-top: 1px solid var(--line);
    padding: 0.4rem 0 1.1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.8rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    min-height: 72px;
    gap: 0.6rem;
  }

  .brand {
    flex: 1;
  }

  .brand-logo {
    height: 48px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .sticky-contact-card {
    position: static;
  }

  .about-hero-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-hero-image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .hero {
    padding: 2.4rem 0 1.6rem;
  }

  h1,
  .hero h1,
  .marketing-hero h1 {
    max-width: none;
  }

  .section {
    padding: 2.4rem 0;
  }

  .page-hero {
    padding: 2rem 0 1.2rem;
  }

  .cta-band {
    padding: 1.1rem;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 40px;
  }

  .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    min-height: 40px;
  }

  .nav-cta {
    gap: 0.5rem;
  }

  .card {
    padding: 1rem;
  }

  .cta-band {
    border-radius: 12px;
  }

  .section {
    padding: 2rem 0;
  }
}
