:root {
  --bg: #eef4fb;
  --surface: #ffffff;
  --ink: #0f2238;
  --muted: #52667b;
  --line: #d4e0ec;
  --brand: #0e65d9;
  --brand-dark: #093f85;
  --accent: #ff8d2d;
  --ok: #0d7e3c;
  --error: #af1f1f;
  --shadow-lg: 0 24px 54px rgba(8, 30, 57, 0.16);
  --shadow-md: 0 14px 28px rgba(8, 30, 57, 0.1);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -6%, rgba(14, 101, 217, 0.2), transparent 30%),
    radial-gradient(circle at 95% 15%, rgba(255, 141, 45, 0.2), transparent 32%),
    linear-gradient(180deg, #f8fbff, var(--bg) 46%, #f8fbff);
  line-height: 1.55;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(13, 75, 151, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 75, 151, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 38%, transparent 82%);
  z-index: -4;
  pointer-events: none;
}

.ambient-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(88px);
  z-index: -3;
  opacity: 0.35;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.ambient-orb-left {
  top: -130px;
  left: -140px;
  background: #44a0ff;
}

.ambient-orb-right {
  right: -140px;
  bottom: -160px;
  background: #ffab5f;
}

.ambient-trail {
  position: fixed;
  z-index: -2;
  width: 52vw;
  height: 84px;
  border-radius: 999px;
  opacity: 0.68;
  background: linear-gradient(90deg, rgba(68, 151, 244, 0.22), rgba(255, 141, 45, 0.08));
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(-10deg);
}

.ambient-trail-one {
  top: 24vh;
  left: -22vw;
}

.ambient-trail-two {
  top: 66vh;
  right: -20vw;
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(-14deg);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2.6rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 1rem;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 255, 0.82));
  border: 1px solid rgba(199, 215, 231, 0.8);
  border-radius: 999px;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(9px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  text-decoration: none;
  min-width: 0;
  padding: 0.28rem 0.35rem 0.28rem 0.3rem;
}

.brand-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 20px rgba(14, 101, 217, 0.3);
}

.brand-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.brand-icon circle {
  fill: rgba(255, 255, 255, 0.15);
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.4;
}

