:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #626967;
  --line: #d8dee0;
  --paper: #f5f6f4;
  --gold: #936d2d;
}

* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
input, textarea { cursor: text; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2e6f9f; outline-offset: 4px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.nav { width: min(1380px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 24px; font-weight: 900; white-space: nowrap; }
.home-link { padding: 10px 0; color: #454b49; font-size: 16px; font-weight: 700; }
.home-link span { margin-left: 8px; }
.intake { width: min(720px, calc(100% - 40px)); margin: 28px auto 30px; }
.application { overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 8px; padding: 28px 40px 0; background: #fff; }
.kicker { margin: 0 0 10px; color: var(--gold); font-size: 14px; font-weight: 800; }
h1 { margin: 0; font-size: 34px; font-weight: 900; line-height: 1.3; word-break: keep-all; }
.intro { margin: 14px 0 22px; color: var(--muted); font-size: 18px; word-break: keep-all; }
.mobile-break { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 700; }
.field small, summary small { margin-left: 7px; color: var(--muted); font-size: 14px; font-weight: 400; }
.required { color: #9a3e36; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-width: 0; border: 1px solid #bec7c8; border-radius: 6px; padding: 12px 14px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 400; }
input:not([type="checkbox"]), select { min-height: 52px; }
input::placeholder, textarea::placeholder { color: #747b79; font-size: 16px; opacity: 1; }
textarea { min-height: 125px; resize: vertical; }
.category-field { margin-top: 22px; }
.privacy { margin: 26px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 700; cursor: pointer; }
.consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); cursor: pointer; }
.privacy-details { margin: 10px 0 0 30px; color: var(--muted); font-size: 13px; }
.privacy-details summary { padding: 3px 0; }
.privacy-details dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 12px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.privacy-details dt { color: #434a48; font-weight: 700; }
.privacy-details dd { margin: 0; overflow-wrap: anywhere; }
.privacy-details p { margin-bottom: 0; }
.bot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit-button { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); border-radius: 6px; padding: 12px 20px; background: var(--ink); color: #fff; font-size: 19px; font-weight: 800; text-align: center; }
.submit-button:hover { background: #292929; }
.submit-button:disabled { opacity: 0.65; cursor: wait; }
.form-note { margin: 12px 0 27px; color: var(--muted); font-size: 13px; text-align: center; }
.form-error { margin: 0 0 16px; border-left: 3px solid #9a3e36; padding: 10px 14px; background: #fcf1ef; color: #87372f; font-size: 15px; }
.direct-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 16px; margin: 0 -40px; border-top: 1px solid var(--line); padding: 17px 24px; background: #f8f9f7; color: var(--muted); font-size: 15px; }
.direct-contact a { color: var(--ink); font-weight: 800; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 20px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.success { padding: 38px 0 20px; text-align: center; }
.success h2 { margin: 12px 0 20px; font-size: 32px; font-weight: 900; line-height: 1.35; }
.success > p:not(.kicker) { margin: 0 0 30px; color: var(--muted); font-size: 18px; }
.reset-button { margin-top: 16px; border: 0; padding: 10px; background: transparent; color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) {
  .nav { width: calc(100% - 32px); min-height: 64px; gap: 12px; }
  .brand { font-size: 21px; }
  .home-link { font-size: 14px; }
  .intake { width: calc(100% - 28px); margin: 24px auto; }
  .application { padding: 26px 22px 0; }
  h1 { font-size: 28px; }
  .intro { margin-bottom: 25px; font-size: 16px; }
  .mobile-break { display: initial; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .field { font-size: 16px; }
  .consent { font-size: 14px; }
  .privacy-details { font-size: 12px; }
  .privacy-details dl { grid-template-columns: 1fr; gap: 3px; }
  .privacy-details dd { margin-bottom: 8px; }
  .direct-contact { margin: 0 -22px; }
  .success h2 { font-size: 28px; }
  .success > p:not(.kicker) { font-size: 16px; }
}
