:root {
  --bg: #f4faf6;
  --ink: #12241a;
  --muted: #4d6659;
  --primary: #1f8a5b;
  --primary-dark: #146644;
  --accent: #e08a3c;
  --card: #ffffff;
  --line: rgba(18, 36, 26, 0.09);
  --shadow: 0 20px 50px rgba(15, 32, 22, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 32, 22, 0.20);
  --forest: #0e2018;
  --font-display: "Fraunces", "Apple SD Gothic Neo", serif;
  --font-body: "Bagel Sans KR", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1080px, calc(100% - 2.5rem)); margin-inline: auto; }

/* ---------- i18n ---------- */
#app[data-lang="en"] .lang-ko { display: none; }
#app[data-lang="ko"] .lang-en { display: none; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.eyebrow.light { color: #a9e0c4; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.5rem;
  backdrop-filter: blur(14px);
  background: rgba(244, 250, 246, 0.78);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 1.35rem; font-size: 0.92rem; color: var(--muted); margin-left: 0.5rem; }
.nav nav a:hover { color: var(--primary-dark); }

.lang-switch {
  margin-left: auto;
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(18, 36, 26, 0.06);
  border: 1px solid var(--line);
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button.active { background: var(--primary); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; max-width: 40rem; }
.hero-copy h1 {
  margin: 0.2rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero .lede {
  margin: 0 auto 1.8rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.android-icon { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { border-color: rgba(18, 36, 26, 0.18); color: var(--ink); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary-dark); }


.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- intro line ---------- */
.intro-line { padding: 3.5rem 1.5rem; text-align: center; }
.intro-line p {
  max-width: 42rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}
.intro-line em {
  font-style: normal;
  color: var(--primary-dark);
  box-shadow: inset 0 -0.4em 0 rgba(31, 138, 91, 0.18);
}

/* ---------- journey ---------- */
.journey {
  padding: 2rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: 1080px;
  margin-inline: auto;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.step.visible { opacity: 1; transform: none; }
.step.reverse .step-media { order: 2; }
.step-copy { max-width: 30rem; }
.step-no {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.step-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
  padding: 0.25rem 0.6rem 0.25rem 0.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
  background: rgba(31, 138, 91, 0.12);
  color: var(--primary-dark);
}
.step-copy p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.step-media { display: flex; justify-content: center; position: relative; }

.phone {
  width: min(260px, 78%);
  padding: 9px;
  background: var(--forest);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 16px;
  background: var(--forest);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone img { border-radius: 25px; width: 100%; display: block; }

.step-media.two-up { gap: 1.2rem; align-items: flex-end; }
.phone.small { width: min(190px, 44%); }
.phone.small.offset { margin-bottom: -1.2rem; }

.tier-strip { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.tier-strip img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 4px;
}

/* ---------- privacy ---------- */
.privacy { background: var(--forest); color: #eaf6ee; padding: 5rem 1.5rem; }
.privacy-inner {
  max-width: 1080px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
}
.privacy-icon { width: 100%; max-width: 180px; justify-self: center; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.35)); }
.privacy-inner h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.privacy-inner p { margin: 0; color: rgba(234, 246, 238, 0.82); max-width: 42ch; font-size: 1.02rem; }

/* ---------- gallery ---------- */
.gallery-section { padding: 5rem 0; }
.gallery-section h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}
.section-lede { color: var(--muted); margin: 0 0 1.8rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure {
  margin: 0;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.gallery figure:hover { transform: translateY(-4px) rotate(-0.4deg); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e8f5ee; }
.gallery figcaption { padding: 0.7rem 0.85rem 0.9rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- footer ---------- */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  color: var(--muted);
}
.foot img { animation: bob 3.2s ease-in-out infinite; }

/* ---------- privacy policy doc ---------- */
.policy-wrap { padding: 3rem 1.5rem 4rem; }
.policy { max-width: 720px; margin: 0 auto; }
.policy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.policy-meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.policy h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.75rem;
}
.policy h4 {
  font-size: 1rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--primary-dark);
}
.policy p { margin: 0 0 1rem; color: var(--ink); font-size: 0.96rem; }
.policy ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.policy li { margin-bottom: 0.4rem; color: var(--ink); font-size: 0.96rem; }

.foot-links { display: flex; gap: 0.6rem; font-size: 0.82rem; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--primary-dark); }

.foot-biz {
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  max-width: 460px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0.85;
}
.foot-copy {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}

@media (max-width: 860px) {
  .nav nav { display: none; }
  .step, .step.reverse { grid-template-columns: 1fr; }
  .step.reverse .step-media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .privacy-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .privacy-icon { max-width: 140px; }
  .step-media.two-up { justify-content: center; }
}
