:root {
  --radius: 8px;
  --radius-button: 12px;
  --font-body:
    "Apple SD Gothic Neo", "Pretendard Variable", "Pretendard", "Noto Sans KR",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

picture {
  display: contents;
}

.app-icon {
  flex-shrink: 0;
  border-radius: calc(var(--radius) + 2px);
}

.app-icon-sm {
  width: 28px;
  height: 28px;
}

.app-icon-md {
  width: 48px;
  height: 48px;
}

.app-icon-lg {
  width: 56px;
  height: 56px;
}

.page-shell {
  position: relative;
  background: var(--color-bg);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.08;
}

.page-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-bg-desktop {
  display: block;
  object-position: center;
}

.page-bg-mobile {
  display: none;
  object-position: top center;
}

@media (max-width: 720px) {
  .page-bg {
    opacity: 1;
  }

  .page-bg-desktop {
    display: none;
  }

  .page-bg-mobile {
    display: block;
  }
}

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner,
.hero,
.showcase-section,
.section,
.footer-inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name {
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-button);
  background: var(--color-button-solid);
  color: var(--color-on-button-solid);
  font-size: 13px;
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--color-border);
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
  text-align: left;
}

.hero-intro-brand {
  flex-shrink: 0;
}

.hero-intro-copy {
  width: 100%;
}

