/* ── Gravitas Assessment — Front-end Styles ── */

.ga-root * { box-sizing: border-box; }

.ga-root {
  font-family: Georgia, 'Times New Roman', serif;
  color: #262626;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── Shared typography ── */
.ga-label {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8862B;
  margin: 0 0 8px;
}

.ga-title {
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #190026;
  margin: 0 0 10px;
  line-height: 1.2;
}

.ga-title--white { color: #fff; }

.ga-subtitle {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #555;
  margin: 0 0 32px;
  line-height: 1.6;
}

/* ── Buttons ── */
.ga-btn {
  display: inline-block;
  background: #190026;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.ga-btn:hover { background: #33104F; }

.ga-btn--ghost {
  background: transparent;
  color: #190026;
  border: 2px solid #190026;
}
.ga-btn--ghost:hover { background: #f4eff8; }

/* ── Intake — hero design ── */
.ga-intake { padding-top: 24px; }

.ga-hero {
  background: #190026;
  border-radius: 12px 12px 0 0;
  padding: 44px 32px 34px;
  text-align: center;
}
.ga-hero-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border: 1px solid #B8862B;
  padding: 7px;
  box-sizing: border-box;
}
.ga-hero-logo img { width: 100%; height: 100%; display: block; }
.ga-hero-brand {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #B8862B;
  margin: 0 0 10px;
}
.ga-hero-title {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.2;
}
.ga-hero-sub {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #cfc4e0;
  margin: 0 0 26px;
  line-height: 1.6;
}
.ga-hero-facts {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.ga-fact { text-align: center; }
.ga-fact-num {
  display: block;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #B8862B;
  line-height: 1.1;
}
.ga-fact-label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a696bd;
  margin-top: 3px;
}

.ga-intake-card {
  background: #ffffff;
  border: 1px solid #e6dff0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 34px 38px 30px;
  box-shadow: 0 8px 28px rgba(25, 0, 38, 0.10);
}
.ga-intake-card-title {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #190026;
  margin: 0 0 6px;
  text-align: center;
}
.ga-intake-card-sub {
  font-family: Arial, sans-serif;
  font-size: 13.5px;
  color: #777;
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.6;
}
.ga-field { margin-bottom: 16px; }
.ga-label-sm {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B8862B;
  margin-bottom: 6px;
}
.ga-input {
  width: 100%;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid #d8cbe4;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ga-input:focus {
  border-color: #190026;
  box-shadow: 0 0 0 3px rgba(25, 0, 38, 0.08);
}
.ga-btn--hero {
  width: 100%;
  font-size: 16px;
  padding: 15px 32px;
  margin-top: 6px;
}
.ga-privacy-note {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 16px 0 0;
  line-height: 1.6;
}

.ga-error {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #c0392b;
  margin: 0 0 10px;
}

/* ── Progress ── */
.ga-progress-wrap {
  background: #e8e8e8;
  border-radius: 4px;
  height: 6px;
  margin: 24px 0 4px;
}
.ga-progress-bar {
  background: #190026;
  height: 6px;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.ga-progress-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
  margin: 0 0 24px;
  text-align: right;
}

/* ── Question ── */
.ga-construct-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B8862B;
  margin: 0 0 14px;
}

.ga-statement {
  font-size: 19px;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0 0 28px;
}

.ga-scale-labels {
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.ga-radios {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.ga-radio {
  flex: 1;
  padding: 14px 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #190026;
  background: #f7f3fa;
  border: 2px solid #d8cbe4;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.ga-radio:hover              { background: #e9def4; border-color: #190026; }
.ga-radio--selected          { background: #190026; color: #fff; border-color: #190026; }

.ga-back {
  font-size: 13px;
  padding: 8px 18px;
  margin-top: -16px;
}

/* ── Spinner ── */
.ga-submitting {
  text-align: center;
  padding: 80px 0;
  font-family: Arial, sans-serif;
  color: #666;
}
.ga-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #e0e0e0;
  border-top-color: #190026;
  border-radius: 50%;
  animation: ga-spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes ga-spin { to { transform: rotate(360deg); } }

/* ── Results ── */
.ga-results-header {
  background: #190026;
  border-radius: 8px 8px 0 0;
  padding: 32px 28px 24px;
  margin: 32px -4px 0;
}
.ga-name-line {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #cfc4e0;
  margin: 0;
}

.ga-overall {
  border-radius: 6px;
  padding: 20px 24px;
  margin: 16px 0;
}
.ga-overall-label {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #190026;
  margin: 0 0 4px;
}
.ga-overall-score {
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #190026;
  margin: 0 0 2px;
}
.ga-overall-band {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #B8862B;
  margin: 0 0 12px;
}

/* ── Progress bars ── */
.ga-bar-bg {
  background: #ddd;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.ga-bar-fill {
  background: #190026;
  height: 8px;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.ga-bar-bg--card { margin: 0 0 14px; }

/* ── Band key ── */
.ga-band-key { margin: 8px 0 20px; }
.ga-band-key-title {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 8px;
}
.ga-band-key-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ga-band-chip {
  font-family: Arial, sans-serif;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
}

/* ── Construct cards ── */
.ga-card {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
}
.ga-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 10px;
  flex-wrap: wrap;
  gap: 6px;
}
.ga-card-name {
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #190026;
}
.ga-card-score {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #555;
}
.ga-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  padding: 0 18px 16px;
  margin: 0;
}

/* ── Share box ── */
.ga-share {
  background: #f7f3fa;
  border-radius: 6px;
  padding: 24px;
  margin-top: 28px;
  text-align: center;
}
.ga-share-label {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #555;
  margin: 0 0 10px;
}
.ga-share-input {
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
  color: #333;
  background: #fff;
}
.ga-share-note {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #888;
  margin: 12px 0 0;
}

/* ── Error screen ── */
.ga-error-screen {
  text-align: center;
  padding: 60px 0;
}
.ga-error-msg {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #c0392b;
  margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 500px) {
  .ga-hero { padding: 32px 20px 26px; }
  .ga-hero-title { font-size: 23px; }
  .ga-hero-facts { gap: 26px; }
  .ga-intake-card { padding: 26px 20px 24px; }
  .ga-title   { font-size: 22px; }
  .ga-radios  { gap: 6px; }
  .ga-radio   { font-size: 14px; padding: 12px 0; }
  .ga-statement { font-size: 16px; }
  .ga-band-key-row { flex-direction: column; }
}

/* ── Premium upsell panel (results screen) ── */
.ga-upsell {
  background: #190026;
  border-radius: 8px;
  padding: 30px 28px;
  margin: 22px 0 6px;
  text-align: center;
}
.ga-upsell-brand {
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: #B8862B;
  margin: 0 0 10px;
}
.ga-upsell-title {
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}
.ga-upsell-desc {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #cfc7e0;
  line-height: 1.7;
  margin: 0 0 18px;
}
.ga-upsell-btn {
  display: inline-block;
  background: #B8862B;
  color: #190026;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.ga-upsell-btn:hover { background: #d0a044; color: #190026; }
.ga-upsell-note {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #8f86a8;
  margin: 14px 0 0;
}
