:root {
  --bg: #fff6f2;
  --bg-soft: #ffe9e1;
  --surface: #fffaf8;
  --surface-2: #fff1ec;
  --ink: #3d2c33;
  --muted: #7a646d;
  --line: #f0d5cc;
  --blush: #f7c9d4;
  --peach: #ffc9b5;
  --mint: #b8d4c8;
  --mint-deep: #6f9f8f;
  --coral: #e8897a;
  --coral-deep: #d56f5f;
  --lavender: #d9c7e8;
  --shadow: 0 12px 30px rgba(92, 58, 68, 0.08);
  --shadow-soft: 0 6px 18px rgba(92, 58, 68, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Gowun Dodum", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(247, 201, 212, 0.55), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(184, 212, 200, 0.45), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #fff9f6 45%, var(--bg-soft) 100%);
  min-height: 100vh;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--mint-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.inline-error {
  background: #ffe1e1;
  color: #7a2e2e;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 242, 0.86);
  border-bottom: 1px solid rgba(240, 213, 204, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, var(--blush), var(--peach) 55%, var(--mint));
  box-shadow: var(--shadow-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(247, 201, 212, 0.45);
  color: var(--ink);
}

.site-nav__cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.45rem 0.9rem !important;
  box-shadow: var(--shadow-soft);
}

.site-nav__cta:hover {
  background: var(--coral-deep) !important;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.9rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--coral), #f0a08f);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--coral-deep), var(--coral));
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--mint {
  background: var(--mint);
  color: var(--ink);
}

.page-hero,
.section {
  padding: 3.5rem 0;
}

.page-hero--compact {
  padding: 2.75rem 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(217, 199, 232, 0.55);
  color: var(--ink);
  font-size: 0.82rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 42rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: var(--surface);
  border: 1px solid rgba(240, 213, 204, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.soft-panel {
  background: rgba(255, 250, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  background: rgba(184, 212, 200, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
}

.quote {
  background: linear-gradient(160deg, #fffaf8, #ffeef3);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.quote p {
  margin-bottom: 0.75rem;
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(255, 233, 225, 0.5), rgba(247, 201, 212, 0.35));
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 1.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.site-footer__tag,
.site-footer__meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__label {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--coral-deep);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 213, 204, 0.8);
  color: var(--muted);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: rise-in 0.45s ease both;
}

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: rgba(255, 250, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status--success,
.form-status--error {
  display: block;
}

.form-status--success {
  background: rgba(184, 212, 200, 0.45);
  color: #2f5b4d;
}

.form-status--error {
  background: rgba(247, 201, 212, 0.65);
  color: #7a2e45;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field__error {
  min-height: 1.2em;
  color: #b0455c;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #e8897a;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.prose ol li {
  list-style: decimal;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(247, 201, 212, 0.35);
}

.hero-home {
  padding: 2.5rem 0 1rem;
}

.hero-home__stage {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-home__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: soft-zoom 14s ease-in-out infinite alternate;
}

.hero-home__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(61, 44, 51, 0.55) 8%, rgba(61, 44, 51, 0.18) 48%, rgba(247, 201, 212, 0.2) 100%);
}

.hero-home__copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: clamp(2rem, 6vw, 4rem);
  color: #fffaf8;
}

.hero-home__brand {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  animation: fade-up 0.8s ease both;
}

.hero-home__line {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  margin-bottom: 0.55rem;
  animation: fade-up 0.8s ease 0.12s both;
}

.hero-home__note {
  color: rgba(255, 250, 248, 0.88);
  margin-bottom: 1.4rem;
  animation: fade-up 0.8s ease 0.22s both;
}

.hero-home__cta {
  animation: fade-up 0.8s ease 0.32s both;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
}

.trust-item {
  background: rgba(255, 250, 248, 0.95);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--coral-deep);
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-item__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--blush), var(--mint));
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-soft);
}

.module-list li {
  list-style: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 0.65rem;
}

.module-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.price-card {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
}

.price-card ul {
  flex: 1;
  margin-bottom: 1.25rem;
}

.price-card li {
  list-style: none;
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}

.price-card li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mint-deep);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.price-card--featured {
  background: linear-gradient(165deg, #fff8f5, #ffe8f0);
  border-color: #f0b8c4;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.not-found {
  text-align: center;
  padding: 5rem 0;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header {
    position: relative;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.8rem;
    background: rgba(255, 250, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .card-grid--3,
  .card-grid--2,
  .price-grid,
  .trust-strip,
  .site-footer__grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
