:root {
  --ink: #13201f;
  --muted: #66726f;
  --paper: #f5f6f2;
  --white: #ffffff;
  --line: #d9dfdb;
  --sage: #cad8cd;
  --accent: #d8ff65;
  --accent-dark: #a4ca2d;
  --dark: #10211f;
  --danger: #a6403f;
  --warning: #9a6b18;
  --success: #2e7256;
  --shadow: 0 22px 70px rgba(18, 32, 31, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { width: min(880px, calc(100% - 40px)); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 242, .92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(19, 32, 31, .08); }
.nav-wrap { position: relative; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--accent); font-family: Georgia, serif; }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.main-nav > a:not(.button), .link-button { color: #354240; }
.inline-form { display: inline; margin: 0; }
.link-button { border: 0; background: transparent; padding: 0; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--dark); border-radius: 999px; background: var(--dark); color: white; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(16, 33, 31, .18); }
.button-small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.button-large { min-height: 54px; padding-inline: 28px; }
.button-secondary { background: transparent; color: var(--dark); }
.full-width { width: 100%; }
.text-link { text-decoration: underline; text-underline-offset: 4px; font-weight: 650; }
.eyebrow { display: inline-block; color: #5a6865; font-size: 11px; font-weight: 800; letter-spacing: .15em; margin-bottom: 13px; }
.eyebrow-light { color: #afbbb5; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
h3 { letter-spacing: -.025em; }
.hero { padding: 82px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(46px, 8vw, 100px); align-items: center; }
.hero-copy { max-width: 670px; font-size: 19px; color: #50605c; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 32px 0 18px; }
.fine-print { font-size: 12px; color: #7b8582; }
.report-preview { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); transform: rotate(1.3deg); }
.report-preview:before { content: ""; position: absolute; inset: 10px; border: 1px solid #edf0ed; border-radius: 20px; pointer-events: none; }
.preview-top, .metric-row, .liquidity-line { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.preview-top { font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.status { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: #edf0ed; }
.status-moderate, .status-processing { background: #fff2cc; color: #795816; }
.status-low, .status-complete { background: #dff1e8; color: #245c46; }
.status-high, .status-critical, .status-failed { background: #f7dedd; color: #8a3634; }
.status-unverified { background: #e7e9e8; color: #5a6461; }
.watch-orbit { width: 190px; height: 190px; margin: 26px auto 20px; display: grid; place-items: center; border: 1px dashed #cbd2ce; border-radius: 50%; }
.watch-face { position: relative; width: 132px; height: 132px; display: grid; place-items: center; border: 8px solid #c5c9c4; border-radius: 50%; background: #d9ff6f; box-shadow: inset 0 0 0 3px var(--dark); }
.watch-face > span:first-child { position: absolute; top: 11px; font-size: 10px; font-weight: 800; }
.watch-face b { font-family: Georgia, serif; font-size: 18px; }
.hand { position: absolute; left: 50%; bottom: 50%; width: 3px; transform-origin: 50% 100%; background: var(--dark); border-radius: 4px; }
.hand-one { height: 40px; transform: rotate(42deg); }
.hand-two { height: 31px; transform: rotate(128deg); }
.preview-title { font-size: 20px; font-weight: 800; margin-bottom: 15px; }
.metric-row { padding: 11px 0; border-top: 1px solid #e7ebe7; font-size: 13px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.value-grid div { padding: 13px; background: #f3f5f1; border-radius: 14px; }
.value-grid small, .detail-grid small, .valuation-grid small, .provenance-status small, .risk-banner small, .summary-card small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.section { padding-top: 85px; padding-bottom: 85px; }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 280px; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.52); border-radius: 22px; }
.feature-number { font-family: Georgia, serif; font-size: 36px; color: #a5b0ac; }
.feature-card h3 { font-size: 24px; margin: 44px 0 12px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.dark-section { background: var(--dark); color: white; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.check-list p { padding: 14px 0 14px 28px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; color: #d7dfda; }
.check-list p:before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; background: #eff1ed; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-grid p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.auth-section { min-height: calc(100vh - 145px); display: grid; place-items: center; padding: 60px 20px; }
.auth-card { width: min(460px, 100%); background: white; padding: 40px; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 44px; }
.auth-card > p { color: var(--muted); }
.stack-form { display: grid; gap: 17px; margin-top: 26px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.optional { color: #89928f; font-weight: 500; }
input, textarea, select { width: 100%; border: 1px solid #ccd4cf; background: #fbfcfa; border-radius: 12px; padding: 13px 14px; color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: #7b8b84; box-shadow: 0 0 0 3px rgba(123,139,132,.14); }
textarea { resize: vertical; }
label small { color: var(--muted); font-weight: 500; }
.separator { display: flex; align-items: center; gap: 12px; color: #939c99; font-size: 12px; margin: 24px 0; }
.separator:before, .separator:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.social-stack { display: grid; gap: 10px; }
.social-button { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid #ccd4cf; border-radius: 12px; font-weight: 700; font-size: 14px; background: white; }
.social-dark { background: #111; color: white; border-color: #111; }
.auth-switch { margin: 26px 0 0 !important; font-size: 13px; text-align: center; }
.auth-switch a { font-weight: 750; text-decoration: underline; }
.alert { padding: 14px 16px; border-radius: 12px; margin: 18px 0; font-size: 14px; }
.alert-error { background: #f9e2e1; border: 1px solid #efc0be; color: #7a302e; }
.dashboard-head, .report-page-head { padding: 62px 0 52px; background: #edf0eb; border-bottom: 1px solid var(--line); }
.dashboard-head-grid, .report-head-grid { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.dashboard-head h1, .report-page-head h1 { font-size: clamp(42px, 5vw, 62px); margin-bottom: 15px; }
.dashboard-head p, .report-page-head p { color: var(--muted); margin-bottom: 0; }
.summary-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.summary-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.summary-card strong { display: block; font-size: 27px; letter-spacing: -.03em; }
.report-list { display: grid; gap: 11px; }
.report-list-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 18px; transition: border .18s ease, transform .18s ease; }
.report-list-item:hover { border-color: #a9b5ae; transform: translateY(-1px); }
.report-id { color: #77827e; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.report-list-item h3 { font-size: 20px; margin: 5px 0 3px; }
.report-list-item p { color: var(--muted); font-size: 13px; margin: 0; }
.report-list-meta { display: grid; justify-items: end; gap: 8px; flex: 0 0 auto; }
.report-list-meta small { color: var(--muted); }
.empty-state { max-width: 620px; margin: 30px auto; padding: 70px 30px; text-align: center; border: 1px dashed #b9c2bd; border-radius: 24px; }
.empty-icon { font-size: 48px; color: #89938e; }
.empty-state p { color: var(--muted); }
.form-page { padding: 66px 0 90px; }
.form-heading { margin-bottom: 38px; }
.form-heading h1 { font-size: clamp(42px, 6vw, 66px); }
.form-heading p { color: var(--muted); max-width: 700px; }
.report-form { display: grid; gap: 18px; }
.form-panel { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 22px; }
.panel-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: Georgia, serif; }
.panel-content h2 { font-size: 27px; margin-bottom: 6px; }
.panel-content > p { color: var(--muted); font-size: 14px; }
.panel-content { display: grid; gap: 18px; }
.field-grid { display: grid; gap: 14px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field-grid.three { grid-template-columns: 1fr .7fr 1fr; }
.upload-zone { min-height: 170px; place-items: center; align-content: center; text-align: center; border: 1px dashed #aeb9b2; border-radius: 17px; background: #f8faf6; cursor: pointer; }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.upload-icon { font-size: 29px; font-weight: 300; }
.upload-zone small { display: block; }
.file-list { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.file-list span { padding: 7px 10px; background: #f0f3ef; border-radius: 8px; }
.form-submit { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 26px; background: var(--dark); color: white; border-radius: 22px; }
.form-submit p { max-width: 540px; color: #b9c4be; margin: 4px 0 0; font-size: 13px; }
.form-submit .button { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.processing { display: flex; gap: 16px; align-items: center; padding: 18px; background: #edf2e8; border: 1px solid #cfdbca; border-radius: 16px; }
.processing.static { max-width: 650px; }
.processing p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.spinner { width: 26px; height: 26px; border: 3px solid #c7d2cb; border-top-color: var(--dark); border-radius: 50%; animation: spin .8s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.report-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.collection-badge { padding: 10px 14px; background: #dff1e8; border-radius: 999px; color: #245c46; font-size: 12px; font-weight: 800; }
.report-shell { padding-top: 42px; }
.risk-banner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 19px; overflow: hidden; background: white; }
.risk-banner > div { padding: 21px; border-right: 1px solid var(--line); }
.risk-banner > div:last-child { border-right: 0; }
.risk-banner strong { display: block; font-size: 26px; letter-spacing: -.03em; }
.risk-low { border-top: 4px solid #4a9872; }
.risk-moderate { border-top: 4px solid #c89a35; }
.risk-high, .risk-critical { border-top: 4px solid #bb4a47; }
.risk-unverified { border-top: 4px solid #7f8985; }
.report-summary { padding: 40px 0 30px; max-width: 900px; }
.report-summary h2 { font-size: 32px; }
.report-summary > p { font-size: 18px; color: #465551; }
.recommendation { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--accent-dark); background: #eef4df; }
.recommendation span { font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.recommendation p { margin: 5px 0 0; }
.report-columns { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; align-items: start; }
.report-main { background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.report-section { display: grid; grid-template-columns: 55px 1fr; gap: 12px; padding: 30px; border-bottom: 1px solid var(--line); }
.report-section:last-child { border-bottom: 0; }
.section-label { font-family: Georgia, serif; color: #96a09b; font-size: 18px; }
.report-section h2 { font-size: 29px; margin-bottom: 22px; }
.report-section h3 { margin: 22px 0 10px; }
.detail-grid, .valuation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.detail-grid > div, .valuation-grid > div { padding: 15px; background: #fbfcfa; }
.detail-grid strong, .valuation-grid strong { display: block; font-size: 15px; }
.span-two { grid-column: span 2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 7px 10px; border-radius: 999px; background: #eef1ed; font-size: 12px; }
.finding-list { display: grid; gap: 10px; }
.finding { padding: 16px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px; }
.finding-high, .finding-critical { border-left-color: #b94b47; }
.finding-medium { border-left-color: #c18b2c; }
.finding-low { border-left-color: #4c8d6e; }
.finding-top { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.finding-top span { font-size: 9px; text-transform: uppercase; letter-spacing: .09em; font-weight: 850; }
.finding-top em { font-size: 11px; color: var(--muted); font-style: normal; }
.finding p { margin: 9px 0 5px; }
.finding small { color: var(--muted); }
.muted { color: var(--muted); }
.valuation-grid strong { font-size: 20px; }
.liquidity-line { padding: 14px 0; margin-top: 12px; border-bottom: 1px solid var(--line); }
.clean-list { padding-left: 20px; color: #4d5a56; }
.clean-list li { margin-bottom: 7px; }
.provenance-status { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.provenance-status > div { padding: 14px; background: #f4f6f2; border-radius: 12px; }
.provenance-status strong { display: block; font-size: 13px; }
.limitations, .disclaimer { margin-top: 17px; padding: 16px; background: #f4f2ea; border: 1px solid #e2dcc8; border-radius: 12px; font-size: 13px; }
.limitations ul { margin-bottom: 0; padding-left: 20px; }
.report-aside { display: grid; gap: 14px; position: sticky; top: 92px; }
.aside-card { padding: 21px; background: white; border: 1px solid var(--line); border-radius: 17px; }
.aside-card h3 { margin-bottom: 14px; }
dl { margin: 0; }
dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.action-grid section { padding: 23px; background: #eef1ed; border-radius: 16px; }
.action-grid h2 { font-size: 20px; }
.disclaimer { margin-top: 25px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collection-card { background: white; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.collection-watch { height: 170px; display: grid; place-items: center; background: #f1f4ef; border-radius: 14px; margin-bottom: 20px; }
.mini-watch { width: 82px; height: 82px; border: 7px solid #b6beb8; border-radius: 50%; background: var(--accent); position: relative; box-shadow: inset 0 0 0 3px var(--dark); }
.mini-watch:before, .mini-watch:after { content: ""; position: absolute; width: 34px; height: 40px; background: #c9d0cb; left: 17px; z-index: -1; }
.mini-watch:before { top: -38px; }
.mini-watch:after { bottom: -38px; }
.collection-card h2 { font-size: 24px; margin: 6px 0 4px; }
.collection-card p { color: var(--muted); }
.collection-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; margin: 18px 0; }
.legal-page { padding: 75px 0 95px; }
.legal-page h1 { font-size: clamp(45px, 6vw, 68px); }
.legal-copy { background: white; padding: 36px; border: 1px solid var(--line); border-radius: 22px; }
.legal-copy h2 { font-size: 24px; margin-top: 28px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: #52605c; }
@media (max-width: 900px) {
  .hero-grid, .split-grid, .report-columns { grid-template-columns: 1fr; }
  .report-preview { max-width: 520px; }
  .feature-grid, .collection-grid { grid-template-columns: 1fr 1fr; }
  .report-aside { position: static; grid-template-columns: 1fr 1fr; }
  .risk-banner { grid-template-columns: 1fr 1fr; }
  .risk-banner > div:nth-child(2) { border-right: 0; }
  .risk-banner > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .action-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .shell, .narrow-shell { width: min(100% - 24px, 1180px); }
  .nav-wrap { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 58px; right: 0; width: min(300px, calc(100vw - 24px)); padding: 16px; flex-direction: column; align-items: stretch; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav form, .main-nav form button { width: 100%; display: flex; justify-content: center; }
  .main-nav > a:not(.button), .main-nav .link-button { min-height: 42px; align-items: center; border-radius: 10px; background: #f4f6f2; }
  .hero { padding: 55px 0 65px; }
  .hero-actions, .dashboard-head-grid, .report-head-grid, .form-submit, .footer-grid { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .feature-grid, .summary-cards, .collection-grid, .field-grid.two, .field-grid.three, .detail-grid, .valuation-grid, .provenance-status, .report-aside { grid-template-columns: 1fr; }
  .span-two { grid-column: span 1; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .auth-card { padding: 26px 20px; }
  .form-panel { grid-template-columns: 1fr; padding: 22px 17px; }
  .panel-number { width: 34px; height: 34px; }
  .report-list-item { align-items: flex-start; }
  .report-list-meta { justify-items: end; }
  .report-section { grid-template-columns: 1fr; padding: 23px 17px; }
  .risk-banner { grid-template-columns: 1fr; }
  .risk-banner > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .risk-banner > div:last-child { border-bottom: 0; }
  .report-actions { width: 100%; justify-content: stretch; }
  .report-actions form { width: 100%; }
  .collection-badge { justify-content: center; }
}
.button-danger { background: #8f302f; border-color: #8f302f; color: #fff; }
.danger-text { color: #9a3734 !important; }
.card-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card-actions .button { width: auto; }
.card-actions form { margin: 0; }
.evidence-list { display: grid; gap: 8px; margin-bottom: 16px; }
.evidence-list > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 13px; background: #f0f3ef; border-radius: 10px; }
@media (max-width: 680px) { .card-actions { align-items: stretch; flex-direction: column; } .card-actions .button, .card-actions .text-link, .card-actions form, .card-actions button { width: 100%; text-align: center; } }
