/* ==========================================================
   AI READINESS SCANNER — scanner.css
   Mobile-first, iOS-safe, fully responsive
   ========================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0c0c0e;
  color: #ebebeb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Colour vars ── */
:root {
  --blue:    #3b9eff;
  --blue-dk: #2f88e8;
  --green:   #22c55e;
  --amber:   #f59e0b;
  --red:     #ef4444;
  --surface: #1a1a1e;
  --border:  rgba(255,255,255,0.08);
  --muted:   #8e8ea0;
  --dim:     #52526a;
  --text:    #ebebeb;
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.sc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  background: rgba(12,12,14,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px; /* iOS tap target */
}

.sc-logo svg {
  filter: drop-shadow(0 0 8px rgba(59,158,255,0.35));
  transition: filter 0.3s;
}
.sc-logo:hover svg { filter: drop-shadow(0 0 14px rgba(59,158,255,0.65)); }

.sc-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.sc-logo-text em {
  font-style: normal;
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 2px;
}

.sc-nav-links {
  display: flex;
  gap: 22px;
}
.sc-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.sc-nav-links a:hover,
.sc-nav-links a[aria-current="page"] { color: var(--text); }

.sc-nav-btn {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sc-nav-btn:hover { background: var(--blue-dk); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.sc-hero {
  min-height: 100svh;
  padding: 100px 24px 60px;
  padding-top: max(100px, calc(80px + env(safe-area-inset-top)));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,158,255,0.09) 0%, transparent 65%);
}

.sc-hero-inner {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid rgba(59,158,255,0.25);
  background: rgba(59,158,255,0.07);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.sc-badge-sm { margin-bottom: 10px; }

.sc-hero-inner h1 {
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 18px;
}

.sc-blue { color: var(--blue); }

.sc-hero-sub {
  font-size: clamp(14px, 3.5vw, 17px);
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Input form ── */
.sc-form {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 40px;
}

.sc-input-group {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.sc-input-group:focus-within { border-color: var(--blue); }

.sc-input-icon {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 15px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.sc-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom */
  padding: 16px 14px;
  min-width: 0;
  -webkit-appearance: none;
}
.sc-input::placeholder { color: var(--dim); }

.sc-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 56px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.sc-btn:hover  { background: var(--blue-dk); }
.sc-btn:active { transform: scale(0.97); }
.sc-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sc-form-meta {
  font-size: 12px;
  color: var(--dim);
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── Info Cards ── */
.sc-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
  text-align: left;
}

.sc-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-info-card i {
  font-size: 18px;
  color: var(--blue);
}
.sc-info-card strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.sc-info-card span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   SCANNING STATE
══════════════════════════════════════════ */
.sc-scanning {
  min-height: 100svh;
  padding: 100px 24px 60px;
  padding-top: max(100px, calc(80px + env(safe-area-inset-top)));
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-scanning-inner {
  width: 100%;
  max-width: 460px;
  text-align: center;
}

/* Animated orb */
.sc-orb {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(59,158,255,0.3);
  animation: sc-pulse 2s ease-in-out infinite;
}
.r1 { width: 80px; height: 80px; animation-delay: 0s; }
.r2 { width: 58px; height: 58px; animation-delay: 0.25s; }
.r3 { width: 38px; height: 38px; animation-delay: 0.5s; border-color: rgba(59,158,255,0.55); }
@keyframes sc-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.1); opacity: 1; }
}
.sc-orb-icon { font-size: 22px; color: var(--blue); position: relative; z-index: 1; }

.sc-scanning-title {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  word-break: break-all;
}
.sc-scanning-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
  min-height: 20px;
  transition: opacity 0.3s;
}

/* Progress bar */
.sc-progress-track {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 22px;
}
.sc-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Steps */
.sc-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}
.sc-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.sc-step i { width: 16px; text-align: center; flex-shrink: 0; }
.sc-step span:nth-child(2) { flex: 1; }
.sc-step-dot { font-size: 12px; font-weight: 700; flex-shrink: 0; }

.sc-step-active {
  color: var(--blue);
  background: rgba(59,158,255,0.06);
  border-color: rgba(59,158,255,0.2);
}
.sc-step-done {
  color: var(--green);
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.15);
}

