/* ═══════════════════════════════════════════
   Garnish Free Audit — Styles
   Uses theme CSS variables from garnish-theme
   ═══════════════════════════════════════════ */

/* ── Container ── */
.gfa-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'freight-text-pro', Georgia, 'Times New Roman', serif;
  color: var(--text, #3D3832);
}

/* ── State visibility ── */
.gfa-state { display: none; }
.gfa-state.gfa-active { display: block; }

/* ── FORM ── */
.gfa-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.gfa-form-header h2 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--charcoal, #231F20);
  margin: 0 0 12px 0;
}

.gfa-form-header p {
  font-size: 18px;
  color: var(--text-light, #7A7067);
  margin: 0;
}

.gfa-field-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.gfa-field-row.gfa-two-col > .gfa-field {
  flex: 1;
}

.gfa-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #3D3832);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.gfa-field input[type="text"],
.gfa-field input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--linen, #D4C5B2);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text, #3D3832);
  background: var(--warm-white, #FAF8F5);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.gfa-field input:focus {
  outline: none;
  border-color: var(--sage, #6B8F71);
  box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.15);
}

/* ── Menu input toggle ── */
.gfa-menu-input-field {
  margin-bottom: 28px;
}

.gfa-toggle-bar {
  display: flex;
  background: var(--linen, #D4C5B2);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
  gap: 3px;
}

.gfa-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--text-light, #7A7067);
  transition: background 0.2s, color 0.2s;
}

.gfa-toggle-btn.gfa-toggle-active {
  background: #fff;
  color: var(--sage-dark, #4A6B4F);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.gfa-toggle-btn:hover:not(.gfa-toggle-active) {
  color: var(--text, #3D3832);
}

/* URL input */
.gfa-url-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--linen, #D4C5B2);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text, #3D3832);
  background: var(--warm-white, #FAF8F5);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.gfa-url-input:focus {
  outline: none;
  border-color: var(--sage, #6B8F71);
  box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.15);
}

#gfa-link-panel .gfa-file-types {
  margin-top: 8px;
}

/* ── Dropzone ── */

.gfa-dropzone {
  border: 2px dashed var(--linen, #D4C5B2);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--warm-white, #FAF8F5);
  position: relative;
}

.gfa-dropzone:hover,
.gfa-dropzone.gfa-drag-over {
  border-color: var(--sage, #6B8F71);
  background: rgba(107, 143, 113, 0.05);
}

.gfa-dropzone svg {
  color: var(--sage, #6B8F71);
  margin-bottom: 12px;
}

.gfa-dropzone p {
  margin: 0;
  font-size: 16px;
  color: var(--text-light, #7A7067);
}

.gfa-browse {
  color: var(--sage, #6B8F71);
  font-weight: 600;
  text-decoration: underline;
}

.gfa-file-types {
  font-size: 13px !important;
  margin-top: 8px !important;
  opacity: 0.7;
}

.gfa-dropzone input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

/* File preview */
.gfa-file-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(107, 143, 113, 0.08);
  border-radius: 8px;
}

.gfa-file-preview span {
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-dark, #4A6B4F);
}

#gfa-file-remove {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-light, #7A7067);
  padding: 0 4px;
  line-height: 1;
}

#gfa-file-remove:hover {
  color: var(--error, #C0392B);
}

/* ── Submit button ── */
.gfa-submit-btn {
  display: block;
  width: 100%;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--sage, #6B8F71);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.gfa-submit-btn:hover {
  background: var(--sage-dark, #4A6B4F);
  transform: translateY(-1px);
}

.gfa-submit-btn:active {
  transform: translateY(0);
}

.gfa-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-light, #7A7067);
  margin-top: 16px;
}

/* ── LOADING ── */
.gfa-loading-content {
  text-align: center;
  padding: 60px 20px;
}

.gfa-spinner {
  margin-bottom: 24px;
}

.gfa-sprig-spinner {
  width: 56px;
  height: auto;
  animation: gfa-pulse 2s ease-in-out infinite;
}

@keyframes gfa-pulse {
  0%   { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50%  { transform: scale(1.15) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
}

.gfa-loading-content h3 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal, #231F20);
  margin: 0 0 32px 0;
}

/* Progress checks */
.gfa-progress-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  margin: 0 auto;
  text-align: left;
}

.gfa-check {
  font-size: 15px;
  color: var(--linen, #D4C5B2);
  padding-left: 28px;
  position: relative;
  transition: color 0.4s;
}

.gfa-check::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border: 2px solid var(--linen, #D4C5B2);
  border-radius: 50%;
  transition: border-color 0.4s, background 0.4s;
}

.gfa-check.gfa-checked {
  color: var(--sage, #6B8F71);
}

.gfa-check.gfa-checked::before {
  border-color: var(--sage, #6B8F71);
  background: var(--sage, #6B8F71);
}

.gfa-check.gfa-checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 7px;
  width: 6px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ── ERROR ── */
.gfa-error-content {
  text-align: center;
  padding: 60px 20px;
}

.gfa-error-content h3 {
  font-size: 24px;
  color: var(--error, #C0392B);
  margin: 0 0 12px 0;
}

.gfa-error-content p {
  color: var(--text-light, #7A7067);
  margin: 0 0 24px 0;
}

.gfa-error-content .gfa-submit-btn {
  width: auto;
  display: inline-block;
}

/* ═══════════════════════════════════════════
   SCORECARD
   ═══════════════════════════════════════════ */

.gfa-scorecard {
  background: var(--warm-white, #FAF8F5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ── Header / Score ring ── */
.gfa-sc-header {
  text-align: center;
  padding: 48px 24px 36px;
  background: var(--charcoal, #231F20);
  color: #fff;
}

.gfa-sc-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage-light, #8FB396);
  margin: 0 0 24px 0;
}

.gfa-sc-score-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.gfa-sc-score-ring.gfa-score-green {
  border: 5px solid var(--sage, #6B8F71);
  box-shadow: 0 0 30px rgba(107, 143, 113, 0.3);
}

.gfa-sc-score-ring.gfa-score-yellow {
  border: 5px solid var(--warning, #E8A838);
  box-shadow: 0 0 30px rgba(232, 168, 56, 0.3);
}

.gfa-sc-score-ring.gfa-score-red {
  border: 5px solid var(--error, #C0392B);
  box-shadow: 0 0 30px rgba(192, 57, 43, 0.3);
}

.gfa-sc-score-num {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 52px;
  line-height: 1;
  font-weight: 400;
}

.gfa-sc-score-of {
  font-size: 16px;
  opacity: 0.6;
}

.gfa-sc-restaurant {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 22px;
  margin: 0 0 4px 0;
}

.gfa-sc-meta {
  font-size: 14px;
  color: var(--linen, #D4C5B2);
  margin: 0;
  text-transform: capitalize;
}

/* ── Praise ── */
.gfa-sc-praise {
  padding: 20px 28px;
  background: rgba(107, 143, 113, 0.08);
  border-left: 4px solid var(--sage, #6B8F71);
  margin: 0;
}

.gfa-sc-praise p {
  font-style: italic;
  font-size: 16px;
  color: var(--sage-dark, #4A6B4F);
  margin: 0;
  line-height: 1.6;
}

/* ── Categories ── */
.gfa-sc-categories {
  padding: 32px 28px;
}

.gfa-sc-categories h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light, #7A7067);
  margin: 0 0 20px 0;
}

.gfa-sc-cat-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gfa-sc-cat-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.gfa-sc-cat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #3D3832);
}

.gfa-sc-cat-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #3D3832);
}

.gfa-sc-cat-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--linen, #D4C5B2);
  overflow: hidden;
}

.gfa-sc-cat-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1s ease;
}

.gfa-sc-cat-fill.gfa-rating-green { background: var(--sage, #6B8F71); }
.gfa-sc-cat-fill.gfa-rating-yellow { background: var(--warning, #E8A838); }
.gfa-sc-cat-fill.gfa-rating-red { background: var(--error, #C0392B); }

/* ── Findings ── */
.gfa-sc-findings {
  padding: 0 28px 32px;
}

.gfa-sc-findings h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light, #7A7067);
  margin: 0 0 20px 0;
}

.gfa-sc-finding {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--linen, #D4C5B2);
}

.gfa-sc-finding-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gfa-sev-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.gfa-sev-critical .gfa-sev-badge { background: rgba(192,57,43,0.1); color: var(--error, #C0392B); }
.gfa-sev-major    .gfa-sev-badge { background: rgba(232,168,56,0.1); color: #C48B20; }
.gfa-sev-minor    .gfa-sev-badge { background: rgba(107,143,113,0.1); color: var(--sage-dark, #4A6B4F); }

.gfa-sc-finding-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--charcoal, #231F20);
}

.gfa-sc-finding p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #3D3832);
  margin: 0;
}

/* ── Revenue Impact ── */
.gfa-sc-revenue {
  padding: 32px 28px;
  text-align: center;
  background: rgba(107, 143, 113, 0.06);
}

.gfa-sc-revenue h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light, #7A7067);
  margin: 0 0 12px 0;
}

.gfa-sc-revenue-num {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--sage-dark, #4A6B4F);
  margin: 0 0 8px 0;
}

.gfa-sc-revenue-num span {
  font-size: 18px;
  opacity: 0.7;
}

.gfa-sc-revenue-sub {
  font-size: 15px;
  color: var(--text-light, #7A7067);
  margin: 0;
}
.gfa-sc-revenue-caveat {
  font-size: 12px;
  color: var(--text-light, #7A7067);
  opacity: 0.7;
  margin: 12px 0 0 0;
  font-style: italic;
}

/* ── Upgrade CTA ── */
.gfa-sc-upgrade {
  padding: 36px 28px;
  text-align: center;
  background: var(--charcoal, #231F20);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gfa-sc-upgrade-text {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: var(--linen, #D4C5B2);
  width: 100%;
}

.gfa-sc-upgrade-text strong {
  color: #fff;
}

.gfa-upgrade-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  color: var(--charcoal, #231F20);
  background: var(--sage-light, #8FB396);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.gfa-upgrade-btn:hover {
  background: var(--sage, #6B8F71);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Tier Cards ──

.gfa-sc-tiers {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 560px;
}

.gfa-sc-tier {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gfa-sc-tier-plus {
  border-color: var(--sage-light, #8FB396);
  background: rgba(143, 179, 150, 0.1);
}

.gfa-sc-tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage-light, #8FB396);
  color: var(--charcoal, #231F20);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.gfa-sc-tier-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gfa-sc-tier-name {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.gfa-sc-tier-price {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--sage-light, #8FB396);
}

.gfa-sc-tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
}

.gfa-sc-tier li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  color: var(--linen, #D4C5B2);
}

.gfa-sc-tier li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--sage-light, #8FB396);
  font-weight: 700;
  font-size: 12px;
}

.gfa-btn-starter {
  display: block;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.gfa-btn-starter:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.gfa-btn-plus {
  display: block;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .gfa-field-row.gfa-two-col {
    flex-direction: column;
    gap: 0;
  }
  .gfa-field {
    margin-bottom: 16px;
  }
  .gfa-form-header h2 {
    font-size: 28px;
  }
  .gfa-sc-header {
    padding: 36px 20px 28px;
  }
  .gfa-sc-score-ring {
    width: 120px;
    height: 120px;
  }
  .gfa-sc-score-num {
    font-size: 44px;
  }
  .gfa-sc-categories,
  .gfa-sc-findings,
  .gfa-sc-revenue,
  .gfa-sc-upgrade {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gfa-sc-revenue-num {
    font-size: 28px;
  }
  .gfa-sc-tiers {
    flex-direction: column;
    gap: 20px;
  }
  .gfa-sc-tier-price {
    font-size: 24px;
  }
}


/* ─────────────────────────────────────────────
   Starter audit (full results) — appended block
   ───────────────────────────────────────────── */

.gfa-starter-container {
  max-width: 880px;
  margin: 40px auto;
  padding: 0 20px;
}

.gfa-starter-gate {
  background: var(--linen, #F5EDE0);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
}
.gfa-starter-gate h2 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 28px;
  margin: 0 0 12px;
}
.gfa-starter-gate p {
  margin: 8px 0;
  color: var(--charcoal, #231F20);
  line-height: 1.55;
}
.gfa-starter-gate .gfa-upgrade-btn {
  display: inline-block;
  margin-top: 16px;
}

.gfa-sc-full {
  background: var(--linen, #F5EDE0);
  border-radius: 16px;
  padding: 40px 32px;
  color: var(--charcoal, #231F20);
}

.gfa-sc-full .gfa-sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.gfa-sc-full .gfa-sc-title h1 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 36px;
  margin: 0;
  line-height: 1.1;
}
.gfa-sc-full .gfa-sc-subtitle {
  margin: 6px 0 0;
  color: rgba(35,31,32,0.7);
  font-size: 14px;
}

.gfa-sc-full .gfa-sc-score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.gfa-sc-score-svg {
  width: 100%;
  height: 100%;
}
.gfa-sc-ring-track {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 10;
}
.gfa-sc-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dasharray 600ms ease-out;
}
.gfa-sc-ring-fill { stroke: var(--sage, #6B8F71); }
.gfa-rating-green .gfa-sc-ring-fill  { stroke: #6B8F71; }
.gfa-rating-yellow .gfa-sc-ring-fill { stroke: #C8A85B; }
.gfa-rating-red .gfa-sc-ring-fill    { stroke: #B95E54; }
.gfa-sc-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 44px;
  font-weight: 400;
}

/* Categories */
.gfa-sc-categories h2,
.gfa-sc-findings h2 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 22px;
  margin: 0 0 16px;
}
.gfa-sc-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.gfa-sc-cat {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid rgba(0,0,0,0.08);
}
.gfa-sc-cat.gfa-rating-green  { border-left-color: #6B8F71; }
.gfa-sc-cat.gfa-rating-yellow { border-left-color: #C8A85B; }
.gfa-sc-cat.gfa-rating-red    { border-left-color: #B95E54; }
.gfa-sc-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.gfa-sc-cat-name { font-weight: 600; font-size: 14px; }
.gfa-sc-cat-score { font-family: 'ivypresto-display', Georgia, serif; font-size: 20px; }
.gfa-sc-cat-bar {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.gfa-sc-cat-bar-fill {
  height: 100%;
  background: var(--sage, #6B8F71);
  transition: width 600ms ease-out;
}
.gfa-rating-green .gfa-sc-cat-bar-fill  { background: #6B8F71; }
.gfa-rating-yellow .gfa-sc-cat-bar-fill { background: #C8A85B; }
.gfa-rating-red .gfa-sc-cat-bar-fill    { background: #B95E54; }
.gfa-sc-cat-summary {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(35,31,32,0.75);
}

/* Praise */
.gfa-sc-praise {
  background: rgba(143, 179, 150, 0.18);
  border-left: 3px solid var(--sage-light, #8FB396);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.5;
}

/* Revenue */
.gfa-sc-revenue {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
.gfa-sc-revenue-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(35,31,32,0.7);
  margin-bottom: 8px;
}
.gfa-sc-revenue-num {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 32px;
  color: var(--sage, #6B8F71);
  margin-bottom: 8px;
}
.gfa-sc-revenue-note {
  margin: 0;
  font-size: 12px;
  color: rgba(35,31,32,0.6);
  line-height: 1.5;
}

/* Findings */
.gfa-sc-findings-group {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 24px 0 8px;
  font-weight: 700;
}
.gfa-sc-findings-group.gfa-sev-critical { color: #B95E54; }
.gfa-sc-findings-group.gfa-sev-major    { color: #C8A85B; }
.gfa-sc-findings-group.gfa-sev-minor    { color: rgba(35,31,32,0.6); }

.gfa-sc-findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gfa-sc-finding {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid rgba(0,0,0,0.1);
}
.gfa-sc-finding.gfa-sev-critical { border-left-color: #B95E54; }
.gfa-sc-finding.gfa-sev-major    { border-left-color: #C8A85B; }
.gfa-sc-finding.gfa-sev-minor    { border-left-color: rgba(35,31,32,0.3); }

.gfa-sc-finding-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.gfa-sev-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  background: rgba(35,31,32,0.6);
}
.gfa-sev-tag.gfa-sev-critical { background: #B95E54; }
.gfa-sev-tag.gfa-sev-major    { background: #C8A85B; color: #231F20; }
.gfa-sev-tag.gfa-sev-minor    { background: rgba(35,31,32,0.4); }

.gfa-sc-finding-cat {
  font-size: 12px;
  color: rgba(35,31,32,0.65);
}
.gfa-sc-finding-rev {
  margin-left: auto;
  font-size: 12px;
  color: var(--sage, #6B8F71);
  font-weight: 600;
}
.gfa-sc-finding-title {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.3;
}
.gfa-sc-finding-issue {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(35,31,32,0.85);
}
.gfa-sc-finding-fix {
  background: rgba(143, 179, 150, 0.14);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.55;
}
.gfa-sc-finding-fix strong {
  color: var(--sage, #6B8F71);
  font-weight: 700;
}

/* Footer */
.gfa-sc-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: rgba(35,31,32,0.6);
  text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
  .gfa-starter-container { padding: 0 12px; margin: 24px auto; }
  .gfa-sc-full { padding: 24px 18px; }
  .gfa-sc-full .gfa-sc-header {
    flex-direction: column-reverse;
    text-align: center;
    gap: 16px;
  }
  .gfa-sc-full .gfa-sc-title h1 { font-size: 28px; }
  .gfa-sc-full .gfa-sc-score-ring { width: 110px; height: 110px; }
  .gfa-sc-cat-grid { grid-template-columns: 1fr; }
  .gfa-sc-finding-rev { margin-left: 0; width: 100%; }
}

/* CTA cleanup — name+price inline, no bullets, more breathing room */
.gfa-sc-tier-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: baseline !important;
  gap: 8px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 14px !important;
}
.gfa-sc-tier-name {
  font-weight: 700 !important;
  text-transform: none !important;
}
.gfa-sc-tier ul {
  list-style: none !important;
  padding: 0 !important;
  text-align: center !important;
}
.gfa-sc-tier li {
  padding: 5px 0 !important;
  text-align: center !important;
}
.gfa-sc-tier li::before {
  content: none !important;
  display: none !important;
}
.gfa-sc-tiers {
  gap: 32px !important;
}
@media (max-width: 600px) {
  .gfa-sc-tiers { gap: 40px !important; }
}

/* Starter audit — loading state shown while client-side worker call runs */
.gfa-starter-loading {
  background: var(--linen, #F5EDE0);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 56px 28px;
  text-align: center;
}
.gfa-starter-loading h2 {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 28px;
  margin: 16px 0 8px;
}
.gfa-starter-loading p {
  margin: 6px 0;
  color: rgba(35,31,32,0.75);
  line-height: 1.5;
}
.gfa-starter-loading-elapsed {
  font-size: 13px;
  color: rgba(35,31,32,0.55);
  font-variant-numeric: tabular-nums;
  margin-top: 14px !important;
}
.gfa-starter-loading-spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 3px solid rgba(0,0,0,0.08);
  border-top-color: var(--sage, #6B8F71);
  border-radius: 50%;
  animation: gfa-spin 900ms linear infinite;
}
@keyframes gfa-spin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────
   Starter score hero header (v3.2.3)
   Overrides the generic .gfa-sc-header dark style with a centered,
   higher-impact layout. Scoped via .gfa-sc-header-hero so the free
   audit's existing header is unaffected.
   ───────────────────────────────────────────── */
.gfa-sc-full .gfa-sc-header.gfa-sc-header-hero {
  display: block;
  text-align: center;
  padding: 56px 28px 48px;
  background: var(--charcoal, #231F20);
  color: #fff;
  border-radius: 12px;
  border-bottom: none;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.gfa-sc-header-hero .gfa-sc-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light, #8FB396);
  font-weight: 600;
}
/* High-specificity selectors so theme h1/h2 color cannot win. */
.gfa-sc-full .gfa-sc-header-hero h1.gfa-sc-restaurant-name,
.gfa-sc-full .gfa-sc-header-hero h2.gfa-sc-restaurant-name,
.gfa-sc-full .gfa-sc-header-hero .gfa-sc-restaurant-name {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 36px;
  line-height: 1.1;
  color: #fff !important;
  margin: 0 0 32px !important;
  font-weight: 400;
  text-align: center;
  background: transparent !important;
}
.gfa-sc-header-hero .gfa-sc-score-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.gfa-sc-header-hero .gfa-sc-score-ring {
  position: relative;
  width: 200px;
  height: 200px;
}
.gfa-sc-header-hero .gfa-sc-score-svg {
  width: 100%;
  height: 100%;
}
.gfa-sc-header-hero .gfa-sc-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}
.gfa-sc-header-hero .gfa-sc-ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dasharray 900ms cubic-bezier(.4,0,.2,1);
}
.gfa-sc-header-hero.gfa-rating-green .gfa-sc-ring-fill,
.gfa-sc-header-hero .gfa-rating-green .gfa-sc-ring-fill { stroke: #8FB396; }
.gfa-sc-header-hero.gfa-rating-yellow .gfa-sc-ring-fill,
.gfa-sc-header-hero .gfa-rating-yellow .gfa-sc-ring-fill { stroke: #D4A85B; }
.gfa-sc-header-hero.gfa-rating-red .gfa-sc-ring-fill,
.gfa-sc-header-hero .gfa-rating-red .gfa-sc-ring-fill { stroke: #C4665B; }

.gfa-sc-header-hero .gfa-sc-score-num-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.gfa-sc-header-hero .gfa-sc-score-num {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 88px;
  font-weight: 400;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gfa-sc-header-hero .gfa-sc-score-out-of {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.gfa-sc-header-hero .gfa-sc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.gfa-sc-header-hero .gfa-sc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.gfa-sc-header-hero.gfa-rating-green .gfa-sc-status,
.gfa-sc-header-hero .gfa-sc-status.gfa-rating-green { color: #8FB396; }
.gfa-sc-header-hero.gfa-rating-yellow .gfa-sc-status,
.gfa-sc-header-hero .gfa-sc-status.gfa-rating-yellow { color: #D4A85B; }
.gfa-sc-header-hero.gfa-rating-red .gfa-sc-status,
.gfa-sc-header-hero .gfa-sc-status.gfa-rating-red { color: #C4665B; }

/* Subtle decorative accent — thin gold line under the eyebrow */
.gfa-sc-header-hero::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: rgba(143, 179, 150, 0.5);
  margin-top: 32px;
}

@media (max-width: 600px) {
  .gfa-sc-full .gfa-sc-header.gfa-sc-header-hero {
    padding: 40px 20px 36px;
  }
  .gfa-sc-header-hero .gfa-sc-restaurant-name {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .gfa-sc-header-hero .gfa-sc-score-ring {
    width: 160px;
    height: 160px;
  }
  .gfa-sc-header-hero .gfa-sc-score-num {
    font-size: 70px;
  }
  .gfa-sc-header-hero .gfa-sc-score-out-of {
    font-size: 16px;
  }
}
