/* ============================================================
   DPL Get-Started Form — get-started.css
   Public lead-capture page. Mirrors intake.css patterns.
   gs- prefix; relies on tokens.css for CSS custom properties.
   ============================================================ */

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

body {
  font-family: var(--font-body, 'Public Sans', system-ui, sans-serif);
  background: var(--dpl-teal, #0E4D54);
  color: var(--dpl-cream, #F5F4F1);
  min-height: 100vh;
}

/* ---- Page layout ---- */

.gs-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 64px;
}

/* ---- Header ---- */

.gs-header {
  padding: 36px 24px 24px;
}

.gs-header-wordmark {
  font-family: var(--font-display, 'Bree Serif', Georgia, serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.40);
  margin-bottom: 8px;
}

.gs-header-title {
  font-family: var(--font-display, 'Bree Serif', Georgia, serif);
  font-size: 26px;
  color: #F5F4F1;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gs-header-sub {
  font-size: 14px;
  color: rgba(245, 244, 241, 0.55);
  line-height: 1.55;
}

/* ---- Form card ---- */

.gs-form {
  background: #0a3a40;
  border-radius: 16px 16px 0 0;
  border: 0.5px solid rgba(245, 244, 241, 0.12);
  border-bottom: none;
  overflow: visible;
}

@media (min-width: 560px) {
  .gs-form {
    border-radius: 16px;
    border-bottom: 0.5px solid rgba(245, 244, 241, 0.12);
  }
}

/* ---- Sections ---- */

.gs-section {
  padding: 24px 20px 16px;
}

.gs-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245, 244, 241, 0.50);
  margin-bottom: 16px;
}

.gs-divider {
  height: 0.5px;
  background: rgba(245, 244, 241, 0.08);
  margin: 0 20px;
}

/* ---- Grid rows ---- */

.gs-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .gs-row-2 { grid-template-columns: 1fr; }
}

/* ---- Fields ---- */

.gs-field {
  margin-bottom: 14px;
}

.gs-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(245, 244, 241, 0.75);
  margin-bottom: 6px;
}

.gs-req {
  color: #D95F4D;
  font-weight: 400;
}

.gs-opt {
  font-size: 11px;
  color: rgba(245, 244, 241, 0.40);
  font-weight: 400;
}

/* ---- Inputs ---- */

.gs-input {
  width: 100%;
  background: rgba(245, 244, 241, 0.06);
  border: 0.5px solid rgba(245, 244, 241, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #F5F4F1;
  outline: none;
  transition: border-color 0.15s;
}

.gs-input:focus {
  border-color: rgba(245, 244, 241, 0.40);
}

.gs-input::placeholder {
  color: rgba(245, 244, 241, 0.30);
}

.gs-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,244,241,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.gs-select option {
  background: #0E4D54;
  color: #F5F4F1;
}

.gs-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.gs-input--sm {
  max-width: 120px;
}

.gs-field-error {
  font-size: 12px;
  color: #D95F4D;
  margin-top: 4px;
  min-height: 16px;
}

/* ---- Sport pill checkboxes ---- */

.gs-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.gs-check-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 0.5px solid rgba(245, 244, 241, 0.22);
  font-size: 13px;
  color: rgba(245, 244, 241, 0.75);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.gs-check-pill:hover {
  border-color: rgba(245, 244, 241, 0.40);
  color: #F5F4F1;
}

.gs-check-pill input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #F4C430;
  flex-shrink: 0;
}

.gs-check-pill:has(input:checked) {
  background: rgba(244, 196, 48, 0.12);
  border-color: rgba(244, 196, 48, 0.45);
  color: #F4C430;
}

/* ---- Footer / submit ---- */

.gs-footer {
  padding: 16px 20px 28px;
  border-top: 0.5px solid rgba(245, 244, 241, 0.08);
}

.gs-submit-error {
  font-size: 13px;
  color: #D95F4D;
  margin-bottom: 10px;
  min-height: 20px;
}

.gs-submit-btn {
  width: 100%;
  padding: 13px 20px;
  background: #F4C430;
  color: #3a2a00;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.gs-submit-btn:hover:not(:disabled) {
  opacity: 0.88;
}

.gs-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---- Success state ---- */

.gs-success {
  text-align: center;
  padding: 60px 24px;
}

.gs-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(111, 191, 173, 0.12);
  border: 1.5px solid rgba(111, 191, 173, 0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6FBFAD;
  margin: 0 auto 20px;
}

.gs-success-title {
  font-family: var(--font-display, 'Bree Serif', Georgia, serif);
  font-size: 24px;
  color: #F5F4F1;
  margin-bottom: 12px;
}

.gs-success-body {
  font-size: 14px;
  color: rgba(245, 244, 241, 0.65);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}
