:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0a0c;
  color: #f6f1eb;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

.page { width: min(100% - 32px, 1050px); margin: 0 auto; padding: 80px 0; }

.hero { max-width: 720px; margin-bottom: 38px; }

h1, h2, h3, p { margin-top: 0; }

h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.07em; margin-bottom: 22px; }

h2 { font-size: 1.25rem; margin-bottom: 10px; }

h3 { font-size: .9rem; color: #b9b5b0; text-transform: uppercase; letter-spacing: .08em; }

.subtitle, .card p { color: #aaa5a1; line-height: 1.55; }

.eyebrow { color: #f6a61e; font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 10px; }

.card { background: #131316; border: 1px solid #29282d; border-radius: 18px; padding: 25px; margin-bottom: 18px; }

.hidden { display: none !important; }

.button { border: 0; border-radius: 10px; background: #f6a61e; color: #17110a; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; padding: 13px 18px; text-decoration: none; cursor: pointer; }

.button:hover { background: #ffbb4c; }

.text-button { border: 0; background: none; color: #f6a61e; font: inherit; cursor: pointer; }

.user-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }

.section-heading { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }

.tag { border: 1px solid #3d3b41; border-radius: 999px; color: #aaa5a1; font-size: .75rem; padding: 6px 10px; white-space: nowrap; }

form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.file-input { flex: 1; min-width: 240px; border: 1px dashed #49464d; border-radius: 10px; color: #c8c4c0; cursor: pointer; padding: 12px; }

.file-input input { display: block; max-width: 100%; margin-top: 8px; color: #aaa5a1; }

.summary-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }

.metric span { display: block; color: #f6a61e; font-size: 2.7rem; font-weight: 800; line-height: 1; }

.metric small { color: #aaa5a1; display: block; margin-top: 10px; }

.lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 25px; }

ul { background: #0c0c0e; border-radius: 10px; list-style: none; margin: 0; max-height: 260px; overflow: auto; padding: 6px 14px; }

li { border-bottom: 1px solid #242329; color: #c3bfbc; font-family: ui-monospace, monospace; font-size: .8rem; padding: 10px 0; word-break: break-all; }

li:last-child { border-bottom: 0; }

.message { min-height: 24px; color: #aaa5a1; margin-top: 20px; }
.message.error { color: #ff8585; }
.message.success { color: #73d89b; }
code { color: #f6c36d; }

@media (max-width: 640px) {
  .page { padding: 42px 0; }
  .summary-grid, .lists { grid-template-columns: 1fr; }
  .section-heading { align-items: stretch; flex-direction: column; }
}
