@charset "UTF-8";

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

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #171717;
  background: #f5f3f0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.divider {
  display: flex;
  background-color: #9f9f9f;
  flex-shrink: 0;
}

.divider-top {
  height: 6px;
}

.divider-bottom {
  height: 18px;
}

.divider-inner {
  flex: 1;
  background-color: #e7e6e4;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 50px 96px;
  border-left: 1px solid #e4e2e1;
  border-right: 1px solid #e4e2e1;
  background: rgba(245, 243, 240, 0.45);
}

.form-header {
  max-width: 640px;
  margin: 0 auto 36px;
}

.form-header .brand {
  display: inline-block;
  margin-bottom: 28px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.form-header .brand:hover {
  opacity: 0.6;
}

.form-header .brand img {
  height: 34px;
  display: block;
}

.form-header .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.form-header h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: #0a0a0a;
}

.form-header .lead {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e4e2e1;
  border-radius: 20px;
  padding: 44px 44px 36px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
}

.field label .req {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #c03a2b;
  letter-spacing: 0.1em;
}

.field .hint {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #171717;
  background: #fafaf9;
  border: 1px solid #e4e2e1;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field textarea:focus {
  outline: none;
  border-color: #171717;
  background: #ffffff;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid #171717;
  cursor: pointer;
  transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease;
  background: #ffffff;
  color: #171717;
  text-decoration: none;
  min-width: 140px;
}

.btn:hover {
  opacity: 0.75;
}

.btn-primary {
  background: #171717;
  color: #ffffff;
}

.btn-primary:hover {
  background: #000;
  opacity: 1;
}

.btn-accent {
  background: #e2e052;
  color: #0a0a0a;
  border-color: #171717;
}

.btn-accent:hover {
  background: #d6d348;
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  border-color: #bbb;
  color: #444;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 24px;
}

.summary-table th,
.summary-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 0;
  border-bottom: 1px solid #efeeec;
  font-size: 14px;
  line-height: 1.7;
}

.summary-table th {
  width: 180px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
  padding-right: 16px;
}

.summary-table td {
  color: #171717;
  word-break: break-word;
}

.summary-table tr:last-child th,
.summary-table tr:last-child td {
  border-bottom: none;
}

.note {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #faf9f6;
  border-left: 3px solid #e2e052;
  border-radius: 4px;
}

.msg {
  display: inline-block;
  color: #c03a2b;
  font-size: 13px;
  font-weight: 500;
}

.recaptcha-note {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-top: 24px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.recaptcha-note a {
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recaptcha-note a:hover {
  opacity: 0.7;
}

.thanks-message {
  text-align: center;
  padding: 24px 10px 12px;
}

.thanks-message .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e052;
  margin-bottom: 22px;
}

.thanks-message .icon svg {
  width: 28px;
  height: 28px;
}

.thanks-message h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: #0a0a0a;
}

.thanks-message p {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.85;
}

footer {
  background-color: #3a3a3a;
  color: #ffffff;
  flex-shrink: 0;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
}

footer .footer-title img {
  height: 20px;
  display: block;
  margin-bottom: 6px;
}

footer .copyright {
  font-size: 13px;
  color: #cccccc;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.postmail-credit {
  flex-shrink: 0;
}

.postmail-credit p {
  margin: 0 !important;
  text-align: left !important;
  font-size: 10px !important;
  color: #888 !important;
  font-family: inherit !important;
  letter-spacing: 0.04em;
}

.postmail-credit a {
  color: #aaa !important;
  text-decoration: none;
}

.postmail-credit a:hover {
  color: #ddd !important;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .page {
    padding: 36px 18px 56px;
    border-left: none;
    border-right: none;
  }

  .form-card {
    padding: 28px 22px 26px;
    border-radius: 16px;
  }

  .form-header h1 {
    font-size: 22px;
  }

  .form-header .lead {
    font-size: 13px;
  }

  .summary-table th {
    width: 110px;
    font-size: 11px;
    padding-right: 12px;
  }

  .summary-table th,
  .summary-table td {
    padding: 14px 0;
    font-size: 13.5px;
  }

  .actions {
    justify-content: stretch;
  }

  .btn {
    flex: 1 1 140px;
    padding: 14px 16px;
    min-width: 0;
  }

  .footer-inner {
    padding: 20px;
  }

  .divider-bottom {
    height: 8px;
  }
}
