:root {
  --ink: #1d2a2e;
  --paper: #f4f1ea;
  --line: #c9cdc8;
  --muted: #6d7572;
  --accent: #286b6b;
  --white: #fffefa;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}

main { min-height: 100vh; }
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 54px max(24px, calc((100vw - 760px) / 2)) 64px;
}
.eyebrow, .section-number {
  color: #b8b2a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
}
h1 {
  margin: 32px 0 22px;
  max-width: 700px;
  font-size: clamp(42px, 10vw, 74px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.hero p {
  max-width: 640px;
  margin: 0;
  color: #cfd4d1;
  font-size: 17px;
  line-height: 1.7;
}
.hero strong { color: var(--white); }

form {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 70px;
}
section {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 18px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
section > label, section > .field-grid { grid-column: 2; }
h2 {
  margin: -5px 0 6px;
  font-size: 27px;
  letter-spacing: -.035em;
}
.section-help {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
label {
  display: block;
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 700;
}
.optional { color: var(--muted); font-size: 12px; font-weight: 500; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  border: 1px solid #bfc5c1;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input { height: 50px; padding: 0 14px; }
textarea { min-height: 104px; padding: 14px; line-height: 1.6; resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40,107,107,.12); }
::placeholder { color: #959c98; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full { grid-column: 2; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #59635f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.status { margin: 28px 0 0; padding: 15px 16px; background: #e2ebe6; color: #214d47; line-height: 1.55; }
.status.error { background: #f4e4e0; color: #762f26; }
button {
  width: 100%;
  margin-top: 28px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  padding: 18px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
button:hover { background: #215b5b; }
button:disabled { opacity: .62; cursor: wait; }
.privacy-note { color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: #b8b2a5;
  padding: 28px max(24px, calc((100vw - 760px) / 2));
  font-size: 12px;
}
footer a { color: inherit; }

@media (max-width: 620px) {
  .hero { padding-top: 38px; padding-bottom: 48px; }
  form { width: min(100% - 30px, 760px); }
  section { grid-template-columns: 30px 1fr; gap: 0 10px; padding: 36px 0; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  footer { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
