:root {
  --ink: #17201d;
  --muted: #62706c;
  --line: #d8dfdc;
  --paper: #faf9f4;
  --panel: #ffffff;
  --moss: #3e6656;
  --moss-dark: #23483a;
  --gold: #b1843b;
  --rose: #8f4f4f;
  --focus: #1a7f64;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(62, 102, 86, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(62, 102, 86, .06) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  font-family: "Noto Serif TC", "Microsoft JhengHei", "PingFang TC", serif;
  line-height: 1.65;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.intro {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 28px;
}

.office {
  color: var(--moss-dark);
  letter-spacing: .12em;
  margin: 0 0 18px;
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: none;
}

.lead {
  max-width: none;
  margin: 22px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.notice {
  border-top: 1px solid var(--ink);
  padding: 22px 0 0;
  margin-top: 30px;
  display: grid;
  gap: 7px;
  width: 100%;
}

.notice strong {
  font-size: 1.15rem;
}

form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.hidden {
  display: none;
}

.form-band {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 14px 45px rgba(30, 43, 38, .08);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading-with-note {
  align-items: flex-start;
}

.section-heading span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.section-note {
  margin: 5px 0 0;
  color: var(--rose);
  font-size: .95rem;
  line-height: 1.55;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field,
.choice-group {
  display: grid;
  gap: 8px;
}

.field.wide,
.textarea-only {
  grid-column: 1 / -1;
}

.field span,
.choice-group legend {
  font-weight: 700;
}

em {
  color: var(--rose);
  font-style: normal;
  font-size: .92em;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input:not([type]),
textarea {
  width: 100%;
  border: 1px solid #c9d2ce;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(26, 127, 100, .14);
}

.choice-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px 12px;
  margin: 0 0 16px;
  background: rgba(250, 249, 244, .72);
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  min-height: 30px;
}

.yes-no-list {
  display: grid;
  gap: 12px;
}

.submit-area {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 8px 0 0;
}

.confirm {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  max-width: 880px;
  color: var(--muted);
}

button {
  border: 0;
  border-radius: 6px;
  background: var(--moss-dark);
  color: #fff;
  padding: 13px 24px;
  min-width: 160px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(35, 72, 58, .22);
}

button:hover {
  background: var(--moss);
}

.local-hint {
  color: var(--rose);
  margin: 0;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1080px);
    padding-top: 22px;
  }

  .intro,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
  }

  .form-band {
    padding: 18px;
  }

  .choice-group label {
    display: flex;
    margin-right: 0;
  }
}
