/* ============================================
   Design tokens (design.md 기반)
   ============================================ */
:root {
  /* Brand & Accent */
  --color-primary: #f54e00;
  --color-primary-active: #d04200;

  /* Surface */
  --color-canvas: #f7f7f4;
  --color-canvas-soft: #fafaf7;
  --color-surface-card: #ffffff;
  --color-surface-strong: #e6e5e0;

  /* Hairlines */
  --color-hairline: #e6e5e0;
  --color-hairline-soft: #efeee8;
  --color-hairline-strong: #cfcdc4;

  /* Text */
  --color-ink: #26251e;
  --color-body: #5a5852;
  --color-muted: #807d72;
  --color-muted-soft: #a09c92;
  --color-on-primary: #ffffff;

  /* Semantic */
  --color-success: #1f8a65;
  --color-error: #cf2d56;

  /* Typography */
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-base: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 80px;

  /* Radius */
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-pill: 9999px;

  /* Layout */
  --max-width: 1200px;

  /* Participate section */
  --color-input-bg: #f3f3f1;
  --color-input-disabled: #ebeae6;
  --color-consent-bg: #fef9e7;
  --color-consent-border: #f5e6a8;
  --color-comment-bg: #e8f4fc;
  --color-comment-border: #c5e0f5;
  --color-example-badge: #1e3a5f;
  --color-example-section-bg: #f0f8fd;
  --color-example-card-bg: #e8f4fc;
  --color-example-card-border: #b8d9f0;
  --color-registered-section-bg: #faf7f2;
  --color-registered-card-bg: #fff9f3;
  --color-registered-card-border: #e8d9c8;
  --color-registered-accent: #c45c1a;
  --color-submit: #b8c4d0;
  --color-submit-active: #26251e;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============================================
   Typography
   ============================================ */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--spacing-xs);
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--color-ink);
  margin-bottom: var(--spacing-xxl);
}

.section-note {
  margin-top: var(--spacing-xl);
  font-size: 14px;
  color: var(--color-muted);
  text-align: center;
}

/* ============================================
   Buttons
   ============================================ */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-on-primary);
  background: var(--color-primary);
  border: none;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: background 0.15s;
}

.button-primary:hover {
  background: var(--color-primary-active);
}

.button-primary--lg {
  height: 44px;
  padding: 12px 24px;
  font-size: 15px;
}

.button-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-canvas);
  background: var(--color-ink);
  border-radius: var(--rounded-md);
  transition: opacity 0.15s;
}

.button-download:hover {
  opacity: 0.85;
}

.button-tertiary-text {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 var(--spacing-base);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.badge-pill {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--color-ink);
  background: var(--color-surface-strong);
  border-radius: var(--rounded-pill);
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   Top Navigation
   ============================================ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--color-canvas);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.top-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: var(--spacing-xl);
}

.top-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.top-nav__logo img {
  display: block;
  height: 16px;
  width: auto;
}

.top-nav__menu {
  display: flex;
  gap: var(--spacing-xl);
  margin-right: auto;
}

.top-nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
}

.top-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.top-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
}

/* ============================================
   Hero
   ============================================ */
.hero-band {
  padding: var(--spacing-lg) 0 var(--spacing-xxl);
}

.hero-banner {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px var(--spacing-xl) 28px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff7a1a 0%, #f54e00 100%);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(245, 78, 0, 0.22);
}

.hero-banner__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #26251e;
  background: #ffffff;
  border-radius: var(--rounded-pill);
  z-index: 2;
}

.hero-banner__content {
  text-align: center;
}

.hero-banner__headline {
  position: relative;
  display: inline-block;
  margin: 0 auto var(--spacing-base);
  padding-top: 14px;
}