.hero-intro-brand .app-icon-lg {
  width: 52px;
  height: 52px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-desc {
  margin: 0 0 10px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.hero-desc:last-of-type {
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

@media (min-width: 721px) {
  .hero-intro {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 0;
    text-align: left;
  }

  .hero-intro-copy {
    flex: 1;
    max-width: none;
  }

  .hero-intro-brand .app-icon-lg {
    width: 64px;
    height: 64px;
  }

  .hero-title {
    font-size: clamp(24px, 2.4vw, 32px);
    margin-top: 4px;
  }

  .hero-desc {
    max-width: 640px;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.cta-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.cta-button {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.cta-button:hover {
  background: var(--color-accent-hover);
}

.ghost-button {
  background: var(--color-bg);
  color: var(--color-text);
  border-color: var(--color-border);
}

.ghost-button:hover {
  background: var(--color-surface);
}

.showcase-section {
  position: relative;
  z-index: 1;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 72px;
}

.showcase-section .section-head {
  margin-bottom: 16px;
  padding-top: 16px;
}

.hero-showcase,
.showcase-stage {
  position: relative;
  height: calc(
    var(--showcase-steps, 4) * var(--showcase-block-px, 420px) +
      var(--showcase-exit-buffer, 160px)
  );
  padding-top: 16px;
}

.showcase-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 48px;
}

.showcase-scroll-hint {
  position: sticky;
  top: calc(100vh - 56px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.showcase-scroll-hint.is-hidden {
  opacity: 0;
}

.showcase-scroll-icon {
  animation: showcase-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes showcase-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  --showcase-media-width: 72%;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  will-change: opacity, transform;
}

.showcase-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.showcase-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.showcase-shot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--showcase-media-width);
  max-width: var(--showcase-media-width);
  margin: 0;
  padding: 0 0 4px;
  box-sizing: border-box;
}

.showcase-shot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.showcase-title {
  display: grid;
  place-items: center;
  width: var(--showcase-media-width);
  max-width: var(--showcase-media-width);
  min-height: calc(2 * 1.5em);
  margin: 0;
  padding-top: 24px;
  padding-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  box-sizing: border-box;
}

@media (min-width: 721px) {
  .showcase-section {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .showcase-stage {
    height: calc(
      var(--showcase-steps, 4) * var(--showcase-block-px, 420px) +
        var(--showcase-exit-buffer, 160px)
    );
    padding-top: 0;
  }

  .showcase-cards {
    position: sticky;
    top: 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    min-height: var(--showcase-block-px, 420px);
    height: var(--showcase-block-px, 420px);
    padding-top: 0;
  }

  .showcase-card {
    flex: unset;
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .showcase-card .showcase-title {
    padding-top: 8px;
  }

  .showcase-title,
  .showcase-shot {
    background-color: transparent;
  }

  .showcase-card.is-revealed {
    pointer-events: auto;
    background: transparent;
  }
}

@media (max-width: 720px) {
  .showcase-section {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .showcase-stage {
    box-sizing: border-box;
    height: calc(
      var(--showcase-steps, 4) * var(--showcase-block-px, 640px) + 48px +
        var(--showcase-exit-buffer, 40px)
    );
    padding: 24px 0;
    position: relative;
  }

  .showcase-scroll-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    top: auto;
  }

  .showcase-cards {
    position: static;
    padding-top: 0;
    padding-bottom: 0;
  }

  .showcase-card {
    position: relative;
    top: auto;
    min-height: 0;
    padding-bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
  }

  .showcase-card:nth-child(2) {
    z-index: 2;
  }

  .showcase-card:nth-child(3) {
    z-index: 3;
  }

  .showcase-card:nth-child(4) {
    z-index: 4;
  }

  .showcase-card:first-child {
    opacity: 1;
    transform: none;
    transition: none;
    position: sticky;
    top: 64px;
    min-height: var(--showcase-block-px, 640px);
    padding-bottom: 0;
    background: transparent;
    pointer-events: auto;
  }

  .showcase-card:first-child .showcase-title,
  .showcase-card:first-child .showcase-shot {
    opacity: var(--showcase-stack-opacity, 1);
    transform: scale(var(--showcase-stack-scale, 1));
    transform-origin: center top;
  }

  .showcase-card.is-revealed {
    position: sticky;
    top: 64px;
    min-height: var(--showcase-block-px, 640px);
    padding-bottom: 0;
    background: transparent;
    pointer-events: auto;
  }

  .showcase-card:not(:first-child).is-revealed {
    opacity: 1;
    transition: transform 0.45s ease;
  }

  .showcase-copy,
  .showcase-title,
  .showcase-shot {
    transition: none;
  }

  .showcase-card.is-revealed .showcase-title,
  .showcase-card.is-revealed .showcase-shot {
    opacity: var(--showcase-stack-opacity, 1);
    transform: scale(var(--showcase-stack-scale, 1));
    transform-origin: center top;
  }

  .section-experience {
    padding-top: 64px;
  }

  .showcase-title {
    font-size: 17px;
    line-height: 1.55;
    min-height: calc(2 * 1.55em);
    background-color: var(--color-bg);
  }

  .showcase-shot {
    background-color: var(--color-bg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-stage {
    height: auto;
  }

  .showcase-scroll-hint {
    display: none;
  }

  .showcase-cards {
    position: static;
  }

  @media (max-width: 720px) {
    .showcase-cards {
      padding-bottom: 0;
    }
  }

  .showcase-card {
    opacity: 1;
    transform: none;
    transition: none;
    position: static;
    min-height: 0;
    flex: 1 1 auto;
    pointer-events: auto;
    overflow: visible;
  }

  @media (min-width: 721px) {
    .showcase-cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      height: auto;
      min-height: 0;
    }

    .showcase-card {
      flex: unset;
    }
  }
}

.section {
  position: relative;
  z-index: 2;
  padding: 56px 0 0;
  background: transparent;
  scroll-margin-top: 72px;
}

.section-experience {
  padding-top: 64px;
  z-index: 3;
}

.section-head {
  margin-bottom: 24px;
  padding-inline: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.section-kicker {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-copy {
  margin: 8px 0 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 560px;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-card {
  padding: 16px;
  background: var(--color-bg);
}

.summary-card:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.summary-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.summary-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-panel {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.panel-title-row {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-surface);
}

.panel-title-row h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.flow-list {
  display: grid;
  gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
}

.flow-item:not(:last-child) {
  border-bottom: 1px solid var(--color-surface);
}

.flow-number {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
}

.flow-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.flow-item p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-surface);
  font-size: 13px;
  line-height: 1.45;
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-item strong {
  font-weight: 600;
  color: var(--color-text);
}

.feature-list-item span {
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: 11px;
}

.download-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.download-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: calc(var(--radius) + 2px);
}

.download-title {
  margin: 0 0 4px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--color-text);
}

.download-description {
  max-width: 360px;
  margin: 0 auto 16px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, 140px);
  gap: 8px;
  justify-content: center;
  margin: 0 auto;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 140px;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  padding: 8px 12px;
  border-radius: var(--radius-button);
  background: var(--color-store-bg);
  color: var(--color-store-fg);
  border: 1px solid var(--color-border);
  box-sizing: border-box;
}

.store-button:hover {
  opacity: 0.9;
}

.store-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.apple-logo {
  font-size: 26px;
  line-height: 1;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.05;
}

.store-subtitle {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.85;
}

.store-main {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.google-main {
  font-size: 15px;
}

.footer {
  padding: 16px 0 40px;
  margin-top: 40px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.footer-terms {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 48px;
  width: 100%;
  padding-bottom: 12px;
}

.footer-terms a {
  flex: 1;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}

.footer-terms a:hover {
  color: var(--color-text);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info-heading {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-info-list li {
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-copy {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: left;
}

.footer-copy:hover {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .showcase-card {
    --showcase-media-width: 80%;
  }

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

  .summary-band {
    grid-template-columns: 1fr;
  }

  .summary-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 32px 0 24px;
  }
}

@media (max-width: 480px) {
  .nav-inner,
  .hero,
  .showcase-section,
  .section,
  .footer-inner {
    width: min(100% - 24px, 960px);
  }

  .showcase-card {
    --showcase-media-width: 68%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-button,
  .ghost-button {
    width: 100%;
  }

  .store-buttons {
    grid-template-columns: 140px;
  }

  .store-button {
    width: 140px;
  }

  .store-main {
    white-space: normal;
  }
}
