:root {
  --navy: #101828;
  --blue: #2563eb;
  --blue-dark: #1749b9;
  --green: #16a34a;
  --orange: #f59e0b;
  --red: #dc2626;
  --bg: #f8fafc;
  --white: #ffffff;
  --muted: #667085;
  --border: #e5e7eb;
  --soft-blue: #eaf1ff;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
  --shadow-strong: 0 26px 70px rgba(16, 24, 40, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(22, 163, 74, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff, #f8fafc);
}

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
}

.top-announcement {
  display: flex;
  justify-content: center;
  padding: 9px 16px;
  color: #1749b9;
  background: linear-gradient(90deg, #dbeafe, #ecfdf5);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.brand, .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.brand small, .sidebar-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  gap: 20px;
  color: #344054;
  font-size: 15px;
}

.main-nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-link {
  padding: 10px 12px;
  color: #344054;
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.login-link:hover { color: var(--blue); }

.nav-cta {
  padding: 10px 16px;
  color: white;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 700;
}

.section-band, .problem-section, .use-cases, .settings-section, .faq-section, .family-section, .funnel-section, .proof-section, .visual-story-section, .audience-section, .product-demo-section, .testimonial-section, .pain-section, .upgrade-section, .authority-section, .scenario-section, .decision-section, .journey-strip, .engagement-section {
  padding: 78px clamp(18px, 4vw, 72px);
}

.hero > *,
.problem-section > *,
.funnel-section > *,
.use-cases > *,
.premium-experience > *,
.proof-section > *,
.visual-story-section > *,
.audience-section > *,
.product-demo-section > *,
.testimonial-section > *,
.pain-section > *,
.upgrade-section > *,
.authority-section > *,
.scenario-section > *,
.decision-section > *,
.section-band > *,
.seo-hub > *,
.family-section > *,
.pricing-section > *,
.member-flow > *,
.settings-section > *,
.faq-section > *,
.journey-strip,
.engagement-section > * {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 0.8fr);
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(22, 163, 74, 0.08) 46%, rgba(255, 255, 255, 0.72)),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 8%;
  width: 44%;
  height: 52%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.12));
  filter: blur(70px);
  transform: rotate(-8deg);
  animation: breathe 8s ease-in-out infinite alternate;
}

.hero-copy, .hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 { font-size: 22px; margin-bottom: 10px; }
h4 { font-size: 15px; margin-bottom: 8px; }

.hero-subtitle, .section-heading p {
  color: #475467;
  font-size: 19px;
  max-width: 760px;
}

.hero-actions, .trust-row, .sample-row, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: white;
  font-size: 12px;
  font-weight: 900;
}

.muted-icon {
  color: var(--navy);
  background: #eef2ff;
}

.btn-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: #bfdbfe; }

.hero-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-scanner-card {
  max-width: 680px;
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.1);
}

.hero-scanner-card textarea {
  min-height: 128px;
  margin-bottom: 12px;
  resize: vertical;
}

.hero-input-options,
.hero-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-input-options {
  margin: 10px 0 12px;
}

.hero-input-options span {
  padding: 7px 10px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hero-scanner-card .btn {
  width: 100%;
}

.hero-scanner-card small {
  display: block;
  margin-top: 10px;
}

.hero-microcopy {
  margin-top: 12px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
}

.hero-microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-microcopy span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-search-pills a {
  padding: 9px 12px;
  color: #1749b9;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.trust-row {
  margin-top: 28px;
  color: #475467;
}

.trust-row span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.journey-strip article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.journey-strip span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0f766e);
  border-radius: 12px;
  font-weight: 900;
}

.journey-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 17px;
}

.journey-strip p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 178px;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.scan-orbit {
  position: absolute;
  width: min(78vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(22, 163, 74, 0.08) 54%, transparent 66%);
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.shield-illustration {
  position: absolute;
  inset: 16%;
  width: 68%;
  height: 68%;
  filter: drop-shadow(0 28px 38px rgba(16, 24, 40, 0.18));
  animation: floatShield 5.5s ease-in-out infinite;
}

.preview-panel {
  position: relative;
  width: min(92vw, 380px);
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-strong);
  animation: riseIn 0.8s ease both;
}

