/* Charity Golf Scaling Assessment
   Builds on styles.css / components.css / form.css tokens and components. */

:root {
  --ga-critical: #b42318;
  --ga-attention: #b54708;
  --ga-strong: #02734e;
  --ga-strength: #014d34;
  --ga-track: #eef0f2;
}

/* Buttons don't inherit the page font by default. */
button.btn {
  font-family: inherit;
}

.ga-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ga-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

/* ---------- Landing ---------- */

.ga-benefits {
  list-style: none;
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.ga-benefits li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 1rem;
}

.ga-benefits li::before {
  content: '';
  flex: 0 0 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2302734e'%3E%3Cpath d='M8.2 13.6 4.7 10l-1.2 1.2 4.7 4.7 9-9-1.2-1.2z'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

.ga-meta {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.ga-phase-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.ga-phase-strip span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

/* ---------- Progress ---------- */

.ga-progress {
  margin-bottom: 2rem;
}

.ga-progress-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.625rem;
}

.ga-progress-seg {
  height: 4px;
  border-radius: 2px;
  background: var(--ga-track);
  overflow: hidden;
}

.ga-progress-seg span {
  display: block;
  height: 100%;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.ga-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ga-progress-label strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- Questions ---------- */

.ga-screen {
  animation: gaIn 0.25s ease both;
}

@keyframes gaIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ga-screen { animation: none; }
}

.ga-question + .ga-question {
  margin-top: 2rem;
}

.ga-question-text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.ga-question-text:focus {
  outline: none;
}

.ga-helper {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.ga-options {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ga-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  text-align: left;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ga-option:hover {
  border-color: var(--accent-primary);
}

.ga-option:has(input:focus-visible) {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
  border-color: var(--accent-primary);
}

.ga-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ga-option-mark {
  flex: 0 0 18px;
  height: 18px;
  border: 1.5px solid #c4c9cf;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ga-options--multi .ga-option-mark {
  border-radius: 4px;
}

.ga-option.is-selected {
  border-color: var(--accent-primary);
  background: var(--accent-light);
}

.ga-option.is-selected .ga-option-mark {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
}

.ga-option.is-selected .ga-option-mark::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.ga-options--multi .ga-option.is-selected .ga-option-mark::after {
  width: 5px;
  height: 9px;
  border-radius: 0;
  background: none;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.ga-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ga-option--unknown {
  border-style: dashed;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.ga-options--grid {
  grid-template-columns: repeat(2, 1fr);
}

.ga-multi-count {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Currency / number inputs */

.ga-input-wrap {
  position: relative;
  max-width: 320px;
  margin-top: 1rem;
}

.ga-input-wrap--currency .form-input {
  padding-left: 1.75rem;
}

.ga-input-prefix {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.ga-input-wrap .form-input {
  font-size: 1.125rem;
}

.ga-input-wrap .form-input:disabled {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.ga-unknown-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  min-height: 44px;
}

.ga-unknown-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
}

.ga-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.ga-nav .btn {
  min-width: 120px;
}

.ga-nav-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Contact capture ---------- */

.ga-complete {
  background: var(--bg-dark);
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.ga-complete .ga-eyebrow {
  color: #6ee7b7;
}

.ga-complete h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.ga-complete p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

.ga-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1rem;
}

.ga-form-grid .ga-span-2 {
  grid-column: span 2;
}

/* Reserve room for error text so fields don't jump as errors clear. */
.ga-form-grid .form-error {
  min-height: 1.125rem;
}

.ga-form-grid .form-group {
  margin-bottom: 0.75rem;
}

.ga-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ga-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ---------- Results ---------- */

.ga-results {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.ga-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ga-results-header img {
  height: 34px;
}

.ga-results-actions {
  display: flex;
  gap: 0.5rem;
}

.ga-results-actions .btn {
  padding: 0.5rem 1rem;
  min-height: 40px;
  white-space: nowrap;
}

.gr-intro .ga-eyebrow {
  margin-bottom: 0.375rem;
}

.ga-report-title {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.ga-report-sub {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* Hero */

.gr-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border-radius: 1.25rem;
  background: radial-gradient(120% 140% at 0% 0%, #0b3d2c 0%, #050a08 60%);
  color: #fff;
  break-inside: avoid;
}

.gr-hero-score {
  display: grid;
  justify-items: center;
  gap: 0.875rem;
}

.gr-gauge {
  position: relative;
  width: 200px;
  height: 200px;
}

.gr-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gr-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 10;
}

.gr-ring-fill {
  fill: none;
  stroke: #34d399;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gr-gauge-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.gr-score-num {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.gr-score-of {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.gr-phase-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: #34d399;
  color: #052e1f;
}

.gr-hero-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 0.25rem;
}

.gr-hero-title {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.gr-phases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 0;
  padding: 0;
}

.gr-phases li {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.gr-phase-dot {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.gr-phases li.is-done { color: rgba(255, 255, 255, 0.75); }
.gr-phases li.is-done .gr-phase-dot { background: rgba(52, 211, 153, 0.55); }
.gr-phases li.is-current { color: #fff; }
.gr-phases li.is-current .gr-phase-dot { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }

.gr-hero-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #fcd34d;
}

.gr-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gr-fact {
  padding: 0.75rem 0.875rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gr-fact-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.gr-fact-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.125rem;
}

.gr-fact-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.125rem;
}

.gr-hero-cta {
  margin-top: 1.25rem;
}

.gr-btn-light {
  background: #fff;
  color: #050a08;
}

.gr-btn-light:hover:not(:disabled) {
  background: #d1fae5;
}

/* Top 3 moves */

.gr-moves {
  margin-top: 2rem;
}

.gr-moves-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.gr-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  white-space: nowrap;
}

.gr-section-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 70ch;
}

.gr-swipe-hint {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.gr-move-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gr-move {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  break-inside: avoid;
}

.gr-move:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.gr-move--first {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(180deg, #f0faf5 0%, #fff 55%);
}

.gr-move-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.gr-move-num {
  flex: 0 0 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
}

.gr-move-lever {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.gr-move-flag {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #fff;
  white-space: nowrap;
}

.gr-move-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.gr-move-why {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.gr-move-foot {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-color);
}

.gr-move-foot-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gr-move-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
}

.gr-move-link:hover {
  text-decoration: underline;
}

.gr-move-link--plain {
  color: var(--text-primary);
}

/* Levers + next phase */

.gr-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.gr-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: var(--bg-primary);
  break-inside: avoid;
}

.gr-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gr-card-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: -0.375rem 0 0.875rem;
}

.gr-lever {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-color);
}

.gr-lever:last-of-type {
  border-bottom: 0;
}

.gr-lever-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}

.gr-lever-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.gr-lever-name em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-left: 0.5rem;
}

.gr-lever-bar {
  display: grid;
  grid-template-columns: 1fr 2.25rem;
  align-items: center;
  gap: 0.75rem;
}

.gr-lever-score {
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ga-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--ga-track);
  overflow: hidden;
}

.ga-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ga-status {
  flex: none;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.ga-status--critical { color: var(--ga-critical); background: #fef3f2; }
.ga-status--attention { color: var(--ga-attention); background: #fffaeb; }
.ga-status--strong { color: var(--ga-strong); background: #ecfdf3; }
.ga-status--strength { color: #fff; background: var(--ga-strength); }

.ga-fill--critical { background: var(--ga-critical); }
.ga-fill--attention { background: #f79009; }
.ga-fill--strong { background: var(--ga-strong); }
.ga-fill--strength { background: var(--ga-strength); }

.gr-note {
  margin-top: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  background: var(--bg-secondary);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.gr-note strong {
  color: var(--text-primary);
}

/* Requirements checklist */

.ga-checklist {
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

.ga-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.ga-checklist li::before {
  content: '';
  flex: 0 0 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 1.5px solid #c4c9cf;
}

.ga-checklist li.is-met {
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: #c4c9cf;
}

.ga-checklist li.is-met::before {
  border-color: var(--accent-primary);
  background: var(--accent-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath d='M8.2 13.6 4.7 10l-1.2 1.2 4.7 4.7 9-9-1.2-1.2z'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* Collapsible details */

.gr-details-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.gr-details {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: var(--bg-primary);
}

.gr-details summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

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

.gr-details summary::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.gr-details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.gr-details-meta {
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.gr-details-body {
  padding: 0 1.5rem 1.25rem;
}

.ga-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ga-chip {
  font-size: 0.8125rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.ga-fin {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
}

.ga-fin div {
  background: var(--bg-primary);
  padding: 0.75rem 1rem;
}

.ga-fin dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.125rem;
}

.ga-fin dd {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ga-footnote {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Closing CTA */

.ga-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 1.25rem;
  background: var(--bg-dark);
  color: #fff;
  break-inside: avoid;
}

.ga-cta .ga-eyebrow {
  color: #6ee7b7;
  margin-bottom: 0.375rem;
}

.ga-cta h2 {
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}

.ga-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  font-size: 0.9375rem;
}

.ga-cta .btn-primary {
  background: #fff;
  color: var(--bg-dark);
  white-space: nowrap;
}

.ga-cta .btn-primary:hover:not(:disabled) {
  background: #e7f5ef;
}

.ga-cta-confirm {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(110, 231, 183, 0.12);
  color: #d1fae5;
  font-size: 0.875rem;
}

.ga-empty {
  text-align: center;
  padding: 4rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .gr-ring-fill, .ga-bar span, .gr-move { transition: none; }
  .gr-move:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  /* The photo becomes a faded full-screen background; its caption would sit on top of content. */
  .split-right-caption { display: none; }
  .ga-question-text { font-size: 1.25rem; }
  .ga-options--grid { grid-template-columns: 1fr; }
  .ga-form-grid { grid-template-columns: 1fr; }
  .ga-form-grid .ga-span-2 { grid-column: auto; }
  .ga-report-title { font-size: 1.625rem; }
  .gr-hero { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
  .gr-hero-score { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
  .gr-gauge { width: 136px; height: 136px; }
  .gr-score-num { font-size: 2.75rem; }
  .gr-score-of { font-size: 0.625rem; }
  .gr-hero-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
  .gr-facts { margin-top: 1rem; gap: 0.5rem; }
  .gr-hero-cta .btn { padding-left: 1rem; padding-right: 1rem; }
  .gr-moves { margin-top: 1.5rem; }
  .gr-moves-head { grid-template-columns: 1fr; }
  .gr-grid, .gr-details-wrap { grid-template-columns: 1fr; }
  /* Moves become a swipeable row so all three take one card's height. */
  .gr-move-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -1rem;
    padding: 0.25rem 1rem 0.75rem;
    scroll-padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gr-move-grid::-webkit-scrollbar { display: none; }
  .gr-swipe-hint { display: block; margin-top: 0.25rem; }
  .gr-move { scroll-snap-align: start; }
  .gr-move:hover { transform: none; }
  .ga-cta { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; }
  .ga-progress-bar { gap: 3px; }
}

@media (max-width: 480px) {
  .ga-results-header img { height: 30px; }
  .ga-results-actions .btn { padding: 0.5rem 0.75rem; }
  .ga-results { padding: 1rem 1rem 2.5rem; }
  .gr-phases li { font-size: 0.5rem; letter-spacing: 0.04em; }
  .gr-facts { grid-template-columns: 1fr 1fr; }
  .gr-fact { padding: 0.625rem 0.75rem; }
  .gr-facts .gr-fact:first-child { grid-column: 1 / -1; }
  .gr-hero-cta .btn, .ga-cta .btn { width: 100%; justify-content: center; }
  .gr-card, .gr-details summary { padding-left: 1.125rem; padding-right: 1.125rem; }
  .gr-details-body { padding: 0 1.125rem 1.125rem; }
  .ga-nav .btn { min-width: 0; flex: 1; }
}

/* ---------- Print (save roadmap as PDF) ---------- */

@media print {
  @page { margin: 0.5in; }
  body { animation: none; }
  .ga-results { padding: 0; max-width: none; }
  .ga-no-print { display: none !important; }
  .gr-hero { background: #fff; color: var(--text-primary); border: 2px solid var(--text-primary); }
  .gr-hero-kicker, .gr-score-of, .gr-fact-label, .gr-fact-note, .gr-phases li { color: var(--text-secondary); }
  .gr-phases li.is-current { color: var(--text-primary); }
  .gr-ring-track { stroke: var(--ga-track); }
  .gr-ring-fill { stroke: var(--accent-primary); transition: none; }
  .gr-fact { background: var(--bg-secondary); border-color: var(--border-color); }
  .gr-move:hover { transform: none; box-shadow: none; }
  .gr-move-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .gr-details summary::after { display: none; }
  .ga-cta { background: none; color: var(--text-primary); border: 2px solid var(--text-primary); }
  .ga-cta p { color: var(--text-secondary); }
  .gr-phase-pill, .gr-phase-dot, .gr-move-num, .gr-move-flag, .gr-move--first, .ga-status--strength,
  .ga-fill--critical, .ga-fill--attention, .ga-fill--strong, .ga-fill--strength {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
