/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Calm, trustworthy design system. Warm off-white, soft slate text, a calm
   teal accent. No alarming reds; gentle spacing; readable type. */

:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-muted: #f0efe9;
  --ink: #2b3440;
  --ink-soft: #56616e;
  /* Darkened to ~4.6:1 on the cream/white surfaces so small text (.dz-hint,
     .group-title, .section .original, footer.foot) meets WCAG AA. */
  --ink-faint: #5f6b78;
  --accent: #2f7e7a;
  --accent-soft: #e3efee;
  --accent-ink: #1f5a57;
  --border: #e3e0d8;
  --goal: #2f6f7e;
  --accommodation: #6a5a8c;
  --service: #2f7e5a;
  --other: #6b7280;
  --shadow: 0 1px 2px rgba(43, 52, 64, 0.04), 0 8px 24px rgba(43, 52, 64, 0.06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

header.hero {
  text-align: center;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.hero p.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto;
}

/* Disclaimer — visible but calm, never alarming. */
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid #cfe3e1;
  color: var(--accent-ink);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin: 24px 0;
}

.disclaimer .icon {
  flex: none;
  font-size: 1.1rem;
  line-height: 1.4;
}

.disclaimer strong {
  font-weight: 600;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* Upload */
.dropzone {
  border: 2px dashed #cdd3c9;
  border-radius: var(--radius);
  background: var(--surface-muted);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.dropzone.dragging {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone .dz-title {
  font-weight: 600;
  margin: 6px 0 4px;
}

.dropzone .dz-hint {
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.dropzone input[type="file"] {
  display: none;
}

.filename {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
}

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

button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 22px;
  font-weight: 600;
  transition: background 0.15s ease, opacity 0.15s ease;
}

button.primary {
  background: var(--accent);
  color: #fff;
}

button.primary:hover:not(:disabled) {
  background: var(--accent-ink);
}

button.ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--border);
}

button:disabled {
  opacity: 0.55;
  cursor: default;
}

.error {
  margin-top: 16px;
  background: #fbf3ec;
  border: 1px solid #f0dcc8;
  color: #8a5a2b;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

/* Loading */
.loading {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 22px;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Results */
.results {
  margin-top: 28px;
}

.demo-banner {
  background: #fbf6e9;
  border: 1px solid #ecdfb8;
  color: #7a5e22;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.summary h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.summary p {
  margin: 0;
  color: var(--ink-soft);
}

.group-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 26px 0 12px;
}

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.section .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
  color: #fff;
}

.tag.goal {
  background: var(--goal);
}
.tag.accommodation {
  background: var(--accommodation);
}
.tag.service {
  background: var(--service);
}
.tag.other {
  background: var(--other);
}

.section h3 {
  margin: 4px 0 10px;
  font-size: 1.05rem;
}

.section .plain {
  color: var(--ink);
  margin: 0 0 12px;
}

.section .original {
  font-size: 0.86rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin: 0;
}

.section .original .label {
  font-weight: 600;
  color: var(--ink-soft);
}

details.extracted {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

details.extracted summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
}

details.extracted pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--surface-muted);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  max-height: 360px;
  overflow: auto;
}

footer.foot {
  margin-top: 48px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Rights & gap analysis + meeting prep (RAF-6)
   Same calm palette; gaps use a gentle amber, never alarming red.
   -------------------------------------------------------------------------- */

.prep-cta {
  margin-top: 28px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.prep-cta h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--accent-ink);
}

.lede-sm {
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.analysis {
  margin-top: 28px;
}

.disclaimer.strong {
  background: #fbf6e9;
  border-color: #ece2c4;
}

.grounding-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.findings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.finding {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.finding.gap {
  border-left-color: #c79a3a;
}

.finding.question {
  border-left-color: var(--goal);
}

.finding .observation {
  margin: 8px 0 10px;
  font-weight: 600;
  color: var(--ink);
}

.finding .confidence {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: italic;
}

.finding .requirement,
.finding .authority {
  margin: 4px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.finding .label {
  font-weight: 600;
  color: var(--ink-soft);
}

.finding .authority a {
  color: var(--accent-ink);
}

.tag.gap {
  background: #f6ecd2;
  color: #7a5a16;
}

.tag.question {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.empty-ok {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--ink-soft);
}

/* Locked findings preview (RAF-32): contentless placeholder cards for the
   findings withheld behind the one-time unlock. No real text is in the DOM. */
.findings.blurred {
  margin-top: 14px;
  filter: blur(0.5px);
  opacity: 0.65;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.finding.blurred-card {
  border-left-color: var(--border);
}

.finding.blurred-card .tag {
  background: var(--border);
  color: var(--ink-faint);
}

.finding .blur-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--border), var(--accent-soft));
  margin: 10px 0;
}

.finding .blur-line.short {
  width: 55%;
}

.meeting-prep {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

ul.questions {
  margin: 4px 0 22px;
  padding-left: 20px;
  color: var(--ink);
}

ul.questions li {
  margin-bottom: 10px;
}

.letter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 16px;
}

.letter-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  gap: 4px;
}