.hero-mini-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.phone-scan-visual {
  position: relative;
  z-index: 3;
  right: auto;
  top: auto;
  width: 174px;
  min-height: 310px;
  padding: 24px 12px 14px;
  border: 8px solid #101828;
  border-radius: 32px;
  background: #f8fafc;
  box-shadow: 0 24px 58px rgba(16, 24, 40, 0.22);
  animation: floatCard 6s ease-in-out infinite 0.7s;
}

.phone-speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #344054;
  transform: translateX(-50%);
}

.message-bubble {
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}

.danger-bubble {
  color: #991b1b;
  background: #fee2e2;
}

.safe-bubble {
  color: #166534;
  background: #dcfce7;
}

.scan-line {
  height: 46px;
  margin: 16px 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.32), transparent);
  animation: scanMove 2.4s ease-in-out infinite;
}

.hero-mini-card strong,
.hero-mini-card span {
  display: block;
}

.hero-mini-card span {
  color: #475467;
  font-size: 13px;
}

.card-one {
  grid-column: 1;
  grid-row: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.card-two {
  grid-column: 2;
  grid-row: 2;
  animation: floatCard 6s ease-in-out infinite 1.2s;
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 72px) 54px;
  background: white;
}

.conversion-strip div {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
}

.conversion-strip strong,
.conversion-strip span {
  display: block;
}

.conversion-strip span {
  margin-top: 5px;
  color: var(--muted);
}

.funnel-section {
  background: #101828;
  color: white;
}

.funnel-section .section-heading p { color: #d0d5dd; }
.funnel-section .eyebrow { color: #93c5fd; }

.funnel-lane {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.funnel-lane article {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.funnel-lane article > * {
  position: relative;
  z-index: 1;
}

.funnel-lane article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent);
  pointer-events: none;
}

.funnel-lane span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #101828;
  background: white;
  font-weight: 900;
}

.funnel-lane strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.funnel-lane p {
  margin-bottom: 0;
  color: #d0d5dd;
}

.preview-topline, .result-top, .card-heading, .dashboard-header, .mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.risk-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.risk-chip.high { color: #991b1b; background: #fee2e2; }
.risk-chip.medium { color: #92400e; background: #fef3c7; }
.risk-chip.low { color: #166534; background: #dcfce7; }

.score-preview {
  margin: 18px 0;
  font-size: 62px;
  font-weight: 900;
  color: var(--red);
}

.score-preview small { font-size: 22px; color: var(--muted); }

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.problem-section { background: white; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfdff;
}

.problem-grid strong { display: block; margin: 10px 0 6px; }

.tiny-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #eef4ff;
}

.sidebar {
  position: sticky;
  top: 71px;
  height: calc(100vh - 71px);
  padding: 24px;
  background: var(--navy);
  color: white;
}

.sidebar .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.sidebar-brand { margin-bottom: 26px; }
.sidebar-brand small { color: #b6c1d4; }

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 8px;
  color: #d0d5dd;
  border-radius: 12px;
}

.side-link span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.side-link:hover, .side-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard {
  padding: 34px clamp(16px, 3vw, 36px);
  max-width: 1240px;
  width: 100%;
}

.daily-limit {
  padding: 10px 14px;
  border-radius: 999px;
  color: #1749b9;
  background: white;
  border: 1px solid #c7d7fe;
}

.scanner-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.85fr);
  gap: 22px;
}

.scanner-card, .result-card, .history-card, .tips-card, .info-card, .price-card, .family-mockup, .modal-card, .experience-card, .seo-card, .flow-grid article, .proof-card, .quote-grid article, .story-card, .demo-card, .testimonial-card, .scenario-card, .authority-panel, .decision-grid article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.scanner-card:hover, .result-card:hover, .info-card:hover, .price-card:hover, .experience-card:hover, .seo-card:hover, .proof-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.scanner-card, .result-card, .info-card, .price-card, .experience-card, .seo-card, .proof-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scanner-card, .result-card, .history-card, .tips-card {
  padding: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #344054;
}

textarea, input, select {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 13px 14px;
  background: white;
  color: var(--navy);
  outline: none;
}

textarea:focus, input:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field-row {
  margin-bottom: 16px;
}

.privacy-note, .disclaimer, .site-disclaimer, small {
  color: var(--muted);
  font-size: 13px;
}

.two-column-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.mini-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfdff;
}

