/* POKIZOR: uppercase handwriting, native HTML, one local font, no browser JS.
   Patrick Hand SC is temporary. Claire Hand requires an appropriate commercial license. */
@font-face {
  font-family: 'Patrick Hand SC';
  src: url('/fonts/patrick-hand-sc-latin-400-v5.3.0.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fdfcfb;
  --text: #1c1c1a;
  --muted: #5e605b;
  --line: #d8d7d2;
  --page-gutter: clamp(24px, 5vw, 84px);
  --hand: 'Patrick Hand SC', 'Segoe Print', 'Comic Sans MS', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 20px/1.6 var(--hand); text-transform: uppercase; font-synthesis: none; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; border-radius: 2px; }
::selection { color: var(--bg); background: var(--text); }
/* Never visually change case-sensitive future token addresses, hashes, or code. */
code, pre, .literal { font-family: inherit; text-transform: none; overflow-wrap: anywhere; }
.skip-link { position: absolute; z-index: 3; left: var(--page-gutter); top: -6rem; padding: .5rem 1rem; background: var(--text); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-shell { min-height: 100svh; display: flex; flex-direction: column; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 26px var(--page-gutter) 0; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.85rem; letter-spacing: .055em; text-decoration: none; white-space: nowrap; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem,3vw,3rem); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.1rem; text-decoration: none; white-space: nowrap; gap: .25em; }
.main-nav a:hover, .site-footer a:hover, .text-link:hover, .home-discover:hover { text-decoration: underline; }
.main-nav a.is-active, .main-nav .token-link { text-decoration: underline; }
.token-label { font-size: 1em; }
main { flex: 1; min-width: 0; }
/* The skip target is not interactive; avoid framing the entire page on programmatic focus. Link and summary focus outlines remain visible. */
main:focus { outline: none; }
.is-home main { display: grid; }
.home-hero { display: grid; place-items: center; min-height: 65svh; padding: 4rem var(--page-gutter) 5rem; }
.home-hero-inner { width: 100%; max-width: 1200px; text-align: center; }
.home-hero h1 { margin: 0; font: 400 clamp(2.6rem,6.55vw,6.1rem)/1.24 var(--hand); letter-spacing: .012em; text-wrap: balance; }
.home-hero h1 > span { display: block; }
.home-subline { margin: 2rem 0 0; font-size: clamp(1.4rem,2.6vw,2.35rem); line-height: 1.35; color: var(--text); }
.home-discover { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.1rem,1.65vw,1.4rem); margin-top: 2.8rem; gap: .5rem; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-end; padding: 1.2rem var(--page-gutter) 2.4rem; gap: 1.8rem; }
.footer-motto { max-width: 240px; font-size: 1rem; line-height: 1.35; }
.site-footer nav { display: flex; align-items: center; gap: clamp(.8rem,2vw,2rem); }
.site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.footer-divider { width: 1px; height: 1rem; background: var(--muted); }
.content-page { width: min(calc(100% - 2 * var(--page-gutter)), 1000px); margin: 0 auto; padding: clamp(4rem,8vw,7rem) 0 6rem; }
.content-page--narrow { max-width: 800px; }
.eyebrow { margin: 0 0 1.3rem; font-size: 1rem; color: var(--muted); letter-spacing: .04em; }
.page-title { margin: 0; max-width: 23ch; font: 400 clamp(2.6rem,5.5vw,5.5rem)/1.15 var(--hand); letter-spacing: .008em; text-wrap: balance; }
.page-title em { font: inherit; }
.page-lead { max-width: 760px; margin: 2rem 0 0; font-size: clamp(1.3rem,2.2vw,1.7rem); line-height: 1.55; }
.page-note { max-width: 740px; color: var(--muted); margin: 1.4rem 0 0; font-size: 1.1rem; line-height: 1.65; }
.page-index { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 3rem; font-size: 1.1rem; }
.page-index a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; text-decoration: underline; }
.page-index a:hover { text-decoration-thickness: 2px; }
.dictionary-list { margin-top: 2.7rem; }
.dictionary-section { scroll-margin-top: 1rem; }
.dictionary-section { border-top: 1px solid var(--line); padding: 1.8rem 0 3rem; display: grid; grid-template-columns: 175px minmax(0,1fr); gap: 2rem; }
.section-meta { font-size: 1rem; color: var(--muted); padding-top: .35rem; }
.section-body h2, .prose-block h2 { margin: 0; font-size: clamp(1.65rem,2.8vw,2.5rem); font-weight: 400; line-height: 1.3; }
.section-body > p { color: var(--muted); line-height: 1.65; margin: .8rem 0 1.25rem; }
.example-list { padding: 0; list-style: none; margin: 0; }
.example-list li { border-bottom: 1px solid var(--line); padding: 1rem 0; line-height: 1.6; font-size: 1.3rem; }
.closing-note { border-top: 1px solid var(--line); padding-top: 1.6rem; font-size: 1.4rem; }
.closing-note > p { margin: 0 0 .8rem; }
.closing-note .closing-small { font-size: 1.1rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-size: 1.1rem; }
.faq-list { margin-top: 3.6rem; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 2.1rem minmax(0,1fr) 1.35rem; gap: 1rem; align-items: center; list-style: none; cursor: pointer; padding: 1.7rem 0; min-height: 66px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-number { font-size: 1rem; color: var(--muted); }
.faq-question { font-size: clamp(1.5rem,2.7vw,2.15rem); line-height: 1.25; }
.faq-indicator { width: 1rem; height: 1rem; position: relative; justify-self: end; }
.faq-indicator::before, .faq-indicator::after { content: ''; background: var(--text); position: absolute; }
.faq-indicator::before { width: 1rem; height: 1px; top: .5rem; left: 0; }
.faq-indicator::after { height: 1rem; width: 1px; top: 0; left: .5rem; }
.faq-item[open] .faq-indicator::after { display: none; }
.faq-item .faq-answer { padding: 0 2rem 2.2rem 3.1rem; }
.faq-item .faq-answer p { color: #454641; font-size: 1.25rem; line-height: 1.65; max-width: 60ch; margin: 0; }
.faq-item .text-link { margin-top: .9rem; }
.page-outro { margin: 3.2rem 0 0; font-size: 1.35rem; line-height: 1.6; }
.page-outro .text-link { font-size: inherit; }
.prose-block { margin-top: 3.5rem; }
.prose-block h2 { border-top: 1px solid var(--line); padding-top: 1.8rem; margin-top: 2.3rem; margin-bottom: 1rem; }
.status-panel { border: 1px solid var(--line); padding: clamp(1.5rem,3vw,3rem); margin-top: 3rem; }
.status-kicker { margin: 0 0 1rem; font-size: 1rem; color: var(--muted); }
.status-panel h2 { margin: 0 0 1.35rem; max-width: 630px; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.3; font-weight: 400; }
.status-panel > p:last-child { max-width: 65ch; margin: 0; line-height: 1.65; color: #454641; }
.token-section { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.token-section h2 { font-size: clamp(1.6rem,3vw,2.35rem); font-weight: 400; line-height: 1.3; max-width: 640px; margin: .5rem 0 2rem; }
.token-facts { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.token-fact { display: grid; grid-template-columns: minmax(8.5rem, 38%) minmax(0,1fr); gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.token-fact dt { color: var(--muted); font-size: 1rem; }
.token-fact dd { margin: 0; font-size: 1.22rem; overflow-wrap: anywhere; }
.token-section .page-note { max-width: 680px; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-top: 1rem; gap: .35rem 1rem; }
  .wordmark { font-size: 1.6rem; }
  .main-nav { flex-wrap: wrap; gap: .4rem 1.25rem; }
  .main-nav a { font-size: 1rem; }
  .home-hero { min-height: 60svh; padding: 3rem var(--page-gutter) 4rem; }
  .home-hero h1 { font-size: clamp(2.35rem,8.5vw,4rem); line-height: 1.26; letter-spacing: 0; }
  .home-subline { margin-top: 1.7rem; }
  .home-discover { margin-top: 2rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 1.5rem; }
  .site-footer nav { flex-wrap: wrap; gap: 1.1rem; }
  .content-page { padding-top: 3.5rem; padding-bottom: 4rem; }
  .dictionary-section { grid-template-columns: 1fr; gap: .75rem; }
  .faq-item summary { grid-template-columns: 1.7rem minmax(0,1fr) 1rem; gap: .7rem; padding: 1.35rem 0; }
  .faq-item .faq-answer { padding: 0 .8rem 1.7rem 2.4rem; }
  .faq-question { font-size: 1.5rem; }
  .token-fact { grid-template-columns: minmax(6rem, 38%) minmax(0,1fr); gap: .8rem; }
  .page-index { gap: .3rem 1.3rem; margin-top: 2rem; }
}
@media (max-width: 440px) {
  .main-nav { width: 100%; justify-content: flex-start; gap: 1.2rem; }
  .main-nav a { font-size: .95rem; }
  .home-hero h1 { font-size: clamp(2.2rem,9.8vw,2.7rem); }
  .footer-motto { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