.letter-form input {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.letter-form input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

textarea.letter {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
  resize: vertical;
  white-space: pre-wrap;
}

.letter-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .letter-form {
    grid-template-columns: 1fr;
  }
}

/* Plus gate + access-code redemption (RAF-19) — calm upsell, no dark patterns. */
.plus-gate {
  margin-top: 28px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.plus-gate .group-title {
  color: var(--accent-ink);
  margin-bottom: 8px;
}

ul.plus-features {
  margin: 0 0 14px;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

ul.plus-features li {
  margin-bottom: 4px;
}

.equity-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.redeem {
  margin-top: 14px;
}

.redeem label {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  gap: 4px;
  max-width: 360px;
}

.redeem input {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.redeem input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Fake-door pricing experiment — landing, checkout, results (RAF-87)
   Same calm palette; a real-looking-but-inert checkout. No dark patterns,
   no fake urgency.
   -------------------------------------------------------------------------- */

.lp-offer {
  text-align: center;
  margin-top: 8px;
}

.lp-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.lp-amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lp-cadence {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.lp-offer-name {
  font-weight: 600;
  margin: 6px 0 4px;
  color: var(--accent-ink);
}

.lp-blurb {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto 8px;
}

ul.lp-features {
  text-align: left;
  margin: 18px auto 4px;
  padding-left: 1.2em;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

ul.lp-features li {
  margin-bottom: 10px;
}

ul.lp-features strong {
  color: var(--ink);
}

.lp-trust {
  margin-top: 28px;
  background: var(--accent-soft);
  border: 1px solid #cfe3e1;
  border-radius: var(--radius);
  padding: 18px 22px;
}

.lp-trust h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--accent-ink);
}

.lp-trust p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Checkout */
.lp-checkout-shell .hero {
  margin-bottom: 18px;
}

.lp-checkout {
  max-width: 460px;
  margin: 0 auto;
}

.lp-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.lp-summary-name {
  font-weight: 600;
}

.lp-summary-price {
  font-weight: 700;
  font-size: 1.1rem;
}

.lp-payform {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  gap: 4px;
}

.lp-field input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.lp-field input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.lp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.lp-pay {
  margin-top: 6px;
  width: 100%;
}

.lp-secure-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 6px 0 0;
}

/* "Not charged" reveal — calm, reassuring, never a bait-and-switch tone. */
.lp-notcharged {
  background: var(--accent-soft);
  border: 1px solid #cfe3e1;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
  color: var(--accent-ink);
}

.lp-notcharged-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.lp-notcharged p {
  margin: 0 0 8px;
}

.lp-notcharged p:last-child {
  margin-bottom: 0;
}

.lp-waitlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-waitlist label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  gap: 6px;
}

.lp-waitlist input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.lp-waitlist input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.lp-waitlist-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 0;
}

.lp-joined {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink-soft);
  margin: 0;
}

.lp-back {
  text-align: center;
  margin-top: 22px;
}

.lp-back a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Results / funnel readout */
.lp-results-arm {
  margin-bottom: 20px;
}

.lp-results-arm h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

table.lp-funnel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

table.lp-funnel td {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}

table.lp-funnel td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.lp-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.lp-signal {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.lp-signal-name {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.lp-signal-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.lp-signal-verdict {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.lp-signal-bar {
  font-size: 0.76rem;
  color: var(--ink-faint);
}

.lp-signal.tone-scale {
  border-left-color: var(--service);
}
.lp-signal.tone-watch {
  border-left-color: #c79a3a;
}
.lp-signal.tone-kill {
  border-left-color: var(--accommodation);
}

@media (max-width: 520px) {
  .lp-signals {
    grid-template-columns: 1fr;
  }
}