.hero-banner__aidt-tag {
  position: absolute;
  top: 0;
  left: 10px;
  display: inline-block;
  padding: 8px 16px;
  font-size: clamp(14px, 2.35vw, 20px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  background: #2f80ed;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: rotate(-12deg);
  transform-origin: left bottom;
  z-index: 3;
  white-space: nowrap;
}

.hero-banner__product {
  display: inline-block;
  margin: 0;
  padding: 10px 24px;
  font-size: clamp(44px, 7.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #26251e;
  background: #ffd60a;
  border-radius: 16px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.hero-banner__event-title {
  margin: 0 auto var(--spacing-base);
  font-size: clamp(38px, 6.2vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.08),
    0 5px 16px rgba(0, 0, 0, 0.24);
}

.hero-banner__lead {
  max-width: 640px;
  margin: 0 auto var(--spacing-sm);
  font-size: clamp(12px, 1.55vw, 14px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero-banner__title {
  max-width: 760px;
  margin: 0 auto var(--spacing-base);
  font-size: clamp(17px, 2.5vw, 25px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hero-banner__period {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--spacing-lg);
  font-size: clamp(12px, 1.7vw, 16px);
  font-weight: 700;
  color: #ffe566;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  color: #f54e00;
  background: #ffffff;
  border-radius: var(--rounded-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hero-banner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: var(--spacing-section) 0;
}

.section--soft {
  background: var(--color-canvas-soft);
}

/* ============================================
   Feature Cards (About)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--spacing-sm);
}

.feature-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body);
}

.about-brief {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.about-brief__item {
  padding: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 48px);
  text-align: center;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: 20px;
}

.about-brief__title {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.about-brief__body {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.02em;
  color: var(--color-body);
}

.about-brief__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-base);
  padding: 10px 20px;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 600;
  color: #2b6cb0;
  background: #f0f7fc;
  border: 1px solid #b8d9f0;
  border-radius: var(--rounded-pill);
  transition: background 0.15s, border-color 0.15s;
}

.about-brief__link:hover {
  background: #e3f0fa;
  border-color: #8ec5e8;
}

/* ============================================
   Steps (How To)
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  counter-reset: step;
}

.step-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.step-card__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-base);
}

.step-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--spacing-sm);
}

.step-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body);
}

/* ============================================
   Prizes
   ============================================ */
.prize-intro {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
  margin: calc(var(--spacing-lg) * -1) 0 var(--spacing-lg);
}

.prize-intro strong {
  color: var(--color-primary);
  font-weight: 600;
}

.prize-visual {
  margin: 0 auto;
  max-width: 1024px;
}

.prize-visual__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rounded-lg);
}

/* ============================================
   Schedule
   ============================================ */
.schedule-table {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
}

.schedule-row {
  display: flex;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--color-hairline-soft);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row__label {
  flex: 0 0 160px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}

.schedule-row__value {
  font-size: 15px;
  color: var(--color-body);
  flex: 1;
}

.schedule-row__value--long {
  line-height: 1.65;
}

/* ============================================
   Notice
   ============================================ */
.notice-box {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
}

.notice-box__subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--spacing-sm);
}

.notice-box__subtitle:not(:first-child) {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-hairline-soft);
}

.notice-list {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.notice-list li {
  position: relative;
  padding-left: var(--spacing-base);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: var(--spacing-sm);
}

.notice-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

.notice-list li:last-child {
  margin-bottom: 0;
}

/* ============================================
   Participate — Consent & Review Form
   ============================================ */
.section--participate {
  background: var(--color-canvas-soft);
}

.participate-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--spacing-sm);
}

.consent-block {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.consent-block__guide {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.consent-accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--spacing-base) var(--spacing-lg);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  background: var(--color-input-bg);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-md);
  cursor: pointer;
  margin-bottom: var(--spacing-base);
  text-align: left;
}

.consent-accordion__icon {
  font-size: 11px;
  color: var(--color-muted);
  transition: transform 0.2s;
}

.consent-accordion[aria-expanded="true"] .consent-accordion__icon {
  transform: rotate(180deg);
}

.consent-detail {
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-base);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-body);
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--rounded-md);
}

.consent-detail p {
  margin-bottom: var(--spacing-sm);
}

.consent-detail p:last-child {
  margin-bottom: 0;
}

.consent-detail__heading {
  font-weight: 600;
  color: var(--color-ink);
  margin-top: var(--spacing-sm);
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-base) var(--spacing-lg);
  background: var(--color-consent-bg);
  border: 1px solid var(--color-consent-border);
  border-radius: var(--rounded-md);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink);
}

