:root {
  --bg: #f6f3ec;
  --bg-soft: #fbfaf6;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --panel-muted: #f3efe6;
  --ink: #142033;
  --ink-2: #243248;
  --muted: #647286;
  --line: rgba(20, 32, 51, 0.11);
  --line-strong: rgba(20, 32, 51, 0.18);
  --cream: #fff9ec;
  --sand: #e8ddc9;
  --gold: #c9952f;
  --amber: #d9822b;
  --red: #d84b5f;
  --green: #12806f;
  --blue: #2563eb;
  --teal: #0f766e;
  --navy: #101827;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.13);
  --shadow-soft: 0 14px 35px rgba(30, 41, 59, 0.09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(15, 118, 110, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(201, 149, 47, 0.15), transparent 28rem),
    linear-gradient(180deg, #fbfaf6 0%, #f6f3ec 52%, #f2eee5 100%);
  overflow-x: hidden;
}

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

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 51, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, rgba(0,0,0,0.22) 58%, transparent 92%);
}

.glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-one { top: -7rem; left: -10rem; background: var(--teal); }
.glow-two { right: -12rem; top: 11rem; background: var(--gold); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0b3b42, var(--teal));
  font-size: 0.78rem;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

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

.pilot-chip,
.tier-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.08);
  color: #0f5b54;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.76rem;
  font-weight: 900;
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

.hero-panel {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 30px;
  align-items: center;
  padding: 54px 0 26px;
}

.hero-copy h1 {
  margin: 0;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(3rem, 6.6vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  max-width: 830px;
  color: #0f172a;
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 740px;
  color: #526175;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.72;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.7rem;
  font-weight: 950;
  color: var(--teal);
}
.eyebrow span:empty {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin-top: 26px;
}
.hero-bullets div {
  border: 1px solid rgba(20, 32, 51, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.hero-bullets strong {
  display: block;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
  color: #101827;
}
.hero-bullets small {
  display: block;
  margin-top: 5px;
  color: #66758a;
  line-height: 1.35;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.trust-strip span {
  border: 1px solid rgba(20, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.58);
  color: #4b5a70;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 800;
}

.memo-preview {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(20, 32, 51, 0.14);
  border: 1px solid rgba(20, 32, 51, 0.09);
  transform: none;
  position: relative;
}
.memo-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 38%, rgba(201,149,47,0.09));
  pointer-events: none;
}
.window-header {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #607086;
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
  position: relative;
  z-index: 1;
}
.window-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}
.window-header span:nth-child(2) { background: var(--amber); }
.window-header span:nth-child(3) { background: var(--green); }
.window-header p {
  margin: 0 0 0 8px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-content { padding: 26px; position: relative; z-index: 1; }
.preview-verdict {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #111827, #0f3f45);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.preview-verdict p,
.preview-verdict small {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}
.preview-verdict strong {
  display: block;
  margin: 10px 0;
  font-size: 1.95rem;
  letter-spacing: -0.055em;
}
.preview-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}
.preview-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dot,
.risk-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--gold);
}
.dot.red, .risk-dot.red { background: var(--red); }
.dot.amber, .risk-dot.amber { background: var(--amber); }
.dot.green, .risk-dot.green { background: var(--green); }
.dot.blue, .risk-dot.blue { background: var(--blue); }
.preview-lock {
  border: 1px dashed rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.07);
  border-radius: 18px;
  padding: 16px;
  color: #0d5e57;
  font-weight: 950;
  text-align: center;
}

.scan-app {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 32, 51, 0.09);
  padding: 14px;
  box-shadow: 0 35px 90px rgba(20, 32, 51, 0.15);
  backdrop-filter: blur(16px);
}
.progress-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.progress-step {
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 16px;
  padding: 11px;
  color: #6b7788;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.56);
}
.progress-step span {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #5d6a7c;
  background: #eef1f3;
}
.progress-step.active {
  background: rgba(15, 118, 110, 0.09);
  border-color: rgba(15, 118, 110, 0.28);
  color: #0f5b54;
}
.progress-step.active span {
  background: var(--teal);
  color: #fff;
}
.screen { display: none; }
.screen.active { display: block; }
.screen-grid,
.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 16px;
}

