:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface-soft: #f3f7f2;
  --surface-mint: #e8f1ea;
  --hairline: #cfd8cc;
  --hairline-soft: #e4ebe2;
  --ink-deep: #1c2a1f;
  --ink: #243028;
  --charcoal: #3b4a3f;
  --steel: #5f6e64;
  --primary: #577d61;
  --primary-deep: #3f5f48;
  --focus: #8fbf9a;
  --rounded-full: 100px;
  --rounded-xl: 16px;
  --space-xs: 8px;
  --space-base: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-section: 64px;
  --space-section-lg: 96px;
  --space-section-xl: 120px;
  --sticky-download-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Optimistic VF", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  letter-spacing: -0.02em;
  padding-bottom: var(--sticky-download-height);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-deep);
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

a {
  color: var(--ink-deep);
  text-underline-offset: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space-base);
  top: var(--space-base);
  background: var(--canvas);
  border: 2px solid var(--ink-deep);
  border-radius: var(--rounded-full);
  padding: 6px 12px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}

.nav-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-base);
  padding: var(--space-base) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-deep);
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.wordmark {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.pill-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-full);
  text-decoration: none;
  color: var(--ink);
  background: var(--canvas);
  font-size: 14px;
  font-weight: 700;
}

.pill-link.active {
  background: var(--ink-deep);
  color: var(--canvas);
  border-color: var(--ink-deep);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--rounded-full);
  border: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav ul {
  margin: var(--space-base) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-xs);
}

.hero-band {
  padding: calc(var(--space-section) + 16px) 0 var(--space-section-xl);
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(87, 125, 97, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f3 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.75fr);
  gap: var(--space-xl);
  align-items: center;
}

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

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(280px, 100%);
  height: auto;
  display: block;
  animation: logo-rise 0.9s ease-out both;
}

@keyframes logo-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.hero-copy h1 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--charcoal);
}

.hero-lead {
  margin: 0;
  font-size: 17px;
  color: var(--steel);
  max-width: 40rem;
}

.cta-prompt {
  margin: var(--space-xl) 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
}

.store-cta-group {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-cta-group-lg {
  margin-top: var(--space-xl);
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  min-height: 72px;
  padding: 14px 26px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(28, 42, 31, 0.2);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 42, 31, 0.24);
}

.store-btn-apple {
  background: var(--ink-deep);
}

.store-btn-google {
  background: var(--primary);
}

.store-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-btn-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.store-btn-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section {
  margin-bottom: 0;
}

.section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.features-band {
  padding: var(--space-section-xl) 0 var(--space-section-lg);
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
}

.download-band {
  padding: 0 0 calc(var(--space-section) + 8px);
}

.download-panel {
  background: linear-gradient(160deg, var(--surface-mint) 0%, var(--surface-soft) 55%, #ffffff 100%);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: calc(var(--space-xl) + 16px) var(--space-xl);
  text-align: center;
  box-shadow: rgba(20, 22, 26, 0.1) 0 8px 28px 0;
}

.download-logo {
  display: block;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.download-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  text-transform: uppercase;
}

.download-panel h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.panel-copy {
  margin: 0 auto;
  color: var(--steel);
  max-width: 28rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
}

.feature-list li {
  margin: 0;
  padding: 22px 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--hairline-soft);
  animation: feature-fade 0.55s ease-out both;
}

.feature-list li:nth-child(2) { animation-delay: 0.05s; }
.feature-list li:nth-child(3) { animation-delay: 0.1s; }
.feature-list li:nth-child(4) { animation-delay: 0.15s; }
.feature-list li:nth-child(5) { animation-delay: 0.2s; }
.feature-list li:nth-child(6) { animation-delay: 0.25s; }

@keyframes feature-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-region {
  border-top: 1px solid var(--hairline-soft);
  padding: 20px 0 28px;
}

.footer-inner {
  color: var(--steel);
  font-size: 13px;
}

.footer-inner p {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--steel);
}

.sticky-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline-soft);
  box-shadow: 0 -6px 24px rgba(28, 42, 31, 0.08);
}

.sticky-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.sticky-store-apple {
  background: var(--ink-deep);
}

.sticky-store-google {
  background: var(--primary);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .sticky-download {
    display: none;
  }
}

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

  .mobile-nav {
    display: block;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo {
    width: min(160px, 42vw);
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
  }

  .store-cta-group-lg {
    flex-direction: column;
  }

  .download-panel {
    padding: var(--space-xl) var(--space-lg);
  }

  .download-panel h2 {
    font-size: 26px;
  }

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

  .feature-list li {
    font-size: 18px;
    padding: 18px 4px;
  }

  .features-band {
    padding: 80px 0 56px;
  }

  .sticky-store {
    min-height: 52px;
    font-size: 16px;
  }
}