.consent-checkbox input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.consent-block.is-complete {
  border-color: #9fd4b4;
  background: #f8fdf9;
}

.mission-block {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.step-divider {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-lg);
}

.step-divider::before,
.step-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #3d9a5f;
}

.step-badge {
  flex-shrink: 0;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-on-primary);
  background: #3d9a5f;
  border-radius: var(--rounded-pill);
  letter-spacing: 0.02em;
}

.step-guide {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
  margin-bottom: var(--spacing-xl);
}

.step-guide strong {
  font-weight: 600;
}

.step-hint {
  margin-top: var(--spacing-lg);
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
}

.convenience-block {
  position: relative;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

.convenience-block__num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(43, 108, 176, 0.28);
  pointer-events: none;
  z-index: 2;
}

.convenience-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-sm);
  padding-left: 44px;
}

.convenience-block__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.convenience-block__guide {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
  margin-bottom: var(--spacing-lg);
}

.convenience-block__list {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--spacing-lg) var(--spacing-xl);
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--rounded-md);
}

.convenience-block__list li {
  position: relative;
  padding-left: var(--spacing-base);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: var(--spacing-xs);
}

.convenience-block__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.convenience-block__list li:last-child {
  margin-bottom: 0;
}

.step-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: calc(var(--spacing-sm) * -1) 0 var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-base);
  border-radius: var(--rounded-md);
}

.step-status--locked {
  color: var(--color-muted);
  background: #ecebe7;
}

.step-status--ready {
  color: #2d6a4a;
  background: #e3f5eb;
  border: 1px solid #9fd4b4;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.feature-card-select {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature-card-select__label {
  display: block;
  cursor: pointer;
  flex: 1;
}

.feature-card-select__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature-card-select__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: var(--spacing-lg) var(--spacing-base) var(--spacing-base);
  background: #faf8f3;
  border: 2px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  transition: border-color 0.15s, background 0.15s;
}

.feature-card-select__num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(43, 108, 176, 0.28);
  pointer-events: none;
  z-index: 2;
}

.feature-card-select__tag {
  font-size: 15px;
  font-weight: 700;
  color: #2b6cb0;
  margin-bottom: var(--spacing-base);
  text-align: center;
}

.feature-card-select__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  margin-bottom: var(--spacing-base);
  overflow: hidden;
  background: var(--color-surface-card);
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-hairline-soft);
}

.feature-card-select__visual--fallback {
  font-size: 48px;
}

.feature-card-select__thumb {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: top center;
}

.feature-card-select__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--spacing-base);
  text-align: center;
}

.feature-card-select__radio {
  display: block;
  width: 22px;
  height: 22px;
  margin-top: auto;
  border: 2px solid #2b6cb0;
  border-radius: 50%;
  position: relative;
}

.feature-card-select__input:checked + .feature-card-select__inner {
  border-color: #3d9a5f;
  background: #f4fbf6;
}

.feature-card-select__input:checked + .feature-card-select__inner .feature-card-select__num {
  color: rgba(61, 154, 95, 0.85);
}

.feature-card-select__input:checked + .feature-card-select__inner .feature-card-select__radio {
  border-color: #3d9a5f;
  background: #3d9a5f;
}

.feature-card-select__input:checked + .feature-card-select__inner .feature-card-select__radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-on-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.feature-card-select__input:focus-visible + .feature-card-select__inner {
  outline: 2px solid #3d9a5f;
  outline-offset: 2px;
}

.feature-detail-btn {
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #2b6cb0;
  background: #ffffff;
  border: 1px solid #b8d9f0;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.feature-detail-btn:hover {
  background: #f0f7fc;
  border-color: #8ec5e8;
  color: #1e5a8a;
}

.convenience-block__header .feature-detail-btn {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* 기능 상세 모달 */
.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 37, 30, 0.55);
}

.feature-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--spacing-xl);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  box-shadow: 0 16px 48px rgba(38, 37, 30, 0.18);
}

.feature-modal__dialog--wide {
  max-width: 920px;
}

