:root {
  --teal: #0f766e;
  --teal-2: #115e59;
  --coral: #f9735b;
  --coral-dark: #ea580c;
  --cream: #fff7ed;
  --navy: #1e293b;
  --slate: #64748b;
  --light-slate: #94a3b8;
  --sand: #fdecc8;
  --mint: #ccfbf1;
  --sky: #e0f2fe;
  --peach: #ffe4d6;
  --lemon: #fef3c7;
  --border: #e2e8f0;
  --warm-border: #fed7aa;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.12);
  --soft-shadow: 0 14px 34px rgba(15, 118, 110, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 91, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 247, 237, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(254, 215, 170, 0.8);
}

.nav-shell {
  width: min(1180px, calc(100% - 28px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--teal);
}

.brand-mark,
.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--teal);
  color: white;
  font-family: Fraunces, Georgia, serif;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.brand-symbol {
  display: block;
  object-fit: contain;
  background: white;
  padding: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links .nav-cta {
  color: white;
  background: var(--coral);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 14px 26px rgba(249, 115, 91, 0.22);
}

.nav-links .nav-cta:hover {
  color: white;
  background: var(--coral-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--warm-border);
  background: white;
  color: var(--teal);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero {
  padding-top: 70px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.mini-label {
  color: var(--teal);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  padding: 9px 13px;
  box-shadow: var(--soft-shadow);
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
}

.hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(34px, 6vw, 64px);
  color: var(--navy);
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 16px 32px rgba(249, 115, 91, 0.24);
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button.secondary {
  background: white;
  color: var(--teal);
  border-color: #99f6e4;
}

.button.secondary:hover {
  background: var(--mint);
}

.trust-line {
  margin-top: 18px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
}

.hero-visual > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--warm-border);
  box-shadow: var(--shadow);
}

.hero-report-mockup {
  height: 520px;
  border-radius: 28px;
  border: 1px solid var(--warm-border);
  background: linear-gradient(180deg, white, #fff7ed);
  box-shadow: var(--shadow);
  padding: 30px;
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: hidden;
}

.mock-report-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-report-header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

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

.mock-report-header strong {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mock-report-header span,
.mock-report-section p {
  color: var(--slate);
  font-size: 13px;
}

.mock-report-title {
  font-family: Fraunces, Georgia, serif;
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
}

.mock-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--mint);
  border: 1px solid #99f6e4;
  border-radius: 20px;
  padding: 18px;
}

.mock-score-row span {
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 48px;
  font-weight: 800;
}

.mock-score-row em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.mock-score-row strong {
  margin-left: auto;
  color: var(--navy);
}

.mock-rubric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mock-rubric-grid div,
.mock-report-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.mock-rubric-grid span {
  display: block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.mock-rubric-grid strong,
.mock-report-section strong {
  color: var(--teal);
}

.floating-note {
  position: absolute;
  z-index: 2;
  border-radius: 18px;
  padding: 12px 15px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(30, 41, 59, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.note-lemon {
  top: 34px;
  right: 22px;
  background: var(--lemon);
  transform: rotate(2deg);
}

.note-coral {
  left: 20px;
  bottom: 132px;
  color: #9a3412;
  background: var(--peach);
  transform: rotate(-2deg);
}

.report-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--warm-border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(30, 41, 59, 0.16);
}

.report-overlay strong {
  display: block;
  margin-top: 3px;
}

.score-ring {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, white 58%, transparent 59%),
    conic-gradient(var(--teal) 0 68%, #fdecc8 68% 100%);
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 800;
}

.problem-band,
.audience-band {
  background: white;
}

.niche-band {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.alt-band {
  background: #f8fafc;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.report-preview-grid h2,
.split-section h2,
.faq-wrap h2,
.final-cta h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.wide-copy,
.split-section p {
  color: var(--slate);
  font-size: 17px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.check-card,
.pricing-card,
.steps article,
.receipt-card,
.legal-page,
.pdf-sheet {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
}

.feature-card,
.check-card,
.steps article {
  border-radius: 24px;
  padding: 26px;
}

.feature-card h3,
.check-card h3,
.steps h3 {
  margin-top: 18px;
  font-size: 22px;
}

.feature-card p,
.check-card p,
.steps p,
.pricing-card p {
  color: var(--slate);
}

.icon-chip,
.icon-line {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.icon-chip.coral {
  background: var(--peach);
  color: var(--coral-dark);
}

.icon-chip.amber {
  background: var(--lemon);
  color: #92400e;
}

.check-card {
  border-top: 4px solid var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps span {
  color: var(--coral);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.report-preview-grid,
.split-section,
.faq-wrap,
.admin-header,
.sample-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.preview-stack {
  display: grid;
  gap: 12px;
}

.preview-card {
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 18px;
  padding: 18px 20px;
  color: var(--teal-2);
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fit-grid,
.sample-card-grid,
.upsell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fit-card,
.sample-card,
.upsell-grid article {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.fit-card.yes {
  border-top: 4px solid var(--teal);
}

.fit-card.no {
  border-top: 4px solid var(--coral);
}

.fit-card.deliverable {
  border-top: 4px solid #f59e0b;
}

.fit-card h3,
.sample-card h3 {
  margin-top: 16px;
  font-size: 22px;
}

.fit-card ul {
  padding-left: 20px;
  color: var(--slate);
}

.sample-library-band {
  background: #f8fafc;
}

.sample-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sample-card p {
  color: var(--slate);
}

.sample-card-button {
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sample-card-button.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16), var(--soft-shadow);
}

.audience-grid span,
.trust-grid span {
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.credit-pack {
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.credit-pack strong,
.credit-pack span {
  display: block;
}

.credit-pack span {
  color: var(--coral-dark);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  margin: 5px 0;
}

.pricing-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
}

.pricing-card.highlight {
  border-color: var(--coral);
  box-shadow: 0 22px 60px rgba(249, 115, 91, 0.18);
}

.pricing-card .badge {
  display: inline-flex;
  color: #9a3412;
  background: var(--peach);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  margin: 20px 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 42px;
  color: var(--teal);
}

.pricing-card ul,
.report-section ul,
.better-list {
  padding-left: 20px;
}

.pricing-card li,
.report-section li {
  margin: 8px 0;
}

.trust-band {
  background: var(--teal);
  color: white;
}

.trust-band .section-kicker {
  color: var(--mint);
}

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

.trust-grid span {
  color: var(--navy);
  background: white;
}

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

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 18px;
  color: var(--slate);
}

.faq-item.open p {
  display: block;
}

.final-cta {
  background: linear-gradient(135deg, var(--sand), var(--mint));
  padding: 70px 0;
  text-align: center;
}

.final-cta p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--slate);
}

.form-shell {
  max-width: 1120px;
}

.form-intro {
  max-width: 780px;
  margin-bottom: 34px;
}

.form-intro h1,
.thank-you h1,
.sample-page h1,
.admin-page h1,
.legal-page h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.form-intro p,
.thank-you p,
.sample-header p,
.legal-page p {
  color: var(--slate);
  font-size: 17px;
}

.form-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.stepper {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 10px;
}

.step-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  color: var(--slate);
  font-weight: 800;
}

.step-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8fafc;
  font-family: "IBM Plex Mono", monospace;
}

.step-item.active {
  border-color: #99f6e4;
  color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.step-item.complete span {
  background: var(--teal);
  color: white;
}

.idea-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  font-size: 32px;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  position: relative;
}

label:has(input[required])::after,
label:has(select[required])::after,
label:has(textarea[required])::after,
.required-group legend::after {
  content: " *";
  color: #dc2626;
  font-weight: 900;
}

label.wide,
.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fffaf4;
  color: var(--navy);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

fieldset {
  margin: 24px 0 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

legend {
  padding: 0 8px;
  font-weight: 800;
  color: var(--teal);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-grid label,
.terms label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: var(--slate);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--teal);
}

input[type="radio"] {
  accent-color: var(--teal);
}

.package-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.package-choice {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fffaf4;
  cursor: pointer;
  min-height: 164px;
}

.package-choice.highlight {
  border-color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.package-choice input {
  width: 18px;
  height: 18px;
}

.package-choice:has(input:checked) {
  border-color: var(--coral);
  background: white;
  box-shadow: 0 14px 34px rgba(249, 115, 91, 0.14);
}

.package-choice-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.package-choice-head strong {
  color: var(--teal);
  font-size: 18px;
}

.package-choice-head em {
  color: var(--coral-dark);
  font-style: normal;
  font-weight: 900;
}

.package-choice-badge,
.package-choice-items {
  color: var(--slate);
  font-size: 13px;
}

.package-choice-badge {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-note {
  margin-top: 18px;
  background: var(--mint);
  border: 1px solid #99f6e4;
  border-radius: 18px;
  padding: 18px;
  color: var(--teal-2);
  font-weight: 700;
}

.review-panel {
  display: grid;
  gap: 12px;
}

.review-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.review-row span:first-child {
  color: var(--slate);
  font-weight: 800;
}

.form-error {
  min-height: 24px;
  color: #b91c1c;
  font-weight: 800;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.submit-button {
  display: none;
}

.receipt-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 36px;
}

.auth-card,
.contact-card,
.referral-card,
.dashboard-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-card h1,
.contact-card h1,
.referral-card h1,
.dashboard-header h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.auth-card p,
.contact-card p,
.referral-card p,
.dashboard-header p,
.auth-fine-print {
  color: var(--slate);
}

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

.auth-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--cream);
}

.auth-mode-toggle button,
.google-auth-button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--slate);
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  cursor: pointer;
}

.auth-mode-toggle button.active {
  background: white;
  color: var(--teal);
  box-shadow: var(--soft-shadow);
}

.google-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: white;
}

.google-auth-button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-family: "IBM Plex Mono", monospace;
}

.auth-provider-note {
  margin: -6px 0 0;
  color: var(--slate);
  font-size: 13px;
}

.auth-required-note {
  margin-top: 18px;
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--teal);
  font-weight: 800;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.report-history {
  display: grid;
  gap: 18px;
}

.history-card,
.empty-state {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--soft-shadow);
}

.history-card h2,
.empty-state h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--teal);
  font-size: 28px;
  margin-top: 10px;
}

