:root {
  --color-accent: #ff7a1a;
  --color-background: #050506;
  --color-text: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.78);
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  background: var(--color-background);
  font-family:
    Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(680px, 100svh, 780px);
  overflow: hidden;
  background: var(--color-background);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero::before {
  background-image: url("assets/images/hero-mobile.webp");
  background-repeat: no-repeat;
  background-position: 82% 44%;
  background-size: auto 105%;
}

.hero::after {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 6, 0.92) 0%,
    rgba(5, 5, 6, 0.78) 30%,
    rgba(5, 5, 6, 0.48) 46%,
    rgba(5, 5, 6, 0.08) 66%,
    rgba(5, 5, 6, 0.22) 100%
  );
}

.hero__container {
  width: min(100%, var(--content-width));
  min-height: inherit;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 22px 32px;
}

.hero__brand {
  display: block;
  width: clamp(132px, 38vw, 145px);
  height: auto;
  object-fit: contain;
}

.hero__content {
  max-width: 560px;
  margin-top: clamp(46px, 8vh, 72px);
}

.hero__title {
  margin: 0;
  font-size: clamp(34px, 9.6vw, 40px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.055em;
}

.hero__title strong {
  font-weight: 800;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__description {
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: clamp(17px, 4.7vw, 19px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.hero__description strong {
  color: var(--color-accent);
  font-size: 1.08em;
  font-weight: 800;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 34px;
  padding: 14px 18px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.hero__cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.app-preview {
  color: #1d1b19;
  background: #ffffff;
}

.app-preview__container {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 60px 22px 56px;
  text-align: center;
}

.app-preview__title {
  margin: 0;
  font-size: clamp(28px, 8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.app-preview__title strong {
  color: var(--color-accent);
  font-weight: inherit;
}

.app-preview__description {
  margin: 15px 0 0;
  color: #68635e;
  font-size: clamp(15px, 4.3vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.app-preview__figure {
  position: relative;
  margin: 32px auto 0;
}

.app-preview__figure::before {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 0;
  width: min(88vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.08), rgba(255, 122, 26, 0) 70%);
  content: "";
  transform: translate(-50%, -50%);
}

.app-preview__device {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(23, 20, 18, 0.1);
}

.app-preview__screen {
  overflow: hidden;
  border-radius: inherit;
  background: #ffffff;
}

.app-preview__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-preview__caption {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #8a8580;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.final-cta {
  color: #241d18;
  background: #fff5ec;
}

.final-cta__container {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 64px 22px max(100px, calc(84px + env(safe-area-inset-bottom)));
  text-align: center;
}

.final-cta__title {
  margin: 0;
  font-size: clamp(30px, 8.5vw, 34px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.055em;
}

.final-cta__title strong {
  color: var(--color-accent);
  font-weight: inherit;
}

.final-cta__description {
  margin: 18px 0 0;
  color: #665e57;
  font-size: clamp(15px, 4.3vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.final-cta__description strong {
  color: #d9621a;
  font-weight: 700;
}

.final-cta__note {
  margin: 24px 0 0;
  color: #8b837c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.sticky-cta {
  position: fixed;
  right: 14px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-accent);
  box-shadow: 0 8px 22px rgba(89, 42, 10, 0.18);
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .hero {
    min-height: min(760px, 100svh);
  }

  .hero::before {
    background-position: right bottom;
    background-size: auto 100%;
  }

  .hero::after {
    background:
      linear-gradient(90deg, #050506 0%, rgba(5, 5, 6, 0.96) 30%, rgba(5, 5, 6, 0.38) 66%, rgba(5, 5, 6, 0.08) 100%),
      linear-gradient(180deg, rgba(5, 5, 6, 0.2), rgba(5, 5, 6, 0.04));
  }

  .hero__container {
    padding: 34px 40px 48px;
  }

  .hero__brand {
    width: 145px;
  }

  .hero__content {
    margin-top: clamp(92px, 14vh, 132px);
  }

  .hero__title {
    font-size: clamp(44px, 4.2vw, 58px);
    line-height: 1.2;
  }

  .hero__description {
    margin-top: 30px;
    font-size: 20px;
  }

  .hero__cta {
    width: fit-content;
    min-width: 330px;
    min-height: 58px;
    margin-top: 34px;
    padding-inline: 28px;
    font-size: 18px;
  }

  .app-preview__container {
    padding: 88px 40px 84px;
  }

  .app-preview__title {
    font-size: 40px;
  }

  .app-preview__description {
    margin-top: 20px;
    font-size: 18px;
  }

  .app-preview__figure {
    margin-top: 38px;
  }

  .app-preview__device {
    width: 272px;
  }

  .final-cta__container {
    padding: 88px 40px 92px;
  }

  .final-cta__title {
    font-size: 44px;
  }

  .final-cta__description {
    margin-top: 22px;
    font-size: 18px;
  }

  .sticky-cta {
    display: none;
  }
}

@media (max-height: 700px) and (max-width: 767px) {
  .hero__content {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .tracking-overlay__dots span {
    animation: none;
  }
}

/* Meta A1: retain B1 typography, width, buttons and screen frame. */
:root { --color-accent: #2463dc; --color-background: #0c172b; }
.hero { min-height: auto; }
.hero::before, .hero::after { display: none; }
.hero__container { padding: max(24px, env(safe-area-inset-top)) 22px 32px; }
.hero__layout { display: grid; gap: 24px; margin-top: 30px; }
.hero__content { margin-top: 0; }
.hero__title { font-size: clamp(30px, 8.5vw, 38px); line-height: 1.2; }
.hero__title span { color: #8cb8ff; }
.hero__description { margin-top: 16px; }
.hero__cta { margin-top: 20px; background: #2463dc; }
.asset-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; text-align: center; border: 1px dashed #8297b5; border-radius: 16px; }
.asset-placeholder p { margin: 12px 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
.asset-placeholder small { font-size: 12px; line-height: 1.5; }
.asset-placeholder__label { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.hero__visual { width: 100%; max-width: 340px; margin-inline: auto; }
.hero__image { display: block; width: 100%; height: auto; border-radius: 16px; }
.app-preview__container { padding: 32px 22px; }
.app-preview__title { font-size: clamp(25px, 7vw, 32px); }
.app-preview__figure { margin-top: 24px; }
.app-preview__figure::before { display: none; }
.app-preview__device { max-width: 340px; min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
/* Show original screenshot rows 278–715 without changing its pixels or ratio. */
.app-preview__device--fare { padding: 8px; border-radius: 22px; overflow: hidden; background: #f5f7fb; }
.app-preview__crop { position: relative; aspect-ratio: 460 / 438; border-radius: 14px; overflow: hidden; }
.app-preview__device--fare .app-preview__image { position: absolute; top: -63.47032%; left: 0; width: 100%; height: auto; }
.app-preview__caption { margin-top: 14px; font-size: 12px; color: #68788b; }
.final-cta { color: #17253b; background: #eff4fc; }
.final-cta__container { padding: 32px 22px calc(102px + env(safe-area-inset-bottom)); }
.final-cta__title { font-size: clamp(25px, 7vw, 32px); }
.final-cta__description { margin-top: 14px; }
.sticky-cta { box-shadow: 0 8px 22px rgba(12, 23, 43, .2); }
.sticky-cta--hidden { visibility: hidden; pointer-events: none; }
[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (min-width: 768px) {
  .hero { min-height: auto; }
  .hero__container { padding: 32px 40px 44px; }
  .hero__layout { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; margin-top: 36px; }
  .hero__content { margin-top: 0; }
  .hero__title { font-size: clamp(40px, 4vw, 54px); }
  .hero__visual { min-height: 0; }
  .hero__cta { min-width: 0; }
  .app-preview__container { padding: 44px 40px; }
  .mobile-break { display: none; }
  .app-preview__device { width: 340px; }
  .final-cta__container { padding: 40px 40px calc(102px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: flex; max-width: 600px; margin-inline: auto; }
}