.scan-card,
.feedback-card,
.premium-result-card,
.analysis-card,
.result-card,
.side-panel,
.premium-teaser-card,
.disclaimer-panel {
  border-radius: var(--radius-xl);
  background: var(--panel-solid);
  color: var(--ink);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 32, 51, 0.08);
}
.scan-card {
  background: linear-gradient(180deg, #ffffff, #fffefa);
}
.card-heading h2,
.feedback-card h2,
.premium-result-card h2,
.analysis-card h2 {
  margin: 0;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.075em;
  color: #0f172a;
}
.card-heading p,
.feedback-card p,
.premium-result-card p,
.analysis-card p,
.side-panel p,
.premium-teaser-card p {
  color: var(--muted);
  line-height: 1.65;
}
.field-label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #26364f;
  font-size: 0.85rem;
  font-weight: 900;
}
.field-label .req { color: var(--red); }
input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(20, 32, 51, 0.13);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(20, 32, 51, 0.02);
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(15, 118, 110, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}
textarea { resize: vertical; }
.optional-box {
  margin: 18px 0;
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: #f7f3ea;
  border-radius: 18px;
  padding: 16px;
}
.optional-box summary {
  cursor: pointer;
  font-weight: 950;
  color: #27364d;
}
.email-gate {
  margin-top: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(16, 24, 39, 0.98));
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.email-gate::after {
  content: "";
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -7rem;
  bottom: -9rem;
  background: rgba(255,255,255,0.13);
  border-radius: 999px;
}
.email-gate > * { position: relative; z-index: 1; }
.email-gate h3 {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}
.email-gate p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}
.email-gate .eyebrow { color: #d8f3ee; }
.email-gate .field-label { color: rgba(255, 255, 255, 0.91); }
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  line-height: 1.45;
}
.checkbox-line input,
.option-grid input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--teal);
}
.micro-note,
.locked-mini-card {
  border: 1px solid rgba(20, 32, 51, 0.08);
  background: #f4efe5;
  border-radius: 18px;
  padding: 16px;
  margin-top: 18px;
}
.micro-note p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.primary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 950;
  letter-spacing: -0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #101827, #0f766e);
  box-shadow: 0 18px 35px rgba(15, 118, 110, 0.22);
}
.ghost-button {
  color: #26364f;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(20, 32, 51, 0.12);
}
.topbar .ghost-button {
  color: #26364f;
  background: #fff;
}
.scan-card .ghost-button,
.feedback-card .ghost-button,
.premium-result-card .ghost-button {
  color: var(--ink);
  background: #f2efe7;
  border-color: rgba(20, 32, 51, 0.1);
}
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}
.primary-button.full,
.ghost-button.full {
  width: 100%;
  margin-top: 12px;
}
.small { padding: 9px 12px; font-size: 0.76rem; }
.form-error { min-height: 22px; color: #be123c; font-weight: 900; }
.success-message { min-height: 22px; color: #0f766e; font-weight: 900; }

.side-panel,
.premium-teaser-card {
  background: linear-gradient(180deg, #111827, #0d1f25);
  color: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
}
.side-panel .eyebrow,
.premium-teaser-card .eyebrow { color: #95f0df; }
.side-panel p,
.premium-teaser-card p { color: rgba(255, 255, 255, 0.68); }
.side-panel h3,
.premium-teaser-card h3 {
  margin: 0 0 12px;
  font-size: 1.85rem;
  letter-spacing: -0.065em;
}
.check-list,
.result-section ul,
.premium-value-grid ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 12px;
}
.check-list li::before,
.premium-value-grid li::before {
  content: "✓";
  color: #7ee7d6;
  font-weight: 950;
  margin-right: 10px;
}
.locked-mini-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.locked-mini-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.6);
}

.analysis-card {
  text-align: center;
  padding: clamp(46px, 7vw, 86px);
}
.scanner-animation {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, #111827, #0f766e);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.24);
}
.scanner-animation span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.75), transparent);
  height: 36%;
  animation: scan 1.1s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(320%); }
}

