/* Acquisition Thesis Tool: page-only styles. Uses the site's design tokens. */

.thesis { max-width: 56rem; }

/* ---------- Questions ---------- */
.tool-form { display: grid; gap: 1.5rem; }
.tool-step { border: 1px solid var(--rule); border-top: 3px solid var(--navy); padding: 1.5rem 1.5rem 1.75rem; margin: 0; display: grid; gap: 1.1rem; }
/* float takes the legend out of the border so it sits inside the box */
.tool-step__title { float: left; width: 100%; padding: 0; margin: 0; font-family: var(--serif); font-size: 1.625rem; font-weight: 600; display: flex; align-items: baseline; gap: .75rem; }
.tool-step__num { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--label); }
.tool-grid { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .tool-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.tool-field { display: grid; gap: .4rem; align-content: start; }
.tool-field[hidden] { display: none; }
.tool-field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.tool-field .req { color: var(--label); }
.tool-field input, .tool-field select {
  width: 100%;
  min-height: 2.875rem;
  padding: .65rem .8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 0;
}
.tool-field input:focus, .tool-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.tool-help { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.tool-field--small label { font-size: .8125rem; font-weight: 500; }
.tool-input-wrap { display: flex; align-items: center; gap: .5rem; }
.tool-suffix { flex: none; font-size: .8125rem; color: var(--label); }

.choices { display: grid; gap: .75rem; }
@media (min-width: 48rem) { .choices { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }
.choice { position: relative; display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--rule); cursor: pointer; background: var(--white); transition: border-color .2s ease; }
.choice:hover { border-color: var(--steel); }
.choice input { margin-top: .3rem; accent-color: var(--navy); flex: none; }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice__text { display: grid; gap: .15rem; }
.choice__label { font-weight: 600; font-size: .9375rem; }
.choice__hint { font-size: .8125rem; color: var(--ink-soft); line-height: 1.45; }

.checks { display: grid; gap: .6rem; }
@media (min-width: 40rem) { .checks { grid-template-columns: repeat(2, 1fr); } }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check input { margin-top: .3rem; accent-color: var(--navy); flex: none; }

.tool-assumptions { border: 1px solid var(--rule); padding: 1rem 1.25rem; background: var(--pale); }
.tool-assumptions summary { cursor: pointer; font-weight: 600; }
.tool-assumptions[open] summary { margin-bottom: .75rem; }
.tool-assumptions .tool-help { margin-bottom: 1rem; }

.tool-error { font-size: .9375rem; font-weight: 500; color: #8a2d2d; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

/* ---------- Teaser and email gate ---------- */
.tool-teaser { border: 1px solid var(--rule); border-top: 3px solid var(--navy); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); scroll-margin-top: calc(var(--header-h) + 1rem); }
.tool-teaser__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; line-height: 1.1; }
.tool-stats { display: grid; gap: 1px; margin: 1.75rem 0; background: var(--rule); border: 1px solid var(--rule); }
.tool-stats > div { background: var(--white); padding: 1rem 1.15rem; }
.tool-stats dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
/* Figures use the sans: the serif's old-style numerals make 3.0x read like 3.ox. */
.tool-stats dd { margin-top: .35rem; font-family: var(--sans); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--ink); }
/* Four stats: two by two on medium screens, one row on wide ones (no orphan cell). */
@media (min-width: 36rem) { .tool-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .tool-stats { grid-template-columns: repeat(4, 1fr); } }

.tool-gate { display: grid; gap: .85rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); max-width: 38rem; }
.tool-gate__title { font-size: 1.1875rem; font-weight: 600; }
.tool-gate__optin { font-size: .875rem; color: var(--ink-soft); }
@media (min-width: 40rem) { .tool-gate__email { grid-column: 1 / -1; } }

/* ---------- Report ---------- */
.tool-report { display: grid; gap: 2.25rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.tool-report:focus { outline: none; }
.tool-report__head { padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); }
.tool-report__title { font-family: var(--serif); font-size: clamp(2.25rem, 4.6vw, 3.25rem); font-weight: 500; line-height: 1.08; }
.tool-report__date { margin-top: .75rem; font-size: .875rem; color: var(--label); }
.tool-block { display: grid; gap: 1rem; }
.tool-block h3 { font-family: var(--serif); font-size: clamp(1.625rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.15; }
.tool-block h4 { font-size: 1.0625rem; font-weight: 600; margin-top: .5rem; }
.tool-block p { color: var(--ink-soft); max-width: 46rem; }
.tool-block .tool-stats { margin: .5rem 0; }

.tool-verdict { padding: 1rem 1.25rem; border-left: 3px solid var(--navy); background: var(--pale); color: var(--ink) !important; font-weight: 500; }
.tool-verdict--gap { border-left-color: #8a5a2d; }
.tool-verdict--works-low { border-left-color: var(--steel); }

.tool-table { width: 100%; max-width: 46rem; border-collapse: collapse; font-size: .9375rem; }
.tool-table th, .tool-table td { text-align: left; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tool-table thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--label); border-bottom-color: var(--ink); }
.tool-table tbody th { font-weight: 500; }
.tool-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tool-table__total th, .tool-table__total td { font-weight: 700; border-top: 1px solid var(--ink); }
.tool-table--num td, .tool-table--num thead th:not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tool-table--num .is-negative td strong { color: #8a2d2d; }
.tool-table--num td.is-low { color: #8a2d2d; font-weight: 600; }
.tool-stats__lead dd { color: var(--navy); }
.tool-raise { padding: 1rem 1.25rem; border-left: 3px solid #8a5a2d; background: var(--pale); color: var(--ink) !important; }
.tool-raise strong { display: block; margin-bottom: .25rem; }
.tool-table__raise th, .tool-table__raise td { color: #8a5a2d; }
.tool-note { font-size: .875rem; padding: .85rem 1rem; background: var(--pale); border: 1px solid var(--rule); }
.tool-note strong { color: var(--ink); }

.tool-niches { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .tool-niches { grid-template-columns: repeat(2, 1fr); } }
.tool-niche { padding: 1.25rem; border: 1px solid var(--rule); display: grid; gap: .5rem; align-content: start; }
.tool-niche h4 { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; margin: 0; }
.tool-niche p { font-size: .9375rem; }
.tool-niche strong { color: var(--ink); font-weight: 600; }

.tool-thesis { margin: 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--navy); background: var(--pale); font-family: var(--serif); font-size: 1.375rem; line-height: 1.45; color: var(--ink); }

.tool-next__list { display: grid; gap: .6rem; }
.tool-next__list a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.tool-next__list li { color: var(--ink-soft); }

.tool-disclaimer { font-size: .8125rem; line-height: 1.6; color: var(--label); max-width: 46rem; }

/* ---------- Print: only the report ---------- */
@media print {
  .utility, .header, .footer, .hero, .skip-link, .tool-form, .tool-teaser, .tool-report__actions, noscript { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 0 !important; }
  .container { max-width: none; padding: 0; }
  .tool-report { gap: 1.25rem; }
  .tool-block { break-inside: avoid; }
  .tool-niche, .tool-stats, .tool-table { break-inside: avoid; }
  .tool-verdict, .tool-thesis { background: none; }
  a { color: #000; text-decoration: none; }
  .tool-next__list a::after { content: " (mountcarmeladvisory.com" attr(href) ")"; font-weight: 400; }
}
