:root {
  color-scheme: light dark;
  --brand: #16A34A;
  --brand-dark: #15803D;
  --brand-soft: #DCFCE7;
  --background: #F9FAFB;
  --surface: #FFFFFF;
  --surface-soft: #F3F4F6;
  --text: #111827;
  --text-secondary: #4B5563;
  --border: #E5E7EB;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.35);
  outline-offset: 3px;
}

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

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(249, 250, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #FFFFFF;
  background: var(--brand);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

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

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

.hero {
  padding: 76px 0 62px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 10vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 4vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.app-store-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--text);
  color: var(--background);
  font-weight: 750;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, opacity 160ms ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.apple-icon {
  font-size: 25px;
  line-height: 1;
}

.button-copy {
  display: grid;
  line-height: 1.08;
}

.button-copy small {
  font-size: 10px;
  font-weight: 600;
}

.button-copy strong {
  font-size: 19px;
}

.launch-note {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.phone-card {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -70px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  filter: blur(12px);
}

.app-screen {
  min-height: 500px;
  padding: 24px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.12), transparent 34%),
    var(--surface-soft);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-weight: 800;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.chat-bubble {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 6px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 14px;
}

.chat-bubble.user {
  margin-left: auto;
  border: 0;
  border-radius: 18px 18px 6px 18px;
  background: var(--brand);
  color: #FFFFFF;
}

.saved-card {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.saved-card strong {
  display: block;
  margin-bottom: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 7vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 15px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
}

.feature-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
}

.cta-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #FFFFFF;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(28px, 7vw, 43px);
  line-height: 1.17;
  letter-spacing: -0.05em;
}

.cta-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel .app-store-button {
  width: fit-content;
  color: var(--text);
  background: #FFFFFF;
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.footer-links a:hover,
.email-link:hover {
  color: var(--brand);
}

.document-main {
  padding: 54px 0 80px;
}

.document {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 28px 0;
}

.document-header {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.document h1 {
  margin: 0;
  font-size: clamp(31px, 8vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.document .meta {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.document h2 {
  margin: 36px 0 12px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.document p,
.document li {
  color: var(--text-secondary);
}

.document ul {
  padding-left: 22px;
}

.document li + li {
  margin-top: 7px;
}

.support-card {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.support-card h2 {
  margin-top: 0;
}

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 13px;
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 800;
}

.support-button:hover {
  background: var(--brand-dark);
}

.small-note {
  color: var(--text-secondary);
  font-size: 13px;
}

@media (min-width: 760px) {
  .hero {
    padding: 104px 0 86px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 46px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .document {
    padding: 48px 0;
  }
}

@media (max-width: 620px) {
  .nav-links a:not(.support-nav-link) {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .phone-card {
    width: 100%;
  }

  .app-screen {
    min-height: 440px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #22C55E;
    --brand-dark: #86EFAC;
    --brand-soft: rgba(34, 197, 94, 0.14);
    --background: #111827;
    --surface: #182231;
    --surface-soft: #0F172A;
    --text: #F9FAFB;
    --text-secondary: #CBD5E1;
    --border: #2B3748;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  }

  .site-header {
    border-bottom-color: rgba(43, 55, 72, 0.8);
    background: rgba(17, 24, 39, 0.88);
  }

  .app-store-button {
    color: #111827;
    background: #F9FAFB;
  }

  .cta-panel {
    color: #052E16;
  }

  .cta-panel p {
    color: rgba(5, 46, 22, 0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}