.result-card { min-height: 600px; }
.result-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.result-top h2 {
  margin: 0;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.075em;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
  font-size: 0.78rem;
  white-space: nowrap;
  border: 1px solid transparent;
}
.status-red { background: rgba(216, 75, 95, 0.12); color: #a61734; border-color: rgba(216,75,95,0.18); }
.status-amber { background: rgba(217, 130, 43, 0.13); color: #92520f; border-color: rgba(217,130,43,0.2); }
.status-green { background: rgba(18, 128, 111, 0.12); color: #0f766e; border-color: rgba(18,128,111,0.18); }
.status-blue { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; border-color: rgba(37,99,235,0.18); }
.score-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  margin: 24px 0;
}
.score-box {
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #111827, #0f766e);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.2);
}
.score-box strong {
  display: block;
  font-size: 4rem;
  letter-spacing: -0.08em;
}
.score-box span { color: rgba(255, 255, 255, 0.72); }
.opinion-box {
  border-radius: 26px;
  padding: 22px;
  background: #f6f1e8;
  border: 1px solid rgba(20, 32, 51, 0.08);
}
.opinion-box p {
  color: #4b5a70;
  line-height: 1.65;
}
.source-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
}
.source-chip {
  border-radius: 999px;
  background: #fdf4df;
  border: 1px solid rgba(201, 149, 47, 0.32);
  color: #8a5f14;
  padding: 8px 10px;
  font-size: 0.74rem;
  font-weight: 900;
}
.result-section {
  border-top: 1px solid rgba(20, 32, 51, 0.09);
  padding-top: 20px;
  margin-top: 20px;
}
.result-section h3 {
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}
.result-section li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  line-height: 1.48;
}
.question-list {
  display: grid;
  gap: 10px;
}
.question-card {
  padding: 14px;
  background: #f7f3ea;
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 16px;
  color: #334155;
}
.premium-teaser-card {
  position: sticky;
  top: 92px;
  align-self: start;
  overflow: hidden;
}
.premium-meter {
  border-radius: 26px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.premium-meter span {
  display: block;
  font-size: 4rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  color: #95f0df;
}
.premium-meter p { margin: 0; }
.blur-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  filter: blur(2.2px);
  opacity: 0.68;
}
.blur-stack span,
.report-lines span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}
.blur-stack span:nth-child(2) { width: 82%; }
.blur-stack span:nth-child(3) { width: 93%; }
.blur-stack span:nth-child(4) { width: 68%; }
.success-orb {
  width: 76px;
  height: 76px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: rgba(18, 128, 111, 0.12);
  color: #0f766e;
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: 18px;
}
.premium-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  margin: 24px 0;
}
.locked-report-preview {
  border-radius: 28px;
  background: linear-gradient(135deg, #111827, #0e3f45);
  color: #fff;
  padding: 24px;
}
.locked-report-preview .tier-pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d7fff6;
}
.locked-report-preview h3 {
  margin: 14px 0 8px;
  font-size: 1.9rem;
  letter-spacing: -0.06em;
}
.locked-report-preview p { color: rgba(255,255,255,0.68); }
.report-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  filter: blur(1.7px);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.option-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(20, 32, 51, 0.09);
  background: #fffefa;
  border-radius: 16px;
  padding: 14px;
  color: #334155;
  font-weight: 800;
  line-height: 1.35;
}

.faq-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3vw, 34px);
}
.post-request-faq {
  margin: 24px 0 20px;
  background: #fbfaf6;
}
.objection-faq {
  margin-top: 18px;
}
.faq-panel h2,
.faq-panel h3 {
  margin: 0 0 18px;
  font-family: Sora, Manrope, system-ui, sans-serif;
  color: #0f172a;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.faq-panel h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3.1vw, 2.65rem);
}
.faq-panel h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.faq-panel details {
  min-width: 0;
  border: 1px solid rgba(20, 32, 51, 0.09);
  border-radius: 18px;
  background: #fffefa;
  padding: 0;
  overflow: hidden;
}
.post-request-faq details {
  background: #ffffff;
}
.faq-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #172033;
  font-weight: 900;
  line-height: 1.3;
}
.faq-panel summary::-webkit-details-marker {
  display: none;
}
.faq-panel summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.09);
  color: var(--teal);
  font-weight: 950;
}
.faq-panel details[open] summary::after {
  content: "−";
}
.faq-panel details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.disclaimer-panel {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.disclaimer-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero-panel,
  .screen-grid,
  .result-layout,
  .premium-value-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }
  .memo-preview { max-width: 620px; }
  .premium-teaser-card { position: static; }
}

@media (max-width: 720px) {
  .app-shell,
  .topbar { width: min(100% - 20px, 1180px); }
  .topbar {
    align-items: center;
    gap: 12px;
    border-radius: 22px;
  }
  .pilot-chip { display: none; }
  .hero-panel { padding-top: 34px; }
  .hero-bullets,
  .lead-grid,
  .option-grid,
  .faq-grid,
  .progress-bar { grid-template-columns: 1fr; }
  .progress-step { padding: 9px 11px; }
  .scan-app { padding: 9px; border-radius: 26px; }
  .scan-card,
  .feedback-card,
  .premium-result-card,
  .analysis-card,
  .result-card,
  .side-panel,
  .premium-teaser-card,
  .faq-panel,
  .disclaimer-panel {
    border-radius: 22px;
    padding: 20px;
  }
  .result-top { flex-direction: column; }
  .form-actions .primary-button,
  .form-actions .ghost-button { width: 100%; }
}