.sample-row button, .text-button {
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  padding: 9px 12px;
  color: #1749b9;
  background: #eef4ff;
  cursor: pointer;
  font-weight: 700;
}

.analyze-btn {
  width: 100%;
  margin-top: 18px;
  font-size: 18px;
}

.scanner-helper {
  margin: 12px 0 0;
  padding: 12px 14px;
  color: #475467;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.result-card {
  min-height: 620px;
}

.empty-state {
  min-height: 550px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 28px;
}

.empty-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 26px;
  color: white;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), #0f766e);
}

.empty-guidance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.empty-guidance span {
  padding: 8px 10px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hidden { display: none !important; }

.limit-screen {
  min-height: 550px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 34px;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.limit-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #991b1b;
  background: #fee2e2;
  font-weight: 900;
}

.limit-screen h3 {
  max-width: 480px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.limit-screen p {
  max-width: 560px;
  color: #475467;
  font-size: 17px;
}

.limit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.report-guide-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
}

.report-guide-row span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 9px 10px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.score-ring {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: conic-gradient(var(--green) 0deg, var(--green) 250deg, #e5e7eb 250deg);
  box-shadow: inset 0 0 0 10px white, 0 12px 24px rgba(16, 24, 40, 0.1);
}

.score-ring span {
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.score-ring small { margin-top: -10px; }

.report-section, .safe-reply {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.report-metrics div {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
}

.report-metrics span,
.report-metrics strong {
  display: block;
}

.report-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-metrics strong {
  margin-top: 5px;
  font-size: 15px;
}

.verdict-panel,
.link-safety-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
}

.verdict-panel {
  color: white;
  background: linear-gradient(135deg, var(--navy), #1749b9);
}

.verdict-panel h4,
.verdict-panel p {
  color: white;
}

.verdict-panel p,
.link-safety-panel p {
  margin-bottom: 0;
  font-size: 16px;
}

.link-safety-panel {
  border: 1px solid #fed7aa;
  background: #fff7ed;
}

ul { padding-left: 20px; }
li { margin-bottom: 7px; }

.safe-reply {
  padding: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}

.report-section ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.report-section li {
  position: relative;
  margin-bottom: 0;
  padding: 10px 12px 10px 34px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.report-section li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.upgrade-after-scan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.2);
}

.upgrade-after-scan h4 {
  margin-top: 9px;
  margin-bottom: 4px;
  color: white;
}

.upgrade-after-scan p {
  margin-bottom: 0;
  color: #dbeafe;
}

.upgrade-after-scan .btn {
  flex: 0 0 auto;
  color: var(--navy);
  background: white;
  box-shadow: none;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: 22px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfdff;
}

.history-score {
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  font-weight: 900;
}

.history-score.high { color: #991b1b; background: #fee2e2; }
.history-score.medium { color: #92400e; background: #fef3c7; }
.history-score.low { color: #166534; background: #dcfce7; }

.steps-grid, .feature-grid, .trends-grid, .pricing-grid, .settings-grid, .faq-grid, .experience-grid, .seo-grid, .flow-grid, .proof-grid, .quote-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid, .trends-grid, .settings-grid, .faq-grid, .seo-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid {
  grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trends-grid, .seo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card, .price-card, .experience-card, .seo-card, .flow-grid article, .demo-card, .testimonial-card, .scenario-card, .authority-panel, .decision-grid article {
  padding: 22px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--soft-blue);
  font-weight: 900;
}

.proof-section {
  background: white;
}

.proof-grid {
  margin-bottom: 18px;
}

.proof-card {
  padding: 22px;
}

.proof-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0f766e);
  font-weight: 900;
}

.trust-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.trust-signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.authority-section {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(15, 118, 110, 0.08)),
    #ffffff;
}

.authority-panel {
  max-width: 980px;
  padding: clamp(28px, 4vw, 44px);
}

.authority-panel p:last-child {
  margin-bottom: 0;
}

.quote-grid article {
  padding: 22px;
  background: #f8fbff;
}

.quote-grid p {
  color: #344054;
  font-size: 17px;
}

.quote-grid strong {
  color: var(--blue);
}

.audience-section {
  background: white;
}

.product-demo-section {
  background:
    linear-gradient(180deg, #f8fafc, #eef7ff);
}

.scenario-section {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.scenario-grid {
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
}

.scenario-card {
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), #0f766e);
}

.scenario-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: #1749b9;
  background: var(--soft-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scenario-card strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 14px;
}

.demo-card {
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--blue));
}

.demo-card h3 {
  margin-top: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475467;
}

.demo-card strong {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 22px;
  color: var(--navy);
}

.testimonial-section {
  background: white;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0f766e);
  font-weight: 900;
}

.pain-section {
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.06), rgba(245, 158, 11, 0.08)),
    #ffffff;
}