.referral-code-box {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 20px;
  padding: 18px;
}

.referral-code-box strong {
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
}

.referral-custom-form,
.referral-stats {
  grid-column: 1 / -1;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.credit-footer {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 40;
  color: rgba(100, 116, 139, 0.78);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.upsell-panel {
  margin: 34px auto 0;
  max-width: 980px;
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
}

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

.upsell-grid article {
  border-radius: 18px;
  padding: 18px;
  background: #fffaf4;
}

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

.upsell-grid strong {
  color: var(--teal);
}

.upsell-grid span {
  margin: 7px 0;
  color: var(--coral-dark);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.upsell-grid p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 14px;
}

.receipt-card dl {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.receipt-card dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

dt {
  color: var(--slate);
  font-weight: 800;
}

dd {
  margin: 0;
}

.sample-page {
  max-width: 1100px;
}

.sample-header {
  margin-bottom: 28px;
}

.sample-header .button {
  justify-self: end;
}

.pdf-sheet {
  border-radius: 12px;
  padding: 34px;
  color: var(--navy);
}

.pdf-topline,
.pdf-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--slate);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.pdf-topline strong {
  color: var(--teal);
}

.pdf-cover {
  background: var(--cream);
  border: 1px solid var(--warm-border);
  border-radius: 22px;
  padding: 32px;
  margin: 28px 0;
}

.pdf-cover h2 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--teal);
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  color: var(--slate);
}