/* v4 SaaS-flow additions */
.brand-mark {
  font-size: 0.68rem;
  letter-spacing: -0.04em;
}
.compact-hero {
  padding-bottom: 20px;
}
.hero-url-field input {
  min-height: 64px;
  font-size: 1.02rem;
  border-width: 2px;
}
.unlock-grid {
  align-items: stretch;
}
.unlock-card {
  background: linear-gradient(180deg, #ffffff, #fbfaf6);
}
.subscription-panel {
  margin: 22px 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #111827, #0f766e);
  color: #ffffff;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  box-shadow: 0 22px 55px rgba(15, 118, 110, 0.22);
}
.subscription-price span {
  display: block;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.09em;
  color: #95f0df;
}
.subscription-price p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}
.light-checks {
  margin: 0;
}
.light-checks li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}
.dark-checkbox {
  color: #56657a;
}
.unlock-preview {
  min-height: 100%;
}
.compact-report {
  height: 100%;
  min-height: 300px;
}
.analysis-value-panel {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(251,250,246,0.94));
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  position: relative;
}
.analysis-value-panel::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  right: -9rem;
  top: -10rem;
  background: rgba(15, 118, 110, 0.10);
  pointer-events: none;
}
.value-heading {
  position: relative;
  z-index: 1;
  max-width: 840px;
}
.value-heading h2 {
  margin: 0;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
  color: #0f172a;
}
.value-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}
.value-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.value-card {
  border: 1px solid rgba(20, 32, 51, 0.09);
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.08);
}
.value-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 950;
  font-size: 0.76rem;
}
.value-card h3 {
  margin: 0 0 10px;
  color: #101827;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}
.value-card p {
  margin: 0;
  color: #59687b;
  line-height: 1.62;
}

@media (max-width: 980px) {
  .subscription-panel,
  .value-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-url-field input {
    min-height: 56px;
  }
  .subscription-panel,
  .analysis-value-panel,
  .value-card {
    border-radius: 22px;
    padding: 20px;
  }
}


/* Boss-flow update: first screen is only listing URL + optional requirements + Analyze */
.center-card {
  max-width: 780px;
  margin: 0 auto;
}
.centered-heading {
  text-align: center;
}
.centered-heading .eyebrow {
  justify-content: center;
}
.centered-heading p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.hero-url-field input {
  min-height: 62px;
  font-size: 1rem;
}
.solo-action {
  justify-content: center;
}
.solo-action .primary-button {
  min-width: min(100%, 260px);
}
.unlock-feature-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #111827, #0d1f25);
  color: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.unlock-feature-card .eyebrow { color: #95f0df; }
.unlock-feature-card h3 {
  margin: 0 0 12px;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.unlock-feature-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}
.feature-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.feature-pill-grid span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: #d7fff6;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}
.demo-note-card .premium-meter span {
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  letter-spacing: -0.07em;
}
.analysis-value-panel {
  margin-top: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.09);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}
.value-heading {
  max-width: 840px;
}
.value-heading h2 {
  margin: 0;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: #0f172a;
}
.value-heading p {
  color: var(--muted);
  line-height: 1.65;
}
.value-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.value-card {
  border: 1px solid rgba(20, 32, 51, 0.09);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fffefa);
  padding: 22px;
  box-shadow: 0 12px 34px rgba(30, 41, 59, 0.07);
}
.value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-weight: 950;
  margin-bottom: 16px;
}
.value-card h3 {
  margin: 0 0 10px;
  font-family: Sora, Manrope, system-ui, sans-serif;
  letter-spacing: -0.04em;
  font-size: 1.22rem;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}
.faq-panel {
  margin-top: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.09);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}
