:root { --ink: #16251f; --muted: #64736b; --line: #dbe5df; --paper: #f8faf8; --green: #18714c; --mint: #dff4e8; --amber: #a85a05; --red: #ba3535; --navy: #10271e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.shell { max-width: 1080px; margin: auto; padding: 22px 28px 72px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; gap: 9px; align-items: center; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.4px; direction: ltr; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--green); color: white; font-size: 17px; }
.privacy-badge { border: 1px solid var(--line); border-radius: 999px; color: var(--green); font-size: 13px; padding: 8px 11px; background: white; }
.account-area { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }.github-status { color: var(--muted); font-size: 12px; }.github-connect { text-decoration: none; font-size: 13px; padding: 8px 10px; }
.hero { text-align: center; padding: 80px 10px 44px; }
.eyebrow, .step { color: var(--green); font-weight: 700; font-size: 12px; letter-spacing: .11em; margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.14; margin: 0; letter-spacing: -1.5px; }
.lede { max-width: 650px; margin: 22px auto 0; color: var(--muted); line-height: 1.8; font-size: 17px; }
.scanner-card, .results { border: 1px solid var(--line); border-radius: 20px; background: white; padding: 28px; box-shadow: 0 16px 40px rgba(16,39,30,.05); }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }.card-heading h2 { margin: 0; font-size: 23px; }.supported { color: var(--muted); font-size: 13px; padding-top: 5px; direction: ltr; }
.dropzone { border: 1.5px dashed #9fb5a7; border-radius: 16px; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; background: #fcfffc; text-align: center; transition: .2s; }.dropzone:hover,.dropzone.dragging { border-color: var(--green); background: #f1fbf5; }.dropzone.loading { opacity: .65; pointer-events: none; }.drop-icon { color: var(--green); font-size: 44px; line-height: 1; }.dropzone strong { font-size: 18px; }.dropzone span:not(.drop-icon), .dropzone small { color: var(--muted); }.dropzone small { font-size: 12px; margin-top: 6px; }
.divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 22px 0; color: var(--muted); font-size: 13px; }.divider::before,.divider::after { content: ''; height: 1px; background: var(--line); }
.github-row { display: flex; gap: 10px; }.github-row input { flex: 1; }.github-row input, .secondary { border-radius: 10px; border: 1px solid var(--line); padding: 12px 14px; background: #f6f8f7; font: inherit; }.secondary { color: var(--ink); cursor: pointer; white-space: nowrap; }.secondary:disabled { cursor: not-allowed; opacity: .55; }.hint { color: var(--muted); font-size: 13px; margin: 11px 0 0; }
.how-it-works { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 48px 0; }.how-it-works div { border-top: 1px solid var(--line); padding-top: 15px; }.how-it-works span { color: var(--green); font-weight: 800; }.how-it-works h3 { margin: 10px 0 5px; }.how-it-works p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 14px; }.hidden { display: none; }
.results { margin-top: 30px; }.report-header { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }.report-header h2 { margin: 0 0 5px; }.report-header p:last-child { color: var(--muted); margin: 0; }.report-actions { margin-inline-start: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }.gauge { width: 75px; height: 75px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 7px solid var(--green); border-radius: 50%; color: var(--green); direction: ltr; }.gauge strong { font-size: 22px; line-height: 1; }.gauge span { font-size: 11px; }.report-header.critical .gauge { border-color: var(--red); color: var(--red); }.report-header.high .gauge { border-color: var(--amber); color: var(--amber); }
.error-panel { border: 1px solid #f0caca; border-radius: 13px; background: #fff7f7; padding: 20px; }.error-panel h2 { margin: 0 0 8px; color: var(--red); }.error-panel p { margin: 0; color: var(--muted); line-height: 1.6; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }.report-panel { border: 1px solid var(--line); border-radius: 13px; padding: 18px; }.report-panel h3 { margin: 0 0 10px; }.report-panel p { color: var(--muted); line-height: 1.65; margin: 0 0 10px; font-size: 14px; }.capabilities { display: flex; flex-wrap: wrap; gap: 7px; }.capability { border-radius: 999px; color: var(--green); background: var(--mint); padding: 6px 9px; font-size: 13px; }.muted { color: var(--muted); font-size: 13px; }.findings-list { padding-top: 3px; }.finding { border-right: 4px solid var(--green); padding: 16px; background: #f8fbf9; margin: 12px 0; border-radius: 0 10px 10px 0; }.finding.critical { border-color: var(--red); background: #fff7f7; }.finding.high { border-color: var(--amber); background: #fffaf5; }.finding-top { display: flex; gap: 10px; justify-content: space-between; align-items: center; }.finding h3 { margin: 12px 0 7px; font-size: 17px; }.finding p { margin: 0; color: var(--muted); line-height: 1.6; }.finding code { color: var(--muted); font-size: 12px; direction: ltr; }.severity-pill { border-radius: 999px; padding: 4px 8px; background: var(--mint); color: var(--green); font-size: 12px; font-weight: 700; }.severity-pill.critical { background: #fde7e7; color: var(--red); }.severity-pill.high { background: #fff0d8; color: var(--amber); }.severity-pill.medium { background: #fff7df; color: #8a5b00; }.finding pre { direction: ltr; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; color: #37443e; font: 12px/1.6 Consolas, monospace; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin: 12px 0 0; background: white; }.clear-message { color: var(--green); }
.site-footer { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; margin-top: 36px; padding: 22px 2px 0; border-top: 1px solid var(--line); }.site-footer nav { display: flex; gap: 16px; }.site-footer a { color: var(--green); text-decoration: none; }.site-footer a:hover { text-decoration: underline; }

.primary-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 26px; border: none; border-radius: 999px; background: var(--green); color: white; text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 26px; box-shadow: 0 10px 24px rgba(24,113,76,.25); transition: .15s; }.primary-cta:hover { background: #12583c; transform: translateY(-1px); }.primary-cta.small { margin-top: 0; padding: 9px 16px; font-size: 13px; box-shadow: none; }

.classification-summary { border: 1px solid var(--line); border-radius: 13px; padding: 18px; margin: 22px 0; background: #fbfdfb; }.classification-summary h3 { margin: 0 0 6px; }.classification-summary > p.muted { margin: 0 0 16px; }
.classification-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.classification-card { border: 1px solid var(--line); border-radius: 11px; padding: 14px; background: white; }.classification-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.classification-card-top strong { font-size: 22px; }.classification-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.classification-pill { display: inline-flex; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.classification-pill.actionable { background: #fde7e7; color: var(--red); }.classification-pill.review { background: #fff0d8; color: var(--amber); }.classification-pill.context { background: var(--mint); color: var(--green); }
.scope-note { color: var(--muted); font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 12px; }
.finding-badges { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }

@media (max-width: 900px) { .classification-grid { grid-template-columns: 1fr; } }
.legal-copy { max-width: 760px; margin: 72px auto 0; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 16px 40px rgba(16,39,30,.05); }.legal-copy h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1px; margin: 0 0 10px; }.legal-copy h2 { margin: 30px 0 9px; font-size: 20px; }.legal-copy p { color: var(--muted); line-height: 1.75; }
@media (max-width: 650px) { .shell { padding: 18px 16px 50px; }.topbar { align-items: flex-start; flex-direction: column; }.account-area { justify-content: flex-start; }.privacy-badge { font-size: 11px; }.hero { padding-top: 56px; }.scanner-card,.results { padding: 18px; }.card-heading,.report-header,.site-footer { align-items: flex-start; flex-direction: column; }.report-actions { margin-inline-start: 0; justify-content: flex-start; }.how-it-works,.report-grid { grid-template-columns: 1fr; }.github-row { flex-direction: column; }.supported { padding: 0; }.finding-top { align-items: flex-start; flex-direction: column; gap: 7px; } }