.brand-icon path {
  fill: #f5fbff;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-wordmark strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}

.brand-wordmark span {
  margin-top: 0.12rem;
  color: #60758b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover {
  background: rgba(14, 101, 217, 0.1);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
}

.menu-toggle span {
  width: 1.12rem;
  height: 2px;
  background: var(--ink);
}

main {
  padding: 2.2rem 0 4.4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 2.8vw, 2rem);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(237, 247, 255, 0.82)),
    linear-gradient(160deg, rgba(83, 166, 255, 0.16), rgba(255, 141, 45, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.kicker {
  margin: 0;
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(14, 101, 217, 0.25);
  background: rgba(14, 101, 217, 0.08);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.66rem;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin: 0.8rem 0 0;
  max-width: 13ch;
}

.hero-copy h1 span {
  display: block;
  color: var(--brand);
}

.hero-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.82rem;
  padding: 0.82rem 1.18rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(115deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: 0 12px 24px rgba(14, 101, 217, 0.28);
}

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

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.hero-points li {
  position: relative;
  padding-left: 1.28rem;
  color: #314a63;
  font-weight: 600;
}

.hero-points li + li {
  margin-top: 0.45rem;
}

.hero-points li::before {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand), #6cb9ff);
  position: absolute;
  left: 0;
  top: 0.5rem;
  box-shadow: 0 0 0 3px rgba(14, 101, 217, 0.16);
}

.hero-stats {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.66rem;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(198, 214, 230, 0.9);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(11, 42, 74, 0.12);
  border-color: rgba(14, 101, 217, 0.34);
}

.stat-card {
  padding: 0.92rem;
}

.stat-number {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.42rem;
  color: #0d4a93;
  font-weight: 800;
}

.stat-label {
  margin: 0.28rem 0 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.hero-media {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.hero-image-frame {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(197, 214, 232, 0.86);
  box-shadow: var(--shadow-md);
  background: #d8e8f8;
}

.hero-image-frame.parallax {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

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

.hero-image-frame figcaption {
  padding: 0.55rem 0.78rem 0.7rem;
  color: #40566d;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(245, 250, 255, 0.95);
}

.hero-panel {
  padding: 0.95rem 1rem;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(233, 245, 255, 0.88));
}

.hero-panel h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-panel p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

section:not(.hero) {
  margin-top: 4.1rem;
}

.section-intro {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

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

.logo-card {
  border: 1px solid rgba(196, 214, 232, 0.9);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  display: grid;
  place-items: center;
  min-height: 94px;
}

.logo-card img {
  display: block;
  width: min(190px, 80%);
  max-height: 44px;
  object-fit: contain;
}

.section-heading h2 {
  margin: 0.78rem 0 0;
  max-width: 24ch;
  font-size: clamp(1.48rem, 2.2vw, 2.18rem);
  line-height: 1.18;
  font-family: "Sora", sans-serif;
}

.step-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.step {
  padding: 1.15rem;
}

.step-number {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
}

.step h3 {
  margin: 0.38rem 0 0;
  font-size: 1rem;
}

.step p:last-child {
  margin: 0.52rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.role-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.role-card {
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #5cb2ff, var(--accent));
}

.role-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.role-card p {
  margin: 0.54rem 0 0;
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.story-copy {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 214, 230, 0.9);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
}

.story-copy h2 {
  margin: 0.8rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
}

.story-copy p {
  margin: 0.84rem 0 0;
  color: var(--muted);
}

.story-media {
  display: grid;
  gap: 0.8rem;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 214, 232, 0.86);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  min-height: 180px;
}

.story-media img.parallax {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.apply {
  position: relative;
  z-index: 2;
}

.form-intro {
  margin: 0.25rem 0 0;
  color: #2f4961;
  font-weight: 600;
}

.form-required-note {
  margin: 0.45rem 0 0;
  color: #3d556d;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-required-note span {
  color: #b42828;
}

.contact-form {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.82rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.89rem;
  color: #2b435b;
}

.contact-form .full-width {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  padding: 0.76rem 0.88rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(14, 101, 217, 0.7);
  box-shadow: 0 0 0 3px rgba(14, 101, 217, 0.12);
}

.contact-form small {
  color: #5f7489;
  font-size: 0.79rem;
  font-weight: 600;
}

.checkbox-group {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  padding: 0.75rem 0.85rem 0.85rem;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
}

.checkbox-group legend {
  padding: 0 0.25rem;
  font-size: 0.89rem;
  font-weight: 800;
  color: #2b435b;
}

.checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 0.48rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.consent-wrap,
.checkbox-group,
.contact-form .honeypot-field,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.consent-wrap {
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.78rem 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.consent-item {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.consent-item input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
}

.privacy-note {
  margin: 0;
  font-size: 0.8rem;
  color: #4f6479;
  font-weight: 700;
}

.privacy-note a {
  color: var(--brand-dark);
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form button {
  width: fit-content;
}

.form-status {
  margin: 0.15rem 0 0;
  min-height: 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--ok);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.submit-success {
  margin-top: 1.2rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(240, 255, 247, 0.9));
  border: 1px solid rgba(13, 126, 60, 0.28);
  border-radius: 1rem;
  padding: 1.3rem 1rem 1.15rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: success-fade-in 420ms ease-out both;
}

.success-mark {
  width: 82px;
  height: 82px;
  margin: 0 auto 0.75rem;
  position: relative;
  display: grid;
  place-items: center;
}

.success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(13, 126, 60, 0.25);
  animation: success-ring-grow 520ms ease-out both;
}

.success-check {
  width: 20px;
  height: 38px;
  border-right: 4px solid #0d7e3c;
  border-bottom: 4px solid #0d7e3c;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  margin-top: -4px;
  animation: success-check-pop 360ms ease-out 280ms forwards;
}

.success-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(13, 126, 60, 0.18);
  animation: success-pulse 900ms ease-out 180ms both;
}

.success-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  color: #0f5d2f;
}

.success-text {
  margin: 0.45rem auto 0;
  max-width: 56ch;
  color: #2f5b45;
  font-weight: 600;
}

@keyframes success-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes success-ring-grow {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes success-check-pop {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.6);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes success-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

.site-footer {
  margin-top: 0.6rem;
  border-top: 1px solid rgba(192, 209, 226, 0.76);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.parallax {
  --parallax-y: 0px;
  will-change: transform;
}

@media (max-width: 1030px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image-frame img {
    aspect-ratio: 16 / 10;
  }

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

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

  .story-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 0.76rem;
  }

  .header-shell {
    border-radius: 18px;
    padding: 0.55rem;
  }

  .brand-wordmark span {
    display: none;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.52rem);
    right: 0;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 0.18rem;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: var(--shadow-md);
    padding: 0.58rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    border-radius: 0.58rem;
    padding: 0.55rem 0.68rem;
  }

  .hero,
  .story-copy {
    padding: 1.15rem;
  }

  .hero-stats,
  .logo-grid,
  .step-grid,
  .role-grid,
  .contact-form,
  .story-media,
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .parallax {
    transform: none !important;
  }
}
