:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --soft-accent: rgba(37, 99, 235, 0.08);
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.10);
}

* {
  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(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32rem),
    var(--bg);
}

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
}

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.hero {
  width: min(920px, calc(100% - 40px));
  margin: 70px auto 55px;
  text-align: center;
}

.badge,
.section-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-subtitle {
  width: min(680px, 100%);
  margin: 24px auto 32px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary-button.full {
  width: 100%;
  margin-top: 6px;
}

.calculator-section,
.method-section,
.report-section,
.privacy-section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.calculator-card,
.method-card,
.report-card,
.privacy-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
  backdrop-filter: blur(16px);
}

.card-intro,
.method-card,
.report-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.card-intro {
  margin-bottom: 26px;
  align-items: end;
}

.card-intro h2,
.trust-header h2,
.method-card h2,
.insights h2,
.report-card h2,
.privacy-card h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.card-intro p,
.trust-header p,
.method-card p,
.insights p,
.report-card p,
.privacy-card p,
.cta-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.loss-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #374151;
}

.loss-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 15px;
  background: white;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.loss-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

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

.result-box {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #f9fafb;
}

.result-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.metric strong {
  display: block;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.055em;
}

.metric.highlight {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), white);
}

.result-disclaimer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.trust-section {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 0;
}

.trust-header {
  width: min(760px, 100%);
  margin-bottom: 24px;
}

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

.trust-card,
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.trust-card h3,
.insight-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.trust-card p,
.insight-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.method-section,
.report-section,
.privacy-section {
  margin-top: 36px;
}

.formula-box {
  display: grid;
  gap: 14px;
}

.formula-line {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

.formula-line span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.formula-line strong {
  display: block;
  font-size: clamp(18px, 2.5vw, 26px);
  letter-spacing: -0.04em;
}

.insights {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 38px;
  align-items: start;
}

.report-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.report-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: #374151;
  font-weight: 700;
}

.report-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.privacy-card {
  text-align: center;
  background: var(--soft-accent);
}

.privacy-card p {
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  width: min(920px, calc(100% - 40px));
  margin: 90px auto;
}

.cta-card {
  text-align: center;
  padding: clamp(34px, 6vw, 64px);
  background: #111827;
  color: white;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.small-note {
  font-size: 13px;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  .calculator-section,
  .trust-section,
  .method-section,
  .insights,
  .report-section,
  .privacy-section,
  .cta-section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    margin-top: 42px;
  }

  .card-intro,
  .method-card,
  .report-card,
  .insights,
  footer {
    display: block;
  }

  .form-grid,
  .metrics,
  .trust-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid,
  .formula-box,
  .report-list {
    margin-top: 24px;
  }

  footer span {
    display: block;
    margin-bottom: 10px;
  }
}


.inline-cta {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.9));
  text-align: center;
}

.inline-cta h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.inline-cta p {
  width: min(640px, 100%);
  margin: 8px auto 16px;
  color: var(--muted);
  line-height: 1.6;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  background: white;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.faq-section {
  width: min(980px, calc(100% - 40px));
  margin: 90px auto 0;
}

.faq-header {
  width: min(720px, 100%);
  margin-bottom: 22px;
}

.faq-header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

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

.faq-list details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .faq-section {
    width: min(100% - 28px, 1120px);
  }
}


.field-hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.form-helper {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.sample-section {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 0;
}

.sample-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.sample-intro {
  width: min(760px, 100%);
  margin-bottom: 24px;
}

.sample-intro h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.sample-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.preview-panel {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.preview-panel.locked {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), #ffffff);
  border-color: rgba(37, 99, 235, 0.25);
}

.preview-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-panel h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.preview-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.cta-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  width: min(760px, 100%);
}

.cta-bullets span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .sample-section {
    width: min(100% - 28px, 1120px);
  }

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

  .cta-bullets {
    display: grid;
  }
}


.checkout-flow-section {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 0;
}

.checkout-flow-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.checkout-flow-card > div:first-child {
  width: min(760px, 100%);
  margin-bottom: 24px;
}

.checkout-flow-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.checkout-flow-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.step-card {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 820px) {
  .checkout-flow-section {
    width: min(100% - 28px, 1120px);
  }

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


.sample-link-row {
  margin-top: 22px;
  text-align: center;
}

.report-page-body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32rem),
    var(--bg);
}

.report-hero {
  width: min(980px, calc(100% - 40px));
  margin: 70px auto 34px;
}

.report-hero a {
  color: var(--accent);
  font-weight: 800;
}

.report-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.report-hero p {
  width: min(720px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.demo-note {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 16px 18px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 18px;
  color: #1f2937;
  line-height: 1.55;
}

.sample-report {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 90px;
  display: grid;
  gap: 18px;
}

.report-block {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.07);
}

.report-block h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.report-block p {
  color: var(--muted);
  line-height: 1.65;
}

.report-table {
  display: grid;
  gap: 10px;
}

.report-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
}

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

.report-row span:last-child {
  font-weight: 800;
}

