:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --bg: #0e2825;
  --panel: #132f2b;
  --panel-raised: #173631;
  --text: #f6faf8;
  --muted: #a7bdb5;
  --line: #36504a;
  --mint: #a2e3d0;
  --amber: #f2b861;
  --red: #e99e97;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; min-height: 100dvh; color: var(--text); background: var(--bg); }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .65; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cloudscape { position: fixed; z-index: -1; pointer-events: none; inset: auto 0 0; height: clamp(188px, 44vh, 600px); background: center bottom / 100% auto no-repeat url('/assets/cloudscape.png'); mask-image: linear-gradient(transparent, #000 36%); }
.site-header { min-height: 84px; padding: 16px clamp(22px, 4.5vw, 70px); display: flex; align-items: center; gap: 36px; }
.brand { min-width: 55px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-crow { width: 46px; height: auto; aspect-ratio: 1; object-fit: contain; }
.brand-wordmark { display: none; width: 82px; height: auto; }
.site-header nav { display: flex; gap: clamp(20px, 3.7vw, 49px); align-items: center; margin-left: auto; white-space: nowrap; }
.nav-button { color: var(--text); background: none; border: 0; padding: 8px 0; font-size: 14px; }
.nav-button:hover { color: var(--mint); }
.header-search { display: none; min-width: 0; flex: 1; max-width: 420px; }
.landing { min-height: max(510px, calc(100dvh - 84px)); display: grid; place-items: center; padding: 10px 22px 16vh; }
.hero { width: min(100%, 635px); text-align: center; }
.hero h1 { margin: 0 0 27px; }
.hero h1 img { display: block; width: clamp(178px, 23vw, 238px); height: auto; margin: 0 auto; }
.lookup { position: relative; display: flex; align-items: center; min-width: 0; height: 61px; border-radius: 999px; background: #f8faf8; color: #102d28; box-shadow: 0 2px 18px #06191612; }
.lookup input { min-width: 0; flex: 1; height: 100%; padding: 0 62px 0 22px; border: 0; border-radius: inherit; background: transparent; color: #102d28; color-scheme: light; font-size: 16px; }
.lookup input::placeholder { color: #637973; opacity: 1; }
.lookup input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #a94c46; }
.lookup button { position: absolute; right: 7px; display: grid; place-items: center; width: 47px; height: 47px; border: 0; border-radius: 50%; background: #153e36; color: #fff; }
.lookup button:hover { background: #20564a; }
.hero-caption { margin: 15px auto 0; font-size: 13px; line-height: 1.55; color: #c4d6ce; }
.turnstile-box { position: fixed; z-index: 4; bottom: 22px; left: 50%; transform: translateX(-50%); }
.feedback { max-width: min(100% - 40px, 1160px); margin: 10px auto 16px; color: #fde0ac; font-size: 14px; }
body:not(.has-results) .feedback:not([hidden]) { position: absolute; left: 50%; top: calc(50% + 115px); transform: translateX(-50%); margin: 0; width: min(100% - 40px, 620px); text-align: center; }
.has-results .cloudscape { display: none; }
.has-results .site-header { border-bottom: 1px solid #29443d; }
.has-results .brand-wordmark, .has-results .header-search { display: block; }
.has-results .lookup { height: 42px; }
.has-results .lookup input { font-size: 14px; padding-left: 15px; padding-right: 45px; }
.has-results .lookup button { width: 32px; height: 32px; right: 5px; }
.has-results .lookup button svg { width: 18px; height: 18px; }
.results { max-width: 1240px; padding: 39px 33px 70px; margin: 0 auto; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 25px; }
.results-heading h1 { margin-top: 7px; font-size: clamp(25px, 4vw, 42px); font-weight: 550; letter-spacing: -.055em; overflow-wrap: anywhere; }
.eyebrow { color: var(--muted); font-size: 12px; line-height: 1.35; letter-spacing: .065em; text-transform: uppercase; font-weight: 700; }
.data-status { display: flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.data-status > :first-child, .signal-dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.data-status[data-stale="true"] > :first-child, .signal-dot.amber { background: var(--amber); }
.snapshot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .36fr); align-items: stretch; gap: 15px; }
.warning-stack { display: grid; gap: 15px; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: 15px; padding: 19px 21px; min-width: 0; }
.warning-card { border-color: #5e543d; }
.warning-heading { display: flex; align-items: center; gap: 9px; }
.card h2 { font-size: 20px; letter-spacing: -.035em; font-weight: 650; }
.warning-fact { margin-top: 10px; color: #cddbd4; font-size: 15px; line-height: 1.5; }
.warning-bottom { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 17px; align-items: center; }
.locked { border: 1px dashed #64716a; border-radius: 8px; padding: 7px 10px; color: var(--muted); font-size: 13px; }
.cta { border: 0; border-radius: 999px; background: var(--mint); color: #14332c; font-size: 14px; font-weight: 700; padding: 8px 14px; min-height: 38px; }
.cta:hover { background: #c5f2e5; }
.pnl-card { display: flex; flex-direction: column; justify-content: center; }
.pnl-number { margin: 7px 0; font-size: 36px; font-weight: 550; letter-spacing: -.055em; overflow-wrap: anywhere; }
.positive { color: var(--mint); }
.negative { color: var(--red); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.45; }
.positions-card { margin-top: 16px; padding-inline: 0; overflow: hidden; }
.panel-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.positions-card .panel-heading, .empty-table { padding-inline: 21px; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; }
th { color: var(--muted); font-weight: 500; font-size: 12px; }
th, td { padding: 10px 15px; border-top: 1px solid #304b43; }
th:first-child, td:first-child { padding-left: 21px; }
th:last-child, td:last-child { padding-right: 21px; }
td { min-height: 49px; font-size: 14px; }
tr[data-selected="true"] td { background: #20433b; }
.market-button { background: none; border: 0; border-bottom: 1px solid #ffffff00; padding: 2px 0; color: var(--text); font-weight: 700; }
.market-button:hover { border-color: var(--mint); }
.table-signal { color: var(--amber); }
.market-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 15px; margin-top: 16px; }
.market-card .eyebrow { margin-bottom: 6px; }
.chart { min-height: 194px; display: grid; place-items: center; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart svg text { fill: var(--muted); font: 10px Arial, sans-serif; }
.chart .chart-placeholder { padding: 18px 4px; text-align: center; font-size: 14px; }
.dialog { color: var(--text); background: #16352e; padding: 28px; border: 1px solid #527268; border-radius: 18px; width: min(480px, calc(100vw - 32px)); }
.dialog::backdrop { background: #021410c7; backdrop-filter: blur(4px); }
.dialog h2 { margin-top: 9px; max-width: 88%; font-size: 29px; letter-spacing: -.045em; }
.dialog p { margin-top: 12px; color: #cfe0d8; font-size: 15px; line-height: 1.55; }
.dialog p.eyebrow { margin: 0; font-size: 12px; }
.dialog p.muted { font-size: 13px; }
.dialog p.watch-address { overflow-wrap: anywhere; color: var(--mint); }
.dialog-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--text); font-size: 30px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.tiers li { display: grid; gap: 5px; background: var(--panel-raised); border: 1px solid #446256; border-radius: 10px; text-align: center; padding: 10px 7px; }
.tiers strong { font-size: 26px; }
.tiers span { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .site-header { min-height: 71px; padding-inline: 21px; gap: 12px; flex-wrap: wrap; }
  .has-results .site-header { padding-bottom: 13px; }
  .has-results .header-search { flex: 1 0 100%; order: 3; max-width: none; }
  .has-results .site-header nav { order: 2; }
  .brand-crow { width: 39px; }
  .brand-wordmark { width: 64px; }
  .landing { min-height: max(420px, calc(100dvh - 71px)); padding-bottom: 18vh; }
  .cloudscape { height: 40vh; background-size: auto 100%; }
  .lookup input { padding-left: 17px; font-size: 15px; }
  .hero-caption span { display: none; }
  .results { padding: 26px 15px 46px; }
  .results-heading { flex-wrap: wrap; }
  .snapshot-grid, .market-section { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 16px; }
  .positions-card { padding-inline: 0; }
  .positions-card .panel-heading, .empty-table { padding-inline: 16px; }
  th:first-child, td:first-child { padding-left: 16px; }
  th:last-child, td:last-child { padding-right: 16px; }
}
@media (max-width: 360px) { .hero-caption { font-size: 12px; }.lookup input { font-size: 13px; }.nav-button { font-size: 13px; } }
