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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: #2e3446;
  background:
    radial-gradient(circle at top left, rgba(255, 205, 165, 0.42), transparent 28%),
    radial-gradient(circle at top right, rgba(195, 229, 255, 0.48), transparent 26%),
    linear-gradient(180deg, #fffaf5 0%, #f9f5ef 100%);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 245, 0.82);
  border-bottom: 1px solid rgba(46, 52, 70, 0.08);
}

.nav-inner,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

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

.nav-logo {
  font-family: 'Jua', sans-serif;
  font-size: 1.65rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #5f677d;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.card-links a:hover,
.footer-links a:hover,
.policy-links a:hover,
.support-row a:hover {
  color: #dd6b4d;
}

.hero {
  padding: 88px 0 72px;
}

.hero-home {
  padding-top: 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.glass-card,
.app-card,
.policy-column,
.support-panel,
.policy-card,
.info-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(46, 52, 70, 0.08);
  box-shadow: 0 24px 60px rgba(46, 52, 70, 0.08);
}

.hero-copy {
  border-radius: 32px;
  padding: 38px 40px 34px;
}

.hero-copy h1,
.subpage-hero h1 {
  margin: 0 0 16px;
  font-family: 'Jua', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy p,
.lead,
.app-description,
.info-card p,
.policy-column p,
.support-row span,
.footer-copy,
.stack-card p {
  color: #687087;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff1de;
  color: #c75d3c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 16px;
}

.hero-actions,
.hero-notes,
.card-links,
.policy-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.filter-pill:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fffdf9;
  background: linear-gradient(135deg, #ef8d59 0%, #e86a76 100%);
  box-shadow: 0 16px 32px rgba(232, 106, 118, 0.28);
}

.btn-secondary {
  color: #374056;
  background: #fffdfb;
  border: 1px solid rgba(55, 64, 86, 0.12);
}

.note-chip,
.chip {
  border-radius: 999px;
  background: #f4f6fb;
  color: #5c657e;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-aside {
  display: grid;
  gap: 18px;
}

.glass-card {
  border-radius: 28px;
  padding: 24px;
}

.stack-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #b75f44;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-grid div {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff9f1 0%, #fffefc 100%);
}

.mini-grid strong {
  display: block;
  font-family: 'Jua', sans-serif;
  font-size: 1.6rem;
}

.mini-grid span {
  color: #6d758d;
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading.compact {
  justify-content: start;
}

.section-heading h2 {
  margin: 0;
  font-family: 'Jua', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  appearance: none;
  border: 1px solid rgba(46, 52, 70, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #5d6780;
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.filter-pill.is-active {
  background: #2f3850;
  color: #fff;
  border-color: #2f3850;
}

.app-grid,
.feature-grid,
.policy-layout {
  display: grid;
  gap: 20px;
}

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

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

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

.app-card,
.info-card,
.policy-column,
.policy-card,
.support-panel {
  border-radius: 28px;
}

.app-card {
  padding: 24px;
}

.info-card {
  padding: 24px;
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.app-category,
.app-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 900;
}

.category-learning {
  background: #fff0df;
  color: #bf633d;
}

.category-puzzle {
  background: #e9f2ff;
  color: #3667b4;
}

.app-status-live {
  background: #e8f7ec;
  color: #2f8b4d;
}

.app-status-soft {
  background: #f4f2ff;
  color: #6c63b6;
}

.app-card h3,
.info-card h3,
.policy-column h3,
.policy-card h3 {
  margin: 0 0 10px;
}

.app-card h3 {
  font-family: 'Jua', sans-serif;
  font-size: 2rem;
}

.info-card h3,
.policy-column h3,
.policy-card h3 {
  font-family: 'Jua', sans-serif;
  font-size: 1.35rem;
}

.app-tagline {
  margin: 0 0 12px;
  font-weight: 800;
  color: #384157;
}

.app-description {
  margin: 0 0 14px;
}

.app-points {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #5f6981;
}

.card-links a,
.policy-links a,
.footer-links a {
  text-decoration: none;
  font-weight: 800;
  color: #42506d;
}

.policy-column,
.policy-card {
  padding: 28px;
}

.policy-links.large-links a {
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff9f3;
  border: 1px solid rgba(46, 52, 70, 0.08);
}

.section-policy-guide {
  background: linear-gradient(180deg, rgba(255, 244, 228, 0.65) 0%, rgba(249, 245, 239, 0) 100%);
}

.section-support {
  background: linear-gradient(180deg, rgba(231, 242, 255, 0.55) 0%, rgba(249, 245, 239, 0) 100%);
}

.support-panel {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.support-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(46, 52, 70, 0.08);
}

.support-row:last-child {
  border-bottom: 0;
}

.support-row strong {
  font-size: 0.96rem;
}

.support-row a {
  text-decoration: none;
  font-weight: 800;
  color: #da6b4c;
}

.subpage-hero {
  padding: 84px 0 24px;
}

.subpage-body {
  padding: 24px 0 80px;
}

.narrow {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.lead {
  margin: 0;
  font-size: 1rem;
}

.policy-card ul,
.policy-card ol {
  padding-left: 20px;
  color: #667088;
}

.policy-card a {
  color: #d46548;
}

.privacy-effective {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(46, 52, 70, 0.08);
  color: #6b748a;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 24px;
  padding: 38px 0 24px;
  background: linear-gradient(135deg, #293145 0%, #1e2636 100%);
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  font-family: 'Jua', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links {
  max-width: 420px;
  justify-content: end;
}

.footer-links a {
  color: #ffe2c9;
}

.footer-bottom {
  width: min(1120px, calc(100% - 48px));
  margin: 20px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.theme-learning .hero-copy {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.theme-puzzle .hero-copy {
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
}

@media (max-width: 920px) {
  .hero-inner,
  .app-grid,
  .feature-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-inner,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .support-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-copy {
    padding: 28px 24px;
  }

  .glass-card,
  .app-card,
  .policy-column,
  .policy-card,
  .support-panel,
  .info-card {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .nav-inner,
  .section-inner,
  .hero-inner,
  .footer-inner,
  .narrow,
  .footer-bottom {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .btn,
  .policy-links.large-links a {
    width: 100%;
  }

  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}
