/* ============ Monelo design tokens ============ */
:root {
  --bg:        #F7F3EB;   /* warm cream paper */
  --bg-deep:   #F1EBDD;   /* banded sections */
  --surface:   #FBF8F1;   /* cards */
  --surface-2: #FFFDF7;   /* elevated */
  --ink:       #1B2620;   /* primary text — dark forest-slate */
  --ink-2:     #3D4A43;   /* secondary text */
  --ink-3:     #6B7670;   /* tertiary / labels */
  --rule:      #E5DECF;   /* hairline rules */
  --rule-soft: #ECE5D4;
  --primary:   #1F3D2E;   /* deep forest */
  --primary-2: #2A5240;   /* hover */
  --sage:      #6B8073;
  --amber:     #C48A2B;   /* yellow-flag warnings */
  --amber-soft:#F3E4C3;
  --amber-bg:  #FBF1DA;
  --coral:     #B85540;   /* red-flag */
  --coral-soft:#EFC9BE;
  --coral-bg:  #F8E1D9;
  --green:     #3F7A56;   /* standard / safe */
  --green-soft:#CFE2D4;
  --green-bg:  #E5EFE2;

  --radius:    10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 0 rgba(27,38,32,.04), 0 8px 24px -16px rgba(27,38,32,.18);
  --shadow-pop:  0 1px 0 rgba(27,38,32,.04), 0 24px 60px -28px rgba(27,38,32,.28);

  --ff-serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --ff-sans:  'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --ff-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* very subtle paper grain — kept tiny so it doesn't distract */
  background-image:
    radial-gradient(rgba(27,38,32,.025) 1px, transparent 1px),
    radial-gradient(rgba(27,38,32,.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

::selection { background: #1F3D2E; color: #F7F3EB; }

/* ============ Type scale ============ */
.serif { font-family: var(--ff-serif); font-weight: 500; letter-spacing: -0.012em; }
.mono  { font-family: var(--ff-mono); }

h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 500; letter-spacing: -0.018em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 500; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 600; }
p  { margin: 0; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

.muted { color: var(--ink-3); }

/* one-personality detail: hand-underline accent for serif words */
.underline-accent {
  position: relative;
  white-space: nowrap;
}
.underline-accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.06em;
  height: 0.32em;
  background: var(--amber);
  opacity: .35;
  transform: skewX(-8deg) scaleY(.45) translateY(0.06em);
  z-index: -1;
  border-radius: 2px;
}

/* ============ Layout ============ */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section.banded { background: var(--bg-deep); }
.hairline { height: 1px; background: var(--rule); border: 0; margin: 0; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer; user-select: none;
  font-family: var(--ff-sans); font-weight: 500; font-size: 15px;
  padding: 14px 22px; border-radius: 10px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary); color: #F7F3EB;
  box-shadow: 0 1px 0 rgba(27,38,32,.4) inset, 0 8px 18px -10px rgba(31,61,46,.6);
}
.btn-primary:hover { background: var(--primary-2); }
.btn-primary .price { opacity: .7; font-variant-numeric: tabular-nums; }
.btn-primary .price::before { content: "·"; margin-right: 8px; opacity: .5; }
.btn-ghost { background: transparent; color: var(--ink); padding: 12px 16px; }
.btn-ghost:hover { background: rgba(27,38,32,.06); }
.btn-outline {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-outline:hover { background: var(--surface-2); border-color: #d8cfb8; }
.btn-lg { padding: 17px 28px; font-size: 16.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ============ Cards ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ============ Pills / chips ============ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  font-family: var(--ff-sans);
  border: 1px solid transparent;
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.chip.red    { color: #7A2F22; background: var(--coral-bg);  border-color: var(--coral-soft); }
.chip.red    .chip-dot { background: var(--coral); }
.chip.yellow { color: #6E4A0F; background: var(--amber-bg);  border-color: var(--amber-soft); }
.chip.yellow .chip-dot { background: var(--amber); }
.chip.green  { color: #214E33; background: var(--green-bg);  border-color: var(--green-soft); }
.chip.green  .chip-dot { background: var(--green); }
.chip.neutral{ color: var(--ink-2); background: #ECE5D4; border-color: var(--rule); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 243, 235, 0.84);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-serif); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
  line-height: 1;
}
.brand-word {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-feature-settings: "ss01";
  position: relative;
  /* hint at display optical size if browser/font supports it */
  font-variation-settings: 'opsz' 96;
  padding-bottom: 1px;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-size: 14.5px; padding: 8px 12px; border-radius: 8px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); background: rgba(27,38,32,.05); }
.nav-links a.btn-primary { color: #F7F3EB; background: var(--primary); }
.nav-links a.btn-primary:hover { color: #F7F3EB; background: var(--primary-2); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ Hero ============ */
.hero { padding: 88px 0 64px; }
.hero h1 .accent { color: var(--primary); }
.hero-cta-row {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 24px; color: var(--ink-3);
  font-size: 13.5px;
}
.hero-meta .tick { color: var(--green); }

/* ============ How it works ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
}
.step .num {
  font-family: var(--ff-serif);
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
  font-weight: 500;
}
.step h4 { margin-bottom: 8px; font-family: var(--ff-serif); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* ============ Sample report (faux screenshot in hero) ============ */
.sample-frame {
  position: relative;
  margin-top: 56px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.sample-frame .frame-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  background: #F4EFE3;
}
.sample-frame .dot { width: 11px; height: 11px; border-radius: 50%; background: #D8CFB8; }
.sample-frame .url {
  margin-left: 14px;
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 4px 12px; border-radius: 6px;
}

/* ============ Side-by-side compare table ============ */
.compare {
  display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 0;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
}
.compare > div { padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.compare > div + div { border-left: 1px solid var(--rule); }
.compare .head { background: var(--bg-deep); font-weight: 600; }
.compare .head.us { background: var(--primary); color: #F7F3EB; }
.compare .row-label { color: var(--ink-3); font-size: 13px; }
.compare .cell { font-size: 14.5px; color: var(--ink-2); }
.compare .us-cell { color: var(--ink); font-weight: 500; }
.compare > div:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; }
}

/* ============ FAQ ============ */
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.faq-q {
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  cursor: pointer;
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q .plus { color: var(--ink-3); font-family: var(--ff-sans); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding-top .25s ease;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 14px; }

/* ============ Testimonials ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.tcard .quote { font-family: var(--ff-serif); font-size: 18.5px; line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tcard .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-deep); border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif); color: var(--ink-2); font-size: 14px; font-weight: 500;
}
.tcard .name { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.tcard .meta { font-size: 12.5px; color: var(--ink-3); }

/* ============ Footer ============ */
.footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { font-family: var(--ff-sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  color: var(--ink-3); font-size: 13px;
}
.footer-disclaimer {
  font-size: 13px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 10px; padding: 16px 18px;
  margin-top: 28px;
  line-height: 1.55;
}

/* ============ Upload screen ============ */
.flow-shell {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.flow-shell .nav { background: rgba(247,243,235,.92); }
.flow-content { flex: 1; padding: 64px 0; }
.flow-step-meta {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-3); font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.flow-step-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .5; }

.dropzone {
  margin-top: 36px;
  border: 1.5px dashed #C9BFA4;
  border-radius: 16px;
  background: var(--surface-2);
  padding: 56px 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.dragging {
  border-color: var(--primary);
  background: #F8F4E8;
}
.dropzone.has-file {
  border-style: solid; border-color: var(--green); background: var(--green-bg);
  text-align: left; padding: 28px;
}
.dz-icon {
  width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 12px; background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
}
.dz-title { font-family: var(--ff-serif); font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.dz-sub { color: var(--ink-3); margin-top: 6px; font-size: 14px; }
.dz-files { font-size: 12px; color: var(--ink-3); margin-top: 18px; font-family: var(--ff-mono); }

.file-row {
  display: flex; align-items: center; gap: 14px;
}
.file-row .pdf-tile {
  width: 44px; height: 56px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 10px; color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
}
.file-row .file-name { font-family: var(--ff-sans); font-weight: 500; color: var(--ink); }
.file-row .file-meta { color: var(--ink-3); font-size: 13px; }
.file-row .file-remove {
  margin-left: auto;
  background: transparent; border: 0;
  color: var(--ink-3); cursor: pointer;
  font-size: 13px; padding: 6px 10px; border-radius: 6px;
}
.file-row .file-remove:hover { color: var(--ink); background: rgba(27,38,32,.06); }

.form-field {
  display: block; margin-top: 28px;
}
.form-label {
  display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 500; margin-bottom: 8px;
}
.form-help { font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.select, .input {
  width: 100%;
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--ff-sans); font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.select:focus, .input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='none' stroke='%231B2620' stroke-width='1.5' d='M3 5l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

/* ============ Checkout ============ */
.checkout-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  align-items: start;
}
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }
.line-item {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.line-item:last-child { border-bottom: 0; }
.line-item .label { color: var(--ink-2); font-size: 14.5px; }
.line-item .value { font-family: var(--ff-mono); font-size: 14px; color: var(--ink); }
.line-item.total .label, .line-item.total .value { font-weight: 600; font-size: 16px; color: var(--ink); }
.line-item.total { padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--rule); border-bottom: 0; }

.card-input-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
@media (max-width: 540px) { .card-input-row { grid-template-columns: 1fr; } }

/* ============ Processing ============ */
.processing-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.processing {
  width: 100%; max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-pop);
}
.progress-track {
  height: 4px; background: var(--bg-deep); border-radius: 4px; overflow: hidden;
  margin: 22px 0 28px;
}
.progress-bar {
  height: 100%; background: var(--primary); border-radius: 4px;
  transition: width .35s ease;
}
.processing-steps { list-style: none; padding: 0; margin: 0; }
.processing-steps li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-3);
  font-size: 14.5px;
}
.processing-steps li:last-child { border-bottom: 0; }
.processing-steps li.active { color: var(--ink); }
.processing-steps li.done   { color: var(--ink-2); }
.processing-steps .ind {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  background: var(--surface-2);
}
.processing-steps li.active .ind {
  border-color: var(--primary);
  background: var(--surface-2);
}
.processing-steps li.done .ind {
  background: var(--primary); border-color: var(--primary); color: #F7F3EB;
}
.spinner {
  width: 12px; height: 12px;
  border: 2px solid var(--rule);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Results page ============ */
.results-wrap { padding: 32px 0 96px; }
.verdict {
  border-radius: 18px;
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
}
.verdict.yellow {
  background: linear-gradient(180deg, var(--amber-bg), #FBF6E7);
  border: 1px solid var(--amber-soft);
}
.verdict.green {
  background: linear-gradient(180deg, var(--green-bg), #EDF4EB);
  border: 1px solid var(--green-soft);
}
.verdict.red {
  background: linear-gradient(180deg, var(--coral-bg), #F8E8E2);
  border: 1px solid var(--coral-soft);
}
.verdict .label { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.verdict h2 { margin-top: 6px; font-family: var(--ff-serif); font-size: clamp(28px, 3.6vw, 38px); color: var(--ink); letter-spacing: -0.02em; }
.verdict .summary-line { color: var(--ink-2); margin-top: 12px; font-size: 15.5px; max-width: 60ch; }
.verdict .counts {
  display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap;
}
.verdict .count-block { font-size: 13px; color: var(--ink-2); }
.verdict .count-block strong {
  display: block; font-family: var(--ff-serif); font-size: 28px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em;
}

.results-meta {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 22px 0 36px;
  font-size: 13px; color: var(--ink-3);
}
.results-meta .meta-block { display: flex; gap: 8px; align-items: center; }
.results-meta strong { color: var(--ink-2); font-weight: 500; }
.results-meta button {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 8px; padding: 6px 12px; font-size: 13px;
  color: var(--ink-2); cursor: pointer; font-family: var(--ff-sans);
}
.results-meta button:hover { background: var(--surface-2); color: var(--ink); }

.results-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px;
  margin-top: 28px;
  align-items: start;
}
@media (max-width: 900px) { .results-layout { grid-template-columns: 1fr; gap: 24px; } }
.results-toc {
  position: sticky; top: 84px;
  font-size: 13.5px;
}
.results-toc h6 { font-family: var(--ff-sans); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 0 0 12px; }
.results-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.results-toc li { counter-increment: t; padding: 7px 0; }
.results-toc a {
  display: flex; gap: 10px;
  color: var(--ink-2); text-decoration: none; line-height: 1.4;
}
.results-toc a:hover { color: var(--ink); }
.results-toc a::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
  padding-top: 2px;
}
@media (max-width: 900px) {
  .results-toc { position: static; display: none; }
}

.result-section {
  scroll-margin-top: 80px;
  padding-bottom: 56px;
}
.result-section + .result-section { padding-top: 8px; border-top: 1px solid var(--rule); padding-top: 56px; }
.result-section h3 {
  font-family: var(--ff-serif); font-size: 26px; letter-spacing: -0.014em; font-weight: 500;
  margin-bottom: 10px;
}
.result-section .section-lede {
  color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 62ch;
  margin-bottom: 28px;
}

/* risk summary bullets */
.risk-list { list-style: none; padding: 0; margin: 0; }
.risk-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px dashed var(--rule);
  font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.risk-list li:last-child { border-bottom: 0; }
.risk-list .marker {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 8px;
}
.risk-list .marker.red { background: var(--coral); }
.risk-list .marker.yellow { background: var(--amber); }
.risk-list .marker.green { background: var(--green); }

/* clause cards */
.clause {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
  position: relative;
}
.clause.red    { border-left: 3px solid var(--coral); }
.clause.yellow { border-left: 3px solid var(--amber); }
.clause.green  { border-left: 3px solid var(--green); }
.clause-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  margin-bottom: 14px;
}
.clause-head h4 {
  font-family: var(--ff-serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
}
.clause-head .where {
  display: block; font-family: var(--ff-mono); font-size: 11.5px;
  color: var(--ink-3); margin-top: 4px;
}
.clause blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: var(--bg-deep);
  border-left: 2px solid var(--rule);
  border-radius: 0 8px 8px 0;
  font-family: var(--ff-serif); font-style: italic;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
}
.clause blockquote::before { content: "“"; }
.clause blockquote::after { content: "”"; }
.clause .field { margin-top: 14px; }
.clause .field-label {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 6px;
}
.clause .field-body { font-size: 15px; line-height: 1.55; color: var(--ink); }
.clause .field-body.muted { color: var(--ink-2); }

/* state-specific list */
.state-flag {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--coral);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.state-flag .law-cite {
  display: inline-block; margin-top: 10px;
  font-family: var(--ff-mono); font-size: 12px;
  background: var(--bg-deep); padding: 4px 10px; border-radius: 6px; color: var(--ink-2);
}

/* questions list */
.qa-list {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 6px 24px;
}
.qa-list li {
  list-style: decimal;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 8px;
}
.qa-list li:last-child { border-bottom: 0; }
.qa-list { list-style-position: outside; padding-left: 44px; padding-right: 24px; }

.copy-btn {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 8px; padding: 6px 12px; font-size: 13px;
  color: var(--ink-2); cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--ff-sans);
}
.copy-btn:hover { background: var(--surface-2); color: var(--ink); }
.copy-btn.copied { color: var(--green); border-color: var(--green-soft); background: var(--green-bg); }

/* redline email */
.email-shell {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.email-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-deep);
}
.email-row {
  display: grid; grid-template-columns: 60px 1fr; gap: 14px;
  font-size: 14px; padding: 3px 0;
  color: var(--ink-2);
}
.email-row .k { color: var(--ink-3); font-family: var(--ff-mono); font-size: 12.5px; padding-top: 2px; }
.email-row .v { color: var(--ink); }
.email-body {
  padding: 22px;
  font-family: var(--ff-serif); font-size: 15.5px; line-height: 1.65;
  color: var(--ink); white-space: pre-wrap;
}
.email-body strong { background: var(--amber-bg); padding: 1px 3px; border-radius: 3px; font-weight: 500; }
.email-actions {
  display: flex; gap: 10px; padding: 14px 22px;
  border-top: 1px solid var(--rule);
  background: var(--surface-2);
}

/* sample preview (the in-page mini result on landing) */
.preview-report {
  padding: 36px clamp(24px, 4vw, 56px);
}
.preview-report .preview-verdict {
  background: var(--amber-bg);
  border: 1px solid var(--amber-soft);
  border-radius: 12px;
  padding: 18px 20px;
}
.preview-report .preview-verdict h3 { font-size: 22px; }
.preview-report .preview-verdict p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

.preview-clauses { margin-top: 22px; display: grid; gap: 12px; }
.preview-clauses .pc {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 18px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
}
.preview-clauses .pc .label { font-family: var(--ff-serif); font-size: 15.5px; font-weight: 500; }
.preview-clauses .pc .where { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* dev nav (hidden in production, toggle with ?dev=1) */
.devnav {
  position: fixed; bottom: 16px; right: 16px; z-index: 50;
  background: var(--ink); color: #F7F3EB;
  border-radius: 999px; padding: 6px;
  display: flex; gap: 2px; align-items: center;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-pop);
}
.devnav button {
  background: transparent; color: inherit; border: 0;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: inherit; letter-spacing: inherit;
  text-transform: uppercase;
}
.devnav button.active { background: rgba(247,243,235,.16); }
.devnav button:hover { color: #fff; }
.devnav .label { padding: 0 8px; opacity: .6; }

/* ============================================================
 * Monelo production additions (not in the design prototype)
 * ============================================================ */

/* generic alert / notice */
.alert {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  margin-top: 18px;
}
.alert.error { background: var(--coral-bg); border-color: var(--coral-soft); color: #7A2F22; }
.alert.warn  { background: var(--amber-bg); border-color: var(--amber-soft); color: #6E4A0F; }
.alert.info  { background: var(--green-bg); border-color: var(--green-soft); color: #214E33; }
.alert.hidden { display: none; }

/* jurisdiction badge on the report meta */
.jur-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px;
  background: var(--bg-deep); color: var(--ink-3); border: 1px solid var(--rule);
}

/* lower-confidence banner for jurisdictions we haven't curated yet */
.confidence-banner {
  margin: 18px 0 0;
  border-radius: 12px; padding: 14px 18px;
  background: var(--amber-bg); border: 1px solid var(--amber-soft);
  color: #6E4A0F; font-size: 13.5px; line-height: 1.55;
}
.confidence-banner strong { color: #5A3D0C; font-weight: 600; }

/* button loading state */
.btn.is-loading { opacity: .6; cursor: progress; }

/* upload: conditional reveal */
.field-hidden { display: none; }

/* report loading / error full-screen states */
.report-status {
  max-width: 560px; margin: 84px auto; text-align: center; color: var(--ink-2);
  padding: 0 24px;
}
.report-status .spinner { margin: 0 auto 18px; width: 24px; height: 24px; border-width: 3px; }
.report-status h2 { font-family: var(--ff-serif); font-weight: 500; margin-bottom: 8px; }
.report-status p { font-size: 15px; line-height: 1.6; }

.link-quiet { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-quiet:hover { color: var(--ink); }

/* email-a-copy inline form on the report */
.inline-email { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.inline-email input {
  width: 240px; max-width: 100%;
  background: var(--surface-2); border: 1px solid var(--rule); border-radius: 8px;
  padding: 9px 12px; font-family: var(--ff-sans); font-size: 14px; color: var(--ink);
}
.inline-email input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }

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

/* ============ Print (the "Download PDF" button calls window.print) ============ */
@media print {
  .nav, .devnav, .results-meta .actions, .results-toc,
  .copy-btn, .email-actions, .btn, .no-print { display: none !important; }
  html, body { background: #fff; }
  body { background-image: none; }
  .results-wrap { padding: 0; }
  .results-layout { grid-template-columns: 1fr; gap: 0; }
  .verdict, .clause, .state-flag, .qa-list, .email-shell, .card { box-shadow: none; }
  .result-section, .clause, .state-flag { break-inside: avoid; }
  a[href]::after { content: ""; }
}