/* ══════════════════════════════════════════
   RESULTS
══════════════════════════════════════════ */
.sc-results {
  padding: 80px 24px 80px;
  padding-top: max(80px, calc(70px + env(safe-area-inset-top)));
  padding-bottom: max(80px, calc(60px + env(safe-area-inset-bottom)));
}
.sc-results-inner {
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Report Header ── */
.sc-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.sc-report-meta { flex: 1; min-width: 200px; }
.sc-report-title {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 4px;
  word-break: break-word;
}
.sc-report-domain {
  font-size: 12px;
  color: var(--dim);
  font-family: monospace;
  word-break: break-all;
  margin: 0 0 8px;
}
.sc-data-source {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.src-good  { background: rgba(34,197,94,0.1);  color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
.src-ok    { background: rgba(59,158,255,0.1); color: var(--blue);  border: 1px solid rgba(59,158,255,0.2); }
.src-warn  { background: rgba(245,158,11,0.1); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); }

/* ── Score Circle ── */
.sc-score-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.sc-score-circle {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.sc-score-svg {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}
.sc-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 8;
}
.sc-ring-stroke {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease, stroke 0.5s ease;
}
.sc-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}
.sc-score-tag {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sc-grade-block { text-align: center; }
.sc-grade {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}
.sc-grade-desc {
  font-size: 12px;
  color: var(--muted);
  max-width: 150px;
  margin: 6px auto 0;
  line-height: 1.45;
}

/* ── Notice ── */
.sc-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.sc-notice i { flex-shrink: 0; margin-top: 2px; }
.sc-notice-warn {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber);
}
.sc-notice-info {
  background: rgba(59,158,255,0.08);
  border: 1px solid rgba(59,158,255,0.25);
  color: var(--blue);
}

/* ── Section title ── */
.sc-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}
.sc-section-title i { color: var(--blue); }

/* ── Category Cards ── */
.sc-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.sc-cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  transition: border-color 0.2s;
}
.sc-cat-card:hover { border-color: rgba(255,255,255,0.14); }

