:root {
  color-scheme: light;
  --accent: #ff99bb;
  --accent-strong: #f05d93;
  --accent-soft: #fff1f6;
  --ink: #1e1d20;
  --muted: #706b72;
  --subtle: #9a949b;
  --line: #ece7ea;
  --paper: #ffffff;
  --surface: #fffafa;
  --soft-blue: #edf8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 153, 187, 0.22), transparent 30rem),
    linear-gradient(180deg, #fff8fb 0%, #ffffff 42%, #fbfdff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

a {
  color: #d84680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(236, 231, 234, 0.86);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 153, 187, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.96) 0 13%, transparent 14%),
    radial-gradient(circle at 69% 74%, rgba(255, 153, 187, 0.46) 0 22%, transparent 23%),
    linear-gradient(135deg, #fff 0%, #ffe7f0 48%, #e7f8ff 100%);
  box-shadow: inset -8px -8px 16px rgba(240, 93, 147, 0.1), 0 10px 26px rgba(240, 93, 147, 0.16);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(255, 153, 187, 0.38);
  background: var(--accent-soft);
  color: #b93168;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 58px 22px 88px;
}

.home-main {
  max-width: 960px;
  min-height: calc(100vh - 152px);
  padding-top: 72px;
  padding-bottom: 56px;
}

.home-intro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(236, 231, 234, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 153, 187, 0.11), rgba(255, 255, 255, 0.88) 44%, rgba(237, 248, 255, 0.64)),
    var(--paper);
  padding: 56px;
  box-shadow: 0 28px 78px rgba(65, 47, 56, 0.09);
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.86) 0 28%, rgba(255, 153, 187, 0.12) 29% 52%, transparent 54%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.72) 0 23%, rgba(237, 248, 255, 0.42) 24% 49%, transparent 51%);
  background-position: 8% 18%, 92% 72%;
  background-repeat: no-repeat;
  background-size: 120px 120px, 150px 150px;
  pointer-events: none;
}

.home-intro > *:not(.bubble) {
  position: relative;
  z-index: 1;
}

.home-intro h1 {
  font-size: clamp(54px, 8vw, 96px);
  line-height: 1.02;
}

.intro-copy {
  max-width: 760px;
  margin-top: 26px;
  color: #3a353a;
  font-size: 18px;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 14px;
}

.feature-list {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.feature-list h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 0;
}

.feature-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 36px;
  border: 1px solid rgba(255, 153, 187, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 7px 12px 7px 30px;
  color: #403940;
  font-size: 15px;
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.bubble {
  position: absolute;
  border: 1px solid rgba(255, 153, 187, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(255, 153, 187, 0.15), rgba(237, 248, 255, 0.68));
  box-shadow: inset -12px -14px 28px rgba(240, 93, 147, 0.08), 0 16px 42px rgba(240, 93, 147, 0.1);
  pointer-events: none;
}

.bubble-one {
  right: 70px;
  top: 58px;
  width: 86px;
  height: 86px;
}

.bubble-two {
  right: 158px;
  top: 142px;
  width: 42px;
  height: 42px;
  opacity: 0.85;
}

.bubble-three {
  right: -36px;
  bottom: 72px;
  width: 150px;
  height: 150px;
  opacity: 0.72;
}

.bubble-four {
  left: 34px;
  bottom: 30px;
  width: 52px;
  height: 52px;
  opacity: 0.65;
}

.bubble-five {
  left: 52%;
  top: 34px;
  width: 30px;
  height: 30px;
  opacity: 0.52;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: stretch;
  padding-bottom: 34px;
}

.hero > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  border: 1px solid rgba(236, 231, 234, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 153, 187, 0.12), rgba(237, 248, 255, 0.74)),
    var(--paper);
  padding: 42px;
  box-shadow: 0 24px 70px rgba(65, 47, 56, 0.08);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.info-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  border: 1px solid rgba(236, 231, 234, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 26px;
  box-shadow: 0 20px 60px rgba(65, 47, 56, 0.07);
}

.info-panel p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
}

.info-panel p:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-panel strong {
  color: var(--ink);
}

.doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 16px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
}

.toc a {
  display: block;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 8px;
  text-decoration: none;
}

.toc a:hover {
  background: var(--accent-soft);
  color: #b93168;
}

.document {
  border: 1px solid rgba(236, 231, 234, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 42px;
  box-shadow: 0 24px 70px rgba(65, 47, 56, 0.08);
}

.document h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.document h2 {
  margin: 42px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.38;
  letter-spacing: 0;
}

.document h2:first-of-type {
  margin-top: 14px;
}

.document h3 {
  margin: 24px 0 8px;
  color: #352d33;
  font-size: 17px;
  letter-spacing: 0;
}

.document p {
  margin: 8px 0;
}

.document ul,
.document ol {
  margin: 12px 0 18px;
  padding-left: 24px;
}

.document li + li {
  margin-top: 7px;
}

.meta {
  display: inline-flex;
  margin: 18px 0 26px;
  border: 1px solid rgba(255, 153, 187, 0.38);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a63a69;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.card {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(236, 231, 234, 0.95);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(65, 47, 56, 0.07);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -62px;
  width: 164px;
  height: 164px;
  border: 1px solid rgba(255, 153, 187, 0.42);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 153, 187, 0.2), rgba(237, 248, 255, 0.9));
}

.card:hover {
  border-color: rgba(255, 153, 187, 0.58);
  box-shadow: 0 22px 64px rgba(240, 93, 147, 0.13);
  transform: translateY(-2px);
}

.card span {
  position: relative;
  z-index: 1;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
}

.card h2 {
  position: relative;
  z-index: 1;
  margin: 9px 0 10px;
  font-size: 25px;
  letter-spacing: 0;
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
}

.notice {
  margin-top: 28px;
  border: 1px solid rgba(255, 153, 187, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), #ffffff);
  padding: 16px 18px;
}

.notice p {
  margin: 0;
  color: #6a394d;
}

.footer {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 22px 42px;
  color: var(--subtle);
  font-size: 14px;
}

.home-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  max-width: 960px;
  text-align: center;
}

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

  .nav-links {
    justify-content: flex-start;
  }

  main {
    padding-top: 34px;
  }

  .home-main {
    padding-top: 28px;
  }

  .home-intro {
    padding: 34px 24px;
  }

  .home-intro h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .intro-copy {
    font-size: 16px;
  }

  .feature-list ul {
    grid-template-columns: 1fr;
  }

  .hero,
  .doc-layout,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero > div {
    min-height: 0;
    padding: 30px 24px;
  }

  .toc {
    position: static;
  }

  .document {
    padding: 28px 22px;
  }

  .bubble-one {
    right: 24px;
    top: 38px;
    width: 54px;
    height: 54px;
  }

  .bubble-two {
    display: none;
  }

  .home-footer {
    flex-direction: column;
    gap: 4px;
  }
}
