/* ==========================================================================
   Computer Doctor of Maine — Test to Buy
   Light theme matched to computerdoctor.me (DM Sans, green #70a110, white
   surfaces, 10px buttons). Same tokens as sell.computerdoctor.me; keep the
   two in sync. The hero is the one dark band, using the --dark-* tokens.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f7f7;
  --surface-tint: #f3f5ed;
  --border: rgba(24, 26, 23, 0.10);
  --border-strong: rgba(24, 26, 23, 0.18);

  /* Text */
  --text: #181a17;
  --text-muted: #5b625d;
  --text-dim: #666d67;

  /* Brand green — fills vs. text (the fill green fails AA as small text on white) */
  --green: #70a110;
  --green-hover: #5f8c0c;
  --green-text: #4f7a00;
  --green-tint: rgba(112, 161, 16, 0.10);
  --on-green: #181a17;

  /* Dark band (hero) — the main site's own */
  --dark: #181a17;
  --dark-text: #ffffff;
  --dark-muted: rgba(255, 255, 255, 0.78);
  --dark-border: rgba(255, 255, 255, 0.18);
  --dark-accent: #8dc63f;

  --star: #e0a800;
  --danger: #b3261e;
  --danger-bg: rgba(179, 38, 30, 0.07);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --shadow: 0 12px 32px rgba(24, 26, 23, 0.08);
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  color-scheme: light;
}

/* -------------------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
/* Keep anchor targets clear of the sticky header. */
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--text); letter-spacing: -0.01em; }
h3 { font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--text); }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--green-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--green);
  color: var(--on-green);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
}
.wrap-narrow {
  max-width: 760px;
}

.section {
  padding: 72px 0;
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
}
.section-title {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem);
  text-align: center;
}
.section-lede {
  text-align: center;
  max-width: 46em;
  margin: 0 auto 2.5em;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-text);
  margin-bottom: 18px;
}
.stars { color: var(--star); letter-spacing: 1px; }

/* -------------------------------------------------------------------------
   Header — white, like computerdoctor.me
   ------------------------------------------------------------------------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand-logo {
  height: 44px;
  width: auto;
}
.brand-caption {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: none;
}
@media (min-width: 560px) {
  .brand-caption { display: inline; }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-home {
  display: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .header-home { display: inline; }
}
.header-home:hover { color: var(--green-text); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  font-size: 1rem;
}
.header-phone svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.header-phone:hover { color: var(--green-text); text-decoration: none; }

.header-right .header-cta {
  display: none;
  padding: 10px 18px;
  font-size: 0.85rem;
  min-height: 40px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden; /* keeps it out of the tab order while invisible */
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
@media (min-width: 720px) {
  .header-right .header-cta { display: inline-flex; }
}
.site-header.is-scrolled .header-cta {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

/* -------------------------------------------------------------------------
   Hero — the one dark band, same as the homepage hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/shop/shop-interior.webp") center 35% / cover no-repeat;
  opacity: 0.32;
  transform: scale(1);
  animation: hero-zoom 22s ease-in-out infinite alternate;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(112,161,16,0.28), transparent 60%),
    radial-gradient(600px 320px at 90% 10%, rgba(141,198,63,0.16), transparent 60%),
    linear-gradient(180deg, rgba(24,26,23,0.45) 0%, rgba(24,26,23,0.86) 80%, var(--dark) 100%);
  z-index: 1;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero .eyebrow { color: var(--dark-accent); }
.hero-title {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.8rem);
  margin-bottom: 20px;
  color: var(--dark-text);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--dark-accent);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 44em;
  margin: 0 auto 22px;
  color: var(--dark-muted);
}
/* Fix / Buy / Sell — the trilogy row */
.hero-family {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 30px;
  font-size: 0.85rem;
}
.hero-family li > a,
.hero-family li > span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--dark-border);
  color: var(--dark-muted);
  font-weight: 500;
}
.hero-family strong { color: var(--dark-text); font-weight: 700; margin: 0 0.3em; }
.hero-family a:hover { border-color: var(--dark-accent); color: var(--dark-text); text-decoration: none; }
.hero-family li[aria-current="page"] > span {
  border-color: var(--dark-accent);
  background: rgba(141, 198, 63, 0.16);
  color: var(--dark-text);
}
.hero-family li[aria-current="page"] strong { color: var(--dark-accent); }
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--dark-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.hero .stars { color: #f2c94c; }
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-note {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--dark-accent);
}
.hero :focus-visible { outline-color: var(--dark-accent); }

/* -------------------------------------------------------------------------
   Buttons — main site's 10px radius, 600 weight
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 48px;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--green);
  color: var(--on-green);
}
.btn-primary:hover { background: var(--green-hover); color: #ffffff; }
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-text); }

.btn-submit { width: 100%; }
.btn-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(24,26,23,0.25);
  border-top-color: var(--on-green);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   How it works / Get paid fast / Why us / Considerations
   ------------------------------------------------------------------------- */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.1rem; }
.step-card p { margin-bottom: 0; }

.paid-fast { padding-top: 0; }
.paid-fast-card {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(112,161,16,0.30);
  background: var(--surface-tint);
}
@media (max-width: 480px) {
  .paid-fast-card { padding: 32px 20px; }
}
.paid-fast-card .eyebrow { margin-bottom: 12px; }
.paid-fast-title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin-bottom: 10px;
}
.paid-fast-sub {
  max-width: 40em;
  margin: 0 auto;
  font-size: 1.05rem;
}

