* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color: #1a1d23;
  background: #f4f6f5;
}
main { max-width: 800px; margin: 0 auto; padding: 32px 20px 64px; }
a { color: #0d6b5e; }
.kicker { color: #0d6b5e; font-weight: 600; letter-spacing: .04em; font-size: 13px; text-transform: uppercase; margin: 0; }
h1 { font-size: 40px; line-height: 1.15; margin: 8px 0 12px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
h4 { font-size: 15px; margin: 14px 0 4px; }
.lede { font-size: 18px; color: #3b4252; margin: 0 0 24px; }
.byline { color: #5b6475; font-size: 14px; margin: 0 0 18px; }

form { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.08); display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
label.inline { display: flex; align-items: center; gap: 8px; font-weight: 400; }
input[type=text], input[type=number] { font: inherit; padding: 10px 12px; border: 1px solid #c9cfdb; border-radius: 10px; background: #fff; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
fieldset.task { border: 1px solid #dfe4e2; border-radius: 12px; padding: 16px; gap: 12px; }
fieldset.task > legend { font-size: 16px; padding: 0 6px; }
fieldset.question legend { font-weight: 400; }
fieldset.question { grid-template-columns: repeat(2, max-content); column-gap: 18px; }
fieldset.question legend { grid-column: 1 / -1; }
button { font: inherit; font-weight: 700; padding: 12px 20px; border: 0; border-radius: 999px; background: #0d6b5e; color: #fff; cursor: pointer; justify-self: start; }
button:hover { background: #09524a; }
button.secondary { background: #fff; color: #0d6b5e; border: 1px solid #0d6b5e; padding: 8px 16px; }
button.secondary:hover { background: #eef6f4; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.error { color: #b42318; margin: 0; }

.result { background: #fff; border-radius: 16px; padding: 24px; margin-top: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.amount { font-size: 28px; line-height: 1.25; font-weight: 800; color: #0d6b5e; margin: 0 0 12px; }
.result h3 { margin-top: 24px; }
.result ul { padding-left: 20px; }
.result li { margin: 8px 0; }
.result .cta-inline { margin-top: 16px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-top: 1px solid #eef0f5; vertical-align: top; }
thead th { font-size: 13px; color: #5b6475; }
.scroll { overflow-x: auto; }
.note { background: #fff6e5; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.facts { font-size: 14px; }
q { font-style: italic; }
.src { color: #5b6475; font-size: 13px; }
.maker { color: #5b6475; font-weight: 400; font-size: 14px; }
.vendor { border-top: 1px solid #eef0f5; margin-top: 16px; }
.private { background: #eef6f4; border-radius: 12px; padding: 4px 16px 12px; margin: 20px 0; }
.private .lead { font-weight: 600; }
.block { margin: 12px 0; }
.block-label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #5b6475; margin: 0; }
.pick { font-size: 22px; font-weight: 800; color: #0d6b5e; margin: 2px 0; }
.ranking { padding-left: 22px; }
.ranking li { margin: 14px 0; }
.ranking p { margin: 4px 0; }
.task-name { font-weight: 700; }
.hours { font-weight: 400; color: #5b6475; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 2px 10px; background: #e8ebf2; }
.verdict-start_here .pill { background: #d8f0e9; color: #0a5a4e; }
.verdict-write_down .pill, .verdict-company_brain .pill { background: #fff0cc; color: #7a5200; }
.flag { color: #8a3c00; font-weight: 600; }
.confidential { border-top: 1px solid #eef0f5; margin-top: 16px; }
pre.policy { white-space: pre-wrap; word-break: break-word; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; background: #fafbfa; border: 1px solid #dfe4e2; border-radius: 10px; padding: 14px; max-height: 70vh; overflow: auto; }

.prose { font-size: 17px; }
.prose h2 { font-size: 24px; }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin: 16px 0; padding: 4px 16px; border-left: 4px solid #c9d8d4; color: #3b4252; }
.prose code { font-size: 14px; background: #eef1f0; padding: 1px 5px; border-radius: 4px; }
.prose pre { overflow-x: auto; background: #eef1f0; padding: 12px; border-radius: 10px; }
.prose pre code { background: none; padding: 0; }
.prose table { display: block; overflow-x: auto; }
.tool-links li { margin: 8px 0; }

ol, ul { padding-left: 22px; }
li { margin: 6px 0; }
.cta { margin-top: 48px; background: #0f1f1c; color: #e6efec; border-radius: 16px; padding: 24px; }
.cta-title { font-weight: 800; font-size: 18px; margin: 0 0 6px; color: #fff; }
.cta-links { margin: 8px 0 0; }
.cta a, .cta-links a { color: #8fe0cf; font-weight: 700; }
footer { margin-top: 32px; font-size: 13px; color: #5b6475; }
footer a, .footnav a { color: #0d6b5e; }
nav.top { max-width: 800px; margin: 0 auto; padding: 16px 20px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-size: 14px; }
nav.top .brand { font-weight: 800; color: #1a1d23; text-decoration: none; margin-right: 6px; }
nav.top .links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
nav.top .links a { text-decoration: none; }
nav.top .links a[aria-current="page"] { color: #1a1d23; font-weight: 700; }
.notice { background: #fff8e6; border: 1px solid #f2d58a; border-left: 4px solid #d99a00; border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; font-size: 14px; line-height: 1.5; }
.cards { display: grid; gap: 14px; margin: 8px 0; }
.card { display: grid; gap: 4px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); text-decoration: none; color: inherit; }
.card:hover { box-shadow: 0 2px 8px rgba(13,107,94,.2); }
.card-title { font-weight: 800; font-size: 18px; color: #0d6b5e; }
.card-text { color: #3b4252; }
.card-law { color: #5b6475; font-size: 13px; }
.sources { font-size: 14px; color: #3b4252; }
.sources a { overflow-wrap: anywhere; }
@media (max-width: 560px) { h1 { font-size: 32px; } .amount { font-size: 24px; } }
