:root {
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  color: #fff;
  background: #071923;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #071923;
}
button {
  font: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9bd2ff;
  outline-offset: 5px;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #27343a url("./asset/hero-poster.jpg") center/cover no-repeat;
  pointer-events: none;
}
.site-backdrop__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-backdrop__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 30, var(--backdrop-overlay, 0.34));
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 740px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 106px;
  padding: 24px clamp(28px, 5.9vw, 112px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  color: #fff;
  text-decoration: none;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -0.055em;
}
.brand img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.header-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  border: 0;
  border-radius: 100px;
  background: #287df0;
  color: white;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 59, 147, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-cta:hover,
.primary-cta:hover {
  background: #116be0;
  transform: translateY(-2px);
}
.header-cta {
  justify-self: end;
  padding: 15px 25px 16px;
  font-size: 16px;
}
.arrow {
  font-size: 1.45em;
  line-height: 0.6;
  font-weight: 400;
}

.hero__content {
  align-self: center;
  position: relative;
  z-index: 2;
  margin: 52px 0 0 clamp(28px, 5.9vw, 112px);
  max-width: min(850px, 70vw);
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.77);
}
h1 {
  margin: 0;
  font-size: clamp(54px, 4.45vw, 82px);
  line-height: 1.25;
  letter-spacing: -0.075em;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}
