/* EMA public site: the established EMA Operations navy / silver / blue identity. */
:root {
  color-scheme: dark;
  --paper:#080f1c; --paper-2:#0d1728; --card:#111d30; --hatch-bg:#17263d;
  --ink:#f4f5f7; --ink-2:#e6edf7; --body:#c7d2e4; --muted:#a6b6cc; --dim:#a6b6cc;
  --gold:#91baff; --gold-num:#b3ceff; --gold-t:#91baff; --gold-l:#c6dcff; --gold-pale:#253d60;
  --rule:#30445f; --rule-2:#405b7c; --ink-rule:#30445f;
  --ox:#f2b4a8; --bad:#f2b4a8; --ok:#91baff; --navy:#b9d1f7;
  --usd:#91baff; --usd-soft:#1b304d;
  --on-ink:#f4f5f7; --on-ink-muted:#a6b6cc; --grain:none;
  --sans:"Inter Variable",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif:var(--sans); --mono:"IBM Plex Mono",ui-monospace,monospace;
  --max:1480px; --gut:clamp(20px,4vw,60px);
}
body { background:var(--paper); color:var(--body); }
::selection { background:#315786; color:#fff; }
:focus-visible { outline:3px solid #91baff; outline-offset:4px; border-radius:6px; }
h1,h2,h3,h4 { font-family:var(--sans); letter-spacing:-.035em; font-weight:600; }
h2 { font-size:clamp(31px,3.5vw,46px); line-height:1.15; }
h3 { font-size:clamp(21px,2vw,27px); line-height:1.25; }
h4 { font-size:20px; line-height:1.35; }
.wrap { max-width:var(--max); }
a { color:var(--gold-t); text-decoration-color:#617fa7; }
a:hover { color:#d4e4ff; }
code { background:#1b304d; color:#e6edf7; }
.kicker,.eyebrow { color:var(--gold-t); letter-spacing:.16em; }
header.nav,header.top { background:rgba(8,15,28,.97); border-color:var(--rule); }
header.nav .wrap { height:84px; }
header.top .wrap { min-height:84px; }
.brand-name,.brand b { font-family:var(--sans); font-size:23px; font-weight:650; letter-spacing:.04em; }
.brand img,.brand .mark img { border-radius:50%; }
.brand-sub { color:var(--muted); letter-spacing:.14em; }
.nav nav { gap:clamp(12px,1.6vw,25px); }
.nav nav a { color:var(--body); font-size:13px; }
.nav nav a:hover,.nav nav a[aria-current="true"] { color:#c6dcff; }
.nav nav a::after { background:#91baff; }
.menu-btn { border-radius:10px; background:#111d30; border-color:var(--rule-2); letter-spacing:.08em; }
.menu-btn[aria-expanded="true"] { background:#1b304d; color:var(--ink); border-color:#91baff; }
.risk-banner,.skip { background:#13233b; color:var(--ink); }
.risk-banner { border-color:var(--rule-2); }
.btn,.btn-sm { border-radius:10px; letter-spacing:.02em; text-transform:none; font-weight:600; }
.btn { min-height:50px; padding:13px 21px; }
.btn-ink,.btn.ink { background:#91baff; border-color:#91baff; color:#081426; }
.btn-ink:hover,.btn.ink:hover { background:#b5d1ff; border-color:#b5d1ff; color:#081426; }
.btn-ink .ic,.btn.ink .ic { color:inherit; }
.btn-line,.btn-sm { background:#15233a; color:var(--ink); border-color:var(--rule-2); }
.btn-line:hover,.btn-sm:hover,.btn:hover { background:#203754; color:#f4f5f7; border-color:#91baff; }
.btn-ink:hover,.btn.ink:hover { background:#b5d1ff; color:#081426; }
.btn:disabled,.btn-sm:disabled { opacity:.55; cursor:default; }
.textlink { color:#d3e3ff; border-color:#6c96d1; }
.textlink:hover { color:#fff; }
.chip,.pill,.badge,.peg { border-radius:8px; }
.chip.ok,.chip.warn { background:#182a44; border-color:#405e87; color:#b9d5ff; }
.chip.warn { background:#302633; border-color:#735867; color:#f2b4a8; }
.m-ok,.m-info,.smark.ok,.smark.info { background:#1c3352; color:#b9d5ff; }
.m-warn,.smark.warn { background:#352b34; color:#f2b4a8; }
.m-no { background:#223047; color:#e6edf7; }
.live .dot { background:var(--ok); box-shadow:none; }
.live.off .dot { background:var(--ox); }
/* Public homepage: real token information beside the EMA007 token artwork. */
.ema-token-page .hero { padding-top:clamp(32px,4.5vw,62px); }
.ema-token-page .hero-grid {
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  grid-template-areas:"intro visual" "facts visual" "plate plate";
  gap:24px clamp(28px,4vw,58px); align-items:center;
}
.ema-token-page .hero-intro { align-self:end; }
.ema-token-page .hero-facts { align-self:start; }
.ema-token-page .hero h1 { margin-bottom:20px; }
.ema-token-page .h1-name { font:600 clamp(60px,6.5vw,98px)/1 var(--sans); letter-spacing:-.055em; }
.ema-token-page .h1-sub { font:500 clamp(21px,2.05vw,29px)/1.35 var(--sans); color:#c7d6ed; letter-spacing:-.025em; margin-top:16px; }
.ema-token-page .hero .lead { font-size:16px; line-height:1.75; color:var(--body); max-width:55ch; }
.hallmark { border-color:var(--rule); font-size:13px; line-height:1.6; padding:13px 0; }
.hallmark .ic { color:#a9caff; }
.ema-token-page .seal { display:none; }
.token-visual { grid-area:visual; margin:0; background:#101a2b; border:1px solid #405875; border-radius:20px; overflow:hidden; min-width:0; box-shadow:0 24px 60px rgba(0,0,0,.24); }
.token-visual img { display:block; width:100%; height:auto; aspect-ratio:1672/941; object-fit:contain; background:#151a24; }
.token-visual figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; padding:16px 20px; border-top:1px solid var(--rule); color:var(--muted); font-size:11px; letter-spacing:.12em; text-transform:uppercase; line-height:1.6; }
.token-visual figcaption b { font-weight:600; color:#e0e8f6; }
.plate { border-radius:14px; background:#111d30; border-color:var(--rule-2); padding:21px 24px; }
.plate-k { gap:10px 16px; }
.plate-row { gap:14px; }
.plate-row .mono { font-size:clamp(12px,1.4vw,17px); }
.plate .verified { color:#b5d1ff; }
.plate-foot { border-color:var(--rule); color:var(--muted); }
.ledger { border:1px solid var(--rule); border-radius:14px; overflow:hidden; margin-top:24px; background:#101a2b; }
.ledger .cell { border-color:var(--rule); background:transparent; padding:21px 19px; }
.ledger .k { color:var(--muted); font-size:10px; letter-spacing:.12em; }
.ledger .v { font:500 clamp(24px,2.4vw,34px)/1.15 var(--sans); letter-spacing:-.035em; margin:9px 0; }
.ledger .s { color:var(--muted); font-size:12px; }
.livebar { font-size:12px; gap:12px; }
.noprice a { color:#b5d1ff; }
.coins { padding-top:52px; }
.coins h2 { font:600 clamp(28px,3vw,39px)/1.2 var(--sans); letter-spacing:-.03em; }
.coin-card { border-radius:14px; border-color:var(--rule); padding:25px; background:#111d30; }
.coin-card:hover { background:#192a43; border-color:#7298cb; color:var(--body); }
.coin-card .t { font:600 25px/1.25 var(--sans); letter-spacing:-.025em; }
.coin-card .t small { font-size:11px; color:#91baff; }
.coin-card .d { font-size:14px; }
.coin-card .go { color:#b5d1ff; border-color:#618ac3; }
/* Long-form information remains readable in the same office surfaces. */
.sec { border-color:var(--rule); }
.sec.alt { background:#0d1728; }
.section-head,.sec-head { border-color:var(--rule); }
.brief,.terms,.figure,.panel,.addr-block,.toc-m,.statement,.node,.stage,.step,.tri,.ftable,.poolcard,.pool-card { border-color:var(--rule); }
.brief { background:#101b2d; border-radius:18px; padding:clamp(22px,3vw,40px); }
.brief-col { border-color:var(--rule); }
.brief-foot { color:var(--body); }
.figure,.panel,.addr-block,.statement,.terms,.poolcard,.pool-card,.stmt,.tbl { border-radius:14px; overflow:hidden; background:#111d30; }
.figure { padding:clamp(18px,3vw,32px); }
.figure .fig-head { border-color:var(--rule); }
.blk .f,.bar .bf,.sw.ink,.conc .c-owner { background:#315786; color:#f4f5f7; }
.blk.is-ink .n { background:#1c3352; color:#d3e3ff; }
.bar .bg,.sw.gone { background:#66778f; }
.fs.start,.panel.dark,.node-top,.risks,footer,.toast { background:#101b2d; color:var(--on-ink); }
.fs.start code,.panel.dark code { background:#233b5a; color:#d6e5ff; }
.stage.now .sn,.stage.now .tag { background:#25466f; color:#d6e5ff; }
.flag.okf { color:#b5d1ff; }
.warnline { background:#292334; color:var(--body); border-color:#705869; }
.phase.done .node-dot { background:#91baff; }
.rail li a:hover,.rail li a[aria-current="true"],.toc a:hover { background:#172b46; color:#d9e7ff; }
.rail-foot { color:var(--muted); border-color:var(--rule); }
summary { color:var(--ink); }
summary .pm::before,summary .pm::after { background:#b5d1ff; }
details[open] summary .pm { background:#1e3757; }
.gl-search input { background:#111d30; border-radius:10px; border-color:var(--rule-2); color:var(--ink); }
.gl-search input::placeholder { color:var(--muted); }
.term { border-color:var(--rule); }
footer { border-top:1px solid var(--rule); }
footer .fine,.fbase { border-color:var(--rule); }
/* EMAUSD uses the same public identity without changing its separate disclosures. */
.ema-usd-page .hero { padding-top:48px; }
.ema-usd-page .hero .coin { width:112px; }
.ema-usd-page .hero h1 { font:600 clamp(42px,6vw,72px)/1.1 var(--sans); letter-spacing:-.045em; }
.ema-usd-page .hero .sub { font:500 clamp(20px,2.5vw,27px)/1.45 var(--sans); color:#c7d6ed; letter-spacing:-.025em; }
.ema-usd-page .hero .lead { font-size:17px; }
.ema-usd-page .figs { border-radius:14px; overflow:hidden; gap:1px; }
.ema-usd-page .figs .v { font-family:var(--sans); letter-spacing:-.035em; }
.ema-usd-page ol.flow li { border-radius:12px; }
.ema-usd-page .acts .ic { background:#1c3352; color:#b5d1ff; border-color:#405e87; }
.ema-usd-page .acts .ic.sell { background:#352b34; color:#f2b4a8; border-color:#705869; }
.ema-usd-page .acts .ic.sup { background:#203754; color:#c6dcff; border-color:#405e87; }
.ema-usd-page footer { background:#101b2d; }
@media (max-width:1220px) {
 .nav nav { background:#101b2d; border-color:var(--rule); box-shadow:0 24px 50px rgba(0,0,0,.35); }
 .nav nav a { font-size:15px; }
}
@media (max-width:1000px) {
 .ema-token-page .hero-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "visual" "facts" "plate"; gap:24px; }
 .ema-token-page .hero .lead { max-width:70ch; }
 .ema-token-page .h1-name { font-size:72px; }
 .token-visual { max-width:900px; width:100%; }
 .hallmark { max-width:none; }
}
@media (max-width:640px) {
 header.nav .wrap { height:70px; }
 header.top .wrap { padding-block:12px; min-height:70px; }
 .brand-name,.brand b { font-size:21px; }
 .ema-token-page .hero { padding-top:30px; }
 .ema-token-page .h1-name { font-size:58px; }
 .ema-token-page .h1-sub { font-size:22px; margin-top:12px; }
 .ema-token-page .hero .lead { font-size:15px; line-height:1.75; }
 .token-visual { border-radius:12px; }
 .token-visual figcaption { font-size:9px; letter-spacing:.08em; padding:12px 14px; }
 .plate { padding:17px; border-radius:12px; }
 .plate-row { align-items:flex-start; }
 .plate .verified { font-size:11px; }
 .plate-row .mono { font-size:12px; line-height:1.7; }
 .ledger { border-radius:12px; }
 .ledger .cell { padding:16px 14px; }
 .ledger .v { font-size:26px; }
 .coin-grid { grid-template-columns:minmax(0,1fr); }
 .coin-card { grid-template-columns:56px minmax(0,1fr); gap:8px 14px; padding:20px; }
 .coin-card img { width:56px; height:56px; }
 .coin-card .t { font-size:23px; }
 .brief { padding:22px 18px; }
 .ema-usd-page .hero .sub { font-size:20px; }
}
@media print {
 :root { --paper:#fff; --card:#fff; --ink:#111; --body:#222; --muted:#444; --gold-t:#222; --rule:#bbb; }
 .token-visual { display:none; }
}
/* Keep the contract panel and metric separators aligned with the office grid. */
.ema-token-page .plate { max-width:none; justify-self:stretch; }
.ema-token-page .plate::before { display:none; }
.ema-token-page .plate-row .mono { flex-basis:auto; }
.ledger .cell { border-right:1px solid var(--rule); }
.ledger .cell:last-child { border-right:0; }
.ledger .cell:first-child { padding-left:19px; }
.doc-body .sec.risks::before { background:#101b2d; }
@media(max-width:640px) {
 .ema-token-page .plate-row { flex-wrap:wrap; }
 .ema-token-page .plate-row .mono { flex-basis:100%; }
 .ledger .cell { border-bottom:1px solid var(--rule); }
 .ledger .cell:first-child { padding-left:14px; }
}
.flag.okf,.st.ok { color:#b5d1ff; border-color:#405e87; background:#1b304d; }
.rm-done { border-color:#405e87; color:#b5d1ff; background:#1b304d; }
.ema-token-page .phase .st.ok,.ema-token-page .phase .rm-done { border-color:#405e87; color:#b5d1ff; background:#1b304d; }

/* EMAUSD companion artwork: its own emblem in the established token studio style. */
.ema-usd-page .usd-hero-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); grid-template-areas:"intro visual"; gap:clamp(28px,4vw,58px); align-items:center; }
.ema-usd-page .usd-hero-intro { grid-area:intro; min-width:0; }
.ema-usd-page .usd-hero-intro > .coin { display:none; }
.ema-usd-page .usd-hero-intro h1 { font-size:clamp(42px,5vw,66px); line-height:1.1; }
.ema-usd-page .usd-hero-intro h1 span { display:block; font-size:23px; line-height:1.4; margin-top:8px; font-weight:500; letter-spacing:0; }
.ema-usd-page .usd-hero-intro .sub { font-size:22px; line-height:1.45; }
.ema-usd-page .usd-hero-intro .lead { font-size:15px; line-height:1.75; max-width:none; }
.ema-usd-page .usd-hero-visual { width:100%; grid-area:visual; }
.ema-usd-page .usd-hero-visual img { aspect-ratio:1672/941; }
@media(max-width:1000px) {
 .ema-usd-page .usd-hero-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"visual" "intro"; gap:28px; }
 .ema-usd-page .usd-hero-intro h1 { font-size:clamp(42px,7vw,66px); }
 .ema-usd-page .usd-hero-intro .sub { font-size:clamp(20px,3vw,24px); }
 .ema-usd-page .usd-hero-visual { max-width:900px; }
}
@media(max-width:640px) {
 .ema-usd-page .hero { padding-top:28px; }
 .ema-usd-page .usd-hero-intro .lead { font-size:15px; }
}

/* EMAUSD typography: distinctive headings with comfortable reading and data text. */
@font-face { font-family:"Sora EMA"; font-style:normal; font-weight:100 800; font-display:swap; src:url("/fonts/sora-latin-wght-v1.woff2") format("woff2"); }
.ema-usd-page { --usd-display:"Sora EMA","Inter Variable",sans-serif; font-size:17px; line-height:1.75; font-synthesis:none; }
.ema-usd-page .brand b { font-family:var(--usd-display); font-size:22px; font-weight:600; letter-spacing:-.025em; }
.ema-usd-page header.top nav { font-size:14.5px; font-weight:500; }
.ema-usd-page .hero h1,.ema-usd-page section.sec h2,.ema-usd-page ol.flow h3 { font-family:var(--usd-display); font-style:normal; font-weight:600; }
.ema-usd-page .usd-hero-intro h1 { font-size:clamp(42px,4.5vw,64px); line-height:1.12; letter-spacing:-.035em; }
.ema-usd-page .usd-hero-intro h1 span { font-family:var(--sans); font-size:22px; font-weight:500; line-height:1.4; letter-spacing:.01em; margin-top:10px; }
.ema-usd-page .usd-hero-intro .sub { font-family:var(--sans); font-size:20px; font-weight:500; font-style:normal; line-height:1.55; letter-spacing:-.015em; }
.ema-usd-page .usd-hero-intro .lead { font-family:var(--sans); font-size:17px; font-weight:400; line-height:1.75; letter-spacing:0; max-width:64ch; }
.ema-usd-page section.sec h2 { font-size:clamp(29px,3.2vw,40px); line-height:1.23; letter-spacing:-.025em; margin-bottom:20px; }
.ema-usd-page .sec p:not([class]) { line-height:1.8; max-width:66ch; }
.ema-usd-page .kicker,.ema-usd-page .plate .k,.ema-usd-page .figs .k,.ema-usd-page .stmt .k { font-family:var(--sans); font-size:12px; font-weight:600; line-height:1.5; letter-spacing:.1em; }
.ema-usd-page .kicker { margin-bottom:14px; }
.ema-usd-page .peg { font-family:var(--sans); font-size:14px; line-height:1.5; font-weight:600; letter-spacing:0; }
.ema-usd-page .figs .v { font-family:var(--sans); font-size:clamp(28px,2.4vw,34px); font-weight:550; line-height:1.2; letter-spacing:-.025em; font-variant-numeric:tabular-nums lining-nums; }
.ema-usd-page .figs .s { font-size:14px; line-height:1.65; }
.ema-usd-page .note,.ema-usd-page .small,.ema-usd-page .stmt .meta { font-family:var(--sans); font-size:14.5px; line-height:1.7; color:#b7c5d9; }
.ema-usd-page .plate .addr { font-size:16px; line-height:1.65; letter-spacing:0; overflow-wrap:anywhere; }
.ema-usd-page .mono { font-family:var(--mono); letter-spacing:0; }
.ema-usd-page .btn { font-family:var(--sans); font-size:14px; line-height:1.4; font-weight:600; letter-spacing:0; }
.ema-usd-page ol.flow h3 { font-size:17px; line-height:1.45; letter-spacing:-.015em; margin-bottom:5px; }
.ema-usd-page ol.flow p { font-size:16px; line-height:1.75; }
.ema-usd-page .tbl { overflow-x:auto; overscroll-behavior-x:contain; scrollbar-color:#6b91c8 #101b2d; }
.ema-usd-page table { font-size:15px; line-height:1.65; }
.ema-usd-page th,.ema-usd-page td { padding:15px 17px; }
.ema-usd-page th { font-weight:600; }
.ema-usd-page td small { font-size:13.5px; line-height:1.6; }
.ema-usd-page .faq summary { font-family:var(--sans); font-size:18px; line-height:1.5; font-weight:550; letter-spacing:-.01em; padding-block:15px; }
.ema-usd-page .faq details p { font-size:17px; line-height:1.8; }
.ema-usd-page .token-visual figcaption { font-family:var(--sans); font-size:12px; font-weight:500; letter-spacing:.08em; }
.ema-usd-page .live { font-size:14px; line-height:1.65; }
.ema-usd-page footer { font-size:15px; line-height:1.75; }
.ema-usd-page footer h3 { font-family:var(--sans); font-size:12px; font-weight:650; line-height:1.5; letter-spacing:.1em; }
.ema-usd-page footer .fine { font-size:14px; line-height:1.75; }
@media(max-width:640px) {
 .ema-usd-page .brand b { font-size:21px; }
 .ema-usd-page .usd-hero-intro h1 { font-size:42px; }
 .ema-usd-page .usd-hero-intro h1 span { font-size:20px; }
 .ema-usd-page .usd-hero-intro .lead { font-size:16px; line-height:1.8; }
 .ema-usd-page .usd-hero-intro .sub { font-size:19px; line-height:1.6; }
 .ema-usd-page section.sec h2 { font-size:29px; }
 .ema-usd-page .plate .addr { font-size:14px; line-height:1.75; }
 .ema-usd-page .note,.ema-usd-page .small { font-size:14px; }
 .ema-usd-page .token-visual figcaption { font-size:10px; letter-spacing:.06em; }
 .ema-usd-page table { font-size:14px; line-height:1.7; }
 .ema-usd-page .faq summary { font-size:17px; }
}