.feature-modal__close {
  position: absolute;
  top: var(--spacing-base);
  right: var(--spacing-base);
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 1;
  color: var(--color-muted);
  background: none;
  border: none;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.feature-modal__close:hover {
  color: var(--color-ink);
  background: var(--color-canvas-soft);
}

.feature-modal__header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-right: var(--spacing-xl);
}

.feature-modal__header--title-only {
  margin-bottom: var(--spacing-base);
}

.feature-modal__header--title-only .feature-modal__tag,
.feature-modal__header--title-only .feature-modal__icon {
  display: none !important;
}

.feature-modal__tag {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2b6cb0;
  margin-bottom: var(--spacing-sm);
}

.feature-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-base);
  font-size: 40px;
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--rounded-lg);
}

.feature-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.4;
}

.feature-modal__period {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #d92d20;
}

.feature-modal__period[hidden] {
  display: none !important;
}

.feature-modal__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-body);
}

.feature-modal__body p {
  margin-bottom: var(--spacing-sm);
}

.feature-modal__body p:last-child {
  margin-bottom: 0;
}

.feature-modal__body strong {
  display: block;
  margin-top: var(--spacing-base);
  margin-bottom: 4px;
  color: var(--color-ink);
  font-weight: 600;
}

.feature-modal__media {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-hairline-soft);
}

.feature-modal__media--showcase {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.feature-modal__showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-lg);
}

.feature-modal__showcase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feature-modal__showcase-title {
  margin-bottom: var(--spacing-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.feature-modal__showcase-card .feature-modal__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-hairline-soft);
  background: var(--color-canvas-soft);
}

.feature-modal__media-inner {
  display: block;
}

.feature-modal__media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-base);
}

.feature-modal__zoom-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  border-radius: var(--rounded-md);
  overflow: hidden;
}

.feature-modal__zoom-btn:hover .feature-modal__zoom-hint,
.feature-modal__zoom-btn:focus-visible .feature-modal__zoom-hint {
  opacity: 1;
}

.feature-modal__zoom-btn:focus-visible {
  outline: 2px solid #3d9a5f;
  outline-offset: 2px;
}

.feature-modal__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-hairline);
  transition: transform 0.2s;
}

.feature-modal__zoom-btn:hover .feature-modal__image {
  transform: scale(1.01);
}

.feature-modal__zoom-hint {
  position: absolute;
  right: var(--spacing-sm);
  bottom: var(--spacing-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-on-primary);
  background: rgba(38, 37, 30, 0.72);
  border-radius: var(--rounded-pill);
  opacity: 0.85;
  pointer-events: none;
}

/* 이미지 확대 라이트박스 */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.image-lightbox__close {
  position: absolute;
  top: var(--spacing-base);
  right: var(--spacing-base);
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: background 0.15s;
}

.image-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(960px, 96vw);
  max-height: 92vh;
  margin: 0;
}

.image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 40px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--rounded-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  cursor: zoom-out;
}

.image-lightbox__caption {
  margin-top: var(--spacing-sm);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.review-form-block {
  background: #ecebe7;
  border: 1px dashed var(--color-hairline-strong);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.review-form-block.is-active {
  background: #ffffff;
  border: 2px solid #3d9a5f;
  box-shadow: 0 0 0 4px rgba(61, 154, 95, 0.1);
}

.review-form-block__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-on-primary);
  background: var(--color-primary);
  border-radius: var(--rounded-pill);
  white-space: nowrap;
}

.review-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.text-input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-ink);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-md);
  outline: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.text-input::placeholder {
  color: var(--color-muted-soft);
}

.text-input:disabled {
  background: #dddcd8;
  border: 1px dashed #bbb9b3;
  color: #9a9790;
  cursor: not-allowed;
}

.review-form.is-enabled .text-input:not(:disabled) {
  background: #ffffff;
  border: 1px solid #3d9a5f;
  color: var(--color-ink);
  box-shadow: 0 1px 3px rgba(61, 154, 95, 0.08);
}

.text-input:not(:disabled):focus {
  background: var(--color-surface-card);
  border-color: #2d6a4a;
  box-shadow: 0 0 0 3px rgba(61, 154, 95, 0.18);
}

