:root {
  color-scheme: light;
  --bg: #08111f;
  --surface: rgba(10, 19, 34, 0.82);
  --surface-solid: #0c1628;
  --surface-border: rgba(255, 255, 255, 0.12);
  --text-main: #f7fafc;
  --text-muted: rgba(230, 238, 246, 0.72);
  --shadow: 0 24px 80px rgba(3, 8, 20, 0.32);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26rem),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.06), transparent 22rem),
    linear-gradient(180deg, #08111f 0%, #0d1830 48%, #091120 100%);
  color: var(--text-main);
  font-family: "Manrope", sans-serif;
}

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

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

h1,
h2,
h3,
strong,
.eyebrow,
.section-kicker,
.brandmark strong {
  font-family: "Space Grotesk", sans-serif;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(26px);
  opacity: 0.42;
}

.ambient-one {
  width: 22rem;
  height: 22rem;
  top: 5rem;
  right: -6rem;
  background: radial-gradient(circle, var(--brand-primary), transparent 70%);
}

.ambient-two {
  width: 18rem;
  height: 18rem;
  left: -4rem;
  top: 40rem;
  background: radial-gradient(circle, var(--brand-secondary), transparent 70%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brandmark-badge {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brandmark-wording {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brandmark-wording strong {
  font-size: 1.05rem;
}

.brandmark-wording span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: white;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  background: transparent;
  border: 0;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.hero-section {
  padding: 6rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-copy h1,
.section-head h2,
.workflow-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  max-width: 12ch;
}

.section-head h2,
.workflow-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 18ch;
}

.hero-description,
.section-copy {
  max-width: 44rem;
  margin-top: 1.15rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--brand-primary) 32%, transparent);
}

.btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.hero-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-note-label,
.panel-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
}

.hero-panel {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.panel-card {
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 13, 24, 0.78);
  padding: 1.35rem;
}

.panel-main h2 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.panel-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.metric-grid,
.feature-grid,
.solution-grid {
  display: grid;
  gap: 1rem;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.metric-card,
.feature-card,
.solution-card,
.workflow-step,
.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 17, 31, 0.76);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.2rem 1.25rem;
}

.metric-value {
  display: block;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
}

.metric-label {
  display: block;
  margin-top: 0.32rem;
  color: var(--text-muted);
}

.content-section {
  padding: 1.2rem 0 4.8rem;
}

.content-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 85%);
}

.section-head {
  margin-bottom: 1.6rem;
}

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

.feature-card,
.solution-card {
  padding: 1.55rem;
}

.feature-kicker,
.solution-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.feature-card h3,
.solution-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

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

.solution-card ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.solution-card li + li {
  margin-top: 0.45rem;
}

.workflow-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.2rem;
  align-items: start;
}

.workflow-grid {
  display: grid;
  gap: 1rem;
}

.workflow-step {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 1.35rem;
}

.workflow-index {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.trust-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.trust-chip {
  padding: 1rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  color: white;
}

.contact-section {
  padding-bottom: 5.5rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card {
  padding: 1.4rem;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-row a {
  color: white;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 20, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 2rem;
}

.footer-inner strong {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  text-align: right;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .workflow-shell,
  .contact-shell,
  .metric-grid,
  .feature-grid,
  .solution-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.75rem);
    width: min(18rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 11, 20, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 4.8rem;
  }

  .container {
    width: min(1180px, calc(100% - 1.2rem));
  }
}
