:root {
  --bg: #f4f6fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-dark: #07111f;
  --text: #0a1430;
  --muted: #5f6980;
  --line: rgba(10, 20, 48, 0.08);
  --blue: #1961ff;
  --blue-dark: #0a38a8;
  --red: #da254e;
  --red-soft: #ff6a85;
  --shadow: 0 30px 60px rgba(7, 17, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(25, 97, 255, 0.16), transparent 26%),
    radial-gradient(circle at 15% 20%, rgba(218, 37, 78, 0.12), transparent 24%),
    linear-gradient(180deg, #eef3fb 0%, #f7f9fc 34%, #eef2f8 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 32px), 1360px);
  margin: 16px auto;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(12, 23, 53, 0.08);
}

.site-header,
.section,
.site-footer,
.trust-strip {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(218, 37, 78, 0.28));
}

.brand-copy,
.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.76rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #29344f;
  font-size: 0.95rem;
}

.nav a,
.button,
.card,
.impact-card,
.brand,
.hero-badge,
.trust-strip div {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.nav a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 18px 30px rgba(25, 97, 255, 0.24);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-3px);
}

.button-primary:hover {
  box-shadow: 0 22px 36px rgba(25, 97, 255, 0.32);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(10, 20, 48, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(25, 97, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.button-ghost {
  color: var(--blue);
  border-color: rgba(25, 97, 255, 0.14);
  background: rgba(25, 97, 255, 0.08);
}

.section {
  padding: 52px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding-top: 26px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 7vw, 5.7rem);
  line-height: 0.94;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-text,
.intro-copy p,
.service-card p,
.standard-item p,
.statement-text,
.impact-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

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

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}

.hero-metrics li {
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 20, 48, 0.06);
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px 6% auto auto;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle, rgba(255, 106, 133, 0.56) 0%, rgba(255, 106, 133, 0.1) 40%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  min-height: 600px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  top: 28px;
  right: 26px;
  z-index: 1;
  width: 142px;
  padding: 18px;
  background: rgba(7, 17, 31, 0.82);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(7, 17, 31, 0.35);
}

.hero-badge span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.hero-badge strong {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  font-size: 1rem;
}

.hero-badge:hover,
.card:hover,
.impact-card:hover,
.trust-strip div:hover,
.brand:hover {
  transform: translateY(-6px);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 26px 0 12px;
}

.trust-strip div {
  text-align: center;
  padding: 16px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(10, 20, 48, 0.05);
  color: #44506c;
  font-size: 0.9rem;
}

.intro-grid,
.standards-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.card:hover,
.impact-card:hover {
  box-shadow: 0 34px 72px rgba(7, 17, 31, 0.16);
}

.card-media {
  overflow: hidden;
}

.card-media img {
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #33405d;
  line-height: 1.62;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  box-shadow: 0 0 0 5px rgba(218, 37, 78, 0.1);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 880px;
}

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

.service-card,
.standards-panel,
.statement-card,
.impact-card {
  padding: 28px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(25, 97, 255, 0.1);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.standards-panel {
  display: grid;
  gap: 18px;
}

.standard-item {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.standard-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.statement-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background: #081223;
}

.statement-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.statement-lead {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.statement-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  line-height: 1.7;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.52);
}

.impact {
  position: relative;
  color: white;
  padding-left: 34px;
  padding-right: 34px;
}

.impact::before {
  content: "";
  position: absolute;
  inset: 32px 0;
  background:
    linear-gradient(180deg, rgba(4, 9, 19, 0.92) 0%, rgba(8, 19, 40, 0.96) 100%);
  border-radius: 34px;
  z-index: -1;
}

.section-heading.on-dark h2,
.section-heading.on-dark .eyebrow,
.impact-card h3 {
  color: white;
}

.section-heading.on-dark .eyebrow {
  color: var(--red-soft);
}

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

.impact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(12px);
}

.impact-card p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  transform: translateY(-6px);
}

.footer-brand strong {
  display: block;
  margin-top: 6px;
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
}

.copyright {
  color: #5c6782;
  text-align: right;
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

@media (max-width: 1080px) {
  .site-header,
  .section-heading,
  .site-footer,
  .hero,
  .intro-grid,
  .standards-layout,
  .impact-grid,
  .cards-grid,
  .trust-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .hero-visual img,
  .card-media img {
    min-height: unset;
  }

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

  .copyright {
    text-align: left;
  }

  .impact {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 16px), 1360px);
    margin: 8px auto;
    border-radius: 24px;
  }

  .site-header,
  .section,
  .site-footer,
  .trust-strip {
    width: min(calc(100% - 24px), var(--container));
  }

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

  .nav {
    display: none;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
  }

  .section {
    padding: 42px 0;
  }

  .service-card,
  .standards-panel,
  .statement-card,
  .impact-card,
  .hero-badge {
    padding: 22px;
  }

  .hero-badge {
    width: 128px;
    top: 18px;
    right: 18px;
  }

  .trust-strip {
    gap: 10px;
  }

  .impact {
    padding-left: 18px;
    padding-right: 18px;
  }
}
