/* Renewly — 출시 사이트 공유 스타일
   방향: "조용한 다크" 하우스 스타일 + 브랜드 팔레트(teal→green, 만료=amber).
   JetBrains Mono(라벨/모노) × Pretendard(KO·EN 본문). */

:root {
  --bg:      #0a0e10;
  --bg-soft: #0f1417;
  --panel:   #131a1d;
  --ink:     #eaf2ef;
  --muted:   #93a5a0;
  --faint:   #5f7570;
  --line:    rgba(255, 255, 255, .085);
  --line-2:  rgba(255, 255, 255, .14);
  --accent:      #5fe3b0;   /* 브랜드 teal-green */
  --accent-deep: #25b489;
  --accent-dim:  rgba(95, 227, 176, .14);
  --accent-glow: rgba(95, 227, 176, .16);
  --amber:  #f5b94a;        /* 만료=시간 경고 (앱 아이콘 시계) */
  --red:    #ff7a6b;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --maxw: 1080px;
  --r: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 배경: 상단 teal 글로우 + 미세 도트 그리드 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% -8%, var(--accent-glow), transparent 70%),
    radial-gradient(42% 32% at 84% 6%, rgba(245,185,74,.06), transparent 70%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 90%);
  pointer-events: none;
}

html[data-lang="ko"] [data-en] { display: none !important; }
html[data-lang="en"] [data-ko] { display: none !important; }

a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #06160f; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ───────────── 헤더 ───────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 14, 16, .72);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.brand .glyph {
  width: 27px; height: 27px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--accent), var(--accent-deep));
  color: #06160f; font-weight: 800; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(95,227,176,.4), 0 6px 18px -6px var(--accent-glow);
}
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav a { transition: color .18s; }
.nav a:hover { color: var(--ink); }

.lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; overflow: hidden;
}
.lang button {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  color: var(--faint); padding: 5px 11px; font: inherit; letter-spacing: .04em;
  transition: color .15s, background .15s;
}
.lang button.on { background: var(--accent); color: #06160f; }
.nav-cta {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 15px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: border-color .18s, background .18s;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent-dim); }

/* ───────────── 공통 섹션 ───────────── */
section { padding: 84px 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-deep);
}
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.lede { color: var(--muted); font-size: 18px; max-width: 62ch; }

/* ───────────── 히어로 ───────────── */
.hero { padding: 70px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin: 18px 0 20px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 19px; }
.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 11px; font-weight: 650; font-size: 15px;
  border: 1px solid var(--line-2); transition: transform .16s, border-color .16s, background .16s, color .16s;
}
.btn-primary { background: var(--accent); color: #06160f; border-color: transparent; box-shadow: 0 10px 30px -12px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* 도메인 모니터 목업 */
.mock { position: relative; }
.appbar {
  display: flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 14px; border-radius: 12px 12px 0 0;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-weight: 700; font-size: 13.5px; letter-spacing: -.01em;
}
.appbar .spark { color: var(--accent); }
.appbar .count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); font-weight: 400; }
.panel {
  border: 1px solid var(--line-2); border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), #0e1417);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(95,227,176,.05);
  overflow: hidden; transform: translateY(-2px);
}
.mrow { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.st { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.st.ok { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.st.warn { background: var(--amber); box-shadow: 0 0 10px rgba(245,185,74,.3); }
.st.crit { background: var(--red); box-shadow: 0 0 10px rgba(255,122,107,.3); }
.mrow .h { display: flex; flex-direction: column; gap: 1px; font-size: 14px; font-weight: 600; }
.mrow .h small { font-family: var(--mono); font-size: 10.5px; color: var(--faint); font-weight: 400; }
.mrow .d { margin-left: auto; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.mrow .d.ok { color: var(--accent); }
.mrow .d.warn { color: var(--amber); }
.mrow .d.crit { color: var(--red); }
.mmeta { display: flex; justify-content: space-between; padding: 11px 15px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); background: rgba(0,0,0,.2); }

/* ───────────── 기능 그리드 ───────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 36px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent);
  transition: transform .18s, border-color .18s, background .18s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: rgba(95,227,176,.04); }
.card .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--accent); }
.card h3 { font-size: 17px; margin: 9px 0 6px; letter-spacing: -.02em; font-weight: 700; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ───────────── 프라이버시 기둥 ───────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.pillar { border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; position: relative; }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.pillar h3 { font-size: 19px; margin: 10px 0 8px; }
.pillar p { color: var(--muted); font-size: 14.5px; }
.section-dark { background: linear-gradient(180deg, transparent, rgba(95,227,176,.03), transparent); }

/* ───────────── 가격 ───────────── */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; background: var(--bg-soft); }
.plan.pro { border-color: rgba(95,227,176,.35); box-shadow: 0 0 0 1px rgba(95,227,176,.12), 0 30px 60px -36px var(--accent-glow); }
.plan .name { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan.pro .name { color: var(--accent); }
.plan .amt { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.plan .amt small { font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.plan li { font-size: 14.5px; color: var(--muted); padding-left: 22px; position: relative; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--accent-deep); font-family: var(--mono); }

/* ───────────── 문서 본문(privacy/support) ───────────── */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.doc .updated { font-family: var(--mono); font-size: 12.5px; color: var(--faint); margin-bottom: 40px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc p { color: var(--muted); margin-bottom: 12px; }
.doc strong { color: var(--ink); font-weight: 650; }
.doc ul.bul { margin: 4px 0 14px; padding-left: 20px; color: var(--muted); }
.doc ul.bul li { margin-bottom: 6px; }
.callout {
  border: 1px solid var(--line-2); border-left: 3px solid var(--accent);
  background: rgba(95,227,176,.05); border-radius: 10px; padding: 16px 18px; margin: 22px 0;
  font-size: 14.5px; color: var(--muted);
}
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px 24px; margin: 28px 0 8px;
  background: var(--bg-soft);
}
.contact-card .mono { font-size: 15px; color: var(--accent); }

/* FAQ */
.faq { margin-top: 26px; display: grid; gap: 10px; }
details.q {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; background: rgba(255,255,255,.018);
  transition: border-color .18s;
}
details.q[open] { border-color: var(--line-2); }
details.q summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-weight: 650; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-family: var(--mono); color: var(--accent); transition: transform .2s; }
details.q[open] summary::after { transform: rotate(45deg); }
details.q .a { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* ───────────── 푸터 ───────────── */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0; color: var(--faint); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .links { display: flex; gap: 20px; font-size: 14px; }
.site-foot a:hover { color: var(--accent); }
.site-foot .fine { font-family: var(--mono); font-size: 12px; }

/* ───────────── 왜 지금(urgency) ───────────── */
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; text-align: center;
  background: linear-gradient(180deg, rgba(245,185,74,.05), transparent);
}
.stat .big { font-family: var(--mono); font-size: clamp(40px, 6vw, 56px); font-weight: 700; color: var(--amber); letter-spacing: -.03em; line-height: 1; }
.stat .big small { font-size: 15px; color: var(--faint); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.stat .cap { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.why-note { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ───────────── 마무리 CTA ───────────── */
.closer { text-align: center; }
.closer .lede { margin: 0 auto; }
.closer .cta-row { margin-top: 26px; justify-content: center; }
.closer .hero-note { text-align: center; }

/* ───────────── 진입 애니메이션 ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .23s; }
  .d4 { animation-delay: .32s; } .d5 { animation-delay: .41s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ───────────── 반응형 ───────────── */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; }
  .pillars { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .nav { display: none; }
  section { padding: 60px 0; }
}
