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

:root {
  --ink: #3d4f5c;
  --ink-soft: #7a8f9e;
  --paper: #fdf8f5;
  --paper-deep: #f5ede3;
  --sky: #dceeff;
  --mint: #d6f4e6;
  --peach: #fde3d5;
  --sun: #ffd699;
  --coral: #f4a89a;
  --coral-deep: #f08c7e;
  --lavender: #e2d9f7;
  --line: rgba(61, 79, 92, 0.08);
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(61, 79, 92, 0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(220, 238, 255, .75), transparent 30%),
    radial-gradient(circle at top right, rgba(253, 227, 213, .65), transparent 26%),
    linear-gradient(180deg, #fffdfb 0%, var(--paper) 100%);
  line-height: 1.65;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 245, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61, 79, 92, .07);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--coral-deep); }

/* ── Hero ── */
.hero {
  padding: 92px 24px 76px;
}
.subpage-hero {
  padding: 92px 24px 24px;
}
.subpage-body {
  padding: 24px 24px 80px;
}
.narrow {
  max-width: 860px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 32px;
  align-items: center;
}
.hero-copy {
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(61, 79, 92, .06);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--peach);
  color: #d4705f;
  border: 1px solid rgba(244, 168, 154, .3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, #f9c9a0 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(244, 168, 154, .35);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(61, 79, 92, .1);
}
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.metric {
  background: linear-gradient(135deg, var(--white) 0%, #fff8f5 100%);
  border: 1px solid rgba(61, 79, 92, .07);
  border-radius: 16px;
  padding: 14px 16px;
  min-width: 140px;
}
.metric strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}
.metric span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ── Hero Panel ── */
.hero-panel {
  position: relative;
  background: linear-gradient(180deg, #fffefb 0%, #fff5ee 100%);
  border: 1px solid rgba(61, 79, 92, .06);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
}
.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
}
.hero-panel::before {
  width: 160px;
  height: 160px;
  background: rgba(220, 238, 255, .85);
  top: -46px;
  right: -28px;
}
.hero-panel::after {
  width: 120px;
  height: 120px;
  background: rgba(226, 217, 247, .75);
  bottom: -34px;
  left: -22px;
}
.panel-card {
  position: relative;
  background: rgba(255, 255, 255, .85);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(61, 79, 92, .06);
  margin-bottom: 16px;
}
.panel-card:last-child { margin-bottom: 0; }
.panel-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--coral-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.panel-main {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}
.panel-sub {
  color: var(--ink-soft);
  font-size: 14px;
}
.difficulty-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.difficulty-chip {
  background: linear-gradient(135deg, #fff5f0 0%, #ffeae5 100%);
  border: 1px solid rgba(244, 168, 154, .2);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

/* ── Sections ── */
section { padding: 80px 24px; }
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--peach);
  color: #c4614f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.lead {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 42px;
  max-width: 720px;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature-card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(61, 79, 92, .06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(61, 79, 92, .1);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.feature-card:nth-child(3n+1) .feature-icon { background: linear-gradient(135deg, var(--sky) 0%, #eef7ff 100%); }
.feature-card:nth-child(3n+2) .feature-icon { background: linear-gradient(135deg, var(--mint) 0%, #eefbf4 100%); }
.feature-card:nth-child(3n+3) .feature-icon { background: linear-gradient(135deg, var(--lavender) 0%, #f1edfb 100%); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── Privacy ── */
#privacy { background: rgba(255, 255, 255, .55); }
.privacy-box,
.support-card {
  background: var(--white);
  border: 1px solid rgba(61, 79, 92, .06);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.privacy-box h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 10px;
}
.privacy-box h3:first-child { margin-top: 0; }
.privacy-box p,
.privacy-box li {
  font-size: 14px;
  color: #5d7080;
  line-height: 1.85;
}
.privacy-box ul { padding-left: 20px; }
.privacy-box ul li { margin-bottom: 6px; }
.policy-steps {
  padding-left: 22px;
  color: #5d7080;
}
.policy-steps li {
  margin-bottom: 8px;
  line-height: 1.85;
}
.privacy-effective {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 79, 92, .08);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── Support ── */
#support {
  background: linear-gradient(180deg, rgba(214, 244, 230, .6) 0%, rgba(253, 248, 245, 0) 100%);
}
.support-card {
  display: grid;
  gap: 18px;
}
.support-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffefb 0%, #fff7f3 100%);
  border: 1px solid rgba(61, 79, 92, .05);
}
.support-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(61, 79, 92, .06);
}
.support-item h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.support-item p {
  font-size: 14px;
  color: var(--ink-soft);
}
.support-item a {
  color: var(--coral-deep);
  text-decoration: none;
  font-weight: 700;
}
.support-item a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, #3d4f5c 0%, #2e3d48 100%);
  color: rgba(255, 255, 255, .68);
  padding: 48px 24px;
  font-size: 13px;
  margin-top: 32px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand .logo {
  font-size: 20px;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
}
.footer-brand p { max-width: 280px; line-height: 1.7; }
.footer-info h4 {
  color: white;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-info p { margin-bottom: 6px; }
.footer-info a {
  color: var(--sun);
  text-decoration: none;
}
.footer-info a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 1080px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 28px; }
  .hero-panel { padding: 22px; }
}

@media (max-width: 600px) {
  .nav-inner { height: auto; padding-top: 14px; padding-bottom: 14px; flex-direction: column; gap: 10px; }
  .nav-links { gap: 16px; }
  .hero { padding-top: 56px; }
  .hero-copy,
  .hero-panel,
  .privacy-box,
  .support-card { padding: 22px 18px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .difficulty-row { grid-template-columns: 1fr; }
}
