/* Docketline. The shared look (/_look/look.css) loads after this and sets the type, colours
   and buttons; this file lays out the landing page, the check's table and the list page. */

* { box-sizing: border-box; }
body { margin: 0; }
header.top, main, .site-footer { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1rem; padding-top: 1rem; padding-bottom: 0.5rem; }
header.top nav { font-size: 0.9375rem; }
.small { font-size: 0.875rem; color: var(--muted, #5a5f6b); }
textarea { width: 100%; font: 0.9375rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0.6rem; border: 1px solid var(--line, #d8d3c6); border-radius: 8px; background: var(--surface, #fff); color: inherit; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; }

/* --- landing page ---------------------------------------------------------------------- */
.hero { display: grid; gap: 0.75rem 2rem; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "act" "fig"; padding: 0.25rem 0 1rem; }
.hero-text { grid-area: text; }
.hero-act { grid-area: act; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin: 0.25rem 0 0.4rem; }
.hero .sub { font-size: 1.0625rem; line-height: 1.5; margin: 0; }
.hero .proof-fig { grid-area: fig; margin: 0; background: var(--surface, #fff); border: 1px solid var(--line, #e4dfd3);
  border-radius: 12px; padding: 0.5rem; min-width: 0; }
.hero .proof-fig table.results { font-size: 0.75rem; }
.hero .proof-fig table.results th, .hero .proof-fig table.results td { padding: 0.3rem 0.35rem; }
.hero .proof-fig figcaption { font-size: 0.8125rem; color: var(--muted, #5a5f6b); margin-top: 0.35rem; }
.hero .actions { margin: 0 0 0.5rem; }
.look .hero .actions .cta { font-size: 1.125rem; }
.hero .priceline { margin: 0; font-size: 0.9375rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; }
.look .hero .priceline .buy-small { min-height: 40px; padding: 0.4rem 1rem; background: var(--surface, #fff); color: var(--accent); }
.look .hero .priceline .buy-small:hover { color: var(--accent-fg); }
.hero .behind-wrap { margin-top: 0.6rem; font-size: 0.875rem; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr;
    grid-template-areas: "text fig" "act fig"; align-items: start; }
}
.objections { list-style: none; padding: 0; display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 860px) { .objections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.objections li { background: var(--surface, #fff); border: 1px solid var(--line, #e4dfd3); border-radius: 12px; padding: 1rem 1.1rem; }
.objections strong { display: block; margin-bottom: 0.3rem; }
.check { margin: 2rem 0; }
.offer-after { margin-top: 1.25rem; padding: 1rem 1.25rem; border: 2px solid var(--accent, #1d3557); border-radius: 12px;
  background: var(--surface, #fff); }
.offer-after h3 { margin-top: 0; }

/* --- the check's table ------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.results { border-collapse: collapse; width: 100%; font-size: 0.8125rem; line-height: 1.35; }
table.results th, table.results td { text-align: left; vertical-align: top; padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line, #e4dfd3); }
table.results th { font-size: 0.75rem; white-space: nowrap; }
table.results td strong, table.results td .name, table.results td .nums, table.results td a { display: block; }
table.results td .name { font-weight: 600; }
table.results td .nums { color: var(--muted, #5a5f6b); }
table.results tr.flagged td:last-child { color: #9b2c1f; font-weight: 600; }
table.results ul.flags { margin: 0; padding-left: 1rem; }
@media (prefers-color-scheme: dark) { table.results tr.flagged td:last-child { color: #ffb3a6; } }
@media (max-width: 700px) {
  table.results thead { display: none; }
  table.results, table.results tbody, table.results tr, table.results td { display: block; width: 100%; }
  table.results tr { border-bottom: 2px solid var(--line, #e4dfd3); padding: 0.3rem 0; }
  table.results td { border: 0; padding: 0.15rem 0.25rem; }
  table.results td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
}

/* --- small pages ------------------------------------------------------------------------- */
#sent { display: none; }
#sent:target { display: block; }
.resend input[type="email"] { width: min(100%, 24rem); }