.text-input--textarea {
  height: auto;
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.comment-compose {
  border-radius: var(--rounded-md);
  overflow: hidden;
}

.comment-compose__prefix {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-ink);
  background: #e8f4ec;
  border: 1px dashed #bbb9b3;
  border-bottom: none;
  border-radius: var(--rounded-md) var(--rounded-md) 0 0;
  user-select: none;
  cursor: default;
}

.comment-compose.has-prefix.is-enabled .comment-compose__prefix {
  background: #e3f5eb;
  border: 1px solid #3d9a5f;
  border-bottom: 1px solid #c5e8d4;
  color: #2d6a4a;
}

.comment-compose__input {
  border-radius: var(--rounded-md);
}

.comment-compose.has-prefix .comment-compose__input {
  border-top: none;
  border-radius: 0 0 var(--rounded-md) var(--rounded-md);
}

.comment-compose.has-prefix.is-enabled .comment-compose__input:not(:disabled) {
  border-top: none;
}

.comment-compose:not(.is-enabled) .comment-compose__prefix {
  color: #9a9790;
  background: #dddcd8;
}

.review-form-block:not(.is-active) .comment-compose__input:disabled {
  border-radius: 0 0 var(--rounded-md) var(--rounded-md);
}

.review-form-block:not(.is-active) .comment-compose:not(.has-prefix) .comment-compose__input:disabled {
  border-radius: var(--rounded-md);
}

.text-input--textarea:disabled::placeholder {
  color: #b85c42;
}

.review-form.is-enabled .text-input--textarea:not(:disabled)::placeholder {
  color: #6b8f7a;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.button-submit {
  display: block;
  width: 100%;
  height: 52px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #9a9790;
  background: #c8c6c0;
  border: none;
  border-radius: var(--rounded-md);
  cursor: not-allowed;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.button-submit:not(:disabled) {
  color: var(--color-on-primary);
  background: var(--color-primary);
  cursor: pointer;
}

.button-submit:not(:disabled):hover {
  background: var(--color-primary-active);
}

.button-submit.is-loading {
  opacity: 0.75;
  cursor: wait;
}

.review-form__notice {
  margin-top: var(--spacing-lg);
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
}

.review-form__notice p {
  margin-bottom: 4px;
}

.review-form__notice--emphasis {
  color: var(--color-error);
  font-weight: 500;
  margin-top: var(--spacing-sm);
}

.comment-example {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: var(--color-example-section-bg);
  border: 1px solid var(--color-example-card-border);
  border-radius: var(--rounded-lg);
}

.example-card {
  position: relative;
  margin-bottom: var(--spacing-base);
}

.example-card__badge {
  position: absolute;
  top: -12px;
  left: var(--spacing-lg);
  z-index: 1;
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-on-primary);
  background: var(--color-example-badge);
  border-radius: var(--rounded-pill);
}

.example-card__inner {
  background: var(--color-example-card-bg);
  border: 1px solid var(--color-example-card-border);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
  padding-top: calc(var(--spacing-lg) + 4px);
}

.comment-example .comment-card__feature {
  color: #1e5a8a;
  background: #d6ebfa;
}

.example-card__inner--sub {
  margin-bottom: var(--spacing-base);
}

.example-card__inner--sub:last-child {
  margin-bottom: 0;
}

.example-card__preview {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: var(--spacing-base);
}

.example-card__full {
  margin-bottom: var(--spacing-base);
}

.example-card__full[hidden] {
  display: none !important;
}

.example-toggle,
.example-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #2b6cb0;
  background: #f0f7fc;
  border: 1px solid #b8d9f0;
  border-radius: var(--rounded-pill);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.example-toggle:hover,
.example-more-toggle:hover {
  background: #e3f0fa;
  border-color: #8ec5e8;
}

.example-more-toggle {
  display: flex;
  margin: var(--spacing-base) auto 0;
}

.example-more[hidden] {
  display: none !important;
}

.example-more:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-sm);
}

.comment-card {
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg);
}

.comment-list-block {
  padding: var(--spacing-xl);
  background: var(--color-registered-section-bg);
  border: 1px solid var(--color-registered-card-border);
  border-radius: var(--rounded-lg);
}

