:root {
  --bg: #0b1116;
  --panel: rgba(10, 17, 22, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf3f4;
  --muted: #a7b6bc;
  --accent: #7dd7c5;
  --accent-strong: #a8ece0;
  --sand: #d9bf8b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(125, 215, 197, 0.12), transparent 30%),
    linear-gradient(180deg, #091015 0%, #0c151c 55%, #0a0f13 100%);
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(168, 236, 224, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-word,
.site-nav a,
.eyebrow,
.section-label,
.feature-kicker,
.caption-tag {
  font-family: "Space Grotesk", sans-serif;
}

.brand-word {
  display: block;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  color: var(--sand);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a,
.reference-list a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.reference-list a:hover,
.reference-list a:focus-visible {
  color: var(--accent-strong);
}

.lang-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle__button {
  min-width: 64px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle__button.is-active {
  color: #07211e;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 48px 0 28px;
}

.eyebrow,
.section-label,
.feature-kicker {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.intro,
.overview-card p,
.scope-card__body p,
.media-stage__caption p,
.footer-copy,
.section-intro {
  color: var(--muted);
  line-height: 1.65;
}

.intro {
  max-width: 39rem;
  margin: 24px 0 0;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.primary {
  color: #07211e;
  background: var(--accent);
}

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

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 10px 14px;
  border: 1px solid rgba(125, 215, 197, 0.18);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(125, 215, 197, 0.05);
}

.signal-list a {
  color: inherit;
  text-decoration: none;
}

.signal-list a:hover,
.signal-list a:focus-visible {
  color: #d7fff8;
}

.media-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-image {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.media-stage__caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 300px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(7, 12, 16, 0.72);
  backdrop-filter: blur(12px);
}

.caption-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.media-stage__caption p {
  margin: 0;
  font-size: 0.98rem;
}

.overview,
.proof-strip,
.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.overview {
  margin-top: 16px;
}

.proof-card,
.overview-card,
.scope-card,
.reference-list a,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.proof-card {
  padding: 24px;
  border-radius: 24px;
}

.proof-card p:last-child {
  margin-bottom: 0;
}

.overview-card {
  padding: 28px;
  border-radius: 24px;
}

.overview-card p:last-child,
.scope-card__body p:last-child {
  margin-bottom: 0;
}

.scopes-section,
.reference-section {
  margin-top: 88px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-intro {
  max-width: 42rem;
  margin: 0;
}

.scope-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  margin-top: 20px;
}

.scope-card--software {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}

.scope-card__media {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.scope-card__media img,
.scope-card__media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.scope-card__body {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 30px;
}

.scope-card__body p {
  margin: 0;
}

.scope-output-label {
  margin: 6px 0 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.scope-output {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-output li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.scope-output li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reference-list a {
  padding: 22px 24px;
  border-radius: 20px;
}

.site-footer {
  align-items: end;
  margin-top: 88px;
  padding: 30px;
  border-radius: 30px;
}

.footer-copy {
  margin: 18px 0 0;
  max-width: 34rem;
}

.footer-mail {
  justify-self: end;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .proof-strip,
  .overview,
  .site-footer,
  .scope-card,
  .scope-card--software {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    gap: 18px;
  }

  .header-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .reference-list {
    grid-template-columns: 1fr;
  }

  .footer-mail {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-word {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .brand-subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .site-nav {
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-image {
    aspect-ratio: 16 / 11;
  }

  .media-stage__caption,
  .overview-card,
  .scope-card__body,
  .site-footer {
    padding: 20px;
  }

  .media-stage__caption {
    position: static;
    max-width: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(7, 12, 16, 0.84);
  }
}
