/* =============================================================
   Simply Swider Repair Diagnosis Tool — styles.css
   Brand: DM Serif Display / DM Sans / DM Mono
   Black #1A1A1A · Gold #F2D97A · CTA Orange #E8651A
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Mono:wght@400;500&display=swap');

/* --- Custom properties ---------------------------------------- */
:root {
  --black:          #1A1A1A;
  --black-card:     #222220;
  --black-mid:      #2E2E2B;
  --border:         #2a2a27;
  --border-light:   #3a3a36;

  --gold:           #F2D97A;
  --gold-dark:      #C9A227;
  --gold-pale:      #FBF3D5;

  --cta:            #E8651A;
  --cta-hover:      #D05510;

  --white:          #FFFFFF;
  --off-white:      #F5F5F2;
  --gray-mid:       #B4B2A9;
  --gray-text:      #6B6B68;

  --success:        #22c55e;
  --error:          #ef4444;

  --ff-display:     'DM Serif Display', Georgia, serif;
  --ff-body:        'DM Sans', sans-serif;
  --ff-mono:        'DM Mono', monospace;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --transition: 150ms ease;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Layout --------------------------------------------------- */
.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  flex: 1;
}

/* --- Typography ----------------------------------------------- */
h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--white);
}
h1 em {
  color: var(--gold);
  font-style: italic;
}
h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}
p {
  color: var(--gray-mid);
}

/* --- Eyebrow label -------------------------------------------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Badge ---------------------------------------------------- */
.badge {
  display: inline-block;
  background: rgba(242, 217, 122, 0.15);
  color: var(--gold);
  border: 1px solid rgba(242, 217, 122, 0.3);
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* --- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), opacity var(--transition), transform 80ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--cta-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--black-mid);
  color: var(--gray-mid);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: var(--black-card);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  width: 100%;
  margin-top: 1.5rem;
}

/* --- Card ----------------------------------------------------- */
.card {
  background: var(--black-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* ============================================================
   LANDING PAGE HERO
   ============================================================ */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem 0;
}

.site-logo {
  height: 40px;
  width: auto;
}

.site-nav a:hover {
  opacity: 0.85;
}

.hero {
  text-align: center;
  padding: 1.25rem 0 0;
}

/* --- Hero collage visual -------------------------------------- */
.hero-visual {
  margin: 1.25rem auto 0;
  max-width: 620px;
}

.collage-wrap {
  position: relative;
  padding: 62px 4px;
}

.collage-photo {
  display: block;
  width: 88%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  /* Fade edges into background so Jason "emerges" from the design */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, rgba(0,0,0,0.7) 10%, black 22%, black 78%, rgba(0,0,0,0.7) 90%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, black 10%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, rgba(0,0,0,0.7) 10%, black 22%, black 78%, rgba(0,0,0,0.7) 90%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, black 10%, black 82%, transparent 100%);
  mask-composite: intersect;
}

