/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f6f2;
  color: #1a1a18;
  line-height: 1.6;
  font-size: 15px;
}
button { font: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: #1a1a18;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a18;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.nav-links a {
  font-size: 13px;
  color: #5f5e5a;
  transition: color 0.15s;
}
.nav-links a:hover { color: #1a1a18; }
.btn-nav {
  background: #1a1a18 !important;
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: opacity 0.15s !important;
  border: none;
  cursor: pointer;
}
.btn-nav:hover { opacity: 0.85; }
.btn-outline {
  background: transparent !important;
  color: #1a1a18 !important;
  border: 1px solid rgba(0,0,0,0.14);
}
.account-pill {
  background: #f1efe8;
  color: #5f5e5a;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}
.hero-app {
  padding-top: 3.4rem;
}
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: #eaf3de;
  color: #27500a;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.2px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: #1a1a18;
}
.hero-sub {
  font-size: 16px;
  color: #5f5e5a;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.75rem;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn-inline {
  width: auto;
  padding: 12px 22px;
}
.credit-note {
  font-size: 13px;
  color: #5f5e5a;
}
.hero-point {
  background: rgba(255,255,255,0.75);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}
.hero-point strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-point span {
  display: block;
  font-size: 12px;
  color: #5f5e5a;
}

/* Container */
.container { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.content-section {
  padding: 0 0 1.25rem;
}
.prose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.prose-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 1.35rem;
}
.prose-wide {
  grid-column: span 2;
}
.prose-card h2 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.prose-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.prose-card p {
  color: #4f4d47;
  margin-bottom: 10px;
  line-height: 1.7;
}
.prose-card p:last-child {
  margin-bottom: 0;
}
.prose-list {
  padding-left: 1.1rem;
  color: #4f4d47;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item + .faq-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(0,0,0,0.08);
}

.legal-hero {
  padding: 3.5rem 0 1.5rem;
}

.legal-section {
  padding: 0 0 4rem;
}

.legal-shell {
  max-width: 860px;
}

.legal-updated {
  margin-top: 1rem;
  font-size: 13px;
  color: #7b7972;
}

.legal-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.legal-card + .legal-card {
  margin-top: 14px;
}

.legal-card h2 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.legal-card p {
  color: #4f4d47;
  line-height: 1.75;
}

.legal-card p + p {
  margin-top: 0.85rem;
}

/* Form */
.form-section {
  padding-top: 1.75rem;
  padding-bottom: 4rem;
}
.form-card {
  background: #ffffff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 2rem;
}
.form-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-sub {
  font-size: 13px;
  color: #888780;
  margin-bottom: 1.5rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.turnstile-wrap {
  margin-top: 6px;
  margin-bottom: 6px;
  overflow-x: auto;
}

.turnstile-wrap-compact {
  margin-bottom: 10px;
}
.field { margin-bottom: 14px; }
.field-row .field { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #5f5e5a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.field label .req { color: #e24b4a; }
.hint-label {
  font-size: 11px;
  color: #888780;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 0.5px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  background: #ffffff;
  color: #1a1a18;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: auto;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #378add;
  box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.12);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: #e24b4a;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.1);
}
.field-hint {
  font-size: 11px;
  color: #888780;
  margin-top: 4px;
}
.field-error {
  min-height: 16px;
  font-size: 11px;
  color: #791f1f;
  margin-top: 5px;
}
.form-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: #1a1a18;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, background 0.15s;
}
.btn-primary:hover { background: #2c2c2a; }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.form-legal {
  font-size: 11px;
  color: #888780;
  text-align: center;
  line-height: 1.5;
}
.form-legal a { text-decoration: underline; color: #888780; }

/* Loading */
.loading-section { padding: 3rem 1.5rem; }
.loading-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid #f1efe8;
  border-top-color: #378add;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage-txt {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.stage-sub {
  font-size: 12px;
  color: #888780;
  margin-bottom: 1.75rem;
}
.progress-rail {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #f1efe8;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #378add 0%, #7f77dd 100%);
  transition: width 0.35s ease;
}
.step-list {
  list-style: none;
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-list li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b4b2a9;
  transition: color 0.3s;
}
.step-list li.active { color: #1a1a18; font-weight: 500; }
.step-list li.done { color: #3b6d11; }
.sdot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1efe8;
  flex-shrink: 0;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.sdot.active { background: #e6f1fb; border: 1.5px solid #378add; }
.sdot.done { background: #eaf3de; color: #3b6d11; }
.load-note {
  font-size: 11px;
  color: #888780;
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* Dashboard */
.dash-section { padding: 0 0 4rem; }

/* Score hero */
.score-hero {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.hero-copy {
  flex: 1;
  min-width: 0;
}
.ring-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.ring-wrap svg { transform: rotate(-90deg); display: block; }
.ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.ring-sub { font-size: 11px; color: #888780; margin-top: 3px; }
.hero-meta { font-size: 12px; color: #888780; margin-bottom: 5px; }
.hero-url { font-size: 17px; font-weight: 600; margin-bottom: 8px; word-break: break-all; }
.hero-summary { font-size: 13px; color: #5f5e5a; line-height: 1.65; margin-bottom: 12px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.grade-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-right: 8px;
}
.report-date { font-size: 12px; color: #888780; }
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.snapshot-item {
  background: #f7f6f2;
  border-radius: 10px;
  padding: 0.95rem 1rem;
}
.snapshot-item span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #888780;
  margin-bottom: 6px;
}
.snapshot-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a18;
}
.snapshot-wide { grid-column: span 2; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.signal-card {
  background: #f7f6f2;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 0.95rem 1rem;
}
.signal-card span,
.mini-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #888780;
  margin-bottom: 6px;
}
.signal-card strong,
.competitor-head strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #1a1a18;
}
.signal-card.tone-good {
  background: #eef7e7;
  border-color: rgba(99,153,34,0.18);
}
.signal-card.tone-warn {
  background: #fff5e6;
  border-color: rgba(186,117,23,0.18);
}
.warning-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.warning-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fcebeb;
  color: #791f1f;
  font-size: 12px;
  line-height: 1.55;
}
.competitor-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.competitor-head > div {
  background: #f7f6f2;
  border-radius: 10px;
  padding: 0.95rem 1rem;
}

/* Section card */
.section-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.sec-hdr h3 {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ico {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-score {
  font-size: 18px;
  font-weight: 600;
}
.sec-score sub { font-size: 11px; color: #888780; font-weight: 400; }
.sec-body { padding: 1.25rem; }

/* Metric grid */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 1rem;
}
.met {
  background: #f7f6f2;
  border-radius: 10px;
  padding: 1rem;
}
.m-lbl {
  font-size: 10px;
  color: #888780;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  font-weight: 500;
}
.m-score { font-size: 22px; font-weight: 600; margin-bottom: 2px; }
.m-sub { font-size: 10px; color: #b4b2a9; }
.mini-bar { height: 3px; border-radius: 2px; background: rgba(0,0,0,0.08); margin-top: 8px; }
.mini-fill { height: 100%; border-radius: 2px; }

/* AI engine bars */
.ai-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  font-size: 13px;
}
.ai-row:last-child { border-bottom: none; }
.ai-lbl { width: 120px; flex-shrink: 0; color: #5f5e5a; }
.ai-bar-wrap { flex: 1; display: flex; align-items: center; gap: 10px; }
.ai-bar { height: 6px; border-radius: 3px; flex-shrink: 0; }
.ai-val { font-size: 13px; font-weight: 500; width: 28px; text-align: right; }

/* Checklist */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ci {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
}
.cdot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}
.pass .cdot { background: #eaf3de; color: #27500a; }
.warn .cdot { background: #faeeda; color: #633806; }
.fail .cdot { background: #fcebeb; color: #791f1f; }
.ci-txt strong { font-weight: 500; display: block; color: #1a1a18; }
.ci-txt span { color: #888780; font-size: 12px; }

/* Keyword table */
.kw-table { width: 100%; font-size: 13px; border-collapse: collapse; table-layout: fixed; }
.kw-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #888780;
  padding: 6px 8px;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.kw-table td {
  padding: 8px;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
  vertical-align: top;
  color: #1a1a18;
  word-break: break-word;
}
.kw-table tr:last-child td { border-bottom: none; }
.kw-table col.c1 { width: 24%; }
.kw-table col.c2 { width: 14%; }
.kw-table col.c3 { width: 26%; }
.kw-table col.c4 { width: 36%; }
.vis-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-block;
}

/* Competitor bars */
.comp-row {
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
}
.comp-row:last-child { border-bottom: none; }
.comp-lbl { font-size: 12px; color: #888780; margin-bottom: 6px; }
.comp-b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 3px;
}
.comp-b:last-child { margin-bottom: 0; }
.comp-name {
  width: 100px;
  flex-shrink: 0;
  color: #5f5e5a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(0,0,0,0.07); }
.bar-fill { height: 100%; border-radius: 3px; }
.comp-v { font-weight: 500; width: 28px; text-align: right; font-size: 12px; }

/* Quick wins */
.qw-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.qw-list li {
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}
.qwchk { color: #27500a; flex-shrink: 0; margin-top: 1px; font-weight: 600; font-size: 12px; }

/* Recommendations */
.rec {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.06);
}
.rec:last-child { border-bottom: none; }
.rec-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f7f6f2;
  color: #888780;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.rec-body strong { font-size: 13px; font-weight: 500; display: block; margin-bottom: 4px; }
.rec-body p { font-size: 12px; color: #5f5e5a; line-height: 1.6; }
.rec-tags { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

/* CTA banner */
.cta-banner {
  background: #1a1a18;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.cta-banner h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.cta-banner p { color: #b4b2a9; font-size: 14px; margin-bottom: 1.5rem; line-height: 1.6; }
.cta-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a1a18;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
}
.cta-banner a:hover { opacity: 0.9; }

/* Action row */
.action-row { display: flex; gap: 10px; margin-top: 1rem; flex-wrap: wrap; }
.btn-secondary {
  padding: 8px 18px;
  border: 0.5px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  background: #fff;
  color: #1a1a18;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #f7f6f2; }
.checkout-btn { width: 100%; }

.flash-wrap {
  padding-top: 1rem;
}
.flash-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flash-card {
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 13px;
}
.flash-success { background: #eaf3de; color: #27500a; }
.flash-error { background: #fcebeb; color: #791f1f; }
.flash-warn { background: #faeeda; color: #633806; }

.account-summary,
.marketing-grid .container,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-summary {
  margin-bottom: 14px;
}
.account-summary > div,
.marketing-card,
.price-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 1.25rem;
  min-width: 0;
  overflow: hidden;
}
.account-summary strong {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
}
.paywall-banner {
  background: #fff5e6;
  border: 1px solid rgba(186,117,23,0.18);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.paywall-banner p {
  margin: 4px 0 12px;
  color: #633806;
}

.auth-page,
.pricing-page {
  padding: 2rem 1.5rem 4rem;
}
.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 2rem;
}
.auth-card h1 {
  font-size: 28px;
  margin-bottom: 6px;
}
.auth-card p {
  color: #5f5e5a;
  margin-bottom: 1rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-form label {
  font-size: 12px;
  text-transform: uppercase;
  color: #5f5e5a;
  letter-spacing: 0.4px;
}
.auth-form input {
  border: 0.5px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1rem;
  font-size: 13px;
  color: #5f5e5a;
  flex-wrap: wrap;
}
.auth-links form {
  margin: 0;
}

.pricing-grid-wrap {
  padding-bottom: 4rem;
}
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pricing-page-updated .hero {
  background: transparent;
  border-bottom: none;
  padding-top: 3.5rem;
  padding-bottom: 3.25rem;
}
.pricing-page-updated .hero-inner {
  max-width: 760px;
}
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f5e5a;
}
.trust-icon,
.guarantee-icon,
.feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon,
.guarantee-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e1f5ee;
  color: #0f6e56;
  font-size: 11px;
  font-weight: 700;
}
.pricing-grid-updated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
}
.plan-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured {
  border: 2px solid #185fa5;
}
.badge-wrap {
  min-height: 24px;
  margin-bottom: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge-popular {
  background: #e6f1fb;
  color: #185fa5;
}
.badge-value {
  background: #eaf3de;
  color: #3b6d11;
}
.plan-credits {
  font-size: 12px;
  color: #888780;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.plan-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a18;
}
.plan-desc {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.55;
  margin-bottom: 18px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 2px;
}
.price-currency {
  font-size: 16px;
  color: #5f5e5a;
}
.price-top h2 {
  font-size: 24px;
  margin: 4px 0;
}
.price-top p {
  color: #5f5e5a;
}
.price-amt {
  font-size: 36px;
  font-weight: 700;
  margin: 1rem 0 0.25rem;
}
.price-sub {
  color: #888780;
  font-size: 13px;
  margin-bottom: 1rem;
}
.price-per {
  font-size: 13px;
  color: #888780;
  margin-bottom: 14px;
}
.savings-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  background: #e1f5ee;
  color: #0f6e56;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.divider {
  border: none;
  border-top: 0.5px solid rgba(0,0,0,0.1);
  margin-bottom: 16px;
}
.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}
.features li {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feat-check {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e1f5ee;
  color: #0f6e56;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
.checkout-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-stack form {
  width: 100%;
}
.btn-primary-accent {
  background: #185fa5;
}
.pricing-contact-note {
  text-align: center;
  font-size: 13px;
  color: #5f5e5a;
  margin-top: 24px;
}
.pricing-contact-note a {
  color: #185fa5;
  text-decoration: none;
  font-weight: 600;
}
.config-note {
  margin-top: 12px;
}
.guarantee-wrap {
  padding: 0 1.5rem 32px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}
.admin-stat {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.admin-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}
.admin-filters-wrap {
  margin-bottom: 1rem;
}
.admin-filters {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 12px;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 1rem;
  align-items: end;
}
.admin-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-filter-actions .btn-secondary,
.admin-filter-actions .btn-primary {
  width: auto;
}
.admin-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 4rem;
}
.admin-scroll {
  overflow-x: auto;
}
.admin-table {
  table-layout: fixed;
}
.admin-table td,
.admin-table th {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}
.admin-table th {
  font-size: 11px;
  line-height: 1.4;
}
.admin-table td {
  line-height: 1.55;
}
.admin-table td:last-child,
.admin-table th:last-child {
  white-space: normal;
}
.admin-row-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.admin-row-actions form {
  margin: 0;
}
.admin-row-actions .btn-secondary {
  width: auto;
  min-width: 84px;
}
.admin-user-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-grid-wrap {
  padding-bottom: 1rem;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.account-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-facts > div {
  background: #f7f6f2;
  border-radius: 12px;
  padding: 1rem;
}
.tag-good {
  background: #eaf3de !important;
  color: #27500a !important;
}
.tag-warn {
  background: #faeeda !important;
  color: #633806 !important;
}
.faq-section {
  padding: 0 1.5rem 56px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-title {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}
.faq-item {
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  padding: 16px 0;
}
.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a18;
  margin-bottom: 8px;
}
.faq-a {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.65;
}
.guarantee {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.guarantee-text strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.guarantee-text span {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.55;
}

/* Footer */
.footer {
  border-top: 0.5px solid rgba(0,0,0,0.08);
  background: #11110f;
  color: #eae7de;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-brand {
  max-width: 420px;
}
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin-bottom: 10px;
}
.footer-brand p {
  color: #b9b4a9;
  font-size: 14px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: #d7d2c6;
  transition: opacity 0.15s;
}
.footer-links a:hover { opacity: 0.8; }

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sample-card,
.sample-page-cta,
.sample-banner {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 16px;
}
.sample-card {
  padding: 1.25rem;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sample-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.sample-card-header,
.sample-card-score,
.sample-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sample-card-header {
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.industry-badge,
.market-badge,
.sample-grade-badge,
.sample-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}
.industry-badge {
  background: #f7f6f2;
  color: #5f5e5a;
}
.market-badge {
  background: #e6f1fb;
  color: #0c447c;
}
.sample-card-score {
  margin-bottom: 0.9rem;
}
.score-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.score-denom {
  font-size: 14px;
  color: #888780;
}
.sample-grade-badge,
.sample-badge {
  background: #1a1a18;
  color: #fff;
}
.brand-name {
  font-size: 24px;
  margin-bottom: 0.35rem;
}
.brand-url,
.brand-summary {
  color: #5f5e5a;
}
.brand-url {
  font-size: 13px;
  margin-bottom: 0.9rem;
  overflow-wrap: anywhere;
}
.brand-summary {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.view-link {
  font-size: 14px;
  font-weight: 600;
}
.sample-page-cta {
  padding: 2rem;
  text-align: center;
}
.sample-page-cta p {
  color: #5f5e5a;
  margin: 0.5rem auto 1.25rem;
  max-width: 680px;
}
.sample-report-page .hero-sub {
  overflow-wrap: anywhere;
}
.sample-banner {
  width: fit-content;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.sample-banner span:last-child {
  color: #5f5e5a;
  font-size: 14px;
}
.sample-report-cta {
  margin-bottom: 2rem;
}

/* Error */
.error-card {
  background: #fcebeb;
  border: 0.5px solid rgba(226,75,74,0.3);
  border-radius: 10px;
  padding: 1.25rem;
  color: #791f1f;
  font-size: 13px;
  margin-bottom: 1rem;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(12px);
  background: #1a1a18;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .score-hero { flex-direction: column; text-align: center; }
  .snapshot-grid, .hero-points, .signal-grid, .competitor-head, .account-summary, .marketing-grid .container, .pricing-grid, .admin-grid, .prose-grid, .admin-filters, .samples-grid, .account-grid, .account-facts, .pricing-grid-updated { grid-template-columns: 1fr; }
  .snapshot-wide { grid-column: span 1; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .hero { padding: 2.5rem 1rem 1.5rem; }
  .auth-links { flex-direction: column; }
  .brand-logo { height: 34px; }
  .prose-wide { grid-column: span 1; }
  .account-pill { max-width: 100%; }
  .guarantee { flex-direction: column; align-items: flex-start; }
}

@media print {
  .navbar, .footer, .action-row, .cta-banner, .btn-primary, .btn-secondary { display: none !important; }
  .dash-section { padding: 1rem !important; }
  .section-card, .score-hero { break-inside: avoid; }
}
