:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --navy: #17324d;
  --navy-deep: #0e2237;
  --gold: #b88746;
  --gold-soft: #f0dfc6;
  --line: #e6ded1;
  --shadow: 0 22px 56px rgba(23, 50, 77, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #d8d3c9;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

body::after {
  content: "";
  display: block;
  height: 86px;
}

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

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

.page-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.04);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 12px 18px;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid rgba(230, 222, 209, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.header-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 16, 29, 0.34) 0%, rgba(5, 16, 29, 0.8) 100%),
    linear-gradient(90deg, rgba(5, 16, 29, 0.86) 0%, rgba(5, 16, 29, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 72svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 22px 32px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.22;
}

.hero h1 {
  max-width: 10.6ch;
  font-size: 2.6rem;
}

.hero-lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.primary-button {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 16px 32px rgba(184, 135, 70, 0.3);
}

.secondary-button {
  margin-top: 20px;
  border: 1px solid var(--gold);
  background: #fffaf2;
  color: #6e4a1d;
}

.deadline-badge {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  min-width: 0;
  padding: 16px 10px;
  background: #fff;
}

.quick-info span,
.quick-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.quick-info strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.35;
}

.section,
.final-cta {
  padding: 48px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.problem-section,
.detail-section {
  background: var(--bg);
}

.section h2,
.final-cta h2 {
  color: var(--navy-deep);
  font-size: 1.72rem;
}

.problem-list,
.benefit-grid,
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.problem-list article,
.benefit-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.problem-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 17px;
}

.problem-list span {
  color: var(--gold);
  font-weight: 900;
}

.problem-list p,
.benefit-grid p,
.detail-list dd,
.caution-section p,
.faq-list p,
.final-cta p,
.site-footer p {
  margin: 0;
  color: #3f4856;
}

.program-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.program-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f2;
}

.time {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.program-list strong {
  color: var(--navy-deep);
  font-size: 1.06rem;
}

.program-list p {
  margin: 6px 0 0;
  color: #3f4856;
}

.benefit-grid article {
  padding: 20px;
}

.benefit-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.16rem;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.detail-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt,
.detail-list dd {
  padding: 15px;
}

.detail-list dt {
  display: flex;
  align-items: center;
  background: #fff8ec;
  color: #6e4a1d;
  font-weight: 900;
}

.detail-list dd {
  background: #fff;
}

.caution-section {
  background: var(--navy-deep);
  color: #fff;
}

.caution-section h2 {
  color: #fff;
}

.caution-section p {
  margin-top: 14px;
  color: #dbe6f1;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  min-height: 58px;
  padding: 17px 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  padding: 0 18px 18px;
}

.final-cta {
  background: #fff8ec;
}

.final-cta p {
  margin: 14px 0 22px;
}

.site-footer {
  padding: 30px 20px 108px;
  background: var(--navy-deep);
  color: #fff;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  color: #cdd8e4;
  font-size: 0.9rem;
}

.floating-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(246, 244, 239, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.floating-cta a {
  display: flex;
  width: 100%;
  max-width: 398px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(184, 135, 70, 0.24);
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  body::after {
    height: 0;
  }

  .page-shell {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .hero,
  .hero-content {
    min-height: 700px;
  }

  .floating-cta {
    right: auto;
    left: 50%;
    width: 430px;
    transform: translateX(-50%);
  }
}
