/* 잔소리 웹 — 앱과 동일한 브랜드 시스템 (indigo #5B6CFF / ink #1F2330) */
:root {
  --indigo: #5B6CFF;
  --indigo-soft: #ECEEFF;
  --ink900: #1F2330;
  --ink700: #3A3F4E;
  --ink500: #767C8C;
  --ink300: #A9AFBD;
  --cloud: #F4F5FA;
  --mist: #EEF0F6;
  --white: #FFFFFF;
  --mint: #25C685;
  --amber: #FFB020;
  --coral: #FF5D63;
  --navy: #242C63;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(31, 35, 48, 0.10);
  --max: 1040px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  color: var(--ink900);
  background: var(--cloud);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 245, 250, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(31, 35, 48, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.2px; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--indigo); display: grid; place-items: center; }
.brand .mark svg { width: 24px; height: 24px; }
.nav a.cta { background: var(--indigo); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero .tile { width: 108px; height: 108px; border-radius: 30px; background: var(--indigo); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: var(--shadow); }
.hero .tile svg { width: 74px; height: 74px; }
.hero h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.18; letter-spacing: -1px; font-weight: 900; }
.hero h1 .accent { color: var(--indigo); }
.hero p.sub { margin: 20px auto 0; max-width: 620px; font-size: clamp(16px, 2.4vw, 20px); color: var(--ink500); }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink900); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .15s ease, opacity .15s; }
.store:hover { transform: translateY(-2px); }
.store.disabled { opacity: .45; pointer-events: none; }
.store .sub { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1; margin-bottom: 2px; }
.store svg { width: 22px; height: 22px; }
.soon { margin-top: 14px; font-size: 13px; color: var(--ink300); }

/* Sections */
section.block { padding: 56px 0; }
.eyebrow { text-align: center; color: var(--indigo); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
h2.title { text-align: center; font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -0.6px; margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--indigo-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.card p { margin-top: 8px; color: var(--ink500); font-size: 15px; }

/* CTA band */
.band { background: var(--indigo); color: #fff; border-radius: 28px; padding: 52px 32px; text-align: center; margin: 20px 0; }
.band h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -0.6px; }
.band p { margin-top: 12px; opacity: .9; font-size: 17px; }
.band .badges .store { background: #fff; color: var(--ink900); }

/* Footer */
footer { padding: 44px 0 60px; border-top: 1px solid rgba(31,35,48,0.08); margin-top: 20px; }
.foot-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--ink500); font-size: 14px; }
.foot-links a:hover { color: var(--ink900); }
footer .copy { color: var(--ink300); font-size: 13px; margin-top: 18px; }

/* Centered simple pages (share / invite / download / legal) */
.simple { min-height: 100vh; display: flex; flex-direction: column; }
.simple .core { flex: 1; display: grid; place-items: center; padding: 40px 24px; }
.panel { background: var(--white); border-radius: 26px; box-shadow: var(--shadow); padding: 40px 32px; max-width: 460px; width: 100%; text-align: center; }
.panel .tile { width: 88px; height: 88px; border-radius: 24px; background: var(--indigo); display: grid; place-items: center; margin: 0 auto 22px; }
.panel .tile svg { width: 60px; height: 60px; }
.panel h1 { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.panel p { color: var(--ink500); margin-top: 12px; font-size: 16px; }
.panel .btn { display: block; width: 100%; background: var(--indigo); color: #fff; font-weight: 800; font-size: 16px; padding: 16px; border-radius: 14px; margin-top: 24px; border: none; cursor: pointer; }
.panel .btn.ghost { background: var(--mist); color: var(--ink700); margin-top: 10px; }
.panel .hint { font-size: 13px; color: var(--ink300); margin-top: 16px; }
.invite-code { margin-top: 18px; background: var(--indigo-soft); border-radius: 14px; padding: 14px; font-weight: 800; color: var(--indigo); letter-spacing: 2px; font-size: 20px; }
.home-link { color: var(--indigo); font-weight: 700; }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.legal .meta { color: var(--ink300); font-size: 13px; margin: 8px 0 28px; }
.legal pre { white-space: pre-wrap; font-family: inherit; color: var(--ink700); font-size: 15px; line-height: 1.75; }
.legal .back { display: inline-block; margin-top: 32px; color: var(--indigo); font-weight: 700; }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .nav a.cta { display: none; }
}
