:root {
  color-scheme: light dark;
  --ink: #161618;
  --text-2: #6e6e76;
  --text-3: #a0a0a8;
  --canvas: #f7f6f3;
  --surface: #ffffff;
  --muted-surface: #f1f0ed;
  --line: rgba(22, 22, 24, 0.08);
  --accent: #ef4c85;
  --accent-soft: #ffd1e0;
  --accent-wash: #ffe6ed;
  --blob-cool: #e8eef5;
  --cta-bg: #161618;
  --cta-fg: #ffffff;
  --cta-bg-hover: #2a2a2e;
  --grain-opacity: 0.035;
  --radius: 22px;
  --font-brand: "Black Han Sans", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f1ef;
    --text-2: #a8a8b0;
    --text-3: #7a7a84;
    --canvas: #121214;
    --surface: #1c1c1f;
    --muted-surface: #26262a;
    --line: rgba(242, 241, 239, 0.1);
    --accent: #ff6b9d;
    --accent-soft: #5a2038;
    --accent-wash: #3a1826;
    --blob-cool: #1e2836;
    --cta-bg: #f2f1ef;
    --cta-fg: #161618;
    --cta-bg-hover: #ffffff;
    --grain-opacity: 0.05;
  }
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.9;
  animation: drift 14s ease-in-out infinite;
}

.blob-a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 68%);
}

.blob-b {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  right: -10%;
  top: 18%;
  background: radial-gradient(circle at 60% 40%, var(--blob-cool), transparent 70%);
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, 24px, 0) scale(1.06);
  }
}

.topbar,
.stage,
.site-foot {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  display: flex;
  justify-content: flex-end;
}

.privacy-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.privacy-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.stage {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.stage-doc {
  padding-top: 1.75rem;
}

.hero {
  padding: 1.5rem 0 2.75rem;
}

.hero-compact {
  padding-bottom: 1.5rem;
}

.brand-mark {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 12vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  animation: brandPulse 5.5s ease-in-out infinite;
}

@keyframes brandPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 4.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink);
}

.lead {
  margin: 0 0 1.6rem;
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 28rem;
}

.meta {
  margin: 0 0 0.85rem;
  color: var(--text-3);
  font-size: 0.88rem;
  font-weight: 500;
}

.mail-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  background: var(--cta-bg);
  color: var(--cta-fg) !important;
  text-decoration: none;
  border-radius: var(--radius);
  min-width: min(100%, 280px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.mail-cta:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.mail-cta:active {
  transform: translateY(0);
}

.mail-cta-label {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.72;
  color: inherit;
}

.mail-cta-addr {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
}

.faq-block h2,
.policy h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.75rem 1.05rem 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  color: var(--ink);
  transition: color 0.18s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.faq-list details[open] summary {
  color: var(--accent);
}

.faq-list details[open] summary::after {
  border-color: var(--accent);
  transform: translateY(-20%) rotate(225deg);
}

.faq-list details p {
  margin: 0 0 1.15rem;
  padding-right: 1.5rem;
  color: var(--text-2);
  font-size: 0.96rem;
}

.policy section {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.policy section:first-child {
  border-top: none;
  padding-top: 0;
}

.policy ul {
  margin: 0.2rem 0 0.75rem;
  padding-left: 1.15rem;
  color: var(--text-2);
}

.policy li + li {
  margin-top: 0.45rem;
}

.policy p {
  margin: 0.35rem 0 0;
  color: var(--text-2);
}

.policy a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 2px;
}

.site-foot {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85rem;
}

.site-foot p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  color: var(--text-2);
  background: var(--muted-surface);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

/* 초기 opacity:0 금지 — CSS 미적용/애니메이션 실패 시에도 보이게 */
.reveal {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .blob,
  .brand-mark,
  .reveal {
    animation: none !important;
  }

  .mail-cta,
  .privacy-link,
  .faq-list summary::after {
    transition: none;
  }
}

@media (max-width: 480px) {
  .mail-cta {
    width: 100%;
  }
}