.report-list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.report-list-clean li {
  padding: 14px 14px 14px 42px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f9fafb;
  color: #374151;
  line-height: 1.55;
}

.report-list-clean li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 999px;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.report-metric {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.report-metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.report-metric strong {
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.055em;
}

.report-metric.highlight {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), white);
}

.back-row {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 60px;
  text-align: center;
}

@media (max-width: 820px) {
  .report-hero,
  .demo-note,
  .sample-report,
  .back-row {
    width: min(100% - 28px, 1120px);
  }

  .report-metrics,
  .report-row {
    grid-template-columns: 1fr;
  }
}


.sample-report-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 70px auto 34px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.sample-report-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.sample-report-copy p {
  width: min(720px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sample-report-summary-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.summary-stack {
  display: grid;
  gap: 14px;
}

.summary-stack div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

.summary-stack span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.summary-stack strong {
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.055em;
}

.summary-stack .summary-highlight {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), white);
}

.demo-warning {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 26px;
  padding: 18px 20px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 20px;
  color: #1f2937;
  line-height: 1.55;
}

.sample-report-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.report-sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-card {
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.07);
}

.sidebar-card .section-kicker {
  margin-bottom: 8px;
}

.sidebar-card a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.sidebar-card a:hover {
  background: #f3f4f6;
  color: var(--accent);
}

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

.report-card-large {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.07);
}

.report-card-heading {
  margin-bottom: 18px;
}

.report-card-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.report-card-heading p,
.muted-copy {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.input-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

.input-grid strong {
  font-size: 17px;
}

.insight-callout {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), white);
  border: 1px solid rgba(37, 99, 235, 0.24);
}

.insight-callout h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.insight-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.issue-grid article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f9fafb;
}

.issue-grid span {
  display: inline-flex;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.issue-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.issue-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

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

.keyword-list div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fafb;
}

.keyword-list strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.keyword-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.quick-win-grid div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fafb;
}

.quick-win-grid span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.quick-win-grid strong {
  line-height: 1.45;
}

.report-final-cta {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 90px;
}

@media (max-width: 980px) {
  .sample-report-hero,
  .sample-report-layout {
    grid-template-columns: 1fr;
  }

  .report-sidebar {
    position: static;
  }

  .sidebar-card {
    display: none;
  }
}

@media (max-width: 820px) {
  .sample-report-hero,
  .demo-warning,
  .sample-report-layout,
  .report-final-cta {
    width: min(100% - 28px, 1120px);
  }

  .hero-actions,
  .input-grid,
  .issue-grid,
  .quick-win-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}


.label-with-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  cursor: help;
  line-height: 1;
  outline: none;
}

.tooltip-box {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: 260px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #111827;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.22);
}

.tooltip-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #111827;
}

.tooltip-wrap:hover .tooltip-box,
.tooltip-wrap:focus .tooltip-box,
.tooltip-wrap:focus-within .tooltip-box {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 820px) {
  .tooltip-box {
    left: auto;
    right: -8px;
    transform: none;
    width: min(260px, calc(100vw - 56px));
  }

  .tooltip-box::after {
    left: auto;
    right: 10px;
    transform: none;
  }
}


.receive-box {
  width: min(780px, 100%);
  margin: 22px auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.receive-box strong {
  width: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  margin-bottom: 2px;
}

.receive-box span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .receive-box {
    display: grid;
  }
}



















@media (max-width: 820px) {
  .support-section {
    width: min(100% - 28px, 1120px);
  }

  .support-card {
    grid-template-columns: 1fr;
  }
}


.scenario-field {
  display: grid;
  gap: 8px;
}

.scenario-options {
  min-height: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
}

.scenario-option {
  min-height: 52px;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  overflow: hidden;
}

.scenario-option span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.scenario-option strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: -0.04em;
  white-space: nowrap;
  line-height: 1;
}

.scenario-option:hover,
.scenario-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
  background: rgba(37, 99, 235, 0.04);
}

@media (max-width: 820px) {
  .scenario-options {
    grid-template-columns: 1fr;
  }
}





/* v19: keep SEO scenario visually on the right, but prevent percent wrapping with compact labels */
@media (min-width: 821px) {
  .form-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
  }

  .scenario-field {
    grid-column: auto;
    min-width: 0;
  }

  .scenario-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .scenario-option {
    min-height: 52px;
    padding: 7px 6px;
    text-align: center;
    overflow: hidden;
  }

  .scenario-option span {
    font-size: 8.5px !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
  }

  .scenario-option strong {
    font-size: 15px !important;
    line-height: 1 !important;
    margin-top: 5px !important;
    letter-spacing: -0.05em !important;
    white-space: nowrap !important;
  }
}


/* v20 final fix: keep scenario label and percent on one line on desktop */
@media (min-width: 821px) {
  .scenario-option {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    padding: 7px 4px !important;
    text-align: center !important;
  }

  .scenario-option span,
  .scenario-option strong {
    display: inline-flex !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .scenario-option span {
    font-size: 8px !important;
    letter-spacing: -0.055em !important;
  }

  .scenario-option strong {
    font-size: 14px !important;
    letter-spacing: -0.06em !important;
  }
}


.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.28);
}

