/* Shared institutional system for Monet's developer and token pages.
   Tokens and navigation intentionally match the trade landing. */
:root {
  color-scheme: light;
  --paper: #f7f9f8;
  --surface: #eef3ef;
  --green: #164b35;
  --ink: #14241e;
  --muted: #59655e;
  --line: #dce3dd;
  --mint: #dceee1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'DM Sans', sans-serif; }
h1, h2, h3, p, pre { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
[hidden] { display: none !important; }
:is(a, button):focus-visible { outline: 3px solid #548b60; outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 10001; padding: 12px 20px; color: white; background: var(--green); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.nav { display: flex; align-items: center; gap: 32px; min-height: 96px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: 104px; }
.nav-desktop-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-desktop-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; }
.nav-desktop-links a:hover { color: #34784f; }
.nav-desktop-links a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 19px; border: 1px solid var(--ink); border-radius: 5px; font-size: 13px; font-weight: 600; }
.nav-cta:hover { background: var(--ink); color: white; }
.unified-menu-button { margin-left: auto; }
.hero { padding-block: 78px 88px; }
.hero-grid, .token-page .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.eyebrow { margin-bottom: 25px; color: var(--green); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-size: clamp(54px, 5.5vw, 76px); font-weight: 500; line-height: 1.06; letter-spacing: -.06em; }
h2 { max-width: 750px; font-size: clamp(32px, 3.7vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -.05em; }
h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.accent { color: var(--green); }
.lead, .lede, .section-intro { max-width: 680px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 23px; border: 1px solid var(--green); border-radius: 5px; background: var(--green); color: white; font-size: 14px; font-weight: 500; line-height: 1.6; text-align: center; }
.button:hover { background: #0c3725; }
.button.ghost, .token-page .button:not(.primary) { border-color: var(--line); background: transparent; color: var(--green); }
.button.ghost:hover, .token-page .button:not(.primary):hover { border-color: var(--green); background: var(--mint); }
.section { padding-block: 90px; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 96px; margin-bottom: 40px; }
.section-head > p, .section-head .tool-head-actions > p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.stat-strip { border-block: 1px solid var(--line); background: var(--surface); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 27px 24px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat small { display: block; color: var(--muted); font-size: 11px; }
.stat strong { display: block; margin-top: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.outcome-card { padding: 24px 0 0; border-top: 1px solid var(--line); }
.outcome-card .n { color: var(--green); font: 11px ui-monospace, monospace; }
.outcome-card h3 { margin-top: 28px; }
.outcome-card p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
/* A clearly illustrative conversation, not a live account connection. */
.mcp-console { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.mcp-console-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 26px; border-bottom: 1px solid var(--line); }
.mcp-console-top img { width: 90px; }
.connected { color: var(--muted); font-size: 10px; }
.mcp-thread { display: grid; gap: 24px; padding: 30px; }
.message { padding: 19px 21px; border-radius: 5px; background: var(--surface); font-size: 15px; line-height: 1.7; }
.message.user { max-width: 90%; justify-self: end; }
.tool-call { padding: 22px; border: 1px solid var(--line); border-radius: 4px; }
.tool-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.tool-call code { display: block; color: var(--green); font-size: 14px; overflow-wrap: anywhere; }
.tool-call p { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px; border-radius: 4px; background: var(--green); color: white; }
.result-row small { display: block; color: #c7dccd; font-size: 10px; }
.result-row strong { display: block; margin-top: 7px; font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.result-state { padding: 5px 8px; border: 1px solid #668c74; border-radius: 3px; color: #e0eee4; font-size: 9px; white-space: nowrap; }
.flow-line { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 18px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.setup-section { background: white; }
.setup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.setup-step { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.setup-step .n { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 3px; background: var(--mint); color: var(--green); font: 11px ui-monospace, monospace; }
.setup-step h3 { font-size: 17px; }
.setup-step p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.setup-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.setup-panel-head { display: flex; justify-content: space-between; gap: 15px; padding: 19px 23px; border-bottom: 1px solid var(--line); }
.setup-panel-head strong { font-size: 12px; font-weight: 500; }
.setup-panel-head span { color: var(--muted); font-size: 10px; }
.config-note { padding: 20px 23px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.config-block { margin: 20px; padding: 20px; border-radius: 3px; background: var(--ink); color: #d4e7d9; font-size: 11px; line-height: 1.9; white-space: pre; overflow-x: auto; }
.prompt-list { display: grid; gap: 0; padding: 0 23px; }
.prompt-list p { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.secret-note { margin: 22px 23px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.secret-note strong { color: var(--green); }
.dark { background: var(--ink); color: white; }
.dark .eyebrow { color: #bdddc6; }
.dark .section-head .tool-head-actions > p { color: #bbc9bf; }
.tool-head-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.copy-llm-button { min-height: 44px; padding: 10px 16px; border: 1px solid #739780; border-radius: 4px; background: transparent; color: white; cursor: pointer; font-size: 12px; }
.copy-llm-button:hover { background: #274d37; }
.copy-llm-status { min-height: 18px; color: #bbc9bf; font-size: 11px; }
.tool-group-label { margin: 36px 0 17px; color: #bdddc6; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #405147; border-left: 1px solid #405147; }
.tool { min-width: 0; padding: 25px; border-right: 1px solid #405147; border-bottom: 1px solid #405147; }
.tool > span { display: block; margin-bottom: 20px; color: #a8cfb5; font: 10px ui-monospace, monospace; text-transform: uppercase; }
.tool code { display: block; color: white; font-size: 13px; overflow-wrap: anywhere; }
.tool p { margin-top: 13px; color: #bbc9bf; font-size: 13px; line-height: 1.8; }
.section.lime { background: #eaf1eb; }
.model-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.guide-card { overflow: hidden; border: 1px solid #ccd7ce; border-radius: 5px; background: #fff; }
.guide-top { display: flex; justify-content: space-between; gap: 15px; padding: 18px 23px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.guide-copy { padding: 5px 23px; }
.guide-copy p { padding: 19px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.guide-copy p:last-child { border: 0; }
.guide-copy strong { color: var(--ink); font-weight: 500; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.safety-card { padding: 26px 0; border-top: 1px solid var(--line); }
.safety-card b { display: block; color: var(--green); font-weight: 400; }
.safety-card h3 { margin-top: 21px; font-size: 19px; }
.safety-card p { margin-top: 12px; max-width: 510px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.mcp-people { background: white; }
.control-ledger { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.control-ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; }
.control-ledger-head img { width: 104px; }
.control-ledger-head > span { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.control-ledger ol { margin: 0; padding: 0; list-style: none; }
.control-ledger li { display: grid; grid-template-columns: 22px 1fr; column-gap: 15px; padding: 22px 28px; border-top: 1px solid var(--line); }
.control-ledger li > span { grid-row: 1 / span 2; color: #6e8074; font: 10px ui-monospace, monospace; padding-top: 5px; }
.control-ledger strong { font-size: 15px; font-weight: 500; }
.control-ledger small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.cta-band { padding-block: 80px; background: var(--green); color: white; }
.cta-band > .wrap { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 90px; }
.cta-band h2 { font-size: 36px; }
.cta-band .hero-actions { margin-top: 0; gap: 14px; }
.cta-band .button { background: #f3f8f4; color: var(--green); border-color: #f3f8f4; }
.cta-band .button.ghost { background: transparent; color: white; border-color: #70957e; }
.site-footer { padding-block: 62px 28px; background: #f0f4f1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-brand img { width: 104px; }
.footer-brand p { max-width: 340px; margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.footer-col strong { margin-bottom: 8px; font-size: 11px; font-weight: 600; }
.footer-col a { width: fit-content; color: var(--muted); }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: #627168; font-size: 10px; line-height: 1.9; }
/* $MONET uses the wordmark only: no token image or price widget. */
.token-identity { overflow: hidden; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; }
.identity-top { display: flex; justify-content: space-between; gap: 16px; padding: 21px 28px; border-bottom: 1px solid #426d50; font-size: 9px; letter-spacing: .08em; }
.identity-brand { padding: 72px 38px 50px; }
.identity-brand img { width: min(100%, 330px); }
.identity-brand p { margin-top: 23px; color: #c7dccd; font-size: 13px; }
.identity-policy { padding: 0 28px 25px; }
.identity-policy > span { color: #c7dccd; font-size: 9px; letter-spacing: .08em; }
.allocation-bar { display: flex; gap: 3px; margin-block: 17px 19px; height: 5px; }
.allocation-bar i:first-child { width: 75%; background: #d1e9d5; }
.allocation-bar i:last-child { width: 25%; background: #618b6c; }
.allocation-labels { display: flex; justify-content: space-between; gap: 20px; }
.allocation-labels > span { color: #c7dccd; font-size: 11px; }
.allocation-labels strong { display: block; margin-bottom: 5px; color: white; font-size: 29px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.identity-note { padding: 18px 28px; border-top: 1px solid #426d50; color: #c7dccd; font-size: 10px; line-height: 1.8; }
.policy-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: 0; }
.policy-stat { padding: 28px 23px; border-right: 1px solid var(--line); }
.policy-stat:first-child { padding-left: 0; }
.policy-stat:last-child { border-right: 0; }
.policy-value { display: block; color: var(--green); font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.policy-label { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.mechanics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mechanic { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mechanic .number { color: #6e8074; font: 11px ui-monospace, monospace; }
.mechanic h3 { margin-top: 30px; font-size: 19px; }
.mechanic p { margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.rail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.rail-card { padding: 28px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.rail-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rail-card h3 { font-size: 23px; }
.status { padding: 4px 7px; border: 1px solid #c8d8ca; border-radius: 3px; color: var(--green); background: var(--surface); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.rail-card > p { margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.rail-card > p strong { color: var(--ink); font-weight: 500; }
.rail-route { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.rail-route span { color: var(--green); font-size: 10px; }
.rail-route b { color: #819c88; font-size: 12px; font-weight: 400; }
.boundary { margin-top: 25px; padding: 26px 30px; border-radius: 5px; background: var(--green); color: #c7dccd; font-size: 13px; line-height: 1.9; }
.boundary strong { color: white; font-weight: 500; }
.engine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.engine-card { padding: 25px 0; border-top: 1px solid var(--line); }
.engine-value { color: var(--green); font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.engine-card h3 { margin-top: 20px; font-size: 17px; }
.engine-card p { margin-top: 10px; max-width: 355px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.code-note { margin-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.proof-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 40px; }
.proof-card { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.proof-label { color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.contract-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.contract-row code { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.copy { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--green); font-size: 20px; cursor: pointer; }
.copy:hover { border-color: var(--green); }
.proof-links { display: grid; gap: 10px; margin-top: 20px; }
.proof-links a { display: block; padding-block: 3px; color: var(--green); font-size: 13px; }
.proof-links a:hover { text-decoration: underline; }
.disclosure { max-width: 880px; margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.community-copy { max-width: 720px; }
.community-copy .button, .final .button { margin-top: 28px; }
.token-page > footer { padding: 30px 24px; border-top: 1px solid var(--line); background: #f0f4f1; color: var(--muted); font-size: 11px; text-align: center; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .nav { min-height: 82px; gap: 20px; }
  .hero-grid, .token-page .hero { gap: 40px; }
  .hero { padding-top: 55px; }
  .section-head, .model-guide, .setup-grid { gap: 40px; }
  .mcp-thread { padding: 22px; gap: 18px; }
  .tool-call, .result-row { padding: 18px; }
  .message { font-size: 14px; }
  .result-row strong { font-size: 22px; }
  .cta-band > .wrap { gap: 45px; }
  .identity-brand { padding: 65px 30px 40px; }
  .mechanic { padding: 23px; }
}
@media (max-width: 900px) {
  .hero-grid, .token-page .hero, .section-head, .model-guide, .setup-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 60px; }
  h1 { max-width: 720px; font-size: 66px; }
  .mcp-console, .token-identity { width: min(100%, 650px); }
  .section-head { gap: 24px; }
  .tool-grid, .mechanics, .engine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-grid, .proof-grid { grid-template-columns: 1fr; }
  .rail-card { padding: 28px; }
  .policy-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-stat:nth-child(even) { border-right: 0; }
  .policy-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .policy-stat:nth-child(3) { padding-left: 0; }
  .stat strong { font-size: 17px; }
  .cta-band > .wrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 76px; }
  .hero { padding-block: 42px 54px; }
  .hero-grid, .token-page .hero { gap: 38px; }
  h1 { font-size: clamp(44px, 10.8vw, 60px); }
  h2 { font-size: 36px; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .lead, .lede, .section-intro { margin-top: 21px; font-size: 15px; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 18px; font-size: 13px; }
  .section { padding-block: 58px; }
  .section-head { margin-bottom: 30px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
  .stat:last-child { border-bottom: 0; }
  .stat strong { margin-top: 0; font-size: 15px; }
  .outcome-grid, .safety-grid, .tool-grid, .mechanics, .engine-grid { grid-template-columns: 1fr; gap: 0; }
  .outcome-card { padding: 24px 0; }
  .outcome-card h3 { margin-top: 20px; }
  .mcp-console-top { padding: 20px; }
  .mcp-thread { padding: 20px; gap: 17px; }
  .message { padding: 16px; max-width: 100%; }
  .tool-label { flex-wrap: wrap; gap: 5px; font-size: 8px; }
  .tool-call code { font-size: 12px; }
  .result-row { padding: 18px 15px; }
  .result-row strong { font-size: 22px; }
  .result-state { padding-inline: 6px; font-size: 8px; }
  .flow-line { padding: 16px 20px; gap: 7px 15px; font-size: 9px; }
  .setup-panel-head { padding-inline: 18px; }
  .setup-panel-head span { max-width: 95px; text-align: right; font-size: 9px; }
  .config-note { padding-inline: 18px; }
  .config-block { margin-inline: 12px; padding: 15px; font-size: 10px; }
  .guide-top { padding-inline: 18px; font-size: 9px; }
  .guide-copy { padding-inline: 18px; }
  .tool { padding: 23px; }
  .tool code { font-size: 13px; }
  .control-ledger-head { padding: 23px; }
  .control-ledger-head > span { font-size: 8px; }
  .control-ledger li { padding-inline: 23px; }
  .cta-band { padding-block: 58px; }
  .cta-band h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-top: 42px; }
  .identity-top { padding: 20px; font-size: 8px; }
  .identity-brand { padding: 55px 26px 38px; }
  .identity-policy { padding-inline: 20px; }
  .identity-note { padding-inline: 20px; }
  .policy-stat { padding: 22px 16px; }
  .policy-value { font-size: 23px; }
  .policy-label { font-size: 11px; }
  .mechanic { padding: 24px; }
  .mechanic h3 { margin-top: 22px; }
  .rail-card { padding: 22px; }
  .rail-card h3 { font-size: 21px; }
  .boundary { padding: 23px; font-size: 12px; }
  .proof-card { padding: 22px; }
  .contract-row { gap: 12px; }
  .contract-row code { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