/* --- Comment cards ------------------------------------------- */
.comment-card {
  position: absolute;
  width: 172px;
  background: #1c1c19;
  border: 1px solid rgba(242, 217, 122, 0.18);
  border-radius: 9px;
  padding: 10px 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.comment-card p {
  font-size: 11.5px;
  line-height: 1.55;
  color: #d8d5cc;
  margin: 0;
}

.cc-stars {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 5px;
  line-height: 1;
}

.cc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.cc-initial {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-i2 { background: #2d6a4f; }
.cc-i3 { background: #6b3f2a; }
.cc-i4 { background: #3a3a8a; }
.cc-i5 { background: #6b2d6b; }

.cc-name {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Corner / side positions */
.cc-tl { top:  0;   left:  0;   transform: rotate(-4deg); }
.cc-tr { top:  0;   right: 0;   transform: rotate(3deg);  }
.cc-ml { top: 34%;  left:  0;   transform: rotate(-6deg); }
.cc-bl { bottom: 0; left:  8px; transform: rotate(5deg);  }
.cc-br { bottom: 0; right: 8px; transform: rotate(-3deg); }

.hero-caption {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  text-align: center;
}

/* --- Featured in -------------------------------------------- */
.featured-in {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.featured-in-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}

.featured-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.75rem;
}

.featured-logo {
  color: rgba(160, 158, 150, 0.5);
  text-decoration: none;
  transition: color 200ms ease;
  line-height: 1.2;
}
.featured-logo:hover {
  color: rgba(210, 208, 200, 0.85);
  text-decoration: none;
}

.flogo-cnet {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flogo-kitchn {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.95rem;
}
.flogo-bobvila {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flogo-wikihow {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 400;
}
.flogo-wikihow strong {
  font-weight: 700;
  color: inherit;
}
.flogo-hg {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  text-align: center;
}

/* Mobile */
@media (max-width: 520px) {
  .collage-wrap { padding: 52px 0; }
  .collage-photo { width: 84%; }
  .comment-card { width: 148px; padding: 8px 10px; }
  .comment-card p { font-size: 10.5px; }
  .cc-stars { font-size: 9px; }
  .cc-ml { display: none; }
  .cc-tr { display: none; }
  .featured-logos { gap: 0.5rem 1.25rem; }
}

.subhead {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 460px;
  margin: 0.5rem auto 0;
  line-height: 1.65;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
}

.social-proof-item {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-proof-item strong {
  color: var(--white);
  font-weight: 500;
}

/* --- Section divider ----------------------------------------- */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* --- How it works --------------------------------------------- */
.how-it-works {
  margin-top: 2rem;
}

.how-it-works h2 {
  font-size: 1.25rem;
  font-family: var(--ff-mono);
  font-weight: 500;
  color: var(--gray-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.25rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0;
}

@media (min-width: 480px) {
  .steps {
    flex-direction: row;
    gap: 0.75rem;
  }
}

.step {
  flex: 1;
  background: var(--black-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.step-num {
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  text-align: center;
}

/* --- Trust section -------------------------------------------- */
.trust-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 0;
  text-align: center;
}

.trust-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.trust-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.trust-card a {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-family: var(--ff-mono);
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* --- Footer --------------------------------------------------- */
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer a {
  color: var(--gray-text);
}
.footer a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* ============================================================
   DIAGNOSIS / FORM PAGES
   ============================================================ */

/* --- Nav variant with bottom border (form pages) -------------- */
.site-nav--border {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

/* --- Diagnosis progress -------------------------------------- */
.diag-progress {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 0 0.25rem;
  margin-bottom: 1.5rem;
}

.diag-progress-bar {
  display: flex;
  gap: 4px;
  flex: 1;
}

.diag-progress-step {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--border-light);
  transition: background 0.35s ease;
}

.diag-progress-step.active {
  background: var(--gold-dark);
}

.diag-progress-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Eyebrow in step heading --------------------------------- */
.step-heading .eyebrow {
  margin-bottom: 0.4rem;
}

/* --- Button utilities --------------------------------------- */
.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.btn-back {
  margin-top: 0.5rem;
}

/* --- Privacy / no-spam note --------------------------------- */
.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.875rem;
}

.privacy-note svg {
  color: var(--gray-text);
  flex-shrink: 0;
  opacity: 0.7;
}

/* --- Consent error spacing ---------------------------------- */
#consentError {
  display: block;
  margin-top: 0.35rem;
}

/* --- Loading state ------------------------------------------ */
.loading-state {
  padding: 3.5rem 1rem 2rem;
  text-align: center;
}

.loading-spinner {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--border-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-bottom: 1.75rem;
}

.loading-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.loading-meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.loading-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 260px;
  margin: 0 auto;
}

.loading-step {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--border-light);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}

.loading-step::before {
  content: '·';
  color: var(--border-light);
  font-size: 1.2em;
  transition: color 0.4s ease;
}

.loading-step.done {
  color: var(--gold);
}

.loading-step.done::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.9em;
}

/* --- Legacy page-header (kept for safety) ------------------- */
.page-header {
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.logo-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* --- Legacy progress bar (kept for safety) ------------------ */
.progress-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.progress-step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border-light);
  transition: background 0.3s ease;
}

.progress-step.active {
  background: var(--gold-dark);
}

.progress-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* --- Global error banner -------------------------------------- */
.error-banner {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #fca5a5;
}

.error-banner.visible {
  display: block;
}

/* --- Form steps ----------------------------------------------- */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-heading {
  margin-bottom: 1.25rem;
}

.step-heading h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.step-heading p {
  font-size: 0.9rem;
}

/* --- Form elements -------------------------------------------- */
.form-group {
  margin-bottom: 1.1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.label-optional {
  font-weight: 400;
  color: var(--gray-text);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 0.7rem 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

select {
  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 fill='%236B6B68' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select option {
  background: var(--black-card);
}

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

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(242, 217, 122, 0.12);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: var(--gray-text);
}

/* --- Checkbox / consent --------------------------------------- */
.checkbox-group {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--cta);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

/* --- Inline error messages ------------------------------------ */
.field-error {
  display: none;
  color: #fca5a5;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.field-error.visible {
  display: block;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--error);
}

/* --- Spinner -------------------------------------------------- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-wrap {
  text-align: center;
  padding: 4rem 1rem;
}

.spinner {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--border-light);
  border-top-color: var(--cta);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1.5rem;
}

.spinner-text {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.spinner-subtext {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
}

/* --- Email / privacy note ------------------------------------ */
.unsubscribe-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 0.875rem;
  text-transform: uppercase;
}

/* ============================================================
   RESULTS PAGE
   ============================================================ */

/* --- Diagnosis header --------------------------------------- */
.result-header {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.result-header .eyebrow {
  margin-bottom: 0.5rem;
}

.result-header h2 {
  margin-bottom: 0.5rem;
}

/* --- Result sections (hidden by default, shown by JS) ------- */
.result-section {
  display: none;
  margin-bottom: 0.5rem;
}

/* --- Fix step number: gold border, not CTA orange ----------- */
.fix-step-number {
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Affiliate note ----------------------------------------- */
.affiliate-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}

/* --- Video link icon (SVG) ---------------------------------- */
.video-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(232, 101, 26, 0.15);
  border-radius: 50%;
  color: var(--cta);
  flex-shrink: 0;
}

/* --- Stuck section ------------------------------------------ */
.stuck-section {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.stuck-section .eyebrow {
  margin-bottom: 0.35rem;
}

.stuck-section h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.stuck-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stuck-link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--black-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-mid);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.stuck-link-card:hover {
  border-color: var(--gold-dark);
  color: var(--white);
  background: var(--black-card);
  text-decoration: none;
}

.stuck-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* --- Upsell — Buy Me a Coffee ------------------------------- */
.upsell-card {
  background: linear-gradient(135deg, #1e1c14 0%, #221f12 100%);
  border: 1px solid rgba(242, 217, 122, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.upsell-top {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.upsell-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(242, 217, 122, 0.1);
  border: 1px solid rgba(242, 217, 122, 0.2);
  border-radius: var(--radius);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.upsell-top .eyebrow {
  margin-bottom: 0.2rem;
}

.upsell-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin: 0;
}

.upsell-body {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 1.125rem;
}

.upsell-btn {
  background: rgba(242, 217, 122, 0.12);
  color: var(--gold);
  border: 1px solid rgba(242, 217, 122, 0.35);
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.upsell-btn:hover {
  background: rgba(242, 217, 122, 0.2);
  border-color: rgba(242, 217, 122, 0.6);
  color: var(--gold);
  text-decoration: none;
}

.upsell-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 0.625rem;
  text-transform: uppercase;
}

/* --- Footer CTA --------------------------------------------- */
.result-footer-cta {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.result-footer-cta .btn {
  display: inline-flex;
}

.email-banner {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #86efac;
  margin-bottom: 1.25rem;
  display: none;
}

.email-banner.visible {
  display: block;
}

/* --- Confidence badge ----------------------------------------- */
.confidence-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.confidence-badge.strong {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.confidence-badge.moderate {
  background: rgba(242, 217, 122, 0.12);
  color: var(--gold);
  border: 1px solid rgba(242, 217, 122, 0.25);
}

.confidence-badge.general {
  background: rgba(107, 107, 104, 0.15);
  color: var(--gray-mid);
  border: 1px solid var(--border-light);
}

/* --- Diagnosis header ----------------------------------------- */
.diagnosis-header {
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--cta);
}

.most-likely-problem {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* --- Section heading ----------------------------------------- */
.section-heading {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-heading::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold-dark);
  flex-shrink: 0;
}

.section-heading--sub {
  margin-top: 1.5rem;
}

/* --- Fix steps ------------------------------------------------ */
.fix-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.fix-step {
  background: var(--black-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.fix-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.fix-step-number {
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fix-step-title-wrap {
  flex: 1;
  min-width: 0;
}

.fix-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.fix-step-prob {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-dark);
  background: rgba(242, 217, 122, 0.08);
  border: 1px solid rgba(242, 217, 122, 0.2);
  border-radius: 100px;
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.fix-step-description {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: 0.625rem;
}

.fix-step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.fix-step-cost {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--gray-text);
}

.fix-step-tools {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.03em;
}

/* Pro / call a professional variant */
.fix-step--pro {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.04);
}

.fix-step--pro .fix-step-number {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.fix-step--pro .fix-step-prob {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}

/* --- Per-step parts ------------------------------------------ */
.fix-step-parts {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.fix-step-parts-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 0.4rem;
}

.fix-step-parts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fix-step-parts-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fix-step-part-price {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--gray-text);
}

.difficulty-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.difficulty-badge.easy   { background: rgba(34,197,94,0.12);   color: #86efac; }
.difficulty-badge.medium { background: rgba(242,217,122,0.12); color: var(--gold); }
.difficulty-badge.hard   { background: rgba(239,68,68,0.12);   color: #fca5a5; }
.difficulty-badge.pro    { background: rgba(239,68,68,0.15);   color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }

/* --- Diagnosis header video thumbnail ----------------------- */
.diag-video-thumb {
  display: block;
  position: relative;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.diag-video-thumb-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(0.72);
  transition: filter var(--transition);
}

.diag-video-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Video link ---------------------------------------------- */
.video-link-card {
  background: var(--black-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.video-link-card:hover {
  border-color: var(--gold-dark);
  background: var(--black-mid);
  text-decoration: none;
  color: var(--white);
}

.video-link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.video-link-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-link-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
}

.video-link-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(0,0,0,0.2);
}

.video-link-card:hover .video-link-thumb {
  filter: brightness(0.9);
}

/* --- Parts list ---------------------------------------------- */
.parts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.part-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.part-link {
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.part-link::before {
  content: '→ ';
  font-family: var(--ff-mono);
  font-size: 0.8em;
  color: var(--cta);
}

/* --- Jason Personal Review card ----------------------------- */
.jason-review-card {
  background: linear-gradient(135deg, #1a1714 0%, #1e1b15 100%);
  border: 1px solid rgba(232, 101, 26, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.jason-review-top {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.jason-review-left {
  flex-shrink: 0;
}

.jason-review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(232, 101, 26, 0.4);
  object-fit: cover;
}

.jason-review-body {
  flex: 1;
  min-width: 0;
}

.jason-review-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 0.3rem;
}

.jason-review-desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.jason-review-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.jason-review-bullets li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.jason-review-bullets li svg {
  flex-shrink: 0;
  color: var(--cta);
}

/* Primary variant — standalone upsell after fix steps */
.jason-review-card--primary {
  margin-top: 1.5rem;
  padding: 0;
  overflow: hidden;
  border-color: rgba(232, 101, 26, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 101, 26, 0.12), 0 4px 24px rgba(0,0,0,0.35);
}

.jason-review-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.jason-review-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.55);
}

.jason-review-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.875rem 1.125rem;
  background: linear-gradient(to top, rgba(26,23,20,0.92) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jason-review-banner-overlay .jason-review-avatar {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(232, 101, 26, 0.6);
  flex-shrink: 0;
}

.jason-review-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.jason-review-cred {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--gray-mid);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* Body and CTA inside primary card */
.jason-review-card--primary .jason-review-body {
  padding: 1rem 1.125rem 0;
}

.jason-review-cta-wrap {
  padding: 1rem 1.125rem 1.125rem;
}

/* Video proof strip */
.jason-proof-strip {
  margin-bottom: 0.875rem;
}

.jason-proof-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.jason-proof-thumb-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--black-mid);
}

.jason-proof-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.jason-proof-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(232, 101, 26, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  pointer-events: none;
}

.jason-proof-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-size: 0.7rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jason-review-btn {
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.jason-review-note {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* --- Still stuck --------------------------------------------- */
.stuck-section {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.stuck-section h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.stuck-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stuck-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-mid);
}

.stuck-link a {
  color: var(--gold);
}

/* --- Divider -------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

/* --- Utility -------------------------------------------------- */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem;  }
.mt-4 { margin-top: 1rem;    }
.mb-2 { margin-bottom: 0.5rem; }
.text-center { text-align: center; }
.text-muted  { color: var(--gray-text); font-size: 0.875rem; }
.hidden { display: none !important; }

/* ============================================================
   REVIEW SUCCESS PAGE
   ============================================================ */

.success-header {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  color: var(--success);
  margin: 0 auto 1rem;
}

.success-header .eyebrow {
  color: var(--success);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--ff-mono);
  margin-bottom: 0.5rem;
}

.success-header h2 {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.success-sub {
  color: var(--gray-mid);
  font-size: 0.975rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Jason photo banner */
.success-jason-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  height: 200px;
}

.success-jason-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.5);
  display: block;
}

.success-jason-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
}

.success-jason-banner-overlay .jason-review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
}

.success-jason-quote {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 0.2rem;
}

.success-jason-sig {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--ff-mono);
}

/* Steps card */
.success-steps-card {
  margin-bottom: 1rem;
}

.success-steps-card .section-heading {
  margin-bottom: 1.25rem;
}

.success-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
}

.success-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.success-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gold-dark);
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.success-step-title {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.success-step-desc {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Context card (add more detail) */
.success-context-card {
  background: var(--black-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.success-context-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.success-context-top .jason-review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-light);
}

.success-context-top .jason-review-label {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.success-context-desc {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.success-mailto-btn {
  width: 100%;
}

/* Footer nav */
.success-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
}

/* Ghost button (outline, no fill) */
.btn-ghost {
  background: transparent;
  color: var(--gray-text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--black-mid);
  color: var(--gray-mid);
}

/* ============================================================
   REVIEW REQUEST FORM PAGE
   ============================================================ */

.review-form-header {
  padding: 2rem 0 1.25rem;
}
.review-form-header .eyebrow {
  color: var(--cta);
  font-size: 0.8rem;
  font-family: var(--ff-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.review-form-header h2 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.review-form-sub {
  color: var(--gray-mid);
  font-size: 0.925rem;
  line-height: 1.55;
  max-width: 520px;
}

/* Card wrapper for form sections */
.review-form-card {
  margin-bottom: 1rem;
}
.review-form-card .section-heading {
  margin-bottom: 1.1rem;
}

/* Form grid */
.form-row { display: flex; flex-direction: column; gap: 0.75rem; }
.form-row--2col { gap: 0.75rem; }
@media (min-width: 540px) {
  .form-row--2col { flex-direction: row; }
  .form-row--2col .form-group { flex: 1; }
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.75rem; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}
.form-required { color: var(--cta); margin-left: 2px; }
.form-hint {
  color: var(--gray-text);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-input {
  background: var(--black);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.875rem;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
}
.form-input::placeholder { color: var(--gray-text); }
.form-input:focus { border-color: var(--gold); }

.form-textarea { resize: vertical; min-height: 90px; line-height: 1.55; }

.form-char-count {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--gray-text);
  text-align: right;
  margin-top: 0.2rem;
}

/* Upload dropzone */
.review-form-upload-hint {
  font-size: 0.875rem;
  color: var(--gray-mid);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.upload-dropzone {
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.upload-dropzone:hover,
.upload-dropzone:focus,
.upload-dropzone--over {
  border-color: var(--gold);
  background: rgba(242, 217, 122, 0.04);
  outline: none;
}
.upload-dropzone svg { color: var(--gray-text); margin-bottom: 0.6rem; }
.upload-dropzone-text {
  font-size: 0.925rem;
  color: var(--gray-mid);
  margin-bottom: 0.25rem;
}
.upload-dropzone-link { color: var(--gold); text-decoration: underline; cursor: pointer; }
.upload-dropzone-sub { font-size: 0.78rem; color: var(--gray-text); }

.upload-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  pointer-events: none; /* JS handles clicks via dropzone click → fileInput.click() */
}

/* File list */
.upload-file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.upload-file-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.upload-file-icon { font-size: 1rem; flex-shrink: 0; }
.upload-file-name {
  flex: 1;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-file-size {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--gray-text);
  flex-shrink: 0;
}
.upload-file-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--gray-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  transition: color var(--transition);
}
.upload-file-remove:hover { color: var(--error); }

/* Error banner */
.form-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius);
  color: #fca5a5;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Submit area */
.review-form-submit { margin: 0.5rem 0 2rem; }
.review-form-submit .btn-large { margin-top: 0; }
.review-form-submit-note {
  font-size: 0.8rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 0.6rem;
}

/* Upload + checkout overlay */
.review-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-form-overlay-inner {
  text-align: center;
  padding: 2rem;
  max-width: 320px;
}
.review-form-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-light);
  border-top-color: var(--cta);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.review-form-overlay-text {
  color: var(--white);
  font-size: 0.975rem;
  margin-bottom: 1rem;
}
.upload-progress-bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: var(--cta);
  border-radius: 2px;
  transition: width 0.2s ease;
  width: 0%;
}