.why-grid, .consider-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.why-card, .consider-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.why-card h3, .consider-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.why-card p, .consider-card p { margin-bottom: 0; font-size: 0.97rem; }

.considerations {
  background: var(--surface-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   Sliders (shop photo gallery + testimonials)
   ------------------------------------------------------------------------- */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  background: rgba(24, 26, 23, 0.55);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.slider-arrow:hover { border-color: var(--dark-accent); color: var(--dark-accent); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(24, 26, 23, 0.22);
  cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: var(--green); }

/* Photo slider */
.photo-slider { box-shadow: var(--shadow); border: 1px solid var(--border); }
.photo-slider .slide {
  flex: 0 0 100%;
  margin: 0;
  position: relative;
}
.photo-slider .slide img {
  width: 100%;
  height: clamp(240px, 42vw, 420px);
  object-fit: cover;
  display: block;
}
.photo-slider .slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(24, 26, 23, 0.85));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Testimonial slider */
.testimonial-slider {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.testimonial-slider .slider-arrow {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.testimonial-slider .slider-arrow:hover { border-color: var(--green); color: var(--green-text); }
.testimonial-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 36px 60px;
  background: var(--surface);
  text-align: center;
}
.testimonial-slide .stars { display: block; margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 38em;
  margin: 0 auto 16px;
}
.testimonial-slide footer {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.testimonial-source {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 16px 0 0;
}
@media (max-width: 640px) {
  .testimonial-slide { padding: 32px 44px; }
}

/* -------------------------------------------------------------------------
   Students
   ------------------------------------------------------------------------- */
.students-eyebrow { text-align: center; margin-bottom: 14px; }
.student-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.student-points li {
  position: relative;
  padding: 14px 18px 14px 38px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
}
.student-points li::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  color: var(--green-text);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   Form section
   ------------------------------------------------------------------------- */
.form-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow);
}
@media (min-width: 560px) {
  .form-card { padding: 36px 40px 40px; }
}

.progress { margin-bottom: 28px; }
.progress-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--green-text), var(--green));
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}
.progress-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.form-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

fieldset { border: none; margin: 0; padding: 0; }
.wizard-step { min-width: 0; }
.step-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding: 0;
}
.step-heading:focus { outline: none; }

.field-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 4px;
}
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field { margin-bottom: 20px; }
.field label,
.radio-field legend,
.lock-label span {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 8px;
}
.req { color: var(--green-text); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 50px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-dim); opacity: 1; }
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
  outline: none;
}
input[aria-invalid="true"], select[aria-invalid="true"] {
  border-color: var(--danger);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666d67'%3E%3Cpath d='M5.25 7.5L10 12.25L14.75 7.5H5.25Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin: 6px 0 0;
  min-height: 1.2em;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -4px 0 12px;
}

.btn-add-photos {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.photo-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  max-width: 360px;
}
.photo-list:empty { margin: 0; }
.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-item button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(24,26,23,0.75);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-item button:hover { background: var(--danger); }

.radio-field, .radio-field-plain { margin-bottom: 20px; }
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-pill input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}
.radio-pill:has(input:checked) {
  border-color: var(--green);
  background: var(--green-tint);
}

.category-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 8px;
}
@media (min-width: 540px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.category-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.category-card:has(input:checked) {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-text);
}
.category-card:has(input:focus-visible) {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}
.wizard-nav .btn { flex: 1; }
.wizard-nav .btn:only-child { flex: none; margin-left: auto; }

.review-lede { text-align: left; }
.review-list {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 20px;
  margin: 0 0 20px;
}
.review-list .review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.review-list .review-row:last-child { border-bottom: none; }
.review-list dt { color: var(--text-muted); flex: 0 0 auto; }
.review-list dd { margin: 0; color: var(--text); text-align: right; font-weight: 600; }
.btn-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.review-list .review-edit {
  color: var(--green-text);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  min-height: 32px;
}
.review-list .review-edit:hover { text-decoration: underline; }

.legal-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

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

.fallback-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 16px 0 0;
}

/* Success / error states */
.success-state, .error-state {
  text-align: center;
  padding: 12px 4px 4px;
}
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}
.success-state h3, .error-state h3 { font-size: 1.3rem; }
.ref-id {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  color: var(--green-text);
  margin-bottom: 18px;
}
.error-state h3 { color: var(--danger); }
.error-state { background: var(--danger-bg); border: 1px solid rgba(179,38,30,0.25); border-radius: var(--radius-md); padding: 24px; }

/* -------------------------------------------------------------------------
   Important info / FAQ
   ------------------------------------------------------------------------- */
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.info-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--green-text);
  font-size: 1.4rem;
  line-height: 1;
  margin-left: 12px;
  flex: none;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   Footer — light, like computerdoctor.me
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-brand .brand-logo { height: 48px; }
.site-footer address {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.site-footer address a { color: var(--text-muted); }
.site-footer address a:hover { color: var(--green-text); }

/* Fix / Buy / Sell family links — same markup and styles as sell.computerdoctor.me */
.footer-family {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}
.footer-family a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 150px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
}
.footer-family a span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.footer-family a:hover {
  border-color: var(--green);
  color: var(--green-text);
  text-decoration: none;
}
.footer-family a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green-tint);
}
.footer-family a[aria-current="page"] span { color: var(--green-text); }
.footer-legal {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 8px 0 0;
}