.verdict-card {
  margin-top: 24px;
  background: white;
  border-left: 6px solid var(--coral);
  border-radius: 20px;
  padding: 22px;
}

.verdict-card span {
  color: var(--slate);
  font-weight: 800;
}

.verdict-card strong {
  display: block;
  margin: 6px 0 14px;
  font-size: 30px;
  color: var(--coral-dark);
}

.verdict-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verdict-metrics span {
  background: var(--peach);
  border-radius: 999px;
  padding: 8px 10px;
  color: #9a3412;
}

.report-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.report-section h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 27px;
  color: var(--teal);
  margin-bottom: 12px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.score-grid div,
.flaw-grid div {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: #fffaf4;
}

.score-grid span {
  color: var(--slate);
  font-weight: 800;
}

.score-grid strong {
  display: block;
  margin: 6px 0;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
}

.two-col-report,
.flaw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: white;
}

th {
  background: var(--teal);
  color: white;
  text-align: left;
  padding: 12px;
}

td {
  border: 1px solid var(--border);
  padding: 12px;
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background: #fffaf4;
}

.threat {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.threat.high {
  background: var(--peach);
  color: #9a3412;
}

.threat.moderate {
  background: var(--lemon);
  color: #92400e;
}

.threat.low {
  background: var(--mint);
  color: var(--teal-2);
}

.disclaimer-note {
  color: var(--slate);
  font-size: 14px;
}

pre {
  white-space: pre-wrap;
  background: #0f172a;
  color: #e0f2fe;
  border-radius: 18px;
  padding: 18px;
  overflow: auto;
}

code {
  font-family: "IBM Plex Mono", monospace;
}

.pdf-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  padding: 18px 0 0;
}