.pain-section .icon-badge {
  color: #991b1b;
  background: #fee2e2;
}

.upgrade-section {
  background:
    linear-gradient(180deg, #eff6ff, #ffffff);
}

.decision-section {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.07), rgba(37, 99, 235, 0.06)),
    #ffffff;
}

.decision-grid {
  grid-template-columns: repeat( auto-fit, minmax(230px, 1fr) );
}

.decision-grid article {
  position: relative;
  overflow: hidden;
}

.decision-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #0f766e);
  border-radius: 12px;
  font-weight: 900;
}

.decision-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.micro-conversion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.micro-conversion-row span,
.pricing-helper {
  display: inline-flex;
  padding: 9px 13px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  font-weight: 800;
}

.pricing-helper {
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  text-align: center;
}

.pricing-confidence-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pricing-confidence-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.pricing-confidence-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.price-card.plus-choice {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 18px 48px rgba(15, 118, 110, 0.14);
}

.comparison-row .plus-col {
  background: #f0fdf4;
  color: #14532d;
  font-weight: 900;
}

.trend-card {
  border-left: 4px solid var(--orange);
}

.trend-card.high { border-left-color: var(--red); }
.trend-card.medium { border-left-color: var(--orange); }
.trend-card.low { border-left-color: var(--green); }

.family-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
  background: white;
}

.coming-soon, .popular {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1749b9;
  background: #dbeafe;
  font-weight: 800;
}

.family-mockup {
  padding: 20px;
}

.mockup-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.mockup-row:last-child { border-bottom: 0; }
.mockup-row button { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); }

.pricing-section { background: white; }

.premium-experience, .seo-hub, .member-flow, .seo-article {
  padding: 78px clamp(18px, 4vw, 72px);
  background: white;
}

.premium-experience {
  background:
    linear-gradient(180deg, #ffffff, #f1f7ff);
}

.seo-hub {
  background:
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.seo-page {
  background: #f8fafc;
}

.seo-page .hero {
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 72px;
}

.seo-page .legal-panel {
  max-width: 1120px;
}

.seo-page .legal-panel h2 {
  margin-top: 34px;
}

.seo-page .legal-panel h2:first-of-type {
  margin-top: 0;
}

.seo-page .legal-panel li {
  margin-bottom: 10px;
  color: #344054;
}

.seo-page .seo-grid {
  margin: 20px 0 34px;
}

.useful-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.useful-list li {
  margin-bottom: 0;
  padding: 9px 12px;
  color: #1749b9;
  background: #eff6ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  font-weight: 800;
}

.authority-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 30px;
}

.authority-example-grid article,
.recommendation-box {
  padding: 22px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.authority-example-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: #1749b9;
  background: var(--soft-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.authority-table-wrap {
  margin: 18px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.authority-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
}

.authority-table th,
.authority-table td {
  padding: 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.authority-table th {
  color: var(--navy);
  background: #eff6ff;
  font-weight: 900;
}

.authority-table tr:last-child td {
  border-bottom: 0;
}

.authority-checklist {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.authority-checklist li::marker {
  color: var(--blue);
  font-weight: 900;
}

.recommendation-box {
  margin: 28px 0;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.08)),
    #ffffff;
}

.recommendation-box h3 {
  margin-bottom: 8px;
}

.contextual-links {
  padding: 16px 18px;
  background: #f8fafc;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
}

.authority-page,
.article-page {
  background: #f8fafc;
}

.authority-page > *,
.article-page > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 32px) 0;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--blue);
}

.authority-hero,
.article-hero {
  padding: 70px clamp(18px, 4vw, 32px) 42px;
}

.authority-hero h1,
.article-hero h1 {
  max-width: 860px;
}

.authority-hero p,
.article-hero p {
  max-width: 820px;
  font-size: 18px;
  color: #475467;
}

.authority-section-block,
.article-layout {
  padding: 34px clamp(18px, 4vw, 32px);
}

