*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 80px 0 0;
  text-align: center;
}

header p.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b8a9e;
  margin-bottom: 24px;
}

header h1 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #162744;
  border-bottom: 2px solid #b8926a;
  display: inline-block;
  padding-bottom: 8px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px auto;
  width: 120px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #c8d0da;
}

.divider::before { background: linear-gradient(to right, transparent, #c8d0da); }
.divider::after { background: linear-gradient(to left, transparent, #c8d0da); }

/* Star divider */
.divider-star {
  width: 8px;
  height: 8px;
  background: #b8926a;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Links */
a {
  color: #3d6085;
  text-decoration: underline;
}

a:hover {
  color: #1a2a44;
}

/* Letter */
.letter {
  padding-bottom: 20px;
}

.letter p {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 24px;
}

.letter p:first-child {
  font-size: 1.3rem;
  font-weight: 600;
  color: #162744;
}

.letter ol {
  margin: 0 0 24px 0;
  padding: 0 0 0 24px;
  list-style: decimal;
}

.letter ol li {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.75;
  color: #222;
  margin-bottom: 12px;
}

.letter ol li:last-child {
  margin-bottom: 0;
}

.letter .signed {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.22rem;
  font-style: italic;
  color: #333;
  margin-top: 40px;
}

/* Signatories */
.signatories {
  padding: 48px 0;
  border-top: 1px solid #dce1e8;
  position: relative;
}

.signatories::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #b8926a;
}

.signatories h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b96a3;
  margin-bottom: 4px;
}

.section-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 20px;
}

.signatories-list {
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

.signatories-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #333;
  padding: 8px 0;
  break-inside: avoid;
  border-bottom: 1px solid #eef0f4;
}

.signatories-list .sig-name {
  font-weight: 500;
  color: #1a2a44;
}

.signatories-list .sig-affiliation {
  color: #7a8494;
  font-size: 0.78rem;
}

.sig-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  color: #8b96a3;
  margin-top: 20px;
}

.no-signatures {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #999;
  font-style: italic;
}

/* Sign Form */
.sign-section {
  padding: 48px 0 80px;
  border-top: 1px solid #dce1e8;
}

.sign-section h2 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2a44;
  margin-bottom: 8px;
}

.sign-section .form-intro {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Signer type toggle */
.signer-type-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}

.signer-type-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border: 1px solid #d0d5de;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
}

.signer-type-option input[type="radio"] {
  display: none;
}

.signer-type-option.active {
  border-color: #1a2a44;
  background: #f8f9fb;
}

.signer-type-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2a44;
}

.signer-type-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a6577;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  padding: 10px 14px;
  border: 1px solid #d0d5de;
  border-radius: 6px;
  background: #fff;
  color: #222;
  transition: border-color 0.15s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4a6fa5;
  box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.1);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #2c5282;
}

.checkbox-group label {
  text-transform: none;
  font-weight: 400;
  font-size: 0.83rem;
  color: #444;
  letter-spacing: 0;
}

.verification-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #f3f5f8;
  border-radius: 8px;
  border: 1px solid #e4e8ef;
}

.verification-options .option-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5a6577;
  margin-bottom: 4px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-transform: none;
  font-weight: 400;
  font-size: 0.83rem;
  color: #444;
  letter-spacing: 0;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  margin-top: 3px;
  accent-color: #2c5282;
}

.radio-group .radio-desc {
  font-size: 0.75rem;
  color: #888;
  display: block;
  margin-top: 2px;
}

.email-field {
  margin-top: 10px;
}

input[type="file"] {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  padding: 10px 14px;
  border: 1px dashed #c0c8d4;
  border-radius: 6px;
  background: #fff;
  color: #555;
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: #4a6fa5;
}

.google-form-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 10px 20px;
  background: #fff;
  color: #1a2a44;
  border: 1px solid #d0d5de;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  transition: border-color 0.15s;
}

.google-form-btn:hover {
  border-color: #4a6fa5;
}

button[type="submit"] {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  background: #1a2a44;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
  margin-top: 8px;
}

button[type="submit"]:hover {
  background: #2c4066;
}

.form-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #999;
  line-height: 1.5;
  margin-top: -8px;
}

/* Success/error state */
.form-message {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  padding: 16px;
  border-radius: 6px;
  display: none;
}

.form-message.success {
  background: #f0f7f0;
  color: #2d6a2d;
  border: 1px solid #c8e6c8;
  display: block;
}

.form-message.error {
  background: #fdf0f0;
  color: #8b2020;
  border: 1px solid #f0c8c8;
  display: block;
}

/* FAQ */
.faq-section {
  padding: 48px 0;
  border-top: 1px solid #dce1e8;
}

.faq-section h2 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #162744;
  margin-bottom: 20px;
}

.faq-section details {
  border-bottom: 1px solid #eef0f4;
}

.faq-section summary {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a2a44;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.faq-section summary::-webkit-details-marker { display: none; }

.faq-section summary::before {
  content: '+';
  display: inline-block;
  width: 20px;
  font-weight: 600;
  color: #8b96a3;
}

.faq-section details[open] summary::before {
  content: '\2212';
}

.faq-section details p {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  color: #555;
  line-height: 1.7;
  padding: 0 0 16px 20px;
  margin: 0;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid #dce1e8;
  text-align: center;
}

footer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #8b96a3;
}

footer a {
  color: #4a6fa5;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  html { font-size: 16px; }
  header { padding: 48px 0 0; }
  header h1 { font-size: 1.8rem; }
  .form-row { flex-direction: column; gap: 20px; }
  .signer-type-toggle { flex-direction: column; }
  .signatories-list { columns: 1; }
  .sign-section { padding: 40px 0 60px; }
}