.sample-cta {
  margin-top: 28px;
  text-align: center;
  background: white;
  border: 1px solid var(--warm-border);
  border-radius: 24px;
  padding: 26px;
}

.pdf-document {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.pdf-page {
  position: relative;
  width: min(100%, 210mm);
  min-height: 297mm;
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: 0 22px 60px rgba(30, 41, 59, 0.14);
  padding: 22mm 18mm 20mm;
  overflow: hidden;
}

.pdf-page::before {
  content: "VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\A VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\A VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\A VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\A VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\A VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY\00a0\00a0 VALIDLY";
  position: absolute;
  inset: -28mm -55mm;
  color: rgba(15, 118, 110, 0.035);
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 42mm;
  pointer-events: none;
  transform: rotate(-28deg);
  white-space: pre;
  z-index: 0;
}

.pdf-page > * {
  position: relative;
  z-index: 1;
}

.pdf-cover-page {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 55%, #f8fafc 100%);
  border-top: 10px solid var(--teal);
}

.pdf-brand-row,
.pdf-page-header,
.pdf-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pdf-brand-row {
  border-bottom: 1px solid var(--warm-border);
  padding-bottom: 16px;
}

.pdf-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pdf-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal);
  color: white;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
}

.pdf-brand-symbol {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.pdf-mini-symbol {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
  margin-right: 5px;
}

.pdf-mini-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0;
  margin-right: 6px;
  vertical-align: -3px;
}

.pdf-confidential,
.pdf-kicker,
.pdf-small-note,
.pdf-page-header,
.pdf-page-footer,
.pdf-meta-grid span,
.pdf-verdict-strip span,
.pdf-score-grid span,
.pdf-version-list span {
  color: var(--slate);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdf-cover-main {
  margin: 46mm 0 24mm;
}

.pdf-cover-main h2,
.pdf-page h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--teal);
}

.pdf-cover-main h2 {
  max-width: 152mm;
  font-size: 36px;
  line-height: 1.05;
}

.pdf-subtitle {
  max-width: 130mm;
  color: var(--slate);
  font-size: 16px;
}

.pdf-verdict-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 10px;
  margin-top: 24px;
}

.pdf-verdict-strip div,
.pdf-meta-grid div,
.pdf-score-grid div,
.pdf-version-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.pdf-verdict-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--coral-dark);
  font-size: 17px;
}

