/* ── Layout ── */
.gs-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.gs-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 20px 80px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.gs-back:hover { color: var(--fg); }

.gs-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 80px 100px;
}

/* ── Context panel ── */
.gs-context {
  padding-right: 80px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
}

.gs-context-inner {
  padding-top: 40px;
}

.gs-eyebrow {
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.gs-heading {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}

.gs-subtext {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 400px;
}

.gs-promise {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gs-promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

/* ── Form panel ── */
.gs-form-col {
  padding-left: 80px;
  display: flex;
  align-items: flex-start;
}

.gs-form {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 480px;
}

/* ── Fields ── */
.gs-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gs-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gs-required { color: var(--accent); }
.gs-optional {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
  font-weight: 400;
}

.gs-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.gs-input::placeholder { color: var(--fg-muted); opacity: 0.5; }
.gs-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.gs-textarea {
  resize: vertical;
  min-height: 100px;
}

.gs-field-hint {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ── Error ── */
.gs-error {
  padding: 12px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 3px;
  font-size: 13px;
  color: #f87171;
}

/* ── Submit button ── */
.gs-submit {
  background: var(--accent);
  color: #080C14;
  border: none;
  border-radius: 3px;
  padding: 14px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.gs-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.gs-submit:not(:disabled):hover { background: #d97706; }

/* ── Spinner ── */
@keyframes gs-spin {
  to { transform: rotate(360deg); }
}
.spin { animation: gs-spin 0.8s linear infinite; }

/* ── Disclaimer ── */
.gs-disclaimer {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  text-align: center;
  line-height: 1.6;
}

/* ── Thank-you page ── */
.ty-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px;
  gap: 24px;
}

.ty-icon { margin-bottom: 8px; }

.ty-heading {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--fg);
  margin-bottom: 16px;
}

.ty-body {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.ty-sub {
  font-size: 14px;
  color: var(--fg-muted);
}

.ty-link {
  color: var(--accent);
  text-decoration: none;
}
.ty-link:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .gs-back { padding: 20px 32px; }
  .gs-layout {
    grid-template-columns: 1fr;
    padding: 0 32px 60px;
  }
  .gs-context {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
  }
  .gs-form-col {
    padding-left: 0;
  }
  .gs-form { max-width: 100%; }
}