/* Public website: the same calm light palette as the administration.
   Loaded only by public pages; admin and Telegram Mini App keep their own styles. */
:root{color-scheme:light;--base:#f3f5ec;--bg:#f3f5ec;--surface:#fff;--surface-deep:#eef3e7;--surface-soft:#f3f7ee;--card:#fff;--ink:#173c2b;--text:#173c2b;--muted:#52684e;--accent:#356541;--accent-soft:#d7e9cb;--green:#356541;--blue:#356541;--navy:#173c2b;--purple:#576e4e;--red:#a33f3f;--yellow:#eddcab;--gold:#795d20;--border:#dce5d2;--line:#dce5d2;--shadow:0 8px 28px rgba(23,60,43,.05);--radius:16px}
html{background:#f3f5ec}
body{min-width:0;background:#f3f5ec;color:#173c2b;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit;accent-color:#356541}
a{color:#356541;text-underline-offset:3px}
a:hover{color:#173c2b}
h1,h2,h3,h4{color:#173c2b;letter-spacing:-.025em;line-height:1.2}
h1{font-size:clamp(2rem,4.5vw,3.5rem)}
h2{font-size:clamp(1.5rem,3vw,2.3rem)}
p,li{overflow-wrap:break-word}
::selection{background:#d7e9cb;color:#173c2b}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #477653;outline-offset:4px}
.page[hidden],[hidden]{display:none!important}
.content-shell{width:min(1200px,calc(100% - 48px))}
.site-header{color:#173c2b;box-shadow:none;background:#f3f5ec}
.brand-strip{background:#f3f5ec;border-color:#dce5d2;color:#52684e}
.brand-strip span:first-child{color:#356541}
.navigation-bar{background:#f3f5ec;border-color:#dce5d2;backdrop-filter:none;box-shadow:none}
.site-title{color:#173c2b}
.menu-toggle{background:#fff;color:#173c2b;border:1px solid #b6c6ab;border-radius:8px}
.header-actions .header-quiz,.header-quiz{background:#eef3e7;color:#356541;border:1px solid #dce5d2;border-radius:8px}
.header-actions .header-quiz:hover,.header-quiz:hover{background:#e2ecd9;color:#173c2b}
/* Keep the existing CTA boxes; enlarge the labels rather than the navigation. */
:root{--header-action-height:48px}
body .navigation-bar .header-actions:has(.header-start)>.header-quiz{height:var(--header-action-height);min-height:var(--header-action-height);min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;justify-items:center;padding:5px 4px;gap:0;font-size:14px;font-weight:700;line-height:16px;letter-spacing:0;border-color:#9db68b;box-shadow:none;transition:background-color .15s,border-color .15s,box-shadow .15s}
body .navigation-bar .header-actions:has(.header-start)>.header-start{background:#173c2b;color:#fff;border-color:#173c2b}
body .navigation-bar .header-actions:has(.header-start)>.header-smarter{background:#356541;color:#fff;border-color:#356541}
body .navigation-bar .header-actions:has(.header-start)>.header-quiz:not(.header-start):not(.header-smarter){background:#dcebcf;color:#173c2b;border-color:#9db68b}
body .navigation-bar .header-actions:has(.header-start)>.header-start:hover{background:#28543d;border-color:#28543d;color:#fff}
body .navigation-bar .header-actions:has(.header-start)>.header-smarter:hover{background:#284e33;border-color:#284e33;color:#fff}
body .navigation-bar .header-actions:has(.header-start)>.header-quiz:not(.header-start):not(.header-smarter):hover{background:#c9dfb7;color:#173c2b;border-color:#799764}
body .navigation-bar .header-actions:has(.header-start)>.header-quiz[aria-current=page]{box-shadow:inset 0 -3px 0 currentColor}
body .navigation-bar .header-actions:has(.header-start)>.header-quiz:focus-visible{outline:3px solid #477653;outline-offset:3px;box-shadow:0 0 0 2px #f3f5ec}
.header-action-icon{display:inline-flex;align-items:center;justify-content:center;grid-column:1;grid-row:1;width:24px;height:24px}
.header-action-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.header-action-label{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-column:2;grid-row:1;min-width:0;font:inherit;line-height:16px}
.header-action-label>span{display:block;white-space:nowrap;line-height:16px}
.header-action-label-compact{display:none}
body #site-search-trigger.site-search-trigger{box-sizing:border-box!important;height:var(--header-action-height)!important;min-height:var(--header-action-height)!important;max-height:var(--header-action-height)!important;padding-top:0!important;padding-bottom:0!important;align-items:center;line-height:1.2}
@media(max-width:600px){:root{--header-action-height:52px}.header-action-icon{display:none}body .navigation-bar .header-actions:has(.header-start)>.header-quiz{grid-template-columns:minmax(0,1fr);padding:5px 6px;gap:0}.header-action-label{grid-column:1}}
@media(max-width:440px){.header-action-label-full{display:none}.header-action-label-compact{display:flex}}
.chapter-navigation a,.navigation-grid p,.navigation-grid a:hover,.navigation-grid a.active{color:#356541}
.main-navigation{background:#fff;color:#173c2b;border-bottom:1px solid #dce5d2;backdrop-filter:none;box-shadow:0 16px 30px rgba(23,60,43,.08)}
.navigation-grid a{color:#52684e;opacity:1}
.navigation-grid a.active{font-weight:700}
.page{background:#f3f5ec;color:#173c2b}
.hero,.hero-welcome,.hero-compact,.hero-centered{background:#f3f5ec;color:#173c2b;border-color:#dce5d2;box-shadow:none}
.hero::before{display:none}
.hero-welcome{min-height:0}
.hero-grid{padding-block:64px;gap:48px}
.hero-copy h1{font-size:clamp(2.35rem,4.5vw,3.7rem);line-height:1.1;letter-spacing:-.045em}
.hero-copy h1 span{color:#356541}
.hero-copy .hero-subtitle,.hero-subtitle{color:#52684e;font-style:normal;opacity:1;line-height:1.75}
.hero-copy .hero-subtitle{font-size:1.1rem}
.hero-centered h1{font-size:clamp(2rem,4vw,3.25rem)}
.hero-compact,.hero-centered{padding-block:56px}
.hero-facts{color:#52684e}
.eyebrow,.eyebrow.dark{color:#356541;font-weight:600;letter-spacing:.12em}
.learning-map{filter:none}
.primary-button,.secondary-button,.quiz-button,.download-button,.wallet-links a,.explorer-links a{border-radius:8px;box-shadow:none;font-weight:600}
.primary-button,.quiz-button,.download-button.primary{color:#fff;background:#173c2b;border-color:#173c2b}
.primary-button:hover,.quiz-button:hover,.download-button.primary:hover{background:#28543d;color:#fff;box-shadow:none;transform:none}
.secondary-button,.quiz-button-advanced,.quiz-button-expert,.download-button{background:#eef3e7;color:#356541;border:1px solid #b6c6ab}
.secondary-button:hover,.quiz-button-advanced:hover,.quiz-button-expert:hover,.download-button:hover{background:#e2ecd9;color:#173c2b;transform:none}
.quiz-button-expert,.level3-study-cta{background:#173c2b!important;color:#fff!important;border-color:#173c2b!important}
.band{padding-block:56px}
.band-cream{background:#fff;color:#173c2b}
.band-blue,.journey-wrap{background:#eef3e7;color:#173c2b}
.memory-band{background:#e8efde;color:#173c2b;border-color:#dce5d2;font-style:normal}
.memory-band span,.center-note.light{color:#52684e;opacity:1}
.answer-callout,.wallet-actions span,.network-pill,.transaction-check span,.fake-connect,.approval-grid span,.language-flags span{background:#e7efdf;color:#356541;border:1px solid #dce5d2;box-shadow:none}
.action-card,.qa-grid article,.compare-card,.criteria-grid article,.install-steps article,.process-list article,.do-card,.dont-card,.mistakes-grid article,.golden-rules li,.benefit-grid article,.wallet-type-grid article,.wallet-feature-grid article,.three-checks article,.info-card,.light-cards article,.step-light,.step-dark,.analogy-visual,.connect-explain article,.four-steps article,.approval-types article,.scam-grid article,.faq-list details,.glossary-grid article,.numbered-process article,.status-grid article,.difference-grid article,.emergency-split article,.revoke-steps li,.emergency-plan li{background:#fff;color:#173c2b;border:1px solid #dce5d2;border-radius:16px;box-shadow:none}
.action-card h3,.glossary-grid h2,.step-label,.text-link,.analogy-arrow,.versus{color:#356541}
.three-checks.light-cards article{background:#fff;color:#173c2b;border-color:#dce5d2;box-shadow:none}
.card-number{color:#d7e4ce}
.timeline::before{background:#b6c6ab}
.timeline-icon,.logo-icon{background:#e3efda;border-color:#f3f5ec;box-shadow:0 0 0 1px #b6c6ab}
.return-icon span{color:#173c2b}
.install-steps article>span,.process-list article>span,.wallet-feature-grid article>span,.three-checks article>span,.three-checks.light-cards article>span,.four-steps span,.approval-types span,.numbered-process article>strong,.revoke-steps li::before,.emergency-plan li::before{background:#e3efda;color:#356541}
.check-list li::before,.mini-check-list li::before,.question-list span::before,.dot-list li::before{color:#356541}
.seed-demo{background:#eef3e7;border-color:#dce5d2}
.seed-demo span{background:#fff;color:#173c2b}
.analogy-divider{background:#e3efda;color:#356541}
.address-card{background:#fff;color:#173c2b;border:1px solid #dce5d2;border-radius:16px;box-shadow:none}
.address-card p{color:#52684e}
.address-card code,.hash-example{background:#eef3e7;color:#173c2b;border:1px solid #dce5d2}
.transaction-check.dark-text span{background:#173c2b;color:#fff}
.light-process article{background:#fff;color:#173c2b;border-color:#dce5d2}
.light-process article>span{background:#e3efda;color:#356541}
.wallet-links a,.explorer-links a{background:#fff;color:#356541;border-color:#dce5d2}
.wallet-links a:hover,.explorer-links a:hover{background:#e3efda;color:#173c2b}
.wallet-card-grid .wallet-card,.wallet-card-grid .wallet-card:hover{background:#fff;color:#173c2b;border-color:#dce5d2;border-radius:16px;box-shadow:none}
.wallet-card-grid .wallet-card:hover{transform:translateY(-2px);border-color:#b6c6ab}
.wallet-logo-box{background:#eef3e7;border-radius:12px}
.wallet-card-copy strong{color:#173c2b}
.wallet-card-copy small{color:#52684e}
.external-arrow{color:#356541}
.stablecoin-caution,.stablecoin-warning,.highlight-note,.level2-topic-note{background:#faf3df;color:#795d20;border-color:#e2d3ab;border-left-color:#b48a36;box-shadow:none}
.stablecoin-caution p,.level2-topic-note strong,.level2-topic-note a{color:#795d20}
.scam-grid article,.sweeper-warning{border-left-color:#b9655c}
.sweeper-warning{background:#fbefeb;color:#713c34;box-shadow:none}
.stop-sign{background:#a33f3f;border-color:#f0ded9;color:#fff}
.golden-rules li::before{background:#e7efdf;color:#356541}
.faq-list details p{color:#52684e}
.faq-list summary::after{color:#356541}
.big-yes{color:#356541}
.fiat-card{background:#e3efda;color:#356541;box-shadow:none}
.blockchain-processing img{background:#e3efda}
.status.pending{background:#faf2df;color:#795d20}
.status.success{background:#e3efda;color:#356541}
.status.failed{background:#f6e4de;color:#873d30}
.glossary-search input{background:#fff;border:1px solid #b6c6ab;border-radius:8px;color:#173c2b}
.glossary-search input::placeholder{color:#52684e}
.level3-study{background:#f3efe1;color:#173c2b;border-color:#e2d7b6}
.level3-study .eyebrow,.level3-study h2,.level3-study-index a{color:#795d20}
.level3-study-card{background:#fff;border-color:#e2d7b6;border-radius:16px}
.level3-study-card h3{color:#795d20}
.level3-study-card p,.level3-sources{color:#52684e}
.level3-sources a,.study-guide-link,.review-study-link{color:#795d20}
.site-footer{background:#edf2e5;color:#52684e;border-top:1px solid #dce5d2}
.footer-grid strong{color:#173c2b}
.footer-grid p,.footer-grid a{color:#52684e}
.site-maintenance{background:#f3f5ec!important;color:#173c2b!important;border-color:#dce5d2}
.site-maintenance .update-stamp span,.site-maintenance .update-stamp strong{color:#356541!important}
.site-maintenance .update-stamp p{color:#52684e!important}
.site-maintenance .feedback-button{background:#fff!important;color:#356541!important;border-color:#dce5d2;border-radius:8px}
.site-maintenance .feedback-button span,.site-maintenance .feedback-button strong{color:#356541!important}
.page-controls{background:#fff;border:1px solid #dce5d2;border-radius:12px;box-shadow:0 4px 18px rgba(23,60,43,.08)}
.page-controls .image-button{color:#356541}
.progress-track{background:#dce5d2}
.progress-track span{background:#356541}
.back-to-top{background:#fff;color:#356541;border:1px solid #b6c6ab;border-radius:8px}
body .site-search-trigger.site-search-trigger-floating,body .site-search-trigger.site-search-trigger-bottom{background:#173c2b!important;color:#fff!important;border-color:#173c2b!important;border-radius:8px;box-shadow:0 4px 16px rgba(23,60,43,.1)}
body .site-search-trigger.site-search-trigger-floating:hover,body .site-search-trigger.site-search-trigger-bottom:hover{background:#28543d!important;color:#fff!important;transform:none!important}
.site-search-trigger kbd{background:#28543d;color:#fff;border-color:#73927b}
.site-search-overlay{background:rgba(23,60,43,.28);backdrop-filter:blur(4px)}
.site-search-dialog{background:#fff;color:#173c2b;border:1px solid #dce5d2;border-radius:16px;box-shadow:0 20px 60px rgba(23,60,43,.18)}
.site-search-box input,.site-search-input-wrap input{background:#fff!important;color:#173c2b!important;border:1px solid #b6c6ab!important;border-radius:8px}
.site-search-box input::placeholder,.site-search-input-wrap input::placeholder{color:#52684e}
.site-search-box input:focus{box-shadow:none;outline:3px solid #477653;outline-offset:3px}
.site-search-results .site-search-result,.site-search-results button,.site-search-results a{background:#f3f7ee!important;color:#173c2b!important;border:1px solid #dce5d2!important;box-shadow:none;border-radius:12px}
.site-search-result p,.site-search-count,.site-search-empty,.site-search-heading p,.site-search-shortcut{color:#52684e}
.site-search-result-meta,.site-search-result-arrow,.site-search-status{color:#356541}
.site-search-results mark,.site-search-result mark{background:#d7e9cb;color:#173c2b}
.site-search-close,.site-search-clear{background:#eef3e7;color:#356541;border-color:#dce5d2;border-radius:8px}
.policy-page{background:#f3f5ec;color:#173c2b}
.policy-header{background:#f3f5ec;color:#173c2b;border-bottom:1px solid #dce5d2}
.policy-header a{color:#356541}
.policy-content article{background:#fff;color:#173c2b;border:1px solid #dce5d2;border-radius:16px;box-shadow:none}
.policy-content h1{color:#173c2b}
.policy-content h2,.policy-content a{color:#356541}
.pmj-follow .pmj-follow-cta{color:#52684e}
.pmj-follow-logo img{border-color:#dce5d2;box-shadow:none}
.pmj-follow .pmj-follow-links a{background:#eef3e7;color:#356541;border-color:#dce5d2;border-radius:8px}
.pmj-follow .pmj-follow-links a:hover{background:#e2ecd9;color:#173c2b;border-color:#b6c6ab}
.dara-guides-menu>summary{color:#356541}
.dara-menu-list{background:#fff;border-color:#dce5d2;box-shadow:0 12px 30px rgba(23,60,43,.1)}
.chapter-navigation .dara-menu-list a,.dara-menu-list a{color:#356541!important;background:transparent!important}
.dara-menu-list a:hover,.dara-menu-list a:focus-visible,.dara-menu-list a[aria-current]{background:#e3efda!important;color:#173c2b!important;border-left-color:#356541!important}
.site-language>a,.site-language>button{color:#356541!important;background:transparent!important}
.site-language>a.active,.site-language>a[aria-current],.site-language>button.selected{background:#173c2b!important;color:#fff!important}
.site-language>a:hover,.site-language>button:hover{background:#e3efda!important;color:#173c2b!important}
.site-language>a.active:hover,.site-language>a[aria-current]:hover,.site-language>button.selected:hover{background:#28543d!important;color:#fff!important}
.site-language>a:focus-visible,.site-language>button:focus-visible{outline:3px solid #477653!important;outline-offset:3px}
@media(max-width:760px){
 .content-shell{width:calc(100% - 32px)}
 .hero-grid{padding-block:40px;gap:24px}
 .hero-copy h1{font-size:clamp(2.15rem,8.5vw,3rem)}
 .hero-compact,.hero-centered{padding-block:40px}
 .band{padding-block:40px}
 .hero-actions{align-items:stretch}
 .primary-button,.secondary-button{min-height:46px}
 .site-search-dialog{border-radius:16px}
 .site-footer{padding-bottom:100px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{body,.page,.hero,.band,.memory-band{background:#fff;color:#173c2b}.site-header,.page-controls,.site-search-trigger,.back-to-top{display:none}}