.pdf-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: auto;
}

.pdf-meta-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.pdf-cover-note {
  margin: 16px 0 0;
  color: var(--slate);
  font-size: 12px;
}

.pdf-page-header {
  position: absolute;
  left: 18mm;
  right: 18mm;
  top: 10mm;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.pdf-page-header strong {
  color: var(--teal);
}

.pdf-page-footer {
  position: absolute;
  left: 18mm;
  right: 18mm;
  bottom: 9mm;
  border-top: 1px solid var(--border);
  padding-top: 6px;
}

.pdf-page h2 {
  margin: 12px 0 12px;
  font-size: 25px;
}

.pdf-page h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
}

.pdf-page p,
.pdf-page li,
.pdf-table td,
.pdf-table th {
  font-size: 12px;
  line-height: 1.45;
}

.pdf-callout {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  border: 1px solid var(--border);
}

.pdf-callout strong {
  color: var(--teal);
}

.pdf-callout.warning {
  background: var(--peach);
  border-color: var(--warm-border);
}

.pdf-callout.info {
  background: var(--sky);
}

.pdf-callout.action {
  background: var(--lemon);
  border-color: var(--warm-border);
}

.pdf-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.pdf-score-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
}

.pdf-score-grid p {
  margin: 6px 0 0;
  color: var(--slate);
}

.pdf-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  margin: 10px 0 16px;
}

.pdf-table th {
  width: 28%;
  background: var(--teal);
  color: white;
  font-weight: 800;
}

.pdf-table th,
.pdf-table td {
  border: 1px solid var(--border);
  padding: 8px 9px;
  vertical-align: top;
}

.pdf-table.compact th {
  width: auto;
}

.pdf-table.compact td,
.pdf-table.compact th {
  font-size: 10.5px;
}

.pdf-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.pdf-two-column > div {
  background: #fffaf4;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.pdf-version-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.pdf-version-list p {
  margin: 5px 0 0;
}

