:root {
  --navy: #071b25;
  --navy-2: #0b2632;
  --ink: #102b35;
  --paper: #f4f1e9;
  --white: #fbfaf6;
  --green: #789276;
  --line: #cbd1c8;
  --muted: #536067;
  --body: #3f5158;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--navy); font-family: Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .16; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgb(7 27 37 / 9%) 31px 32px), repeating-linear-gradient(90deg, transparent 0 119px, rgb(7 27 37 / 5%) 119px 120px); mix-blend-mode: multiply; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font: 700 14px "DM Mono", monospace; letter-spacing: .14em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; background: var(--navy); color: var(--paper); font-size: 14px; }
.nav nav { display: flex; gap: 32px; }
.nav nav a, .text-link { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav nav a:hover, .text-link:hover { opacity: .65; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 0; background: var(--navy); color: white; text-decoration: none; font-size: 13px; font-weight: 650; cursor: pointer; }
.button-small { min-height: 40px; padding-inline: 17px; }
.hero { padding-block: 88px 68px; }
.eyebrow, .kicker { font: 500 11px "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.pulse, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(126 155 123 / 15%); }
.hero h1 { max-width: 15ch; margin: 24px 0 24px; font-family: "Newsreader", Georgia, serif; font-size: clamp(50px, 6.5vw, 82px); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
.hero h1 em { color: #4d6357; font-style: italic; font-weight: 500; }
.hero-copy { max-width: 560px; margin: 0; color: var(--body); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 32px 0 68px; }
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 21px; border-top: 1px solid var(--line); }
.hero-metrics div { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding-inline: 24px; border-right: 1px solid var(--line); }
.hero-metrics div:first-child { padding-left: 0; }
.hero-metrics div:last-child { border: 0; }
.hero-metrics span { color: var(--muted); font: 11px "DM Mono", monospace; text-transform: uppercase; }
.hero-metrics strong { font: 500 20px "DM Mono", monospace; font-variant-numeric: tabular-nums; }
.scanner-wrap { padding-block: 76px 84px; background: var(--navy); color: var(--white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .method h2, .coverage h2, .cta h2 { margin: 10px 0 0; font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
.section-heading h2 { font-size: 34px; }
.status { display: flex; align-items: center; gap: 10px; color: #aebbb6; font: 10px "DM Mono", monospace; letter-spacing: .1em; }
.scanner-panel { overflow: hidden; border: 1px solid #29414a; background: #0a222c; }
.toolbar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: end; gap: 28px; padding: 22px 24px; border-bottom: 1px solid #29414a; }
.filter-group { min-width: 0; }
.filter-group label { display: block; margin-bottom: 10px; color: #9caca8; font: 10px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.segmented { display: flex; min-width: 0; }
.segmented button { min-height: 38px; padding: 0 14px; border: 1px solid #37505a; border-right: 0; background: transparent; color: #9faeaa; font-size: 11px; white-space: nowrap; cursor: pointer; }
.segmented button:last-child { border-right: 1px solid #37505a; }
.segmented button.active { background: var(--paper); color: var(--navy); border-color: var(--paper); font-weight: 700; }
.scan-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 1px solid #71847f; background: transparent; color: white; font-size: 11px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.scan-button:disabled { opacity: .6; cursor: wait; }
.scan-button.loading .scan-icon { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan-progress { height: 2px; background: #132f39; }
.scan-progress span { display: block; width: 0; height: 100%; background: var(--green); }
.scan-progress.running span { animation: progress .8s ease; }
@keyframes progress { 0% { width: 0; } 80% { width: 92%; } 100% { width: 100%; } }
.table-head, .result-main { display: grid; grid-template-columns: minmax(330px, 2.3fr) minmax(90px, .65fr) minmax(90px, .65fr) minmax(90px, .65fr) minmax(80px, .55fr) 22px; align-items: center; column-gap: 16px; }
.table-head { min-height: 42px; padding-inline: 24px; color: #849793; font: 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.result { border-top: 1px solid #29414a; }
.result-main { min-height: 84px; padding: 14px 24px; cursor: pointer; transition: background .15s ease; }
.result-main:hover { background: #0d2934; }
.opportunity { display: grid; grid-template-columns: 28px 34px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.rank { color: #7e918d; font: 11px "DM Mono", monospace; font-variant-numeric: tabular-nums; }
.protocol-badge { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #425760; border-radius: 8px; background: #0b2530; color: #ced7d3; }
.protocol-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.protocol-badge svg path[fill], .protocol-badge svg circle[fill] { fill: currentColor; }
.category-mark { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border: 1px solid currentColor; border-radius: 50%; vertical-align: -4px; font: 500 9px "DM Mono", monospace; }
.protocol-badge[data-protocol="Ondo"] { color: #6fb2c9; border-color: #315766; }
.protocol-badge[data-protocol="Maple"] { color: #79c2a6; border-color: #2f5a4b; }
.protocol-badge[data-protocol="Goldfinch"] { color: #d6b271; border-color: #5c4d2c; }
.protocol-badge[data-protocol="Centrifuge"] { color: #8f9ad6; border-color: #3d4570; }
.name { min-width: 0; }
.name strong { display: block; overflow: hidden; color: #f4f3ed; font-size: 13px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.name small, .metric small { display: block; margin-top: 5px; color: #78908d; font: 9px "DM Mono", monospace; letter-spacing: .04em; }
.metric strong { color: #dce2de; font: 500 13px "DM Mono", monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric.apy strong { color: #a9c4a6; font-size: 16px; }
.grade { display: inline-grid; place-items: center; min-width: 31px; height: 25px; padding-inline: 6px; border: 1px solid #536b64; color: #bdd0b8; font: 500 11px "DM Mono", monospace; font-variant-numeric: tabular-nums; }
.chevron { color: #8fa09c; transition: transform .2s; }
.result.open .chevron { transform: rotate(180deg); }
.detail { display: none; grid-template-columns: 1fr 1.35fr auto; align-items: center; gap: 28px; padding: 20px 24px 22px 110px; border-top: 1px solid #1e3943; background: #081e27; }
.result.open .detail { display: grid; }
.detail p { margin: 0; color: #aab7b3; font-size: 11px; line-height: 1.6; }
.detail p strong { display: block; margin-bottom: 4px; color: #708783; font: 9px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.allocate { min-height: 38px; padding: 0 15px; border: 0; background: var(--paper); color: var(--navy); font-size: 11px; font-weight: 700; cursor: pointer; }
.empty { display: none; padding: 44px 24px; text-align: center; }
.empty span { display: block; margin-top: 7px; color: #8ea09c; font-size: 12px; }
.scanner-foot { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: 24px; border-top: 1px solid #29414a; color: #7f9390; font: 9px "DM Mono", monospace; }
.scanner-foot span:first-child { display: flex; align-items: center; gap: 8px; }
.scanner-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.method { display: grid; grid-template-columns: .9fr 1.4fr; gap: 90px; padding-block: 104px; }
.method-copy h2, .coverage h2, .cta h2 { font-size: clamp(34px, 4vw, 52px); }
.method-copy p, .cta p { color: #596b70; font-size: 15px; line-height: 1.75; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.method-grid article { padding: 24px 22px 0; border-left: 1px solid var(--line); }
.method-grid article:first-child { padding-left: 0; border-left: 0; }
.method-grid article > span { color: #74847f; font: 10px "DM Mono", monospace; }
.method-grid h3 { margin: 44px 0 10px; font-size: 16px; }
.method-grid p { margin: 0; color: #66767a; font-size: 12px; line-height: 1.65; }
.coverage { padding-block: 74px; border-block: 1px solid var(--line); }
.coverage-inner { display: grid; grid-template-columns: 1fr 1.25fr; align-items: end; gap: 80px; }
.protocols { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.protocols span { padding: 18px 12px; border-bottom: 1px solid var(--line); font: 500 13px "DM Mono", monospace; letter-spacing: .08em; }
.cta { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; padding-block: 88px; text-align: left; }
.cta p { max-width: 570px; margin: 20px auto 28px; }
.cta-intro p { margin-left: 0; margin-right: 0; }
.network-signals { display: grid; border-top: 1px solid var(--line); }
.network-signals > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.network-signals span { color: #74847f; font: 10px "DM Mono", monospace; letter-spacing: .06em; }
.network-signals strong, .network-signals a { color: var(--navy); font: 500 11px "DM Mono", monospace; text-decoration: none; }
.network-signals strong { display: inline-flex; align-items: center; gap: 8px; }
.network-signals i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.network-signals a:hover { color: var(--green); }
footer { display: block; border-top: 1px solid var(--line); color: #68777b; font-size: 11px; }
.footer-main { min-height: 92px; display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; }
.footer-main > span { justify-self: end; }
.footer-social { color: var(--navy); font: 500 11px "DM Mono", monospace; letter-spacing: .02em; text-decoration: none; justify-self: center; }
.footer-social:hover { color: var(--accent); }
.contract-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; border-top: 1px solid var(--line); }
.contract-row > span { color: #74847f; font: 10px "DM Mono", monospace; letter-spacing: .09em; }
.contract-copy { max-width: 100%; padding: 10px 0; border: 0; background: transparent; color: var(--navy); font: 500 11px "DM Mono", monospace; cursor: pointer; }
.contract-copy > span { margin-left: 14px; color: var(--green); text-transform: uppercase; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 5; display: flex; align-items: center; gap: 12px; width: min(340px, calc(100% - 32px)); padding: 16px; background: var(--white); color: var(--navy); border: 1px solid var(--line); box-shadow: 0 14px 40px rgb(7 27 37 / 20%); transform: translateY(130%); transition: transform .25s; }
.toast.show { transform: none; }
.toast > span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--navy); color: white; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 12px; }
.toast small { margin-top: 3px; color: var(--muted); font-size: 10px; }
/* Authored market visual and section rhythm */
.hero { padding-block: 76px 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero-actions { margin-bottom: 0; }
.hero-visual { align-self: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(251 250 246 / 55%); }
.visual-head, .visual-legend, .visual-figs { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.visual-updated { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.visual-updated strong { color: var(--ink); font-weight: 500; }
.visual-legend { justify-content: flex-start; margin-top: 18px; color: var(--muted); font: 10px "DM Mono", monospace; }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before { content: ""; width: 14px; height: 2px; background: var(--green); }
.lg-cr::before { background: var(--navy); }
.visual-chart { margin: 5px -2px 0; }
.visual-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.visual-chart .grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.visual-chart text { fill: var(--muted); font: 9px "DM Mono", monospace; }
.visual-chart .axis-y text { text-anchor: end; }
.visual-chart .line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.visual-chart .line-tsy { stroke: var(--green); }
.visual-chart .line-cr { stroke: var(--navy); }
.visual-chart .area { opacity: .055; }
.visual-chart .area-tsy { fill: var(--green); }
.visual-chart .area-cr { fill: var(--navy); }
.visual-chart .dots circle { stroke-width: 1.5; }
.visual-chart .dots-tsy circle { fill: var(--paper); stroke: var(--green); }
.visual-chart .dots-cr circle { fill: var(--paper); stroke: var(--navy); }
.visual-figs { padding-top: 15px; border-top: 1px solid var(--line); }
.visual-figs div { display: flex; flex-direction: column; gap: 5px; }
.visual-figs span { color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; }
.visual-figs strong { font: 500 13px "DM Mono", monospace; font-variant-numeric: tabular-nums; }
.hero-metrics { margin-top: 55px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.section-heading h2, .method h2, .coverage h2, .cta h2 { letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.method-copy p, .cta p { color: var(--body); }
.method-grid p { color: #4f6066; }
.coverage { background: #e9e8df; }
.protocols span { border-left: 3px solid var(--green); }
.scanner-panel, .protocol-badge, .toast, .toast > span { border-radius: var(--radius); }
.segmented button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.segmented button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.scan-button, .button, .allocate { border-radius: var(--radius); }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { width: min(100%, 600px); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .scan-button { grid-column: 1 / -1; justify-self: end; }
  .table-head { display: none; }
  .result-main { grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(76px, .6fr)) 20px; overflow: visible; }
  .method { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1160px); }
  .nav { height: 66px; }
  .nav nav { display: none; }
  .button-small { min-height: 36px; padding-inline: 13px; font-size: 11px; }
  .hero { padding-block: 62px 48px; }
  .hero h1 { margin-block: 22px 20px; font-size: clamp(44px, 13vw, 58px); line-height: 1; }
  .hero-copy { font-size: 15px; line-height: 1.6; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin: 28px 0 50px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero-metrics div { padding-inline: 16px; }
  .hero-metrics div:nth-child(3) { padding-left: 0; }
  .hero-metrics div:nth-child(2) { border-right: 0; }
  .scanner-wrap { padding-block: 56px 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .section-heading h2 { font-size: 29px; }
  .toolbar { grid-template-columns: 1fr; gap: 20px; padding: 18px 16px; }
  .segmented { display: grid; grid-template-columns: repeat(3, 1fr); }
  .segmented button { min-width: 0; padding-inline: 6px; white-space: normal; line-height: 1.2; }
  .scan-button { grid-column: auto; justify-self: stretch; }
  .result-main { min-height: 0; grid-template-columns: 1fr auto; gap: 14px; padding: 18px 16px; }
  .opportunity { grid-column: 1 / -1; grid-template-columns: 24px 32px minmax(0, 1fr); gap: 10px; }
  .protocol-badge { width: 32px; height: 32px; }
  .name strong { white-space: normal; }
  .metric { min-width: 0; }
  .metric.apy { grid-column: 1; }
  .metric:not(.apy) { display: none; }
  .chevron { grid-column: 2; grid-row: 2; }
  .detail { grid-template-columns: 1fr; gap: 15px; padding: 18px 16px; }
  .allocate { width: 100%; }
  .scanner-foot { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 68px; padding-block: 13px; }
  .method { gap: 38px; padding-block: 72px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article:first-child { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .method-grid h3 { margin: 16px 0 7px; }
  .coverage { padding-block: 60px; }
  .coverage-inner { grid-template-columns: 1fr; gap: 36px; }
  .protocols span { padding-inline: 5px; font-size: 11px; }
  .cta { grid-template-columns: 1fr; gap: 42px; padding-block: 72px; }
  .cta h2 br { display: none; }
  .footer-main { grid-template-columns: 1fr auto; padding-block: 24px; }
  .footer-main p { display: none; }
  .footer-social { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .contract-row { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
  .contract-copy { width: 100%; overflow-wrap: anywhere; text-align: left; line-height: 1.6; }
  .toast { right: 16px; bottom: 16px; }
  .hero-visual { padding: 16px; }
  .hero-metrics { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scan-button.loading .scan-icon { animation: none; }
  .scan-progress.running span { animation: none; width: 100%; }
}