.comment-list-block__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-registered-accent);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-registered-card-border);
}

.comment-list-block .comment-card {
  background: var(--color-registered-card-bg);
  border: 1px solid var(--color-registered-card-border);
}

.comment-list-block .comment-card__feature {
  color: #9a4e12;
  background: #fdebd5;
}

.comment-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.comment-card__author {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
}

.comment-card__date {
  font-size: 13px;
  color: var(--color-muted);
}

.comment-card__feature {
  display: inline-block;
  margin-bottom: var(--spacing-sm);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #2b6cb0;
  background: #e8f0fa;
  border-radius: var(--rounded-pill);
}

.comment-card__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body);
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
}

.comment-list__empty {
  padding: var(--spacing-xxl) var(--spacing-lg);
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  background: var(--color-registered-card-bg);
  border: 1px dashed var(--color-registered-card-border);
  border-radius: var(--rounded-lg);
}

.comment-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: var(--spacing-lg);
}

.comment-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-body);
  background: var(--color-surface-card);
  border: 1px solid var(--color-registered-card-border);
  border-radius: var(--rounded-md);
  cursor: pointer;
}

.comment-page-btn:hover:not(:disabled),
.comment-page-btn.is-active {
  color: var(--color-on-primary);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.comment-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-message {
  padding: var(--spacing-sm) var(--spacing-base);
  margin-bottom: var(--spacing-base);
  font-size: 14px;
  border-radius: var(--rounded-md);
}

.form-message--error {
  color: var(--color-error);
  background: #fdeef2;
  border: 1px solid #f5c6d0;
}

.form-message--success {
  color: var(--color-success);
  background: #edf7f2;
  border: 1px solid #b8dfd0;
}

/* ============================================
   CTA Band (legacy)
   ============================================ */
.cta-band {
  padding: 96px 0;
  text-align: center;
}

.cta-band__title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--color-ink);
  margin-bottom: var(--spacing-base);
}

.cta-band__sub {
  font-size: 16px;
  color: var(--color-body);
  margin-bottom: var(--spacing-xl);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--color-hairline-soft);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.footer__logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
}

.footer__copy {
  margin-top: var(--spacing-xs);
  font-size: 14px;
  color: var(--color-muted);
}

.footer__links {
  display: flex;
  gap: var(--spacing-xl);
}

.footer-link {
  font-size: 14px;
  color: var(--color-body);
}

.footer-link:hover {
  color: var(--color-ink);
}

/* ============================================
   Mobile Nav (open state)
   ============================================ */
.top-nav__menu.is-open {
  display: flex;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-banner {
    padding: 44px var(--spacing-lg) 24px;
    border-radius: 18px;
  }

  .hero-banner__badge {
    top: 16px;
    left: 16px;
  }

  .about-brief {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }

  .about-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav__menu,
  .top-nav .button-primary {
    display: none;
  }

  .top-nav__hamburger {
    display: flex;
  }

  .top-nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-canvas);
    border-bottom: 1px solid var(--color-hairline);
    padding: var(--spacing-lg);
    gap: var(--spacing-base);
  }

  .hero-banner {
    padding: 40px var(--spacing-base) 22px;
    border-radius: 14px;
  }

  .hero-banner__badge {
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    font-size: 12px;
  }

  .hero-banner__aidt-tag {
    top: 2px;
    left: 6px;
    font-size: clamp(13px, 3.5vw, 16px);
    padding: 6px 12px;
    border-radius: 6px;
  }

  .hero-banner__product {
    padding: 8px 18px;
    border-radius: 14px;
  }

  .hero-banner__title br {
    display: none;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  .about-grid,
  .about-brief,
  .steps {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .schedule-row__label {
    flex: none;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .consent-block,
  .review-form-block,
  .mission-block,
  .convenience-block {
    padding: var(--spacing-lg);
  }

  .convenience-block__header {
    flex-wrap: wrap;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-modal__media-grid,
  .feature-modal__showcase {
    grid-template-columns: 1fr;
  }

  .participate-title {
    font-size: 18px;
  }
}
