:root {
  --navy: #002B5C;
  --blue: #1D61AD;
  --lavender: #F1ECF5;
  --yellow: #FFDE59;
  --white: #ffffff;
  --black: #111111;
  --muted: #5a6570;
  --border: #d8d2e0;
  --danger: #b42318;
  --ok: #0f6b3c;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 43, 92, 0.08);
  /* Brand Identity Guide: Nanum Gothic for all page text; Poppins logo-only. */
  --font-brand: "Nanum Gothic", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--lavender); color: var(--black);
  font-family: var(--font-brand);
  font-weight: 400; /* Nanum Gothic Regular — body */
}
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); }
.skip { position: absolute; left: -9999px; }
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header img { height: 44px; width: auto; display: block; }
.site-header .tag { font-family: var(--font-brand); font-weight: 700; font-size: 0.8rem; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.wrap { width: min(920px, 100% - 2rem); margin: 1.5rem auto 2.5rem; flex: 1; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(0,43,92,0.06);
}
h1 { color: var(--navy); font-family: var(--font-brand); font-weight: 800; font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 0.5rem; line-height: 1.25; }
h2 { color: var(--navy); font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; margin: 1.75rem 0 0.75rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--lavender); }
.lead { color: var(--muted); margin: 0 0 1.25rem; line-height: 1.5; }
.choice-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: block; text-decoration: none; color: inherit;
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; background: var(--lavender); transition: border-color .15s, transform .15s;
}
.choice:hover, .choice:focus { border-color: var(--blue); transform: translateY(-1px); outline: none; }
.choice strong { display: block; color: var(--navy); font-family: var(--font-brand); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.35rem; }
.choice span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--navy); color: var(--white); border: none; border-radius: 999px;
  padding: 0.85rem 1.4rem; font-weight: 800; font-size: 1rem; cursor: pointer;
  text-decoration: none; font-family: var(--font-brand);
}
.btn:hover { background: var(--blue); }
.btn.secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.progress {
  display: flex; gap: 0.4rem; margin: 0 0 1.25rem; flex-wrap: wrap;
}
.progress span {
  flex: 1; min-width: 70px; height: 6px; border-radius: 999px; background: #e5dfec;
}
.progress span.on { background: var(--blue); }
.field { margin: 0 0 0.95rem; }
.field label { display: block; font-family: var(--font-brand); font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-bottom: 0.35rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; }
.req::after { content: " *"; color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: #fff; color: var(--black);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(29,97,173,0.35); border-color: var(--blue); }
.grid-2 { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.radios, .checks { display: grid; gap: 0.45rem; }
.radios label, .checks label {
  display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 400; color: var(--black);
  padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: 8px; background: #faf8fc;
}
.radios label:has(input:checked), .checks label:has(input:checked) {
  border-color: var(--blue); background: #eef4fb;
}
.file-box {
  border: 1.5px dashed var(--border); border-radius: 10px; padding: 0.9rem;
  background: #faf8fc;
}
.file-box input[type="file"] { width: 100%; }
.alert {
  border-radius: 10px; padding: 0.85rem 1rem; margin: 0 0 1rem; font-size: 0.95rem;
}
.alert.error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.alert.info { background: #eef4fb; color: var(--navy); border: 1px solid #c9ddf5; }
.alert.ok { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.locked-card { text-align: center; padding: 2.5rem 1.5rem; }
.locked-card img { height: 56px; margin: 0 auto 1.25rem; }
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.88); padding: 1.25rem 1.25rem 1.5rem;
  font-size: 0.85rem; line-height: 1.5; margin-top: auto;
}
.site-footer .inner { width: min(920px, 100%); margin: 0 auto; }
.site-footer strong { font-family: var(--font-brand); font-weight: 800; color: var(--white); letter-spacing: 0.03em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; align-items: center; }
.section-note { font-size: 0.9rem; color: var(--muted); margin: -0.35rem 0 1rem; }
.hidden { display: none !important; }
.card-note { font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0.75rem; }

/* Independent Contractor Agreement in-form review */
.ica-section { margin-top: 0.5rem; }
.ica-scroll {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #faf8fc;
  padding: 1rem 1.1rem;
  margin: 0 0 0.65rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  -webkit-overflow-scrolling: touch;
}
.ica-scroll:focus { outline: 2px solid rgba(29,97,173,0.35); }
.ica-doc { font-size: 0.88rem; line-height: 1.55; color: var(--black); }
.ica-title {
  color: var(--navy); font-weight: 800; font-size: 1.05rem;
  margin: 0 0 0.75rem; text-align: center; letter-spacing: 0.02em;
}
.ica-h {
  color: var(--navy); font-weight: 800; font-size: 0.95rem;
  margin: 1.1rem 0 0.45rem; border: none; padding: 0;
}
.ica-p { margin: 0 0 0.65rem; }
.ica-p.ica-witness { margin-top: 1rem; }
.ica-fill {
  color: var(--navy);
  background: #eef4fb;
  padding: 0 0.2em;
  border-radius: 3px;
  font-weight: 700;
}
.ica-sig {
  margin: 1rem 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: #fff;
}
.ica-sig p { margin: 0.25rem 0; }
.ica-docusign { color: var(--muted); font-style: italic; }
.ica-ack-disabled { opacity: 0.55; }
.ica-hint-ok { color: var(--ok) !important; }
