:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --line: #E5E5EA;
  --ink: #111113;
  --ink-2: #4A4A4F;
  --ink-3: #6E6E73;
  --accent: #9C2B52;
  --accent-text: #9C2B52;
  --bezel: #1C1C1E;
  --phone-h: min(680px, calc(100vh - 120px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151413;
    --line: #2A2825;
    --ink: #F5F4F1;
    --ink-2: #B9B6B0;
    --ink-3: #908D87;
    --accent-text: #D8668F;
    --bezel: #3A3835;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  height: 44px;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
}

.switch:hover {
  color: var(--ink);
}

.blog-link {
  margin-inline-start: auto;
  margin-inline-end: 8px;
}

.blog-link[aria-current] {
  color: var(--accent-text);
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 64px;
}

.step {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84vh;
  padding: 48px 0;
}

.step.hero {
  min-height: calc(100vh - 72px);
  padding-top: 0;
}

.hero h1 {
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
}

[data-lang="en"] .hero h1 {
  font-size: clamp(40px, 6.4vw, 96px);
}

.hero .store {
  margin-top: 48px;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.store:hover {
  opacity: 0.88;
}

.num {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

.step h2,
.closing h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.step h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
}

.shot {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: start;
  position: sticky;
  top: calc(50vh - var(--phone-h) / 2);
  padding-right: 40px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shot.on {
  opacity: 1;
}

.phone {
  width: calc((var(--phone-h) - 16px) * 0.46 + 16px);
  height: var(--phone-h);
  margin: 0 auto;
  border: 8px solid var(--bezel);
  border-radius: 56px;
  overflow: hidden;
  background: var(--bg);
}

.phone picture {
  display: block;
  height: 100%;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-3);
}

.closing {
  padding: 120px 0 144px;
  text-align: center;
}

.closing h2 {
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.08;
}

.closing .store {
  margin-top: 40px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-3);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 879px) {
  :root {
    --phone-h: 572px;
  }

  .wrap {
    padding: 0 16px;
  }

  .flow {
    display: block;
  }

  .step,
  .step.hero {
    min-height: 0;
    padding: 88px 0 0;
  }

  .step.hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 60px;
  }

  [data-lang="en"] .hero h1 {
    font-size: 52px;
  }

  .hero .store {
    margin-top: 32px;
  }

  .step h2 {
    font-size: 34px;
  }

  .shot {
    position: static;
    padding: 48px 0 0;
    opacity: 1;
  }

  .closing {
    padding: 112px 0 96px;
  }
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 144px;
}

.faq h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq p {
  margin: 0;
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 879px) {
  .faq {
    padding: 0 0 96px;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
