:root {
  color-scheme: light;
  --bg: #faf6f0;
  --surface: #fffdf9;
  --surface-soft: #f5f0e8;
  --text: #5c4033;
  --muted: #8b7355;
  --subtle: #a0937d;
  --line: #eee5d8;
  --primary: #9ed2c6;
  --primary-dark: #7cb3a6;
  --primary-soft: #eaf7f3;
  --team-a: #ff8e8e;
  --team-a-soft: #fff0f0;
  --team-b: #8ecaff;
  --team-b-soft: #eef8ff;
  --yellow: #ffd966;
  --shadow: 0 22px 54px rgba(139, 115, 85, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--primary-dark);
  text-underline-offset: 4px;
}

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

.site-header,
.landing-hero,
.app-preview,
.feature-band,
.support-section,
.document-shell {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(124, 179, 166, 0.24);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--primary-dark);
}

.store-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
}

.store-link img {
  flex: 0 0 auto;
}

.store-link-primary {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.store-link-primary img,
.app-store-button img {
  filter: brightness(0) invert(1);
}

.store-link-primary:hover {
  color: #ffffff;
}

.landing-hero {
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  padding: 42px 0 28px;
  text-align: center;
}

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

.hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(124, 179, 166, 0.24);
}

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

h1,
h2 {
  line-height: 1.25;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.title-accent {
  color: var(--primary-dark);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.download-button,
.support-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.download-button img {
  flex: 0 0 auto;
}

.app-store-button {
  border: 1.5px solid var(--text);
  background: var(--text);
  color: #ffffff;
}

.play-store-button,
.support-button,
.secondary-button {
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.support-button {
  border-color: rgba(124, 179, 166, 0.6);
  color: var(--primary-dark);
}

.feature-mark {
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-mockup {
  overflow: hidden;
  width: min(100%, 292px);
  border: 3px solid #5c4033;
  border-radius: 22px;
  background: #fffaf3;
  box-shadow: 0 24px 48px rgba(118, 84, 66, 0.16);
}

.phone-mockup img {
  width: 100%;
  height: auto;
}

.app-preview {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 4px 0 90px;
}

.main-illustration {
  width: min(86vw, 720px);
  filter: drop-shadow(0 24px 36px rgba(139, 115, 85, 0.12));
}

.screens-section {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 0 0 92px;
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2 {
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.phone-shot {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  border: 1px solid rgba(158, 210, 198, 0.38);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
}

.phone-shot .phone-mockup {
  width: min(100%, 198px);
}

.featured-shot {
  border-color: rgba(124, 179, 166, 0.5);
  background: var(--primary-soft);
}

.featured-shot .phone-mockup {
  width: min(100%, 198px);
}

.phone-shot h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.phone-shot p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  padding: 0 0 88px;
}

.feature-heading {
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(1) {
  border-color: rgba(255, 142, 142, 0.36);
  background: var(--team-a-soft);
}

.feature-card:nth-child(2) {
  border-color: rgba(158, 210, 198, 0.56);
  background: var(--primary-soft);
}

.feature-card:nth-child(3) {
  border-color: rgba(142, 202, 255, 0.42);
  background: var(--team-b-soft);
}

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

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-bottom: 72px;
  padding: 28px;
  border: 1px solid rgba(124, 179, 166, 0.38);
  border-radius: 8px;
  background: var(--primary-soft);
}

.support-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.support-section p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.support-actions {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(124, 179, 166, 0.45);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.76);
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-link {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  width: min(100% - 40px, 1120px);
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.document-shell {
  width: min(100% - 40px, 920px);
  padding: 44px 0 72px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 700;
  text-decoration: none;
}

.updated {
  margin: 12px 0 34px;
  color: var(--muted);
}

.document-shell section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.document-shell p,
.document-shell ul {
  margin: 0;
  color: var(--muted);
}

.document-shell ul {
  padding-left: 1.2rem;
}

.document-shell p + p,
.document-shell ul + p {
  margin-top: 12px;
}

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

@media (max-width: 720px) {
  .site-header,
  .landing-hero,
  .app-preview,
  .feature-band,
  .screens-section,
  .support-section,
  .document-shell,
  .footer-inner {
    width: min(100% - 28px, 920px);
  }

  .site-header {
    min-height: 66px;
  }

  .top-nav {
    gap: 8px;
    font-size: 0.78rem;
  }

  .store-link {
    min-height: 38px;
    padding: 8px 10px;
  }

  .store-link img {
    width: 16px;
    height: 16px;
  }

  .landing-hero {
    min-height: auto;
    padding: 42px 0 36px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .app-preview {
    min-height: auto;
    padding: 4px 0 56px;
  }

  .main-illustration {
    width: min(92vw, 480px);
  }

  .feature-grid,
  .phone-gallery,
  .support-section {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding-bottom: 44px;
  }

  .screens-section {
    padding-bottom: 52px;
  }

  .phone-shot .phone-mockup,
  .featured-shot .phone-mockup {
    width: min(72vw, 260px);
  }

  .support-section {
    margin-bottom: 44px;
    padding: 22px;
  }

  .support-actions {
    justify-items: start;
  }

  .footer-inner {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .brand span {
    display: none;
  }

  .hero-actions,
  .policy-links {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .download-button,
  .support-button,
  .policy-links a {
    width: 100%;
  }
}
