* { box-sizing: border-box; }
:root { color-scheme: light; }
body { margin: 0; color: #1b1c19; background: #f3f2ee; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, p, ul, dl { margin: 0; }
h1 { font-weight: 400; letter-spacing: -.055em; line-height: 1.02; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: #fff; color: #111; z-index: 2; }
.skip:focus { top: 16px; }
.eyebrow, .wordmark, footer, .email { font: 11px/1.6 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.eyebrow { letter-spacing: .07em; }
.intro { line-height: 1.65; }
.email { display: block; width: fit-content; overflow-wrap: anywhere; text-decoration: none; }
.email:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; gap: 36px; align-items: center; justify-content: space-between; padding: 16px 19px; font: 13px/1.4 ui-monospace, 'SFMono-Regular', Consolas, monospace; text-decoration: none; }
footer { display: flex; justify-content: space-between; gap: 20px; }
footer a { text-decoration: none; }
.wordmark { text-decoration: none; }
/* EVM Audits: a compact, framed editorial sheet. */
.evm { padding: 32px 20px; }
.sheet { width: min(680px, 100%); margin: 0 auto; background: #fffefa; border: 1px solid #25251f; padding: 48px 54px 24px; }
.evm-mark { display: grid; place-items: center; width: 32px; height: 32px; background: #1b1c19; color: #fffefa; font: 600 17px Georgia, serif; margin-bottom: 29px; }
.sheet .eyebrow { color: #64645b; }
.sheet h1 { font: 400 clamp(42px, 5.4vw, 65px)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -.06em; margin: 15px 0 25px; }
.sheet .intro { font: 15px/1.7 ui-monospace, 'SFMono-Regular', Consolas, monospace; max-width: 510px; }
.review-rows { border-block: 1px solid #77786f; margin: 32px 0 27px; padding: 16px 0; font: 12px/1.65 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.review-rows > div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; }
.review-rows dd { margin: 0; text-align: right; color: #64645b; }
.sheet .button { background: #1b1c19; color: #fffefa; }
.sheet .button:hover { background: #3d3e35; }
.sheet .email { margin-top: 14px; }
.sheet footer { border-top: 1px solid #d9d9d0; padding-top: 18px; margin-top: 30px; color: #64645b; }
/* Bytecode Audits: a single dark, typographic terminal. */
.bytecode { color-scheme: dark; background: #111813; color: #eef2eb; padding: 48px 28px; }
.terminal { width: min(760px, 100%); margin: 0 auto; }
.terminal header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 25px; border-bottom: 1px solid #3e4b40; }
.terminal .wordmark { font-size: 14px; color: #c1e9a4; }
.terminal header .eyebrow { font-size: 10px; color: #a8b6a6; }
.terminal-label { font: 12px ui-monospace, 'SFMono-Regular', Consolas, monospace; color: #b1c5aa; margin: 52px 0 20px; }
.terminal h1 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: clamp(42px, 5.8vw, 68px); font-weight: 500; }
.terminal .intro { font: 16px/1.75 ui-monospace, 'SFMono-Regular', Consolas, monospace; max-width: 600px; color: #b7c3b2; margin: 28px 0; }
.terminal-list { list-style: none; padding: 0; border-block: 1px solid #3e4b40; font: 13px/1.6 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.terminal-list li { padding: 13px 0; }
.terminal-list li + li { border-top: 1px solid #27372b; }
.terminal-list span { color: #a5d38c; margin-right: 24px; }
.terminal-contact { display: flex; gap: 27px; align-items: center; margin: 30px 0 44px; flex-wrap: wrap; }
.terminal .button { color: #121a10; background: #c1e9a4; }
.terminal .button:hover { background: #dcf4cb; }
.terminal .email { color: #b7c3b2; font-size: 12px; }
.terminal footer { border-top: 1px solid #3e4b40; padding-top: 19px; color: #a8b6a6; }
/* Onchain Auditors: an open, two-column letter. */
.onchain { background: #f6f0e5; color: #283b44; padding: 56px 32px; }
.letter { width: min(980px, 100%); margin: 0 auto; }
.letter header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 26px; border-bottom: 2px solid #283b44; }
.letter .wordmark { font: 600 22px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.04em; }
.letter header .eyebrow { font-size: 10px; }
.letter-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; padding: 66px 0 62px; }
.letter-heading > .eyebrow { color: #606d71; margin-bottom: 22px; font-size: 10px; }
.letter h1 { font: 400 clamp(42px, 4.9vw, 60px)/1.06 Georgia, 'Times New Roman', serif; letter-spacing: -.055em; }
.letter-detail { padding-top: 37px; }
.letter .intro { font: 17px/1.7 Georgia, 'Times New Roman', serif; }
.letter-list { list-style: none; margin: 28px 0; padding: 0; font: 12px/1.65 ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.letter-list li { padding: 10px 0; border-bottom: 1px solid #c9c9bb; }
.letter-list li:first-child { border-top: 1px solid #c9c9bb; }
.invitation { font: 16px/1.5 Georgia, 'Times New Roman', serif; margin-bottom: 13px; }
.text-contact { display: inline-block; font: 600 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.text-contact span { margin-left: 20px; }
.letter .email { margin-top: 17px; font-size: 11px; }
.letter footer { border-top: 1px solid #283b44; padding-top: 20px; }
/* Shared, short privacy notice. */
.privacy { width: min(680px, calc(100% - 40px)); margin: 52px auto; font: 16px/1.75 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.privacy h1 { font-size: 48px; margin: 35px 0 25px; }
.privacy h2 { font-size: 21px; margin: 30px 0 15px; }
.privacy p { margin-bottom: 18px; }
@media (max-width: 680px) {
  .evm { padding: 20px 14px; }
  .sheet { padding: 30px 25px 22px; }
  .sheet h1 { font-size: clamp(38px, 8.7vw, 54px); }
  .sheet .intro { font-size: 13px; }
  .review-rows { font-size: 11px; }
  .review-rows > div { flex-direction: column; gap: 0; padding: 8px 0; }
  .review-rows dd { text-align: left; }
  .bytecode { padding: 30px 24px; }
  .terminal header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .terminal-label { margin-top: 38px; }
  .terminal h1 { font-size: clamp(40px, 9vw, 58px); }
  .terminal .intro { font-size: 14px; }
  .terminal-list { font-size: 12px; }
  .terminal-list span { margin-right: 14px; }
  .terminal-contact { gap: 18px; flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .onchain { padding: 32px 24px; }
  .letter header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .letter-body { grid-template-columns: 1fr; padding: 36px 0; gap: 25px; }
  .letter h1 { font-size: clamp(44px, 9vw, 60px); }
  .letter-detail { padding: 0; }
  footer { font-size: 10px; }
  .letter footer { flex-wrap: wrap; }
}
