.ac-hero { padding-bottom: 2.5rem; }
.ac-hero .lp-sub { max-width: 680px; }
.ac-social-proof { margin: .55rem 0 0; font-size: .9rem; color: var(--text-2); }

.ac-form-wrap { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.ac-input-row { display: flex; gap: .5rem; width: 100%; max-width: 620px; }
.ac-url-input { flex: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.07); color: var(--text); font-size: 1rem; padding: .65rem 1rem; min-width: 0; }
.ac-url-input::placeholder { color: var(--text-2); }
.ac-url-input:focus { outline: none; border-color: var(--accent); }
.ac-url-input:disabled { opacity: .5; }
.ac-submit { white-space: nowrap; flex-shrink: 0; }

/* Progress indicator — mirrors the app's conversion modal */
.ac-progress { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; max-width: 480px; padding: .35rem 0; }
.ac-progress[hidden] { display: none; }
.ac-progress-step { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.ac-progress-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3, rgba(255,255,255,.08)); border: 2px solid var(--border-2, rgba(255,255,255,.18)); transition: background .3s, border-color .3s, box-shadow .3s; }
.ac-progress-label { font-size: .72rem; font-weight: 600; color: var(--text-3, var(--text-2)); white-space: nowrap; letter-spacing: .01em; transition: color .3s; }
.ac-progress-line { flex: 1; height: 2px; background: var(--border-2, rgba(255,255,255,.18)); min-width: 40px; max-width: 80px; margin-bottom: 1.2rem; border-radius: 2px; position: relative; overflow: hidden; transition: background .4s; }

.ac-progress-step--done .ac-progress-dot { background: #7c6af7; border-color: #7c6af7; box-shadow: 0 0 6px rgba(124,106,247,.4); }
.ac-progress-step--done .ac-progress-label { color: #7c6af7; }
.ac-progress-step--active .ac-progress-dot { background: #e8622a; border-color: #e8622a; box-shadow: 0 0 0 4px rgba(232,98,42,.3), 0 0 12px rgba(232,98,42,.4); animation: ac-pulse-dot 1.2s ease-in-out infinite; }
.ac-progress-step--active .ac-progress-label { color: #e8622a; }
.ac-progress-line--done { background: #7c6af7; }
.ac-progress-line--active::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #e8622a, #7c6af7, transparent); animation: ac-shimmer 1.2s ease-in-out infinite; }

@keyframes ac-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,98,42,.3), 0 0 12px rgba(232,98,42,.4); }
  50%       { box-shadow: 0 0 0 7px rgba(232,98,42,.15), 0 0 18px rgba(232,98,42,.25); }
}
@keyframes ac-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ac-status { font-size: .9rem; color: var(--text-2); margin: 0; }
.ac-status--error { color: #f87171; }
.ac-status--success { color: #4ade80; }

/* Result panel */
.ac-result-panel { max-width: 1100px; margin: 0 auto 2rem; padding: 0 1rem; }
.ac-result-wrap { border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: rgba(255,255,255,.035); box-shadow: 0 18px 48px rgba(0,0,0,.18); padding: 1.75rem; }
.ac-result-header { margin-bottom: 1.25rem; }
.ac-result-title { margin: 0 0 .35rem; font-size: clamp(1.25rem, 2.5vw, 1.65rem); letter-spacing: -.025em; line-height: 1.25; }
.ac-result-meta { margin: 0; font-size: .85rem; color: var(--text-2); }

/* Level tabs — use topic-filters wrapper to match reading finder layout */
.ac-level-tabs { margin-bottom: 1.35rem; }

/* Article body — mask fades content out naturally, no colour-matching needed */
.ac-article-body { position: relative; -webkit-mask-image: linear-gradient(to bottom, black 45%, transparent 95%); mask-image: linear-gradient(to bottom, black 45%, transparent 95%); }
.ac-article-body p { line-height: 1.75; margin: 0 0 1.1rem; color: var(--text); font-size: 1rem; }
.ac-article-body p:last-child { margin-bottom: 0; }

/* Unlock card */
.ac-unlock {
  margin-top: .75rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(139,92,246,.25);
  border-radius: 16px;
  background: rgba(139,92,246,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.ac-unlock-msg { margin: 0; color: var(--text); font-size: 1rem; font-weight: 500; line-height: 1.5; }

/* SEO sections */
.ac-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem 4rem; }
.ac-seo-section { margin: 0 0 2rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: rgba(255,255,255,.035); box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.ac-seo-section h2 { margin: .25rem 0 .7rem; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.ac-seo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ac-seo-card { border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 1.1rem; background: rgba(255,255,255,.04); }
.ac-seo-card h3 { margin: 0 0 .45rem; }
.ac-seo-card p, .ac-faq-answer p { color: var(--text-2); line-height: 1.65; }
.ac-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: steps; }
.ac-step { border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 1.1rem; background: rgba(255,255,255,.04); counter-increment: steps; }
.ac-step::before { content: counter(steps); display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(139,92,246,.18); color: var(--accent); font-weight: 800; font-size: .85rem; margin-bottom: .6rem; }
.ac-step h3 { margin: 0 0 .35rem; }
.ac-step p { color: var(--text-2); line-height: 1.6; margin: 0; }
.ac-faq-list { display: grid; gap: .75rem; }
.ac-faq-item { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: .9rem 1rem; background: rgba(255,255,255,.04); }
.ac-faq-question { cursor: pointer; font-weight: 800; }
.ac-faq-answer p { margin-bottom: 0; }

@media (max-width: 860px) {
  .ac-input-row { flex-direction: column; }
  .ac-seo-grid, .ac-steps { grid-template-columns: 1fr; }
  .ac-seo-section, .ac-result-wrap { padding: 1.1rem; }
  .ac-progress { max-width: 100%; }
  .ac-progress-label { font-size: .7rem; }
}
