:root {
  --blue: #3182F6;
  --blue-dark: #1769D6;
  --background: #F2F4F6;
  --text: #191F28;
  --subtext: #4E5968;
  --white: #FFFFFF;
  --line: #DDE2E7;
  --focus-inner: #FFFFFF;
  --focus-outer: #191F28;
  --inner: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 11px 16px;
  transform: translateY(-180%);
  border-radius: 10px;
  background: var(--text);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:root :focus-visible {
  outline: 3px solid var(--focus-inner);
  outline-offset: 2px;
  box-shadow: 0 0 0 8px var(--focus-outer);
}

.brand-bar {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgb(255 255 255 / 22%);
  background: var(--blue);
  color: var(--white);
}

.brand-bar__inner,
.section-inner,
.result-story__inner,
.final-cta__inner,
.site-footer__inner {
  width: min(100% - 48px, var(--inner));
  margin-inline: auto;
}

.brand-bar__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  text-decoration: none;
}

.brand {
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand img,
.footer-brand img {
  flex: none;
  border-radius: 12px;
}

.store-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

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

.store-link--compact {
  padding: 0 17px;
  border: 1px solid rgb(255 255 255 / 54%);
  background: rgb(25 31 40 / 42%);
  color: var(--white);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  width: min(62vw, 840px);
  aspect-ratio: 1;
  right: -17vw;
  top: -32%;
}

.hero::after {
  width: min(34vw, 460px);
  aspect-ratio: 1;
  left: -15vw;
  bottom: -20%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 48px, var(--inner));
  min-height: calc(100svh - 74px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding-block: 56px;
}

.hero__copy {
  max-width: 650px;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 84%);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero__brand {
  margin: 0;
  font-size: clamp(70px, 7.5vw, 112px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.96;
}

.hero__headline {
  margin: 30px 0 0;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.hero__body {
  max-width: 480px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 91%);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

.store-link--primary {
  margin-top: 30px;
  padding: 0 24px;
  background: var(--text);
  color: var(--white);
  box-shadow: 0 14px 34px rgb(25 31 40 / 22%);
  font-size: 16px;
}

.hero__visual {
  width: min(100%, 350px);
  margin: 0 auto;
}

.hero__visual figcaption {
  width: fit-content;
  margin: 16px auto 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgb(25 31 40 / 54%);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.phone-shell {
  width: 100%;
  padding: 9px;
  border-radius: 42px;
  box-shadow: 0 30px 70px rgb(25 31 40 / 24%);
}

.phone-shell img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 34px;
}

.phone-shell--light {
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 32px 80px rgb(25 31 40 / 30%);
}

.phone-shell--dark {
  background: var(--text);
}

.hero-stagger {
  animation: hero-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-stagger--1 { animation-delay: 40ms; }
.hero-stagger--2 { animation-delay: 110ms; }
.hero-stagger--3 { animation-delay: 180ms; }
.hero-stagger--4 { animation-delay: 250ms; }
.hero-stagger--5 { animation-delay: 320ms; }

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.steps {
  background: var(--white);
  padding-block: clamp(96px, 12vw, 160px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 52px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading .section-kicker {
  align-self: start;
}

.section-heading h2,
.result-story h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 16px;
  padding: 34px clamp(22px, 3vw, 42px);
}

.step-list li + li {
  border-left: 1px solid var(--line);
}

.step-list__number {
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
}

.step-list h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.04em;
}

.step-list p {
  margin: 0;
  color: var(--subtext);
  font-size: 17px;
  line-height: 1.7;
}

.result-story {
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 160px);
}

.result-story__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(56px, 10vw, 150px);
}

.result-story__visual {
  width: min(100%, 380px);
  margin: 0 auto;
  transform: rotate(-2deg);
}

.result-story__copy {
  max-width: 620px;
}

.result-story__copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--subtext);
  font-size: 19px;
  line-height: 1.8;
}

.verdict-line {
  display: grid;
  gap: 8px;
  margin-top: 44px;
  color: var(--blue-dark);
}

.verdict-line span {
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.verdict-line strong {
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.05em;
}

.final-cta {
  background: var(--blue);
  color: var(--white);
}

.final-cta__inner {
  min-height: 520px;
  padding-block: 96px;
  text-align: center;
}

.final-cta p {
  margin: 0 0 18px;
  color: rgb(255 255 255 / 91%);
  font-size: 19px;
  font-weight: 800;
}

.final-cta h2 {
  font-size: clamp(48px, 6vw, 82px);
}

.store-link--inverse {
  margin-top: 40px;
  padding: 0 26px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 16px 38px rgb(25 31 40 / 20%);
}

.site-footer {
  background: var(--text);
  color: var(--white);
  padding-block: 50px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-size: 18px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 24px;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #E5E8EB;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #B0B8C1;
  font-size: 13px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 899px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 64px 72px;
  }

  .hero__copy {
    max-width: 610px;
  }

  .hero__visual {
    width: min(64vw, 310px);
  }

  .section-heading,
  .result-story__inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 8px;
  }

  .result-story__inner {
    gap: 70px;
  }

  .result-story__visual {
    width: min(58vw, 350px);
  }

  .result-story__copy {
    order: -1;
  }

  .step-list {
    display: block;
    border-block: 0;
  }

  .step-list li {
    grid-template-columns: 90px minmax(190px, 0.72fr) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 28px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
  }

  .step-list li + li {
    border-left: 0;
  }

  .step-list li:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 639px) {
  .brand-bar__inner,
  .section-inner,
  .result-story__inner,
  .final-cta__inner,
  .site-footer__inner,
  .hero__inner {
    width: min(100% - 40px, var(--inner));
  }

  .brand-bar__inner {
    min-height: 68px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand {
    gap: 9px;
    font-size: 19px;
  }

  .store-link--compact {
    padding-inline: 13px;
    font-size: 13px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .hero__inner {
    min-height: calc(100svh - 68px);
    gap: 44px;
    padding-block: 50px 58px;
  }

  .hero__eyebrow {
    margin-bottom: 14px;
    font-size: 19px;
  }

  .hero__brand {
    font-size: clamp(62px, 20vw, 80px);
  }

  .hero__headline {
    margin-top: 24px;
    font-size: clamp(30px, 9vw, 38px);
  }

  .hero__body {
    margin-top: 18px;
    line-height: 1.65;
  }

  .store-link--primary {
    width: 100%;
    margin-top: 26px;
  }

  .hero__visual {
    width: min(68vw, 270px);
  }

  .phone-shell {
    padding: 7px;
    border-radius: 34px;
  }

  .phone-shell img {
    border-radius: 28px;
  }

  .section-heading {
    padding-bottom: 36px;
  }

  .section-heading h2,
  .result-story h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .step-list li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px 16px;
    padding-block: 28px;
  }

  .step-list__number {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 4px;
  }

  .step-list p {
    font-size: 16px;
  }

  .result-story__visual {
    width: min(70vw, 300px);
    transform: rotate(-1deg);
  }

  .result-story__copy > p:not(.section-kicker) {
    margin-top: 24px;
    font-size: 17px;
  }

  .verdict-line {
    margin-top: 34px;
  }

  .final-cta__inner {
    min-height: 450px;
    padding-block: 84px;
  }

  .final-cta p {
    font-size: 19px;
  }

  .final-cta h2 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer p {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-stagger,
  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .store-link:hover {
    transform: none;
  }
}
