:root {
  --ink: #10221c;
  --muted: #607069;
  --paper: #f5f7f4;
  --card: #ffffff;
  --line: #dce4df;
  --green: #116149;
  --green-dark: #0b4635;
  --green-soft: #e5f1ec;
  --red: #a73535;
  --red-soft: #f8e8e6;
  --amber: #8b6200;
  --shadow: 0 16px 40px rgba(16, 34, 28, .08);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); line-height: 1.55; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 74px; padding: 14px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(245, 247, 244, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; }.brand small { color: var(--muted); }
nav { display: flex; gap: 8px; } nav a { padding: 9px 13px; text-decoration: none; border-radius: 10px; font-weight: 650; } nav a:hover { background: var(--green-soft); }
.page-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 54px 0 72px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 36px; align-items: end; padding: 44px 0 54px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.035em; line-height: 1.08; } h1 { max-width: 850px; font-size: clamp(2.4rem, 6vw, 5.4rem); } h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.hero-copy, .page-heading > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }.button.primary { background: var(--green); color: white; }.button.primary:hover { background: var(--green-dark); }.button.secondary { border-color: var(--line); background: white; }
.status-panel { padding: 28px; border-radius: 24px; background: var(--ink); color: white; box-shadow: var(--shadow); }.status-label { display: block; color: #bdd5ca; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }.status-panel strong { display: block; margin: 9px 0; font-size: 2.4rem; }.status-panel p { color: #d6e2dd; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }.metrics article { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }.metrics strong { display: block; color: var(--green); font-size: 2.15rem; line-height: 1; }.metrics span { display: block; margin-top: 8px; color: var(--muted); }
.two-column, .predict-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }.card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 8px 24px rgba(16,34,28,.04); }.danger-card { border-color: #ecc8c4; background: #fffafa; }
.check-list, .block-list { margin: 20px 0 0; padding: 0; list-style: none; }.check-list li, .block-list li { position: relative; padding: 9px 0 9px 29px; border-bottom: 1px solid var(--line); }.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }.block-list li::before { content: "!"; position: absolute; left: 3px; color: var(--red); font-weight: 900; }
.model-card { margin-top: 20px; }.metric-list { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }.metric-list div { padding: 16px; background: white; }.metric-list dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }.metric-list dd { margin: 5px 0 0; font-weight: 750; }
.warning { padding: 14px 16px; border-left: 4px solid var(--amber); background: #fff7df; color: #684d05; border-radius: 8px; }
.page-heading { margin: 12px 0 32px; }.page-heading h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); }.compact-heading h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.form-card { display: grid; gap: 18px; }.form-card label { display: grid; gap: 7px; font-weight: 750; }.form-card select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #bdc9c3; border-radius: 10px; background: white; color: var(--ink); font: inherit; }.form-card select:focus { outline: 3px solid rgba(17,97,73,.15); border-color: var(--green); }.field-error { color: var(--red); }
.result-card { display: grid; place-items: center; min-height: 260px; padding: 30px; border-radius: 24px; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: white; box-shadow: var(--shadow); }.result-card span { color: #c7dfd4; }.result-card strong { font-size: clamp(4rem, 10vw, 7rem); line-height: .9; letter-spacing: -.06em; }.result-card em { font-style: normal; color: #dcece5; }.empty-state { min-height: 260px; display: grid; place-content: center; text-align: center; }.error-page { min-height: 440px; }
.table-card { padding: 0; overflow: hidden; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: .9rem; } th { padding: 14px 13px; background: var(--green-dark); color: white; text-align: left; white-space: nowrap; } td { padding: 13px; border-bottom: 1px solid var(--line); vertical-align: top; } tbody tr:hover { background: var(--green-soft); }.pill { display: inline-flex; padding: 3px 8px; border-radius: 99px; font-size: .75rem; font-weight: 800; }.pill.bad { background: var(--red-soft); color: var(--red); }
footer { min-height: 74px; padding: 20px clamp(20px, 4vw, 64px); display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 800px) { .site-header { align-items: flex-start; }.brand small { display: none; } nav { gap: 0; } nav a { padding: 9px; }.hero, .two-column, .predict-grid { grid-template-columns: 1fr; }.metrics { grid-template-columns: repeat(2, 1fr); }.metric-list { grid-template-columns: 1fr 1fr; } h1 { font-size: 2.65rem; } }
@media (max-width: 480px) { .page-shell { width: min(100% - 24px, 1180px); padding-top: 30px; }.site-header { padding: 12px; }.brand strong { font-size: .9rem; } .metrics { grid-template-columns: 1fr; }.card { padding: 20px; } footer { align-items: flex-start; flex-direction: column; } }