h1 span {
  color: #83c4ff;
}
.hero__lead {
  margin: 23px 0 9px;
  color: #f7fbfd;
  font-size: clamp(19px, 1.25vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
  word-break: keep-all;
}
.hero__description {
  margin: 0 0 13px;
  color: rgba(247, 249, 251, 0.88);
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.65;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
  word-break: keep-all;
}
.hero__services {
  margin: 0 0 30px;
  color: rgba(207, 227, 238, 0.76);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.015em;
  font-weight: 600;
  word-break: keep-all;
}
.hero__services i {
  margin: 0 5px;
  color: #83c4ff;
  font-style: normal;
}
.primary-cta {
  min-height: 59px;
  padding: 14px 33px 16px;
  font-size: 19px;
}

.chapter-list {
  position: fixed;
  z-index: 4;
  top: 29.5%;
  right: clamp(30px, 5.8vw, 110px);
  display: grid;
  gap: 35px;
}
.chapter-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 100px;
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.45s ease, border-color 0.45s ease;
}
.chapter-list__item span {
  font-size: 20px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.chapter-list__item strong {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.chapter-list__item--active {
  color: #fff;
  border-left-color: #76b9ff;
}
.chapter-list__item--active span {
  color: #76b9ff;
}
.chapter-list__item span {
  transition: color 0.45s ease;
}

.progress {
  position: fixed;
  z-index: 4;
  left: clamp(28px, 5.9vw, 112px);
  bottom: 8.5%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}
.progress__current {
  font: inherit;
}
.progress i {
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
  transition: color 0.45s ease;
}
.progress__track {
  display: flex;
  width: clamp(180px, 18vw, 300px);
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.45s ease;
}
.progress__track span {
  width: var(--chapter-progress, 33.333%);
  height: 100%;
  background: #fff;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.45s ease;
}

.scroll-card {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: max(220px, 16vw);
  height: max(130px, 15vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-left: 18px;
  background: #263238;
  border: 1px solid transparent;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 32px;
  box-shadow: -18px -18px 55px rgba(9, 24, 30, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: background-color 0.9s ease, border-color 0.9s ease,
    box-shadow 0.9s ease;
}
.scroll-card__mouse {
  display: flex;
  justify-content: center;
  width: 37px;
  height: 61px;
  padding-top: 13px;
  border: 1.5px solid #fff;
  border-radius: 22px;
}
.scroll-card__mouse span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }
  .hero__content {
    max-width: 75vw;
  }
  h1 {
    font-size: clamp(48px, 5.2vw, 67px);
  }
  .chapter-list {
    right: 4vw;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 680px;
  }
  .site-backdrop__video {
    object-position: 57% center;
  }
  .site-header {
    min-height: 82px;
    padding: 17px 28px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .header-cta {
    padding: 13px 20px 14px;
    font-size: 14px;
  }
  .hero__content {
    margin: 20px 28px 0;
    max-width: calc(100% - 56px);
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
  }
  h1 {
    font-size: clamp(40px, 6.2vw, 57px);
  }
  .hero__lead {
    font-size: 18px;
  }
  .hero__description {
    font-size: 16px;
  }
  .chapter-list {
    display: none;
  }
  .progress {
    left: 28px;
    bottom: 50px;
  }
  .scroll-card {
    width: 175px;
    height: 132px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 640px;
  }
  .site-backdrop__video {
    object-position: 55% center;
  }
  .site-header {
    padding: 16px 20px;
  }
  .brand {
    gap: 10px;
    font-size: 23px;
  }
  .brand img {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }
  .header-cta {
    gap: 8px;
    padding: 11px 16px 12px;
    font-size: 13px;
  }
  .hero__content {
    margin: 0 20px;
    max-width: calc(100% - 40px);
    transform: translateY(-30px);
  }
  .eyebrow {
    margin-bottom: 19px;
    font-size: 11px;
    letter-spacing: 0.17em;
  }
  h1 {
    font-size: clamp(34px, 8.9vw, 49px);
    line-height: 1.28;
    letter-spacing: -0.08em;
    white-space: normal;
  }
  .hero__lead {
    margin: 18px 0 8px;
    font-size: 16px;
    line-height: 1.5;
  }
  .hero__description {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero__services {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: 11px;
    line-height: 1.7;
  }
  .hero__services i {
    margin: 0 3px;
  }
  .desktop-break {
    display: none;
  }
  .primary-cta {
    min-height: 54px;
    padding: 12px 22px 14px;
    font-size: 16px;
  }
  .progress {
    left: 20px;
    bottom: 39px;
    font-size: 12px;
  }
  .progress__track {
    width: 100px;
  }
  .scroll-card {
    width: 130px;
    height: 116px;
    gap: 7px;
    padding-left: 8px;
    border-top-left-radius: 24px;
    font-size: 10px;
  }
  .scroll-card__mouse {
    width: 29px;
    height: 48px;
    padding-top: 10px;
  }
  .scroll-card__mouse span {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .site-backdrop__video {
    display: none;
  }
}

/* Safety services */
.hero,
.safety-section,
.vision-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.safety-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-right: clamp(150px, 10vw, 190px);
  background: transparent;
  color: #f7fbff;
}
.safety-section__inner {
  position: relative;
  width: min(1500px, calc(100% - 96px));
  padding: clamp(58px, 6.5vh, 90px) 0;
  display: grid;
  grid-template-columns: minmax(400px, 2fr) minmax(600px, 3fr);
  align-items: center;
  gap: clamp(38px, 5vw, 88px);
  opacity: calc(1 - var(--safety-exit, 0));
  transform: translateY(calc(var(--safety-exit, 0) * -20px));
  will-change: opacity, transform;
}
.safety-phone {
  display: grid;
  place-items: center;
  min-width: 0;
  height: min(88svh, 900px);
  opacity: 1;
  transform: none;
}
.safety-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 34px 38px rgba(1, 11, 18, 0.32));
}
.safety-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: clamp(36px, 2.5vw, 42px);
  border: 1px solid rgba(163, 214, 238, 0.2);
  border-radius: 34px;
  background: radial-gradient(
      circle at 12% 0%,
      rgba(100, 187, 225, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 94% 100%,
      rgba(19, 82, 108, 0.15),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(6, 25, 37, 0.82),
      rgba(9, 39, 53, 0.7) 54%,
      rgba(5, 28, 41, 0.78)
    );
  box-shadow: 0 34px 84px rgba(0, 11, 19, 0.34),
    0 10px 28px rgba(3, 28, 42, 0.18), inset 0 1px rgba(224, 247, 255, 0.09),
    inset 0 -1px rgba(0, 10, 18, 0.28);
  backdrop-filter: blur(22px) saturate(0.84);
  -webkit-backdrop-filter: blur(22px) saturate(0.84);
  transform: translateX(clamp(-96px, -5.2vw, -64px));
}
.safety-copy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(209, 243, 255, 0.055),
    transparent 28%,
    transparent 70%,
    rgba(73, 151, 186, 0.035)
  );
}
.safety-copy::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: 33px;
  pointer-events: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055),
    inset 1px 0 rgba(177, 225, 245, 0.025),
    inset 0 -24px 50px rgba(0, 12, 21, 0.08);
}
.safety-copy > * {
  position: relative;
  z-index: 1;
}
.section-kicker {
  margin: 0 0 21px;
  color: #83c4ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
}
.safety-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.22;
  letter-spacing: -0.067em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.32);
}
.safety-copy h2 span {
  color: #83c4ff;
}
.safety-copy__description {
  margin: 24px 0 40px;
  color: rgba(241, 248, 252, 0.86);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.75;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 124px;
  padding: 21px;
  border: 1px solid rgba(190, 237, 255, 0.36);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(112, 202, 238, 0.18),
    rgba(30, 112, 174, 0.1)
  );
  box-shadow: 0 16px 38px rgba(30, 89, 130, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.48), inset 0 -1px rgba(31, 112, 169, 0.13);
  backdrop-filter: blur(20px) saturate(1.22);
  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease, box-shadow 0.25s ease;
}
.service-item::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: 20px;
  background: radial-gradient(
    circle at 12% 0%,
    rgba(228, 251, 255, 0.2),
    transparent 35%
  );
  pointer-events: none;
}
.service-item > * {
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .service-item:hover {
    transform: translateY(-2px);
    border-color: rgba(203, 238, 252, 0.47);
    background: linear-gradient(
      145deg,
      rgba(117, 205, 239, 0.21),
      rgba(34, 121, 183, 0.12)
    );
    box-shadow: 0 19px 40px rgba(27, 88, 132, 0.16),
      inset 0 1px rgba(255, 255, 255, 0.52);
  }
}
.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}
.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(48, 83, 108, 0.14));
}
.service-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin: 0 0 6px;
}
.service-stage,
.service-free {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.01em;
}
.service-stage {
  border: 1px solid rgba(116, 185, 255, 0.2);
  background: rgba(47, 140, 255, 0.14);
  color: #74b9ff;
}
.service-free {
  border: 1px solid rgba(139, 232, 203, 0.2);
  background: rgba(78, 202, 163, 0.12);
  color: #9ee8d1;
}
.service-item h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}
.service-item p {
  margin: 0;
  color: rgba(235, 246, 252, 0.82);
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}
.js .safety-phone {
  opacity: 0;
  transform: translate3d(-120px, 20px, 0) scale(0.96);
  transition: opacity 0.8s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.js .reveal-heading,
.js .reveal-description,
.js .reveal-services {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.js .reveal-heading {
  transition-delay: 0.15s;
}
.js .reveal-description {
  transition-delay: 0.25s;
}
.js .reveal-services {
  transition-delay: 0.35s;
}
.js .safety-section.is-visible .safety-phone,
.js .safety-section.is-visible .reveal-heading,
.js .safety-section.is-visible .reveal-description,
.js .safety-section.is-visible .reveal-services {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .safety-section__inner {
    width: min(1120px, calc(100% - 56px));
    grid-template-columns: minmax(240px, 2fr) minmax(380px, 3fr);
    gap: 24px;
  }
  .safety-phone {
    height: min(75svh, 750px);
  }
  .safety-copy h2 {
    font-size: clamp(38px, 4.7vw, 56px);
  }
  .safety-copy {
    padding: 28px;
    transform: translateX(-32px);
  }
  .service-item {
    grid-template-columns: 56px 1fr;
    padding: 18px 16px;
  }
  .service-icon {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 820px) {
  .safety-section {
    padding-right: 0;
  }
  .safety-copy {
    transform: none;
  }
}
@media (max-width: 760px) {
  .safety-section {
    overflow: visible;
  }
  .safety-section__inner {
    width: min(660px, calc(100% - 48px));
    padding: 64px 0 154px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .safety-phone {
    height: min(56svh, 570px);
    justify-self: center;
    width: 100%;
  }
  .safety-copy h2 {
    font-size: clamp(36px, 7.3vw, 52px);
  }
  .js .safety-phone {
    transform: translate3d(0, 24px, 0) scale(0.98);
  }
}
@media (max-width: 560px) {
  html {
    scroll-snap-type: y proximity;
  }
  .safety-section__inner {
    width: calc(100% - 40px);
    padding: 46px 0 140px;
    gap: 4px;
  }
  .safety-phone {
    height: min(51svh, 475px);
  }
  .section-kicker {
    margin-bottom: 16px;
    font-size: 10px;
  }
  .safety-copy h2 {
    font-size: clamp(32px, 9.2vw, 43px);
    line-height: 1.28;
  }
  .safety-copy__description {
    margin: 19px 0 30px;
    font-size: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .service-item {
    min-height: 110px;
    padding: 16px;
  }
  .safety-copy {
    padding: 22px 18px;
    border-radius: 24px;
  }
}
@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .safety-copy {
    background: linear-gradient(
      145deg,
      rgba(6, 25, 37, 0.96),
      rgba(9, 39, 53, 0.94)
    );
  }
  .service-item {
    background: rgba(21, 67, 101, 0.9);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .safety-phone,
  .js .reveal-heading,
  .js .reveal-description,
  .js .reveal-services {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .service-item:hover {
    transform: none;
  }
}

/* Download CTA */
.vision-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.vision-section__content {
  width: min(980px, calc(100% - 80px));
  padding: 96px 0 142px;
}
.vision-section__eyebrow {
  margin: 0 0 27px;
  color: #6db8ff;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.25em;
}
.vision-section h2 {
  margin: 0;
  font-size: clamp(48px, 4.5vw, 76px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.065em;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.3);
}
.vision-section h2 span {
  color: #83c4ff;
}
.vision-section__description {
  margin: 28px auto 30px;
  color: rgba(247, 251, 254, 0.9);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.75;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  word-break: keep-all;
}
.vision-section__description strong {
  color: inherit;
  font-weight: 750;
}
.vision-section__download-label {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.download-options {
  display: flex;
  justify-content: center;
  gap: 22px;
}
.download-option {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 190px;
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid rgba(181, 226, 247, 0.25);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(9, 35, 49, 0.78),
    rgba(17, 61, 78, 0.66)
  );
  box-shadow: 0 18px 38px rgba(0, 14, 24, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(0.88);
  -webkit-backdrop-filter: blur(16px) saturate(0.88);
}
.download-option__link {
  display: grid;
  justify-items: center;
  gap: inherit;
  color: inherit;
  text-decoration: none;
}
.download-option__qr {
  display: grid;
  place-items: center;
  width: 146px;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 12, 22, 0.2);
}
.download-option__qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.download-option__badge {
  display: block;
  width: 136px;
  height: 43px;
  object-fit: contain;
}
.vision-downloads {
  gap: 36px;
}
.vision-downloads .download-option {
  width: 146px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.vision-downloads .download-option__qr {
  padding: 10px;
  border-radius: 14px;
}
.js .vision-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.85s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js .vision-reveal--heading {
  transition-delay: 0.1s;
}
.js .vision-reveal--description {
  transition-delay: 0.2s;
}
.js .vision-reveal--label {
  transition-delay: 0.35s;
}
.js .vision-reveal--downloads {
  transition-delay: 0.45s;
}
.js .vision-section.is-visible .vision-reveal {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  background: linear-gradient(
    145deg,
    rgba(4, 19, 29, 0.97),
    rgba(8, 35, 48, 0.955) 52%,
    rgba(5, 23, 34, 0.975)
  );
  border-top: 1px solid rgba(154, 218, 247, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045),
    0 -24px 70px rgba(2, 13, 20, 0.25);
  backdrop-filter: blur(34px) saturate(0.72);
  -webkit-backdrop-filter: blur(34px) saturate(0.72);
  color: #d7e3e9;
}
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 18% 0%,
      rgba(73, 151, 184, 0.13),
      transparent 38%
    ),
    linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent 36%);
}
.site-footer__inner {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 78px 60px 64px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px;
}
.footer-brand a {
  display: inline-block;
}
.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-company {
  display: grid;
  gap: 8px;
  color: #c3d1d8;
  font-size: 14px;
  line-height: 1.6;
}
.footer-company__name {
  color: #f4f9fb;
  font-size: 18px;
}
.footer-company address {
  font-style: normal;
}
.footer-company p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 19px;
  margin: 0;
}
.footer-company a {
  color: inherit;
  text-decoration: none;
}
.footer-company a:hover {
  color: #75bdff;
}
.footer-copyright {
  margin-top: 19px !important;
  color: #8499a4;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 23px;
}
.footer-links button,
.footer-links a {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #aebfc8;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.footer-links button:hover,
.footer-links a:hover {
  color: #75bdff;
}
.footer-links .footer-links__privacy {
  color: #edf7fc;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}
.policy-modal {
  width: min(760px, calc(100% - 48px));
  max-height: min(80svh, 760px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(166, 222, 248, 0.24);
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 32px 100px rgba(0, 10, 18, 0.58);
  color: #f3f8fb;
}
.policy-modal[open] {
  animation: policy-modal-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.policy-modal::backdrop {
  background: rgba(1, 10, 17, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.policy-modal__panel {
  overflow: hidden;
  border-radius: 27px;
  background: linear-gradient(
    145deg,
    rgba(8, 31, 44, 0.98),
    rgba(11, 45, 60, 0.97)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px) saturate(0.85);
  -webkit-backdrop-filter: blur(30px) saturate(0.85);
}
.policy-modal__header {
  position: relative;
  padding: 36px 78px 25px 38px;
  border-bottom: 1px solid rgba(172, 222, 244, 0.13);
}
.policy-modal__eyebrow {
  margin: 0 0 10px;
  color: #6db8ff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.22em;
}
.policy-modal__header h2 {
  margin: 0;
  color: #f7fbfd;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.045em;
}
.policy-modal__close {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(178, 224, 245, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #eef8fc;
  cursor: pointer;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.policy-modal__close:hover {
  background: rgba(109, 184, 255, 0.15);
  transform: rotate(4deg);
}
.policy-modal__body {
  max-height: calc(80svh - 150px);
  min-height: 230px;
  overflow-y: auto;
  padding: 34px 38px 42px;
  color: #c7d7de;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  outline: none;
  scrollbar-color: rgba(109, 184, 255, 0.55) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}
.policy-modal__body p {
  margin: 0;
}
.download-modal {
  width: min(670px, calc(100% - 48px));
}
.download-modal__body {
  display: grid;
  gap: 26px;
  min-height: 0;
  padding-top: 28px;
  text-align: center;
}
.download-modal__body > .download-options {
  gap: 26px;
}
.download-modal__body .download-option {
  width: 210px;
  background: rgba(255, 255, 255, 0.055);
}
.download-modal__body .download-option__qr {
  width: 166px;
}
.download-modal__body .download-option__badge {
  width: 148px;
  height: 47px;
}
@keyframes policy-modal-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chapter-list,
.progress,
.scroll-card {
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.footer-active .chapter-list,
.footer-active .progress,
.footer-active .scroll-card {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

@media (max-width: 900px) {
  .vision-section__content {
    width: min(760px, calc(100% - 56px));
  }
  .vision-section h2 {
    font-size: clamp(43px, 7vw, 62px);
  }
  .site-footer__inner {
    padding: 68px 36px 54px;
    grid-template-columns: 140px 1fr;
    gap: 32px;
  }
  .footer-brand img {
    width: 128px;
  }
  .footer-links {
    grid-column: 2;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .vision-section__content {
    width: calc(100% - 40px);
    padding: 82px 0 140px;
  }
  .vision-section__eyebrow {
    margin-bottom: 21px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .vision-section h2 {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.25;
  }
  .vision-section__description {
    margin: 24px auto 27px;
    font-size: 15px;
    line-height: 1.75;
  }
  .vision-section__download-label {
    margin-bottom: 16px;
    font-size: 14px;
  }
  .vision-downloads {
    gap: 18px;
  }
  .vision-downloads .download-option {
    width: min(36vw, 140px);
    gap: 11px;
  }
  .vision-downloads .download-option__qr {
    width: min(32vw, 126px);
    padding: 8px;
    border-radius: 13px;
  }
  .vision-downloads .download-option__badge {
    width: min(31vw, 122px);
    height: 38px;
  }
  .site-footer__inner {
    padding: 60px 24px max(54px, env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-brand img {
    width: 132px;
  }
  .footer-company {
    font-size: 13px;
  }
  .footer-links {
    grid-column: auto;
    display: grid;
    gap: 10px;
    justify-items: start;
    padding-top: 5px;
  }
  .policy-modal {
    width: calc(100% - 28px);
    max-height: 88svh;
    border-radius: 22px;
  }
  .policy-modal__panel {
    border-radius: 21px;
  }
  .policy-modal__header {
    padding: 28px 66px 21px 24px;
  }
  .policy-modal__header h2 {
    font-size: 25px;
  }
  .policy-modal__close {
    top: 20px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
  .policy-modal__body {
    max-height: calc(88svh - 126px);
    min-height: 260px;
    padding: 26px 24px 34px;
    font-size: 15px;
  }
  .download-modal__body {
    min-height: 0;
    gap: 22px;
    padding-inline: 16px;
  }
  .download-modal__body > .download-options {
    gap: 10px;
  }
  .download-modal__body .download-option {
    width: min(39vw, 170px);
    padding: 13px 9px 12px;
    gap: 11px;
    border-radius: 17px;
  }
  .download-modal__body .download-option__qr {
    width: min(31vw, 136px);
    padding: 6px;
    border-radius: 12px;
  }
  .download-modal__body .download-option__badge {
    width: min(29vw, 124px);
    height: 38px;
  }
}
@media (max-width: 420px) {
  .vision-section {
    overflow: visible;
  }
  .vision-section__content {
    padding: 70px 0 128px;
  }
  .vision-downloads {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .vision-downloads .download-option {
    width: 132px;
    gap: 9px;
  }
  .vision-downloads .download-option__qr {
    width: 112px;
  }
  .vision-downloads .download-option__badge {
    width: 108px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .vision-reveal {
    opacity: 1;
    transform: none;
    will-change: auto;
    transition-delay: 0s;
  }
  .safety-section__inner {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .policy-modal[open] {
    animation: none;
  }
}