.article-grid,
.resource-grid,
.category-grid,
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card,
.resource-card,
.checklist-grid article {
  display: block;
  padding: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.article-card span,
.article-list span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #1749b9;
  font-size: 13px;
  font-weight: 900;
}

.featured-article {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(15, 118, 110, 0.08)),
    #ffffff;
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-grid a {
  padding: 14px;
  text-align: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 900;
}

.blog-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.blog-search label {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-weight: 900;
}

.blog-search input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.article-layout {
  max-width: 940px;
}

.toc,
.author-box {
  padding: 20px;
  margin: 20px 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toc strong {
  width: 100%;
}

.toc a {
  color: var(--blue);
  font-weight: 800;
}

.article-layout section {
  margin: 30px 0;
}

.seo-card {
  position: relative;
  overflow: hidden;
}

.seo-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.member-flow {
  background: #f8fbff;
}

.visual-story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(22, 163, 74, 0.06)),
    #f8fafc;
}

.visual-story-section > * {
  max-width: none;
}

.visual-copy p {
  color: #475467;
  font-size: 18px;
}

.story-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.story-card {
  min-height: 250px;
  padding: 22px;
}

.proof-card,
.quote-grid article,
.story-card,
.funnel-lane article {
  min-height: 190px;
}

.story-card span {
  display: inline-flex;
  padding: 7px 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-weight: 900;
}

.before-card span {
  color: #991b1b;
  background: #fee2e2;
}

.after-card span {
  color: #166534;
  background: #dcfce7;
}

.before-card p {
  color: #991b1b;
  font-weight: 900;
  font-size: 22px;
}

.after-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 24px;
}

.story-arrow {
  padding: 10px 12px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.flow-grid article span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.flow-grid article strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: #93c5fd;
  box-shadow: 0 22px 54px rgba(37, 99, 235, 0.18);
  transform: translateY(-8px);
}

