/* Public service, marketplace shell and account screens. Shared controls live in tieout.css. */
body.site { --text-size: 15px; background: var(--surface); line-height: 1.55; }
.site .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.site h1 { font-size: 36px; line-height: 1.2; letter-spacing: -.025em; }
.site h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 12px; }
.site h3 { font-size: 16px; line-height: 1.4; letter-spacing: 0; margin: 0 0 6px; }
.site p { margin: 0 0 14px; }
.note, .cta-note { font-size: 13px; color: var(--text-2); font-weight: 400; }
.lede { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 48em; }
.text-link { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; font-size: 14px; }
.site .btn, .site button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.site .btn.small, .site button.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
/* Public navigation does not imitate the staff project rail. */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.site-header .in { max-width: 1200px; min-height: 56px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 36px; }
.site-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 500; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current=page] { color: var(--link); }
.site-nav .push { margin-left: auto; color: var(--text); }
.site .site-nav .btn { color: #fff; padding: 0 12px; min-height: 34px; font-size: 13px; }
.site .site-nav .btn:hover { color: #fff; }
.site-nav form { margin: 0; }
.menu-toggle { display: none; margin-left: auto; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); padding: 28px 0; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px 48px; }
.site .site-footer h2 { font-size: 13px; line-height: 1.5; letter-spacing: 0; margin-bottom: 6px; }
.site .site-footer p { margin: 0 0 8px; }
.site .site-footer a { color: var(--text-2); }
.site .foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; }
/* A concise introduction leads directly to a real computed work surface. */
.public-intro { padding: 40px 0 28px; }
.public-intro h1 { max-width: 20em; font-size: 40px; font-weight: 600; }
.public-intro .lede { max-width: 58em; margin: 16px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 20px; }
.example-section { background: var(--bg); padding: 24px 0 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.example-workspace { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.example-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.site .example-heading h2 { font-size: 20px; margin: 0 0 5px; }
.site .example-heading p { color: var(--text-2); font-size: 13px; margin: 0; }
.example-heading .synthetic-mark { margin-left: 8px; vertical-align: 2px; }
.report-preview { margin: 0; flex: none; }
.site .example-source { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 10px 20px; background: var(--surface-2); color: var(--text-2); border-bottom: 1px solid var(--border); font-size: 12px; }
table.ledger { width: 100%; border-collapse: collapse; font-size: 13px; }
table.ledger th { text-align: left; font-size: 12px; font-weight: 500; color: var(--text-2); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface-2); }
table.ledger td { padding: 11px 14px; border-bottom: 1px solid var(--border-2); vertical-align: top; }
table.ledger .fy { font-weight: 500; white-space: nowrap; }
table.ledger .file { overflow-wrap: anywhere; min-width: 150px; }
table.ledger .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
table.ledger tr.bad td { background: var(--bad-bg); }
table.ledger tr.bad td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.result { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.result::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7b8797; flex: none; }
.result.ok::before { background: var(--ok); } .result.bad::before { background: var(--bad); } .result.warn::before { background: var(--warn-dot); }
.result.bad { color: var(--bad); font-weight: 500; }
.example-resolution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: 16px 20px; }
.site .example-resolution h3 { font-size: 14px; }
.site .example-resolution p { font-size: 13px; color: var(--text-2); margin: 0; }
.example-resolution strong { color: var(--bad); font-variant-numeric: tabular-nums; }
.example-resolution .source-name { overflow-wrap: anywhere; }
.footnotes { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-2); }
.footnotes summary { font-weight: 500; min-height: 24px; }
.site .footnotes p { margin: 8px 0 0; max-width: 68em; }
/* Existing service copy uses concise lists and tables, with no decorative document replicas. */
.sec { padding: 40px 0; }
.sec + .sec { border-top: 1px solid var(--border-2); }
.sec.tint, .records { background: var(--surface-2); }
.receive, .pricing, .team, .request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.contents-list { list-style: none; margin: 0; padding: 0; }
.contents-list li { padding: 12px 0; border-bottom: 1px solid var(--border-2); }
.contents-list li:first-child { padding-top: 0; } .contents-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.site .contents-list p { margin: 0; color: var(--text-2); font-size: 14px; }
.flow { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.flow li { border-top: 2px solid var(--border); padding-top: 12px; }
.site .flow h3 { font-size: 14px; } .site .flow p { font-size: 13px; color: var(--text-2); margin: 0; }
.site .records-link { margin: 20px 0 0; }
.fee-table { margin: 0; }
.fee-table > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.fee-table > div:first-child { padding-top: 0; } .fee-table > div:last-child { border-bottom: 0; padding-bottom: 0; }
.fee-table dt { font-size: 14px; font-weight: 500; }
.fee-table dt small { display: block; font-weight: 400; color: var(--text-2); font-size: 13px; margin-top: 5px; }
.fee-table dd { margin: 0; font-size: 18px; font-weight: 600; text-align: right; white-space: nowrap; }
.fee-table dd.price { font-size: 28px; line-height: 1.2; }
.fee-table .compare dd { font-size: 16px; color: var(--text-2); }
.request-sec { background: var(--bg); }
.form-panel, .site .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
/* Account and readiness forms retain server errors, labels and progressive enhancement. */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site label { display: block; font-size: 13px; margin: 14px 0 5px; }
.site .grid2 > div:first-child label, .site .grid2 > div:nth-child(2) label { margin-top: 0; }
.site input[type=text], .site input[type=email], .site input[type=password], .site select, .site textarea { width: 100%; min-height: 40px; font-size: 15px; }
.site label.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 13px; }
.site label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } .err { margin: 0 0 16px; }
.narrow { max-width: 520px; margin: 0 auto; padding: 32px 20px 48px; }
.site .narrow h1 { font-size: 26px; margin-bottom: 12px; } .site .narrow h2 { font-size: 18px; margin: 20px 0 10px; }
.site .narrow .lede { font-size: 15px; }
.narrow form.panel button[type=submit], .narrow form.panel > button { width: 100%; }
.narrow .panel { margin-bottom: 16px; } .narrow .panel h2:first-child { margin-top: 0; } .narrow .notice { font-size: 13px; }
.help-page h2 { margin-top: 28px; } .help-page ul { padding-left: 1.2em; }
/* The generated sample output remains a report, rather than pretending to be an application. */
.sample-open { background: var(--bg); border-bottom: 1px solid var(--border); padding: 32px 0; }
.site .sample-open h1 { font-size: 30px; max-width: 24em; margin-bottom: 12px; }
.cta-note { max-width: 55em; margin-top: 12px; } .site .statement { font-size: 17px; max-width: 56em; margin: 0; }
.contents { list-style: none; margin: 0; padding: 0; }
.contents li { display: grid; grid-template-columns: 70px minmax(0, 5fr) minmax(0, 7fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.contents .sev { font-size: 12px; font-weight: 500; color: var(--text-2); } .site .contents p { margin: 0; color: var(--text-2); font-size: 14px; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.plain { list-style: none; margin: 0; padding: 0; } .plain li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; overflow-wrap: anywhere; } .plain .evidence { margin-top: 6px; }
.estimates { margin: 24px 0 0; display: grid; gap: 12px; }
.estimates > div { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.estimates dt { font-weight: 500; } .estimates dd { margin: 5px 0 0; font-size: 14px; color: var(--text-2); }
:where(.site) table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--surface); }
:where(.site) th, :where(.site) td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tag.test { color: var(--warn); border-color: var(--warn-line); background: var(--warn-bg); } .tag.real { color: var(--ok); border-color: var(--ok-line); background: var(--ok-bg); }
@media (max-width: 1024px) {
  .site-header .in { gap: 24px; } .site-nav { gap: 14px; } .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; gap: 0; }
  .js body.menu-open .site-nav { display: flex; } .site-nav { flex-wrap: wrap; } .site-nav .push { margin-left: 0; }
  .site-nav a { min-height: 44px; padding: 12px 4px; font-size: 14px; } .js .site-nav a { border-bottom: 1px solid var(--border-2); }
  .site .site-nav .btn { margin-top: 8px; min-height: 44px; } .site button.menu-toggle { min-height: 40px; }
  .site .wrap, .site-header .in { padding-left: 20px; padding-right: 20px; }
  .example-heading { align-items: flex-start; flex-wrap: wrap; }
  .receive, .pricing, .team, .request, .example-resolution, .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contents li { grid-template-columns: 60px minmax(0, 1fr); gap: 6px 12px; } .contents p { grid-column: 2; }
}
@media (max-width: 560px) {
  .site .wrap, .site-header .in { padding-left: 16px; padding-right: 16px; }
  .site h1, .site .public-intro h1 { font-size: 28px; line-height: 1.25; letter-spacing: -.015em; } .site h2 { font-size: 22px; }
  .public-intro { padding: 28px 0 24px; } .public-intro .lede { font-size: 15px; margin-top: 12px; }
  .site .btn, .site button, .site .btn.small, .site button.small { min-height: 44px; }
  .cta { gap: 8px 16px; margin-top: 16px; } .cta .btn { width: 100%; }
  .example-section { padding-top: 16px; } .example-heading { padding: 14px; gap: 12px; }
  .site .example-heading h2 { font-size: 18px; } .example-heading .synthetic-mark { margin: 4px 0 0; }
  .report-preview { width: 100%; }
  .site .example-source, .example-resolution, .footnotes { padding-left: 14px; padding-right: 14px; }
  .sec { padding: 28px 0; } .grid2, .grid3, .two-lists, .flow { grid-template-columns: minmax(0, 1fr); }
  .site .grid2 > div:nth-child(2) label { margin-top: 14px; } .flow { gap: 14px; } .flow li { padding-top: 10px; }
  .form-panel, .site .panel { padding: 16px; } .fee-table > div { gap: 16px; }
  .fee-table dd { font-size: 16px; } .fee-table dd.price { font-size: 24px; }
  .site .sample-open h1 { font-size: 26px; } .narrow { padding: 24px 16px 36px; }
  table.ledger { min-width: 760px; }
}
@media print {
  body.site { background: #fff; color: #000; }
  .site-header, .cta, .request-sec, .report-preview { display: none !important; }
  .sec, .example-section, .sample-open { padding: 18px 0; background: #fff; }
  .example-workspace { overflow: visible; border-color: #aaa; } .site-footer { background: #fff; color: #000; }
  .site .site-footer a, .site .site-footer p, .site .site-footer h2 { color: #000; }
  .site .records h2, .site .records h3, .site .records p, .site .records a { color: #000; }
  .table-scroll { overflow: visible; } table.ledger { min-width: 0; font-size: 10px; }
  table.ledger th, table.ledger td { padding: 5px; white-space: normal; }
}
