:root {
  --bg: #f5f7f4;
  --bg-soft: #ecefe8;
  --ink: #101410;
  --muted: #4c564c;
  --line: #d2dbcf;
  --primary: #0f766e;
  --primary-2: #115e59;
  --accent: #ef7d26;
  --card: #fdfefb;
  --shadow: 0 12px 28px rgba(16, 20, 16, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 15%, rgba(239, 125, 38, 0.18), transparent 28%),
    linear-gradient(165deg, #f8faf6 0%, #eef2eb 50%, #e8eee5 100%);
  min-height: 100vh;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: #e8efeb;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.bg-glow-a {
  background: #f49a57;
  top: -120px;
  right: -100px;
}

.bg-glow-b {
  background: #2cb4a6;
  bottom: -140px;
  left: -120px;
}

.site-header,
main,
.site-footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(210, 219, 207, 0.65);
  border-radius: 999px;
  background: rgba(253, 254, 251, 0.88);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--primary) 0%, #12a49b 70%);
  color: #fff;
  padding: 0.3rem 0.55rem;
  border-radius: 10px;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

main {
  padding-top: 3.2rem;
}

.hero {
  padding: 2.8rem 0 1.6rem;
}

.eyebrow {
  margin: 0;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--primary-2);
}

.hero h1 {
  margin: 0.55rem 0 1.1rem;
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  line-height: 1.07;
}

.hero-copy {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #129a90);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 94, 89, 0.28);
}

.btn-outline {
  border: 1px solid #b8c5b4;
  background: rgba(253, 254, 251, 0.8);
}

.section {
  margin-top: 2.8rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.section-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.apps-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: linear-gradient(160deg, var(--card) 0%, #f6fbf8 100%);
  border: 1px solid rgba(210, 219, 207, 0.92);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.23rem 0.55rem;
  border-radius: 999px;
}

.badge-live {
  background: rgba(17, 94, 89, 0.12);
  color: #0c5a54;
}

.badge-build {
  background: rgba(239, 125, 38, 0.17);
  color: #af530f;
}

.platform {
  margin: 0;
  font-size: 0.79rem;
  color: var(--muted);
}

.card h3 {
  margin: 0.8rem 0 0.52rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.96rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--primary-2);
}

.text-link[aria-disabled="true"] {
  opacity: 0.72;
}

.policy-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.policy-actions .text-link {
  margin-top: 0;
}

.ad-grid {
  margin-top: 0.95rem;
}

.ad-shell {
  margin-top: 0.95rem;
  padding: 1rem;
  border: 1px dashed #bcc7b9;
  border-radius: 16px;
  background: #fbfdf9;
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.7rem;
}

.ad-label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.ad-shell-mobile {
  display: flex;
}

.ad-shell-desktop {
  display: none;
}

.ad-placeholder {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  margin-top: 3rem;
  padding: 1rem 0 1.8rem;
  border-top: 1px solid #cfd8cc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--primary-2);
  font-weight: 700;
}

.doc-wrap {
  padding: 2.4rem 0 1rem;
}

.doc-wrap h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.doc-meta {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-box {
  margin-top: 1.2rem;
  border: 1px solid rgba(210, 219, 207, 0.95);
  background: rgba(253, 254, 251, 0.92);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.doc-box h2 {
  margin: 0 0 0.55rem;
  font-size: 1.16rem;
}

.doc-box p,
.doc-box li {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.97rem;
}

.doc-box ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.doc-box .text-link {
  display: inline;
  margin-top: 0;
}

.apps-empty {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-split {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-item {
  display: block;
  border: 1px solid rgba(210, 219, 207, 0.95);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(253, 254, 251, 0.9);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.split-item:hover {
  transform: translateY(-2px);
  border-color: #afbbb0;
}

.split-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.split-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.guide-list {
  margin: 0;
  padding-left: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

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

  .doc-split {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 861px) {
  .ad-shell-mobile {
    display: none;
  }

  .ad-shell-desktop {
    display: flex;
  }
}

@media (max-width: 580px) {
  .site-header,
  main,
  .site-footer {
    width: min(1080px, calc(100% - 1.2rem));
  }

  .nav {
    flex-wrap: wrap;
    row-gap: 0.3rem;
    column-gap: 0.75rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .btn {
    width: 100%;
  }
}