.price {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 4px;
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

.price-card .btn { width: 100%; margin-top: 12px; }

.comparison-table {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { border-bottom: 0; }

.comparison-row span {
  padding: 14px;
  border-right: 1px solid var(--border);
}

.comparison-row span:last-child { border-right: 0; }

.comparison-head {
  color: white;
  background: var(--navy);
  font-weight: 900;
}

.final-cta-section {
  padding: 78px clamp(18px, 4vw, 72px);
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.engagement-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.engagement-card {
  min-height: 210px;
  padding: 22px;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.engagement-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.12);
}

.engagement-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #1749b9;
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.engagement-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.engagement-card p {
  margin: 0;
  color: #667085;
}

.final-cta-section > div {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-section .eyebrow,
.final-cta-section h2,
.final-cta-section p {
  color: white;
}

.final-cta-section .hero-actions {
  justify-content: center;
}

.legal-link { display: block; }

details {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

summary + p {
  margin-top: 10px;
  color: #475467;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 72px);
  color: white;
  background: var(--navy);
}

.site-footer p { margin-bottom: 0; color: #b6c1d4; }
.footer-links a { color: #d0d5dd; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 40, 0.46);
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(460px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-consent p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  background: white;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button[data-cookie-choice="accepted"] {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.auth-card {
  width: min(520px, 100%);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.auth-brand h3 {
  margin-bottom: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.auth-tabs button {
  border: 0;
  border-radius: 10px;
  padding: 10px;
  color: #475467;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form .btn {
  width: 100%;
  margin-top: 8px;
}

.auth-note {
  margin-top: 16px;
  padding: 12px;
  color: #475467;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
}

.auth-note.success {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.auth-page-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(22, 163, 74, 0.08)),
    var(--bg);
}

.auth-page {
  width: min(520px, 100%);
}

.auth-page .brand {
  margin-bottom: 22px;
}

.auth-panel {
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
}

.auth-panel h1 {
  font-size: 40px;
  line-height: 1.05;
}

.auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--blue);
  font-weight: 900;
}

.form-error {
  padding: 12px 14px;
  margin: 16px 0;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  font-weight: 800;
}

.form-success {
  padding: 12px 14px;
  margin: 16px 0;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  font-weight: 800;
}

.member-dashboard,
.account-page {
  padding: 34px clamp(18px, 4vw, 72px) 78px;
}

.dashboard-hero,
.dashboard-page-grid,
.member-dashboard .dashboard-lower,
.account-page .legal-panel {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.dashboard-hero > div,
.member-status-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}

.dashboard-hero h1 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 54px);
}

.member-status-card h3 {
  margin-top: 12px;
}

.dashboard-page-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.85fr);
  gap: 22px;
}

.server-history {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.account-grid div {
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.account-grid strong,
.account-grid span {
  display: block;
}

.account-grid span {
  margin-top: 6px;
  color: #475467;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  cursor: pointer;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 20px;
}

.legal-page .brand { margin-bottom: 30px; }
.legal-panel {
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .hero, .app-shell, .scanner-grid, .dashboard-lower, .family-section {
    grid-template-columns: 1fr;
  }
  .dashboard-hero,
  .dashboard-page-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    grid-template-columns: minmax(280px, 1fr) 178px;
    max-width: 720px;
  }
  .conversion-strip, .problem-grid, .funnel-lane, .proof-grid, .quote-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid, .authority-example-grid, .visual-story-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid, .trends-grid, .seo-grid, .settings-grid, .faq-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid, .authority-example-grid, .article-grid, .resource-grid, .category-grid, .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .sidebar-brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .side-link { margin-bottom: 0; }
}

@media (max-width: 720px) {
  .site-header { align-items: center; }
  .login-link { display: none; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .two-column-inputs, .steps-grid, .pricing-grid, .conversion-strip, .problem-grid, .experience-grid, .flow-grid, .funnel-lane, .proof-grid, .quote-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid, .authority-example-grid, .visual-story-section, .story-visual, .journey-strip, .report-guide-row, .engagement-grid {
    grid-template-columns: 1fr;
  }
  .report-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard-hero,
  .dashboard-page-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid, .trends-grid, .seo-grid, .settings-grid, .faq-grid, .demo-grid, .testimonial-grid, .scenario-grid, .decision-grid, .authority-example-grid, .article-grid, .resource-grid, .category-grid, .checklist-grid {
    grid-template-columns: 1fr;
  }
  .hero-scanner-card {
    padding: 14px;
    border-radius: 16px;
  }
  .hero-scanner-card textarea {
    min-height: 112px;
  }
  .hero-input-options span,
  .hero-microcopy,
  .empty-guidance span,
  .report-guide-row span,
  .pricing-confidence-row span {
    font-size: 12px;
  }
  .journey-strip,
  .engagement-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .engagement-card {
    min-height: auto;
  }
  .comparison-row {
    grid-template-columns: 1fr;
  }
  .comparison-row span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .comparison-row span:last-child {
    border-bottom: 0;
  }
  .card-one, .card-two {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 10px auto;
  }
  .phone-scan-visual {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    right: auto;
    top: auto;
    margin: 12px auto;
  }
  .preview-panel {
    width: 100%;
  }
  .scan-orbit {
    width: min(78vw, 320px);
  }
  .upgrade-after-scan {
    align-items: stretch;
    flex-direction: column;
  }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .dashboard-header, .result-top, .card-heading, .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cookie-consent {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
  .featured-article {
    grid-column: auto;
  }
  .blog-search {
    grid-template-columns: 1fr;
  }
  .article-list a {
    flex-direction: column;
  }
  .score-ring { width: 104px; height: 104px; flex-basis: 104px; }
  h1 { font-size: 42px; }
  .auth-panel h1 { font-size: 34px; }
}

@media (max-width: 460px) {
  .sidebar { grid-template-columns: 1fr; }
  .history-item { grid-template-columns: 1fr; }
  .section-band, .problem-section, .use-cases, .settings-section, .faq-section, .family-section, .funnel-section, .proof-section, .visual-story-section, .audience-section, .product-demo-section, .testimonial-section, .pain-section, .upgrade-section, .authority-section, .scenario-section, .decision-section, .journey-strip, .engagement-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1440px) {
  .hero {
    min-height: 760px;
  }
  h1 {
    font-size: 72px;
  }
  .section-heading {
    max-width: 860px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes breathe {
  from { opacity: 0.55; transform: rotate(-8deg) scale(0.98); }
  to { opacity: 0.9; transform: rotate(-3deg) scale(1.05); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.98); opacity: 0.82; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scanMove {
  0%, 100% { transform: translateY(-8px); opacity: 0.65; }
  50% { transform: translateY(18px); opacity: 1; }
}
