:root {
  --purple: #6466fa;
  --purple-dark: #4a4cd6;
  --purple-tint: #f1f1ff;
  --ink: #17172b;
  --body: #45465c;
  --line: #e3e4ee;
  --bg: #ffffff;
  --error: #d1293d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
}
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; }
p { margin: 0; }
a { color: var(--purple-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand__sub { font-weight: 600; font-size: 15px; color: var(--purple-dark); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--purple-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 1px solid var(--purple); border-radius: 12px;
  background: var(--purple); color: #fff; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: background 0.15s;
}
.btn:hover { background: var(--purple-dark); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(100, 102, 250, 0.4); outline-offset: 2px; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--ghost { background: #fff; color: var(--purple-dark); }
.btn--ghost:hover { background: var(--purple-tint); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.hero { background: linear-gradient(180deg, var(--purple-tint), #fff); padding: 72px 0 64px; }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--purple-dark); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.02em; }
.hero__lead { margin-top: 18px; font-size: 18px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__card { list-style: none; margin: 0; padding: 8px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(74, 76, 214, 0.1); }
.hero__card li { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero__card li:last-child { border-bottom: 0; }
.hero__card strong { color: var(--ink); font-size: 17px; }
.hero__card span { font-size: 15px; }

.section { padding: 72px 0; }
.section--tint { background: #f8f8fc; }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.section__lead { margin-top: 10px; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.card__tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--purple-dark); background: var(--purple-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p:last-child { font-size: 15.5px; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.steps__no { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15.5px; }

.consult { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.consult__notes { margin: 24px 0 0; padding-left: 20px; font-size: 15.5px; }
.consult__notes li { margin-bottom: 8px; }
.form, .done { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(23, 23, 43, 0.06); }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label, legend { display: block; padding: 0; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
label em, legend em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--purple-dark); margin-left: 4px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd0e0; border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label, .agree { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.checks input, .agree input { width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.agree { border: 0; padding: 0; }
.agree__detail { font-size: 13px; margin-top: 6px; color: #6b6c80; }
.field__error { color: var(--error); font-size: 14px; margin-top: 6px; }
.field__error:empty, .form__error:empty { display: none; }
.form__error { color: var(--error); font-size: 15px; margin-bottom: 12px; }
.done h3 { font-size: 22px; margin-bottom: 12px; }
.done p { margin-bottom: 10px; }
.done strong { color: var(--purple-dark); font-size: 18px; }
.done .btn { margin-top: 10px; }
[hidden] { display: none !important; }

.faq { margin: 28px 0 0; }
.faq dt { font-weight: 700; color: var(--ink); font-size: 17px; margin-top: 22px; }
.faq dd { margin: 6px 0 0; }

.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: #6b6c80; }
.foot__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.foot__brand img { border-radius: 6px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .top__in { justify-content: space-between; }
  .hero { padding: 48px 0; }
  .hero__in, .consult { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 520px) {
  .steps, .field-row, .checks { grid-template-columns: 1fr; }
  .form, .done { padding: 20px; }
  .brand__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
