/* The upcoming OTC layout, adapted to the original Printer collection. */
:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --panel: #fff;
  --panel-up: #efefec;
  --text: #232421;
  --muted: #686963;
  --line: #e0e1db;
  --line-strong: #c9cbc2;
  --lime: #b8c9dd;
  --ink: #171b20;
  --accent: #775139;
  --accent-soft: #f1e8e0;
  --blue-soft: #eaf0f6;
  --blue-text: #445c77;
  --sidebar-width: 190px;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #151515;
  --panel: #1c1c1b;
  --panel-up: #292928;
  --text: #f0f0eb;
  --muted: #aaa9a3;
  --line: #333432;
  --line-strong: #4a4b46;
  --accent: #e5b28d;
  --accent-soft: #2b241f;
  --blue-soft: #202831;
  --blue-text: #b8cadf;
}
html { scroll-padding-top: 94px; }
body { background: var(--bg); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline-color: var(--blue-text); }
.skip { background: var(--text); color: var(--bg); }
.header { background: var(--bg); }
.header-inner { max-width: none; min-height: 70px; padding: 0 28px; gap: 0; }
.header .brand { width: calc(var(--sidebar-width) - 28px); gap: 9px; }
.header .brand img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.brand-name { font-size: 18px; letter-spacing: -.06em; font-weight: 650; }
.header-location { display: flex; align-items: center; gap: 13px; padding-left: 40px; font-size: 12px; color: var(--muted); }
.header-location strong { color: var(--text); font-weight: 500; }
.header-location svg { width: 12px; height: 12px; }
.header-actions { gap: 16px; }
.theme-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; }
.theme-switch button { display: grid; place-items: center; border: 0; background: transparent; width: 36px; height: 34px; color: var(--muted); border-radius: 5px; }
.theme-switch button[aria-pressed=true] { background: var(--panel-up); color: var(--text); }
.theme-switch svg { width: 16px; height: 16px; }
.social-x { border: 0; border-radius: 6px; }
.social-x svg { width: 18px; height: 18px; }
.preview-label { font-size: 11px; }
.preview-label > span:first-child { background: var(--blue-text); }
.preview-label > #header-status { width: auto; height: auto; background: none; border-radius: 0; }
.sidebar { position: fixed; top: 70px; bottom: 0; left: 0; width: var(--sidebar-width); border-right: 1px solid var(--line); padding: 29px 16px 22px; display: flex; flex-direction: column; z-index: 15; background: var(--bg); }
.sidebar-label { margin: 0 12px 13px; color: var(--muted); font-size: 11px; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 7px; font-size: 13px; color: var(--muted); }
.sidebar nav a:hover { background: var(--panel-up); color: var(--text); }
.sidebar nav a[aria-current=page] { background: var(--panel-up); color: var(--text); font-weight: 600; }
.sidebar svg { width: 17px; height: 17px; flex: none; }
.sidebar-secondary { margin-top: 33px; }
.sidebar-bottom { margin-top: auto; padding: 28px 12px 0; }
.sidebar-bottom p { font-size: 10px; line-height: 1.8; }
.sidebar-bottom a { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 4px; gap: 10px; font-size: 11px; }
main, footer { width: calc(100% - var(--sidebar-width)); max-width: 1320px; margin-left: var(--sidebar-width); margin-right: 0; padding-left: clamp(24px, 3.2vw, 54px); padding-right: clamp(24px, 3.2vw, 54px); }
main { padding-top: 30px; }
.button { border-radius: 7px; }
.primary { background: var(--text); color: var(--bg); }
.primary:hover:not(:disabled) { background: var(--muted); color: var(--bg); }
.secondary { background: var(--panel); border-color: var(--line-strong); color: var(--text); }
.text-link { text-decoration-color: var(--line-strong); }
.otc-hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 20px; min-height: 330px; padding: 37px 38px; background: #1c1d1a; color: #f8f8f3; border: 1px solid #30312d; border-radius: 10px; overflow: hidden; }
.otc-hero .hero-copy { min-width: 0; }
.otc-hero .small-label { color: #bdbeb5; font-size: 11px; letter-spacing: 0; }
.otc-hero h1 { margin: 15px 0 16px; max-width: 440px; font-size: clamp(32px, 3.1vw, 47px); letter-spacing: -.045em; line-height: 1.08; }
.otc-hero .hero-description { max-width: 330px; font-size: 13px; line-height: 1.8; color: #bdbeb5; }
.otc-hero .hero-actions { gap: 21px; margin-top: 24px; }
.otc-hero .primary { background: #f5f5ee; color: #20211e; }
.otc-hero .primary:hover { background: #dfe5ed; }
.otc-hero .text-link { color: #e4e4dc; font-size: 12px; text-decoration: none; }
.otc-hero .hero-note { font-size: 10px; color: #bdbeb5; line-height: 1.7; max-width: 330px; margin-top: 16px; }
.printer-fan { position: relative; height: 250px; min-width: 0; margin: 0; }
.fan-card { position: absolute; top: 40px; left: 50%; width: 138px; padding: 7px 7px 0; border: 1px solid #e2e2d9; border-radius: 7px; background: #f6f6ef; box-shadow: 0 12px 24px #0004; transform-origin: 50% 88%; }
.fan-card img { width: 100%; aspect-ratio: 1; border-radius: 3px; image-rendering: pixelated; }
.fan-card > span { display: flex; justify-content: space-between; gap: 6px; padding: 11px 2px 12px; color: #343630; font-size: 9px; font-weight: 600; }
.fan-card small { color: #74756d; font-size: 9px; font-weight: 400; }
.fan-card:nth-child(1) { transform: translateX(-118%) rotate(-17deg); z-index: 1; }
.fan-card:nth-child(2) { transform: translateX(-77%) translateY(-13px) rotate(-6deg); z-index: 2; }
.fan-card:nth-child(3) { transform: translateX(-30%) translateY(-12px) rotate(6deg); z-index: 3; }
.fan-card:nth-child(4) { transform: translateX(11%) rotate(17deg); z-index: 4; }
.home-status { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 11px 15px; background: var(--blue-soft); color: var(--blue-text); border-radius: 6px; font-size: 11px; line-height: 1.65; }
.home-status svg { flex: none; width: 15px; height: 15px; }
.home-status a { text-decoration: underline; text-underline-offset: 3px; margin-left: auto; flex: none; }
.metric-strip { margin: 0 0 25px; padding: 25px 0; }
.metric-value { font-size: 25px; }
.metric-label { font-size: 11px; }
.collection-heading { padding-top: 0; border: 0; }
.collection-heading h2 { font-size: 23px; letter-spacing: -.035em; }
.collection-heading p { font-size: 12px; }
.filter-toggle, .collection-tools input, .collection-tools select, .collection-pager button { border-color: var(--line-strong); }
.collection-tools input::placeholder { color: var(--muted); }
.collection-pager button:disabled { border-color: var(--line); color: var(--muted); opacity: .65; }
.view-toggle button[aria-pressed=true] { background: var(--panel-up); }
.printer-card:hover { background: var(--panel-up); border-color: var(--line-strong); }
.is-grid .card-copy h3 { font-size: 12px; }
.is-grid .card-case { font-size: 11px; }
.is-grid .card-art.nft-art { border-radius: 8px; }
.home-mint-note { margin-bottom: 42px; }
.ecosystem-loop, .docs-economics, .docs-infra { background: var(--panel); border-color: var(--line); }
.ecosystem-heading .small-label, .otc-links .small-label, .docs-economics-head .small-label, .docs-infra-head .small-label { color: var(--accent); }
.ecosystem-heading { gap: 30px; }
.ecosystem-heading h2 { font-size: 28px; }
.impact-card, .infra-grid article { background: var(--bg); border-color: var(--line); }
.impact-card-head { color: var(--muted); border-color: var(--line); }
.impact-card-head strong, .mechanism-note > span, .docs-state strong, .docs-allocation strong, .infra-ready { color: var(--accent); }
.burn-visual, .mechanism-list > div, .docs-allocation article { background: var(--panel); border-color: var(--line); }
.burn-track, .royalty-source::before, .royalty-source::after, .docs-example > i { background: var(--line-strong); }
.burn-token, .burn-gate { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); }
.minted-mark { color: var(--blue-text); background: var(--blue-soft); border-color: var(--blue-text); }
@keyframes minted-pulse { 0%, 65%, 100% { transform: scale(1); } 72% { transform: scale(1.1); } 82% { transform: scale(1); } }
.royalty-source span { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.royalty-source i { background: var(--accent); }
.mechanism-list > div > span { color: var(--accent); border-color: var(--accent); }
.mechanism-list small, .docs-allocation span, .docs-example > div span, .infra-grid span, .infra-grid article p, .infra-waiting, .otc-links nav strong { color: var(--muted); }
.mechanism-note, .docs-state, .docs-example > div, .infra-actions { border-color: var(--line); }
.mechanism-note a, .docs-copy a { color: var(--text); }
.infra-actions .button { color: var(--text); }
.otc-links nav, .otc-links nav a { border-color: var(--line); }
.otc-links nav a { background: var(--bg); }
.otc-links nav a:hover { background: var(--panel-up); color: var(--text); }
.mechanism-motion { display: flex; justify-content: flex-end; margin-top: 18px; }
#motion-toggle { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); }
#motion-toggle:hover { color: var(--text); background: var(--panel-up); }
#motion-toggle:focus-visible { outline-color: var(--blue-text); outline-offset: 3px; }
.ecosystem-loop[data-motion=running] .play-icon, .ecosystem-loop[data-motion=paused] .pause-icon { display: none; }
.store-card button:disabled { background: var(--panel-up); color: var(--muted); border-color: var(--line); }
.store-status[data-kind=warning] { color: var(--accent); }
.store-status[data-kind=success] { color: var(--blue-text); }
.tier-price { color: var(--text); }
.marketing-looks button { color: var(--muted); border-color: var(--line-strong); }
.marketing-looks button[aria-pressed=true] { color: var(--text); background: var(--panel-up); border-color: var(--text); }
.marketing-profile, .marketing-card, .marketing-caption-box { background: var(--panel); border-color: var(--line); }
.marketing-avatar { border-color: var(--panel); }
.marketing-profile-name, .marketing-caption-box pre, .marketing-caption-actions button { color: var(--text); }
.marketing-download { border-color: var(--line-strong); }
.marketing-download:hover { background: var(--panel-up); border-color: var(--muted); }
.marketing-credit p { color: var(--muted); }
.marketing-card-title span, .marketing-credit span { color: var(--muted); }
.buyback-retained { color: var(--accent); }
dialog, .close-dialog { border-color: var(--line-strong); }
.footer-top .brand { gap: 9px; }
.footer-top .brand img { width: 30px; height: 30px; image-rendering: pixelated; }
.footer-top { flex-wrap: wrap; }
.footer-top nav { gap: 17px; }
.docs-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 32px; }
.docs-index { padding: 21px; }
@media (min-width: 1550px) {
  main, footer { margin-left: calc(var(--sidebar-width) + (100% - var(--sidebar-width) - 1320px) / 2); }
}
@media (max-width: 1100px) {
  :root { --sidebar-width: 166px; }
  .header-inner { padding: 0 20px; }
  .header .brand { width: calc(var(--sidebar-width) - 20px); }
  .header-location { padding-left: 26px; }
  .otc-hero { padding: 30px 28px; gap: 8px; }
  .fan-card { width: 112px; }
  .printer-fan { height: 215px; }
  .fan-card > span { font-size: 8px; }
  .fan-card small { font-size: 8px; }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .docs-layout { display: block; }
  .docs-index { position: static; margin-bottom: 30px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 134px; }
  .header { position: sticky; top: 0; }
  .header-inner { min-height: 63px; padding: 0 18px; flex-wrap: nowrap; gap: 0; }
  .header .brand { width: auto; }
  .header .brand img { width: 28px; height: 28px; }
  .brand-name { font-size: 17px; }
  .header-location, .header-actions .preview-label, .header-actions .social-x { display: none; }
  .header-actions { margin-left: auto; }
  .theme-switch button { width: 35px; }
  .sidebar { position: sticky; top: 63px; width: auto; height: auto; padding: 4px 12px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar > .sidebar-label, .sidebar-secondary, .sidebar-bottom { display: none; }
  .sidebar > nav { flex-direction: row; gap: 3px; }
  .sidebar > nav a { flex: 1; justify-content: center; min-height: 42px; padding: 9px 6px; gap: 6px; font-size: 11px; white-space: nowrap; }
  .sidebar > nav svg { width: 14px; height: 14px; }
  main, footer { width: 100%; margin: 0; padding-left: 18px; padding-right: 18px; }
  main { padding-top: 20px; }
  .otc-hero { display: flex; flex-direction: column; gap: 0; align-items: stretch; padding: 28px 25px 16px; min-height: 0; }
  .otc-hero .hero-copy { display: block; }
  .otc-hero h1 { font-size: 36px; max-width: 350px; margin: 14px 0; }
  .otc-hero .hero-description { font-size: 12px; max-width: 320px; }
  .otc-hero .hero-actions { margin-top: 22px; gap: 19px; }
  .otc-hero .hero-actions .text-link { display: inline; font-size: 11px; }
  .otc-hero .hero-note { margin-top: 15px; max-width: 290px; font-size: 10px; }
  .printer-fan { height: 201px; margin-top: 0; }
  .fan-card { width: 109px; top: 28px; padding: 6px 6px 0; }
  .fan-card > span { font-size: 8px; padding: 10px 1px; }
  .fan-card small { font-size: 8px; }
  .home-status { align-items: flex-start; gap: 9px; padding: 12px; font-size: 10px; }
  .home-status svg { margin-top: 2px; }
  .home-status a { display: none; }
  .metric-strip { padding: 0; margin: 8px 0 26px; }
  .metric-strip > div { gap: 5px; }
  .metric-value { font-size: 23px; }
  .metric-label { font-size: 10px; }
  .collection-heading { padding-top: 0; }
  .ecosystem-heading h2 { font-size: 25px; }
  .footer-top p { width: 100%; margin: 0; }
  .footer-top nav { flex-wrap: wrap; gap: 12px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .otc-hero { gap: 24px; }
  .fan-card { width: clamp(78px, 10.15vw, 98px); padding: 5px 5px 0; }
  .fan-card small { display: none; }
}
@media (max-width: 370px) {
  .sidebar > nav svg { display: none; }
  .otc-hero { padding-left: 21px; padding-right: 21px; }
  .otc-hero h1 { font-size: 32px; }
  .fan-card { width: 94px; }
  .printer-fan { height: 183px; }
  .fan-card small { display: none; }
  .otc-hero .hero-actions { gap: 14px; }
}
@media (max-width: 600px) {
  .sidebar > nav svg { display: none; }
  .sidebar > nav a { padding-left: 5px; padding-right: 5px; font-size: 10px; }
  .sidebar { padding-left: 9px; padding-right: 9px; }
}
