.apply-page .form-width {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.apply-page .site-nav .lp-inner {
  gap: 28px;
}

.apply-page .brand {
  display: inline-flex;
  flex-shrink: 0;
}

.apply-page .back {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: .2em;
}

.apply-page .back:hover {
  text-decoration: underline;
}

.apply-page .apply-hero {
  background: var(--accent);
  color: var(--paper);
  padding: 120px 60px;
}

.apply-page .head {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.apply-page .eyebrow {
  min-height: 16px;
  font-size: var(--type-kicker);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .06em;
}

.apply-page h1 {
  margin: 0;
  min-height: 71px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.apply-page .head p {
  margin: 0;
  min-height: 29px;
  font-size: 18px;
  line-height: 1.6;
  word-break: keep-all;
}

.application-area {
  padding: 72px 60px 96px;
}

.apply-page form {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.apply-page .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  line-height: 1.7;
}

.apply-page .meta small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .req {
  color: var(--accent);
  font-weight: 700;
}

.apply-page .group {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.apply-page .gh {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.apply-page .gh .n {
  color: var(--accent);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.apply-page .gh .t {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.apply-page .gh .s {
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.apply-page .field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.apply-page .full {
  grid-column: 1 / -1;
}

.apply-page .lb {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

/* Match the user-edited Figma text frames while keeping form fields fluid. */
.apply-page .group > .lb, .apply-page .group > .field > .lb {
  min-height: 28px;
}

.apply-page .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page input[type="text"], .apply-page input[type="tel"], .apply-page input[type="email"], .apply-page input[type="url"], .apply-page textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 0;
  background: var(--tint);
  color: var(--ink);
  font-family: "NanumHuman", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-appearance: none;
}

.apply-page input[type="text"], .apply-page input[type="tel"], .apply-page input[type="email"], .apply-page input[type="url"] {
  height: 56px;
  padding: 12px 16px;
}

.apply-page textarea {
  min-height: 128px;
  padding: 16px;
  resize: vertical;
}

.apply-page input::placeholder, .apply-page textarea::placeholder {
  color: var(--muted);
  opacity: .6;
}

.apply-page input:focus-visible, .apply-page textarea:focus-visible, .apply-page button:focus-visible, .apply-page a:focus-visible, .apply-page .file:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.apply-page .choice {
  display: grid;
  gap: 12px;
}

.apply-page .c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apply-page .c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apply-page button {
  font-family: "NanumHuman", system-ui, sans-serif;
}

.apply-page .opt-btn {
  min-width: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  word-break: keep-all;
}

.apply-page .opt-btn:hover {
  background: var(--line);
}

.apply-page .opt-btn[aria-checked="true"], .apply-page .opt-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--paper);
}

.apply-page .topic {
  min-height: 140px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.apply-page .topic b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-line;
}

.apply-page .topic span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: inherit;
}

.apply-page .pill {
  min-height: 56px;
  padding: 12px 16px;
}

.apply-page .qbar {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--tint);
}

.apply-page .qbar textarea {
  background: var(--paper);
}

.apply-page .qbar.on {
  display: flex;
}

.apply-page .sched {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.apply-page .dark-btn, .apply-page .done-btn, .apply-page .submit, .apply-page .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 28px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Montserrat", "NanumHuman", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

.apply-page .dark-btn:hover, .apply-page .done-btn:hover, .apply-page .submit:hover, .apply-page .ghost:hover {
  background: var(--accent);
  color: var(--paper);
}

.apply-page .hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  background: var(--accent);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.apply-page .pop {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  z-index: 20;
  width: min(440px, 100%);
  padding: 28px;
  background: var(--ivory);
  flex-direction: column;
  gap: 16px;
}

.apply-page .pop.on {
  display: flex;
}

.apply-page .cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.apply-page .cal-head b {
  font-size: 18px;
  line-height: 1.5;
}

.apply-page .nav {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.apply-page .nav:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: default;
}

.apply-page .dows, .apply-page .days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.apply-page .dows {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.apply-page .day {
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", "NanumHuman", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.apply-page .day:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: default;
}

.apply-page .day[aria-pressed="true"] {
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
}

.apply-page .pop small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .done-btn {
  width: 100%;
}

.apply-page .file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--tint);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  cursor: pointer;
}

.apply-page #fileLb {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.apply-page .file input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.apply-page .policy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--tint);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.apply-page .policy b {
  font-weight: 700;
}

.apply-page .policy > span {
  line-height: 24px;
}

.apply-page .policy-note {
  color: var(--muted);
}

.apply-page .check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 28px;
  font-size: 16px;
  line-height: 1.7;
  cursor: pointer;
}

.apply-page .check input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  accent-color: var(--accent);
}

.apply-page .err {
  display: none;
  padding: 20px 28px;
  background: #FFE9E6;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.apply-page .err.on {
  display: block;
}

.apply-page .submit {
  align-self: flex-start;
  min-width: 320px;
  padding-right: 40px;
  padding-left: 40px;
}

.apply-page .submit:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: wait;
}

.apply-page .application-area .done {
  display: none;
  padding: 48px 40px;
  background: var(--tint);
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.apply-page .application-area .done.on {
  display: flex;
}

.apply-page .done .big {
  color: var(--accent);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.apply-page .done h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.apply-page .done p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.apply-page .footer-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.apply-page .site-footer small {
  color: var(--paper);
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .site-footer a:focus-visible {
  outline-color: var(--paper);
}

@media (max-width: 768px) {
  .apply-page .site-nav .lp-inner {
    align-items: center;
    column-gap: 20px;
    row-gap: 16px;
    flex-wrap: wrap;
  }
  .apply-page .apply-hero {
    padding: 80px 28px;
  }
  .apply-page h1 {
    min-height: 0;
  }
  .application-area {
    padding: 45px 28px 60px;
  }
  .apply-page .head p {
    font-size: 16px;
  }
  .apply-page form {
    gap: 48px;
  }
  .apply-page .row, .apply-page .c3, .apply-page .c2 {
    grid-template-columns: 1fr;
  }
  .apply-page .topic {
    min-height: 0;
    padding: 24px;
  }
  .apply-page .qbar, .apply-page .policy {
    padding: 24px;
  }
  .apply-page .pop {
    position: static;
    flex-basis: 100%;
    width: 100%;
    padding: 20px;
  }
  .apply-page .dark-btn, .apply-page .submit, .apply-page .ghost {
    width: 100%;
    min-width: 0;
  }
  .apply-page .application-area .done {
    padding: 32px 24px;
  }
  .apply-page .done h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-page *, .apply-page *::before, .apply-page *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep functional button text; omit decorative glyphs from the former brand. */
.apply-page .submit [aria-hidden="true"], .apply-page .file [aria-hidden="true"] {
  display: none;
}