@media (max-width: 820px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}


.estimate-section {
  width: min(1120px, calc(100% - 40px));
  margin: 90px auto 0;
}

.estimate-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
}

.estimate-card h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.estimate-card p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.estimate-grid div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f9fafb;
}

.estimate-grid strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.estimate-grid span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

@media (max-width: 820px) {
  .estimate-section {
    width: min(100% - 28px, 1120px);
  }

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


/* v24: better desktop layout for SEO scenario buttons */
@media (min-width: 821px) {
  .form-grid {
    grid-template-columns: 0.9fr 0.9fr 0.9fr 1.55fr !important;
    align-items: end;
  }

  .scenario-field {
    min-width: 0;
  }

  .scenario-options {
    grid-template-columns: repeat(3, minmax(84px, 1fr)) !important;
    gap: 7px !important;
    min-height: 52px;
  }

  .scenario-option {
    display: grid !important;
    align-content: center !important;
    justify-content: start !important;
    min-height: 52px;
    padding: 8px 9px !important;
    text-align: left !important;
    overflow: hidden;
  }

  .scenario-option span {
    display: block !important;
    font-size: 9.5px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap !important;
    max-width: 100%;
  }

  .scenario-option strong {
    display: block !important;
    margin-top: 5px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    white-space: nowrap !important;
  }
}


.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.07);
  color: #991b1b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.loss-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}


.field-helper {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 650;
}

.form-helper.secondary {
  margin-top: -6px;
  font-size: 12.5px;
}


/* v27 forced visible input guidance */
.field-helper {
  display: block !important;
  margin-top: 6px !important;
  color: var(--muted) !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

.form-helper.secondary {
  margin-top: -6px !important;
  font-size: 12.5px !important;
  color: var(--muted) !important;
}

.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.07);
  color: #991b1b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}


/* v28: stable desktop form row after adding helper text */
@media (min-width: 821px) {
  .form-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 1.45fr) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  .loss-form label,
  .scenario-field {
    align-self: start !important;
    min-width: 0 !important;
  }

  .loss-form label {
    display: grid !important;
    grid-template-rows: auto 52px auto !important;
    gap: 8px !important;
  }

  .loss-form input {
    min-height: 52px !important;
  }

  .scenario-field {
    display: grid !important;
    grid-template-rows: auto 52px auto !important;
    gap: 8px !important;
  }

  .scenario-options {
    min-height: 52px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(76px, 1fr)) !important;
    gap: 7px !important;
  }

  .scenario-option {
    min-height: 52px !important;
    height: 52px !important;
    padding: 7px 8px !important;
    display: grid !important;
    align-content: center !important;
    justify-content: start !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  .scenario-option span {
    display: block !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    white-space: nowrap !important;
  }

  .scenario-option strong {
    display: block !important;
    margin-top: 5px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    white-space: nowrap !important;
  }

  .field-helper {
    min-height: 30px !important;
  }
}

/* keep mobile simple */
@media (max-width: 820px) {
  .loss-form label,
  .scenario-field {
    display: grid !important;
    gap: 8px !important;
  }

  .scenario-options {
    grid-template-columns: 1fr !important;
  }
}


.form-warning {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}


/* v30: policy pages, footer links and payment trust block */
.payment-trust {
  margin-top: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.payment-trust p {
  margin: 0;
}

.payment-trust p + p {
  margin-top: 6px;
}

.payment-trust strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 18px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.policy-page {
  min-height: 100vh;
  padding: 48px 20px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 32rem),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.policy-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.policy-card h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.policy-card h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.policy-card a,
.back-link {
  color: var(--text);
  font-weight: 800;
}

.back-link {
  display: block;
  max-width: 820px;
  margin: 0 auto 18px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .policy-card {
    padding: 24px;
    border-radius: 22px;
  }

  .footer-links {
    gap: 10px 14px;
  }
}


/* v32: contact anti-spam note */
.contact-note {
  margin-top: -8px;
  font-size: 13px !important;
}


/* v33: order success / intake page */
.order-success-page .policy-card {
  max-width: 980px;
}

.order-card .section-kicker {
  margin-bottom: 14px;
}

.order-warning {
  margin: 20px 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.08);
  color: #1f2937;
  line-height: 1.55;
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}

.intake-grid div {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #f8fafc;
}

.intake-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.intake-grid strong {
  display: block;
  color: #111827;
  font-size: 16px;
  margin-bottom: 5px;
}

.intake-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.copy-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0f172a;
  color: #ffffff;
}

.copy-box strong {
  display: block;
  margin-bottom: 12px;
}

.copy-box pre {
  margin: 0;
  white-space: pre-wrap;
  color: rgba(255,255,255,0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .intake-grid {
    grid-template-columns: 1fr;
  }
}
