:root {
  --page-bg: #eff4fa;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #f5f8fc;
  --ink: #17263c;
  --muted: #66758a;
  --line: rgba(86, 111, 154, 0.18);
  --line-strong: rgba(86, 111, 154, 0.3);
  --blue: #2e7de9;
  --blue-deep: #123a86;
  --lime: #d3f05d;
  --shadow: 0 28px 60px rgba(18, 44, 86, 0.14);
  --heading-font: "Space Grotesk", "Segoe UI", sans-serif;
  --body-font: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 10% 10%, rgba(211, 240, 93, 0.18), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(46, 125, 233, 0.12), transparent 30%),
    linear-gradient(180deg, #edf3fa 0%, #f7fbff 42%, #ffffff 100%);
}

.page-shell {
  width: min(1240px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 28px rgba(18, 44, 86, 0.08);
}

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

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(18, 44, 86, 0.12);
}

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

.brand-copy strong,
.section-head h2,
.hero h1,
.hero-panel h2,
.poster-footer strong,
.inside-card strong,
.process-step strong,
.faq-item summary {
  font-family: var(--heading-font);
}

.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1.16rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-deep);
  background: rgba(46, 125, 233, 0.08);
  transform: translateY(-1px);
}

.hero,
.roles-section,
.inside-section,
.process-section,
.faq-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 340px);
  gap: 26px;
  padding: 38px;
  background:
    linear-gradient(90deg, rgba(5, 18, 36, 0.9) 0%, rgba(5, 18, 36, 0.52) 42%, rgba(5, 18, 36, 0.08) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    url("./assets/hero-route.png") center center / cover no-repeat;
}

.hero-copy {
  align-self: end;
  width: min(680px, 100%);
  display: grid;
  gap: 18px;
  color: #f8fbff;
}

.hero-eyebrow {
  color: #b6d8ff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.1rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero-intro {
  margin: 0;
  max-width: 620px;
  color: rgba(248, 251, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-panel {
  align-self: start;
  justify-self: end;
  width: 100%;
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(5, 18, 36, 0.18);
}

.hero-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.hero-role-list {
  display: grid;
  gap: 12px;
}

.hero-role-row {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-role-row strong {
  font-family: var(--heading-font);
  font-size: 1.08rem;
}

.hero-role-row span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 34px 0;
}

.section-head.compact {
  align-items: flex-start;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-head p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.roles-grid,
.inside-grid,
.process-grid,
.faq-list {
  padding: 28px 34px 34px;
}

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

.role-poster {
  position: relative;
  display: grid;
  gap: 16px;
  padding-top: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.role-poster:hover {
  transform: translateY(-8px);
  filter: saturate(1.03);
}

.poster-frame {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(18, 44, 86, 0.12);
  box-shadow: 0 28px 54px rgba(18, 44, 86, 0.16);
  background: linear-gradient(180deg, #091528, #0f2441);
}

.role-poster img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.hanger {
  position: absolute;
  top: 0;
  width: 20px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(86, 111, 154, 0.22);
  background: linear-gradient(180deg, rgba(243, 247, 253, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow: 0 8px 16px rgba(18, 44, 86, 0.12);
  z-index: 2;
}

.hanger::after {
  content: "";
  position: absolute;
  inset: 12px 4px 4px;
  border-radius: 999px;
  background: rgba(46, 125, 233, 0.08);
}

.hanger.left {
  left: 52px;
}

.hanger.right {
  right: 52px;
}

.poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 8px 0 4px;
  color: var(--ink);
}

.poster-copy {
  display: grid;
  gap: 6px;
}

.poster-footer strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.poster-copy span {
  display: block;
  margin-top: 0;
  color: var(--muted);
  line-height: 1.52;
}

.poster-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f7feb, #4a89ef);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(46, 125, 233, 0.22);
  white-space: nowrap;
}

.poster-cta::after {
  content: "›";
  font-size: 1rem;
}

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

.inside-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: 0 18px 34px rgba(18, 44, 86, 0.09);
}

.inside-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.inside-card-copy {
  display: grid;
  gap: 10px;
  padding: 20px 20px 22px;
}

.inside-card strong {
  font-size: 1.08rem;
}

.inside-card p,
.process-step p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 14px 28px rgba(18, 44, 86, 0.08);
}

.process-step span {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: 0 14px 28px rgba(18, 44, 86, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 1.03rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 22px 20px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .role-poster,
  .site-nav a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 680px;
  }

  .hero-panel {
    justify-self: start;
    max-width: 420px;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 22px, 100%);
    padding-top: 12px;
  }

  .site-header,
  .section-head,
  .roles-grid,
  .inside-grid,
  .process-grid,
  .faq-list {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 600px;
    padding: 24px 18px;
    background-position: center right;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.3rem);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
  }

  .section-head p {
    max-width: none;
  }

  .roles-grid,
  .inside-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .role-poster,
  .role-poster img {
    min-height: 620px;
  }

  .hanger.left {
    left: 36px;
  }

  .hanger.right {
    right: 36px;
  }

  .poster-footer {
    gap: 8px;
  }
}

.poster-cta::after {
  content: "\203A";
  font-size: 1rem;
}

@media (max-width: 760px) {
  .role-poster {
    min-height: 0;
  }

  .role-poster img {
    min-height: 0;
    height: auto;
  }

  .poster-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
