/* Secure Office AI. Type, layout and components come from /site.css; these pages swap
   the accent family only (docs/design/brand.md §15) and style their own sections. Shared by
   index.html, sample-report/ and scorecard/. */
:root {
  --accent: #3b4a9c;
  --accent-deep: #2c3878;
  --tint-accent: #e9ebf6;
  /* rating colours: the semantic states in brand.md §3 */
  --red: #8a2f26;    --red-bg: #f2e1e0;
  --yellow: #8a5c00; --yellow-bg: #fdf1d6;
  --green: #1c6b34;  --green-bg: #dff3e3;
}
/* Nav: text wordmark + byline, no mark (brand.md §15) */
.brand-text { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 19px; }
.brand .by { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
@media (max-width: 719px) {
  .brand-text { flex-direction: column; align-items: flex-start; gap: 1px; font-size: 17px; }
  .brand .by { font-size: 12px; }
}
.wordmark.brand { max-width: none; }
.nav-links { display: none; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }
/* Hero */
.hero { padding: 56px 0 56px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 96px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; max-width: 19ch; }
.lede { margin-top: 24px; font-size: clamp(17px, 2.1vw, 19px); color: var(--ink-soft); max-width: 56ch; }
.cta-row { margin-top: 28px; display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--ink-soft); }
/* Hero object: a sample of the one-page report */
.report-wrap { max-width: 420px; width: 100%; justify-self: center; }
.report {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(28, 39, 51, .35);
}
.report-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--label-demo); margin-bottom: 6px; }
.report-title { font-weight: 700; font-size: 17px; line-height: 1.3; margin-bottom: 14px; }
.rate { border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; font-size: 14px; }
.rate strong { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 2px; }
.rate strong span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.rate.red { background: var(--red-bg); } .rate.red strong span { color: var(--red); }
.rate.yellow { background: var(--yellow-bg); } .rate.yellow strong span { color: var(--yellow); }
.rate.green { background: var(--green-bg); } .rate.green strong span { color: var(--green); }
.report-note { font-size: 13px; padding: 4px 2px 10px; }
.report-foot { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 6px; }
/* Cards: the three checks */
.checks { list-style: none; display: grid; gap: 16px; counter-reset: check; }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.checks li { background: var(--card); border: 1px solid var(--card-rule); border-radius: var(--radius); padding: 26px 24px; }
.checks h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 10px; }
.checks p { font-size: 15px; color: var(--ink-soft); }
.checks p + p { margin-top: 10px; }
@media (min-width: 900px) { .checks.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.selfcheck { margin-top: 20px; background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius); padding: 26px 24px; }
.selfcheck .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.selfcheck h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 10px; }
.selfcheck p { font-size: 15px; color: var(--ink-soft); max-width: 78ch; }
.selfcheck p + p { margin-top: 10px; }
.sc-form { margin-top: 16px; }
.sc-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.sc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-row input {
  flex: 1 1 260px; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--card-rule); border-radius: 999px;
}
.sc-row input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-color: var(--ink); }
.sc-row button { cursor: pointer; font-family: inherit; }
.sc-row button[disabled] { opacity: .6; cursor: progress; }
.sc-out { margin-top: 14px; }
.sc-out:empty { display: none; }
.sc-out .rate { font-size: 15px; }
.sc-out .rate strong { font-size: 15px; }
.sc-verdict { font-size: 16px; color: var(--ink); margin: 12px 0 4px; max-width: 78ch; }
.sc-verdict strong { font-weight: 700; }
.sc-send { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.sc-send-row { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.sc-copy { font: inherit; font-size: 15px; font-weight: 600; color: var(--accent-deep); background: none; border: 0; padding: 12px 0; cursor: pointer; }
.sc-copy:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-copy:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sc-text { display: block; width: 100%; margin-top: 12px; padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--paper); border: 1px solid var(--card-rule); border-radius: 8px; resize: vertical; }
.selfcheck p.sc-fine { font-size: 13px; margin-top: 12px; }
.selfcheck .sc-fine ~ p { margin-top: 16px; }
.after { margin-top: 28px; max-width: 70ch; color: var(--ink-soft); }
/* How it runs */
.two { display: grid; gap: 36px; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.facts { border-top: 1.5px solid var(--ink); }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .facts div { grid-template-columns: 9.5rem 1fr; gap: 16px; } }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.facts dd { font-size: 15px; }
.prose p { color: var(--ink-soft); font-size: 16px; max-width: 62ch; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--ink); }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose h3:first-child { margin-top: 0; }
/* Scorecard example */
.rule-card { background: var(--tint-accent); border: 1px solid #cfd4ea; border-radius: var(--radius); padding: 26px 24px; }
.rule-card .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.rule-card ul { list-style: none; font-size: 15px; }
.rule-card li { padding: 8px 0; border-top: 1px solid #cfd4ea; }
.rule-card li:first-child { border-top: 0; padding-top: 0; }
/* Price */
.price-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.price-card { background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius); padding: 28px; }
.price-card .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .amount { font-size: clamp(2.2rem, 5vw, 2.75rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.price .per { color: var(--ink-soft); }
.anchor { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.terms { list-style: none; margin-top: 18px; font-size: 15px; }
.terms li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--rule); }
.terms li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-weight: 700; }
.price-card .btn { margin-top: 20px; }
/* About */
.portrait { display: block; width: 168px; height: auto; margin-bottom: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
/* FAQ */
.faq { display: grid; gap: 22px; }
@media (min-width: 760px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; } }
.faq dt { font-weight: 700; margin-bottom: 6px; }
.faq dd { font-size: 15px; color: var(--ink-soft); }
/* Closing */
.closing h2 { font-size: clamp(2.1rem, 5.2vw, 3.1rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 18ch; margin-bottom: 18px; }
.closing p { color: var(--ink-soft); max-width: 56ch; margin-bottom: 28px; }
.closing .also { margin-top: 28px; margin-bottom: 0; font-size: 15px; }
/* Footer: compact */
footer { padding: 40px 0; }
.foot-row { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 14px; color: var(--band-muted); }
.foot-row strong { color: var(--band-ink); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Under the hero: price, who comes, the firm's time */
.band { padding: 0 0 56px; }
.band-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .band-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.band-grid > div { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.band-grid .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.band-grid p { font-size: 15px; color: var(--ink-soft); }
.band-grid p strong { color: var(--ink); }
.cta-copy { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.cta-copy a { font-weight: 600; }
.report-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.doc-links { margin-top: 18px; display: flex; gap: 12px 18px; flex-wrap: wrap; }

/* Document pages: the full sample report and the scorecard */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 880px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: none; margin-bottom: 10px; }
.doc .doc-meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; }
.doc .notice { background: var(--tint-accent); border: 1px solid #cfd4ea; border-radius: var(--radius); padding: 14px 18px; font-size: 15px; margin: 20px 0 8px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p { font-size: 16px; color: var(--ink-soft); max-width: 72ch; }
.doc p + p { margin-top: 12px; }
.doc p strong, .doc li strong { color: var(--ink); }
.doc ul.plain { margin: 10px 0 0 20px; font-size: 16px; color: var(--ink-soft); max-width: 72ch; }
.doc ul.plain li { margin-top: 6px; }
.sheet { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; margin-top: 24px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(28, 39, 51, .35); }
@media (min-width: 720px) { .sheet { padding: 40px 44px; } }
.sheet h2:first-child { margin-top: 0; }
.sheet .rate { font-size: 15px; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.doc th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; padding: 8px 10px 8px 0; border-bottom: 1.5px solid var(--ink); vertical-align: bottom; }
.doc td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink); }
.doc td.id { font-family: var(--mono); font-size: 12px; white-space: nowrap; color: var(--ink-soft); }
.doc td.yes { color: var(--green); font-weight: 700; white-space: nowrap; }
.doc td.no { color: var(--red); font-weight: 700; white-space: nowrap; }
.rules { list-style: none; margin-top: 12px; font-size: 15px; }
.rules li { padding: 8px 0; border-top: 1px solid var(--rule); }
.rules .g { color: var(--green); } .rules .y { color: var(--yellow); } .rules .r { color: var(--red); }
.quote-box { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin-top: 12px; }
.quote-box li { margin-top: 8px; font-size: 15px; color: var(--ink-soft); list-style: none; }
.doc-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; }
@media print {
  .nav, footer, .doc-foot, .notice .noprint { display: none; }
  .doc { padding: 0; } .sheet { box-shadow: none; border: 0; padding: 0; }
}