.faq-panel h2,
.faq-panel h3 {
  margin: 0 0 18px;
  font-family: Sora, Manrope, system-ui, sans-serif;
  letter-spacing: -0.055em;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.faq-panel details {
  border: 1px solid rgba(20, 32, 51, 0.09);
  border-radius: 18px;
  background: #fffefa;
  padding: 16px;
}
.faq-panel summary {
  cursor: pointer;
  font-weight: 950;
  color: #172033;
}
.faq-panel details p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

@media (max-width: 980px) {
  .value-card-grid,
  .faq-grid { grid-template-columns: 1fr; }
}


/* Score box color scales with the risk number: red = alarming, green = calm */
.score-box.score-red {
  background: linear-gradient(135deg, #57091c, #c11f3d);
  box-shadow: 0 20px 50px rgba(193, 31, 61, 0.28);
}
.score-box.score-amber {
  background: linear-gradient(135deg, #6b3305, #d9822b);
  box-shadow: 0 20px 50px rgba(217, 130, 43, 0.26);
}
.score-box.score-green {
  background: linear-gradient(135deg, #0b3b30, #12806f);
  box-shadow: 0 20px 50px rgba(18, 128, 111, 0.24);
}

/* Result teaser: red counts instead of the detailed lists */
.risk-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.risk-stat {
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  background: rgba(216, 75, 95, 0.08);
  border: 1px solid rgba(216, 75, 95, 0.22);
}
.risk-stat strong {
  display: block;
  font-family: Sora, Manrope, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #c11f3d;
}
.risk-stat span {
  display: block;
  margin-top: 8px;
  color: #a61734;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.35;
}
.locked-lines {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  filter: blur(3px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.locked-lines span {
  display: block;
  height: 15px;
  border-radius: 999px;
  background: rgba(216, 75, 95, 0.3);
}
.locked-lines span:nth-child(2) { width: 84%; background: rgba(217, 130, 43, 0.32); }
.locked-lines span:nth-child(3) { width: 92%; }
.locked-lines span:nth-child(4) { width: 68%; background: rgba(217, 130, 43, 0.32); }
.locked-note {
  margin: 0;
  color: #6b3540;
  font-weight: 800;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .risk-stat-grid { grid-template-columns: 1fr; }
  .risk-stat { padding: 16px; }
}

/* Result screen: hidden issues only + one always-visible CTA */
.result-single {
  display: grid;
  gap: 0;
}
.result-single .result-card { min-height: auto; }
.result-cta-bar {
  position: sticky;
  bottom: 12px;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 14px;
  margin-top: 4px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.1);
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.16);
  backdrop-filter: blur(14px);
}
.primary-button.big-cta {
  width: min(100%, 420px);
  padding: 18px 26px;
  font-size: 1.05rem;
}
@media (max-width: 720px) {
  .result-cta-bar { bottom: 8px; padding: 10px; border-radius: 18px; }
  .primary-button.big-cta { width: 100%; padding: 16px 20px; }
}

/* Thank-you / early-access confirmation screen */
.thankyou-card {
  text-align: center;
  padding: clamp(32px, 5vw, 64px);
}
.thankyou-card .eyebrow { justify-content: center; }
.thankyou-card .success-orb {
  margin: 0 auto 20px;
  width: 72px;
  height: 72px;
}
.thankyou-card > p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.thankyou-email {
  margin-top: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.07);
  color: #0f5b54;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.9rem;
}
.thankyou-email strong { color: #0d5e57; }
.thankyou-steps {
  max-width: 560px;
  margin: 26px auto 0;
  text-align: left;
  border: 1px solid rgba(20, 32, 51, 0.1);
  background: #fbfaf6;
  border-radius: 20px;
  padding: 22px 24px;
}
.thankyou-steps-title {
  margin: 0 0 12px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #1a2740;
}
.thankyou-steps ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.thankyou-steps li {
  color: #46566d;
  line-height: 1.5;
  padding-left: 4px;
}
.thankyou-steps li::marker {
  color: var(--teal);
  font-weight: 900;
}
.thankyou-note {
  margin-top: 20px;
  font-weight: 800;
  color: #46566d;
}

/* Toast — save confirmation */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 24px);
  z-index: 60;
  max-width: min(92vw, 460px);
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.30);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: linear-gradient(135deg, #0f766e, #0b3b42); }
.toast.warn { background: linear-gradient(135deg, #b45309, #92520f); }
.toast .toast-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 950;
  margin-top: 1px;
}
@media (max-width: 720px) {
  .toast { bottom: 14px; padding: 13px 15px; font-size: 0.85rem; }
}

/* Language switch (EN / ES) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(20, 32, 51, 0.12);
  background: #fff;
}
.lang-option {
  border: 0;
  background: transparent;
  color: #526175;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.16s ease, color 0.16s ease;
}
.lang-option:hover { color: var(--ink); }
.lang-option.active {
  color: #fff;
  background: linear-gradient(135deg, #101827, #0f766e);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

@media (max-width: 720px) {
  .topbar-actions { gap: 8px; }
  .lang-switch { padding: 2px; }
  .lang-option { padding: 6px 9px; font-size: 0.72rem; }
  #exportCsv { display: none; }
}

/* Hidden Property Risk AI logo mark update */
.brand-logo-mark {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}
.brand-logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.18);
}
