:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --teal: #12a4b6;
  --teal-dark: #0b7d8c;
  --gold: #f5b942;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #dde3ea;
  --tint: #f2f6f9;
  --bg: #ffffff;
  --danger: #c0392b;
  --radius: 14px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 720px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter);
  background: rgba(11, 37, 69, .92);
  backdrop-filter: blur(8px);
}
.brand { color: #fff; font-weight: 900; text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--teal); }
.topbar-cta {
  color: var(--navy); background: var(--gold); font-weight: 700; font-size: 14px;
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(18, 164, 182, .45), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(245, 185, 66, .25), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 64px 0 72px;
}
.eyebrow { font-size: 12px; letter-spacing: .18em; color: #a9c7e3; margin: 0 0 18px; }
.hero h1 { font-size: clamp(34px, 8.5vw, 64px); line-height: 1.18; margin: 0 0 20px; font-weight: 900; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: clamp(15px, 3.8vw, 18px); color: #d6e3f0; margin: 0 0 28px; }
.hero-prizes { display: flex; gap: 28px; margin: 0 0 32px; flex-wrap: wrap; }
.hero-prizes div { display: flex; flex-direction: column; }
.hero-prizes strong { font-size: clamp(28px, 7vw, 40px); font-weight: 900; color: var(--gold); line-height: 1.1; }
.hero-prizes span { font-size: 13px; color: #a9c7e3; }
.deadline { margin: 16px 0 0; font-size: 14px; color: #d6e3f0; }
.dday { display: inline-block; background: #fff; color: var(--navy); font-weight: 900; border-radius: 6px; padding: 0 8px; margin-right: 4px; }
.hero-note { margin: 6px 0 0; font-size: 14px; color: var(--gold); font-weight: 700; }

.cta {
  display: inline-block; text-align: center;
  background: var(--gold); color: var(--navy);
  font-weight: 900; font-size: 18px; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(245, 185, 66, .3);
  font-family: inherit;
}
.cta:hover { filter: brightness(1.05); }
.cta.small { font-size: 16px; padding: 12px 22px; box-shadow: none; }
.cta.block { display: block; width: 100%; }
.cta[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .sub, .section.dark p { color: #d6e3f0; }
.kicker { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
h2 { font-size: clamp(26px, 6.5vw, 40px); line-height: 1.25; margin: 0 0 14px; font-weight: 900; letter-spacing: -.02em; }
h3 { margin: 0 0 6px; font-size: 18px; }
.sub { color: var(--muted); margin: 0 0 28px; }
.note { color: var(--muted); font-size: 14px; margin-top: 20px; }
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist label {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  background: var(--tint); border: 2px solid transparent; border-radius: var(--radius); padding: 14px 16px;
}
.checklist input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.checklist label:has(input:checked) { border-color: var(--teal); background: #e7f6f8; }
.checklist small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.check-result { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: #e7f6f8; border: 2px solid var(--teal); }
.check-result p { margin: 0 0 12px; }

/* Stats */
.stats { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stats strong { display: block; font-size: clamp(36px, 10vw, 56px); font-weight: 900; color: var(--teal); line-height: 1.1; }
.stats span { color: #a9c7e3; font-size: 14px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Path */
.path { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.path li { background: var(--tint); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--teal); }
.path p { margin: 0; color: var(--muted); }
.step { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--teal); border-radius: 4px; padding: 1px 8px; margin-bottom: 8px; }
@media (min-width: 760px) { .path { grid-template-columns: repeat(4, 1fr); } }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.benefits li { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.benefits p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(2, 1fr); } }

/* Mentors */
.mentors { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.mentors li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.mentors img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.mentors p { margin: 0; color: var(--muted); font-size: 14px; }
.mentors .role { color: var(--teal-dark); font-weight: 700; margin-bottom: 4px; }
@media (min-width: 760px) { .mentors { grid-template-columns: repeat(2, 1fr); } }

/* Judging */
.judging { display: grid; gap: 14px; margin-top: 20px; }
.judging > div { background: #fff; border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--navy); }
.judging > div:last-child { border-top-color: var(--teal); }
.judging ul { margin: 0; padding-left: 18px; color: var(--muted); }
@media (min-width: 640px) { .judging { grid-template-columns: 1fr 1fr; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 20px 0 0; border-left: 3px solid var(--line); }
.timeline li { display: grid; gap: 2px; padding: 0 0 22px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline time { font-weight: 900; color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline li.past { opacity: .5; }

/* Form */
.form-section { background: linear-gradient(180deg, var(--tint), #fff 240px); }
.apply-form fieldset { border: 0; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.apply-form legend { font-size: 18px; font-weight: 900; margin-bottom: 12px; color: var(--navy); padding: 0; }
.apply-form label, .field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.apply-form label.inline { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.apply-form label.inline input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.apply-form input:not([type=checkbox]):not([type=radio]), .apply-form textarea, .apply-form select {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.apply-form textarea { resize: vertical; min-height: 120px; }
.apply-form input:focus, .apply-form textarea:focus, .apply-form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 164, 182, .18); }
.apply-form small { font-weight: 400; color: var(--muted); font-size: 13px; }
.apply-form .invalid { border-color: var(--danger) !important; }
.field.invalid .choices { outline: 2px solid var(--danger); outline-offset: 4px; border-radius: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: flex; gap: 6px; align-items: center; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.choices label:has(input:checked) { border-color: var(--teal); background: #e7f6f8; }
.choices input { accent-color: var(--teal); margin: 0; }
.unit-input { display: flex; align-items: center; gap: 8px; }
.unit-input span { font-weight: 500; color: var(--muted); white-space: nowrap; }
.count { text-align: right; }
.consent { display: grid; gap: 10px; background: var(--tint); padding: 16px; border-radius: var(--radius); }
.consent details { font-size: 13px; color: var(--muted); padding-left: 30px; }
.consent ul { margin: 6px 0 0; padding-left: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 700; margin: 0 0 12px; }
.done, .closed { background: #e7f6f8; border: 2px solid var(--teal); border-radius: var(--radius); padding: 24px; }
.done h3 { font-size: 22px; }

/* FAQ */
.faq details { background: #fff; border-radius: 12px; padding: 0 18px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.about .contact a, .about .links a { color: var(--teal); }

/* Sticky CTA (phones) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30; text-align: center; text-decoration: none;
  background: var(--gold); color: var(--navy); font-weight: 900; font-size: 17px;
  padding: 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s, opacity .2s;
}
.sticky-cta .dday { background: var(--navy); color: #fff; margin: 0 0 0 6px; }
.sticky-cta.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

.footer { text-align: center; font-size: 13px; color: var(--muted); padding: 28px var(--gutter) 96px; }