.sc-cat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sc-cat-icon {
  font-size: 18px;
  width: 34px;
  text-align: center;
  flex-shrink: 0;
}
.sc-cat-info { flex: 1; min-width: 0; }
.sc-cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-cat-score {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.sc-cat-grade {
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Progress bar */
.sc-bar-bg {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.sc-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.sc-cat-why {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Check items */
.sc-chks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.sc-chk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.sc-chk i { flex-shrink: 0; width: 14px; margin-top: 2px; }
.sc-chk > span:first-of-type { flex: 1; }
.sc-chk-pts {
  font-size: 10px;
  font-weight: 700;
  color: var(--dim);
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 2px;
}

.sc-chk-pass i { color: var(--green); }
.sc-chk-pass > span:first-of-type { color: var(--text); }
.sc-chk-pass .sc-chk-pts { color: var(--green); }

.sc-chk-fail i { color: var(--red); }
.sc-chk-fail > span:first-of-type { color: var(--muted); }

.sc-chk-unknown i { color: var(--dim); }
.sc-chk-unknown > span:first-of-type { color: var(--dim); font-style: italic; }

/* Advice block */
.sc-cat-advice {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(59,158,255,0.04);
  border-left: 3px solid rgba(59,158,255,0.3);
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.sc-cat-advice i { color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* ── Passes / Issues split ── */
.sc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.sc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.sc-panel h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.sc-panel-fail h3 i { color: var(--red); }
.sc-panel-pass h3 i { color: var(--green); }

.sc-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.sc-check-list li i { flex-shrink: 0; margin-top: 2px; }
.sc-panel-fail li i { color: var(--red); }
.sc-panel-pass li i { color: var(--green); }
.sc-check-list li > div { flex: 1; min-width: 0; }
.sc-li-label { display: block; color: var(--text); font-size: 12px; }
.sc-check-list li small {
  font-size: 10px;
  color: var(--dim);
  display: block;
  margin-top: 2px;
}
.sc-li-none { color: var(--dim); font-style: italic; }

/* ── Action Plan ── */
.sc-actions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 32px;
}
.sc-actions-sub {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 18px;
  line-height: 1.5;
}
.sc-action-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sc-action-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.sc-action-body { flex: 1; min-width: 0; }
.sc-action-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.sc-action-title i { font-size: 12px; flex-shrink: 0; }
.sc-action-score {
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}
.sc-action-body p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Why This Matters ── */
.sc-why { margin-bottom: 32px; }
.sc-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}
.sc-why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.sc-why-icon {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 10px;
}
.sc-why-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 7px;
  line-height: 1.3;
}
.sc-why-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── CTA Block ── */
.sc-cta {
  background: linear-gradient(135deg, rgba(59,158,255,0.09) 0%, rgba(59,158,255,0.04) 100%);
  border: 1px solid rgba(59,158,255,0.2);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
}
.sc-cta h3 {
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.sc-cta p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.sc-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.sc-cta-primary {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sc-cta-primary:hover { background: var(--blue-dk); }

.sc-cta-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sc-cta-secondary:hover { background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablet ≤ 900px ── */
@media (max-width: 900px) {
  .sc-nav-links { display: none; }
  .sc-nav { height: 56px; }
  .sc-categories { grid-template-columns: 1fr; }
  .sc-split { grid-template-columns: 1fr; }
  .sc-score-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sc-report-head { flex-direction: column; }
  .sc-why-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-info-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile ≤ 640px ── */
@media (max-width: 640px) {
  /* Nav */
  .sc-nav { height: 54px; padding: 0 16px; }
  .sc-nav-btn { display: none; }

  /* Hero */
  .sc-hero { padding: 82px 16px 48px; }
  .sc-hero-inner h1 { font-size: 1.85rem; }
  .sc-hero-sub { font-size: 14px; margin-bottom: 28px; }
  .sc-badge { font-size: 10px; padding: 4px 11px; }

  /* Input group — stacked on mobile */
  .sc-input-group { flex-direction: column; border-radius: 12px; }
  .sc-input-icon { display: none; }
  .sc-input {
    width: 100%;
    padding: 17px 16px;
    font-size: 16px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .sc-btn {
    width: 100%;
    justify-content: center;
    padding: 17px 16px;
    border-radius: 0 0 10px 10px;
    font-size: 16px;
    min-height: 54px;
  }

  /* Info cards */
  .sc-info-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sc-info-card { padding: 13px 12px; }
  .sc-info-card i { font-size: 16px; }
  .sc-info-card strong { font-size: 11px; }
  .sc-info-card span { font-size: 10px; }

  /* Scanning */
  .sc-scanning { padding: 80px 16px 48px; }
  .sc-step { font-size: 12px; padding: 9px 12px; }

  /* Results */
  .sc-results { padding: 74px 16px 60px; }
  .sc-report-title { font-size: 1.2rem; }
  .sc-report-head { gap: 16px; margin-bottom: 20px; padding-bottom: 20px; }

  /* Score — side by side on mobile */
  .sc-score-wrap { flex-direction: row; align-items: center; gap: 16px; }
  .sc-score-circle { width: 88px; height: 88px; }
  .sc-score-svg { width: 88px; height: 88px; }
  .sc-score-num { font-size: 22px; }
  .sc-score-tag { font-size: 8px; bottom: 13px; }
  .sc-grade { font-size: 2.2rem; }
  .sc-grade-desc { font-size: 11px; max-width: 130px; }

  /* Cards */
  .sc-cat-card { padding: 15px; }
  .sc-cat-grade { font-size: 1.2rem; }

  /* Action plan */
  .sc-actions { padding: 16px; }

  /* Why grid */
  .sc-why-grid { grid-template-columns: 1fr; }

  /* CTA */
  .sc-cta { padding: 28px 16px; }
  .sc-cta-btns { flex-direction: column; }
  .sc-cta-primary, .sc-cta-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
}

/* ── Small phones ≤ 390px (iPhone SE, older Android) ── */
@media (max-width: 390px) {
  .sc-hero-inner h1 { font-size: 1.6rem; }
  .sc-score-wrap { flex-direction: column; align-items: flex-start; }
  .sc-score-circle { width: 80px; height: 80px; }
  .sc-score-svg { width: 80px; height: 80px; }
  .sc-score-num { font-size: 20px; }
  .sc-grade { font-size: 1.9rem; }
  .sc-cat-card { padding: 13px; }
  .sc-cat-name { font-size: 12px; }
  .sc-chk-pts { display: none; }
  .sc-info-cards { grid-template-columns: 1fr; }
}

/* ── Landscape phone ── */
@media (max-height: 500px) and (orientation: landscape) {
  .sc-hero { min-height: auto; padding: 72px 20px 36px; }
  .sc-scanning { min-height: auto; padding: 72px 20px 36px; }
  .sc-orb { margin-bottom: 14px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sc-ring { animation: none; }
  .sc-progress-bar { transition: none; }
  .sc-bar-fill { transition: none; }
  .sc-ring-stroke { transition: none; }
}