.pdf-query {
  margin: 10px 0 12px;
  border-radius: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #e0f2fe;
  background: #0f172a;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0;
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.stat-card strong {
  display: block;
  color: var(--teal);
  font-size: 28px;
}

.admin-table-wrap,
.admin-detail {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.admin-table tbody tr {
  cursor: pointer;
}

.admin-table tbody tr:hover {
  background: var(--mint);
}

.admin-detail {
  margin-top: 18px;
  display: none;
}

.admin-detail-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-detail-head p {
  margin: 8px 0 0;
  color: var(--slate);
}

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

.admin-actions button {
  border: 1px solid var(--border);
  background: #fffaf4;
  color: var(--slate);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-actions button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.admin-actions button[data-generate-report] {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}

.admin-actions button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-grid div {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.detail-grid span {
  display: block;
  color: var(--slate);
  font-weight: 800;
  font-size: 13px;
}

.manual-workflow {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.manual-workflow h3 {
  font-family: Fraunces, Georgia, serif;
  color: var(--teal);
  font-size: 27px;
}

.manual-workflow p {
  color: var(--slate);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checklist-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffaf4;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
}

.report-draft-panel {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.report-draft-panel.empty {
  color: var(--slate);
}

.report-draft-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.report-draft-panel h3 {
  font-family: Fraunces, Georgia, serif;
  color: var(--teal);
  font-size: 27px;
}

.report-draft-panel p {
  color: var(--slate);
}

.api-warning {
  background: var(--peach);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 14px;
  color: #9a3412 !important;
  font-weight: 800;
}

.download-warning {
  background: #f0fdfa;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 16px;
  padding: 14px;
  color: var(--teal) !important;
  font-weight: 700;
}

.email-status {
  background: var(--sky);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 14px;
  color: #075985 !important;
  font-weight: 700;
}

.draft-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.draft-metrics div {
  background: #fffaf4;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.literature-table-wrap {
  margin-top: 12px;
}

.literature-table th,
.literature-table td {
  font-size: 12px;
  vertical-align: top;
}

.locked-feature {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 244, 0.78)),
    repeating-linear-gradient(45deg, rgba(15, 118, 110, 0.08) 0 8px, rgba(255, 255, 255, 0.14) 8px 16px);
  color: var(--slate);
}

.locked-feature strong {
  display: block;
  color: var(--teal);
  margin-bottom: 4px;
}

.locked-feature p {
  margin: 0;
}

.locked-feature span {
  flex: 0 0 auto;
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: white;
  color: var(--coral-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.draft-metrics span {
  display: block;
  color: var(--slate);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.draft-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--teal);
}

.report-draft-panel details {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 10px;
  background: white;
}

.report-draft-panel summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 800;
}

.legal-page {
  max-width: 850px;
  border-radius: 28px;
  padding: 36px;
}

.site-footer {
  background: var(--navy);
  color: white;
  padding: 46px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 34px;
}

.footer-grid p {
  max-width: 360px;
  color: #cbd5e1;
}

.footer-grid h2 {
  font-family: Inter, sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--mint);
}

.footer-grid a:not(.brand) {
  display: block;
  color: #e2e8f0;
  text-decoration: none;
  margin: 8px 0;
}

.footer-brand {
  color: white;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--warm-border);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .report-preview-grid,
  .split-section,
  .faq-wrap,
  .sample-header,
  .admin-header,
  .auth-card,
  .contact-card,
  .referral-card,
  .dashboard-header,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
    height: 420px;
  }

  .card-grid.three,
  .card-grid.six,
  .steps,
  .pricing-grid,
  .credit-pack-grid,
  .fit-grid,
  .sample-card-grid,
  .upsell-grid,
  .score-grid,
  .draft-metrics,
  .flaw-grid,
  .admin-summary,
  .account-summary,
  .referral-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .report-overlay {
    grid-template-columns: 1fr;
  }

  .score-ring {
    justify-self: start;
  }

  .card-grid.three,
  .card-grid.six,
  .steps,
  .pricing-grid,
  .credit-pack-grid,
  .fit-grid,
  .sample-card-grid,
  .upsell-grid,
  .score-grid,
  .two-col-report,
  .flaw-grid,
  .audience-grid,
  .form-grid,
  .checkbox-grid,
  .checklist-grid,
  .draft-metrics,
  .admin-summary,
  .account-summary,
  .referral-stats,
  .footer-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    grid-template-columns: 1fr;
  }

  .idea-form,
  .receipt-card,
  .auth-card,
  .contact-card,
  .referral-card,
  .dashboard-header,
  .pdf-page,
  .legal-page {
    padding: 22px;
    border-radius: 20px;
  }

  .referral-code-box {
    align-items: stretch;
    flex-direction: column;
  }

  .pdf-page {
    min-height: auto;
  }

  .pdf-verdict-strip,
  .pdf-meta-grid,
  .pdf-score-grid,
  .pdf-two-column {
    grid-template-columns: 1fr;
  }

  .receipt-card dl div,
  .review-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sample-header .button {
    justify-self: stretch;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: white;
  }

  .site-header,
  .site-footer,
  .sample-header,
  .sample-cta {
    display: none;
  }

  .page {
    display: none !important;
  }

  .page[data-page="sample-report"] {
    display: block !important;
  }

  .section-pad {
    padding: 0;
  }

  .container {
    width: 100%;
  }

  .pdf-document {
    display: block;
  }

  .pdf-page {
    width: 210mm;
    min-height: 297mm;
    height: 297mm;
    margin: 0;
    border: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }

  .pdf-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .pdf-cover-page {
    border-top: 10px solid var(--teal);
  }

  .pdf-table {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .pdf-callout,
  .pdf-score-grid,
  .pdf-two-column,
  .pdf-version-list {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .pdf-query {
    white-space: pre-wrap;
  }

  .pdf-sheet {
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }
}
