@import url('/fonts.css');
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/SpaceGrotesk-400-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/InstrumentSerif-400-italic.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --bg: #fafafa; --paper: #ffffff; --surface: #f0f1f3;
  --ink: #191a1d; --muted: #62646c; --line: #dedfe3;
  --accent: #fa683b; --accent-hover: #ef582c; --brand-display: #e34d26; --brand-ink: #bc3b19; --brand-soft: #fff0e9;
  --night: #191a1d; --night-ink: #f6f6f7; --night-muted: #b7b9c0; --night-line: #3c3e44;
  --success: #16623a; --success-bg: #eaf6ee; --danger: #9e2a29; --danger-bg: #fff0ee;
  --warning: #734508; --warning-bg: #fff3dc;
  --body: 'DM Sans', sans-serif; --display: 'Bricolage Grotesque', sans-serif; --mono: 'Space Mono', monospace;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overscroll-behavior: none; background: #000; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
p { margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; margin: 0; line-height: 1.15; }
h2 { font-size: 34px; } h3 { font-size: 18px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.quiet, .eyebrow { color: var(--muted); font-size: 14px; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 14px; }
.dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; padding: 10px 20px; background: var(--ink); color: var(--bg); z-index: 10; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; font: 750 30px/1 var(--display); white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; margin-right: 8px; object-fit: contain; flex: none; }
.brand span { color: var(--brand-display); font-weight: 600; }
.site-header nav { display: flex; gap: 28px; font-size: 14px; align-items: center; }
.site-header nav a { color: var(--muted); padding-block: 10px; }
.site-header nav a:hover, .site-header nav .active { color: var(--brand-ink); }
.header-link { font-size: 14px; background: var(--ink); color: var(--paper); padding: 12px 18px; border: 0; border-radius: 4px; }
.beta { font: 600 12px/1.4 var(--body); padding: 3px 6px; background: var(--brand-soft); color: var(--brand-ink); border-radius: 3px; vertical-align: middle; }
.intro { padding-block: 58px 46px; }
.intro h1 { font-size: 64px; margin-bottom: 20px; }
.intro h1 em { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--brand-ink); }
.intro .sub { color: #bdc4bf; font-size: 18px; line-height: 1.55; }
.open { display: flex; align-items: center; width: min(680px, 100%); background: var(--surface); border: 1px solid #46504b; border-radius: 6px; padding: 6px; margin-top: 26px; }
.field-prefix { color: var(--muted); padding: 0 14px; font-size: 24px; }
.open input { min-width: 0; width: 100%; height: 46px; border: 0; background: none; color: var(--ink); outline-offset: 0; padding: 6px; font-size: 16px; }
.open input::placeholder { color: #9ea6a2; opacity: 1; }
.open button, .btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px; background: var(--accent); color: #191a1d; font-weight: 600; font-size: 14px; }
.open button:hover, .btn:hover { background: var(--accent-hover); }
.secondary { border-color: #898b93; background: transparent; color: var(--ink); }
.secondary:hover { background: var(--surface); }
.status { font-size: 14px; margin: 0; max-width: 680px; overflow-wrap: anywhere; }
.status:not(:empty) { margin-top: 12px; }
.bad { color: var(--danger); }
.browse-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.browse-note a { margin-left: 16px; color: #c8cfca; text-decoration: underline; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 28px; }
.directory { padding-bottom: 64px; }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-block: 1px solid var(--line); margin-bottom: 24px; padding-block: 12px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { background: transparent; border: 0; border-radius: 4px; color: var(--muted); padding: 9px 14px; font-size: 14px; }
.filters button:hover { color: var(--ink); background: var(--surface); }
.filters button[aria-pressed='true'] { color: var(--ink); background: #303635; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.site-card { min-width: 0; display: block; }
.artwork { aspect-ratio: 16 / 10; position: relative; overflow: hidden; border-radius: 5px; background: #202424; border: 1px solid #303636; }
.artwork img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.site-card:hover .artwork img { transform: scale(1.02); }
.media-label { position: absolute; left: 12px; top: 12px; padding: 4px 7px; border-radius: 3px; color: var(--night-ink); background: var(--night); font-size: 14px; line-height: 1.5; }
.site-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.site-meta h3 { font-size: 16px; font-weight: 500; }
.site-meta p { color: var(--muted); font-size: 14px; margin: 4px 0 0; overflow-wrap: anywhere; }
.visit { font-size: 21px; color: #b7c1b9; width: 28px; text-align: center; flex-shrink: 0; }
.site-card:hover .visit { color: var(--accent); }
.text-art { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--brand-ink); }
.text-art > span { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 36px; }
.text-art small { color: var(--muted); }
.collection-note, .more-sites { color: var(--muted); font-size: 14px; margin-top: 28px; margin-bottom: 0; }
.collection-note a, .more-sites a { text-decoration: underline; color: var(--ink); margin-left: 10px; }
.more-sites { margin-top: 8px; }
.owner-section { border-block: 1px solid var(--line); background: #1a1e1c; padding-block: 72px; }
.owner-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.owner-layout h2 { font-size: 40px; margin-bottom: 22px; }
.owner-layout p { color: #bac4bd; font-size: 15px; }
.owner-layout .btn { margin-top: 10px; }
.owner-steps { list-style: none; margin: 0; padding: 0; }
.owner-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #37413a; }
.owner-steps li:first-child { padding-top: 0; }
.owner-steps li > span { color: #86a793; font-size: 14px; }
.owner-steps h3 { margin-bottom: 9px; }
.owner-steps p { font-size: 14px; margin: 0; }
.receive-teaser { padding-block: 72px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.receive-teaser h2 { margin-bottom: 20px; }
.receive-teaser p { color: var(--muted); max-width: 520px; }
.receive-teaser .quiet { font-size: 14px; }
.teaser-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 22px; font-size: 14px; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-block: 64px 80px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { font-size: 16px; cursor: pointer; padding: 20px 0; }
.qa details p { color: var(--muted); font-size: 14px; padding-right: 20px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; background: var(--surface); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { font-size: 25px; }
.site-footer p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 22px; font-size: 14px; }
.site-footer .footer-warning { margin: 0; }
/* The documentation shares the product typography, not the artwork layout. */
.doc { padding-block: 56px 80px; }
.doc .wrap { max-width: 1120px; }
.doc h1 { font-size: 46px; max-width: 700px; margin-bottom: 20px; }
.doc h2 { font-size: 26px; padding-top: 32px; margin-bottom: 18px; border-top: 1px solid var(--line); margin-top: 40px; }
.doc p { color: var(--muted); max-width: 760px; }
.doc a { text-decoration: underline; }
.doc .sub { font-size: 19px; margin-bottom: 40px; }
code, pre { font-family: var(--mono); font-size: 14px; }
code { overflow-wrap: anywhere; color: var(--ink); }
.codebox { border: 1px solid var(--night-line); border-radius: 6px; overflow: hidden; margin-block: 24px; background: var(--night); color: var(--night-ink); }
.bar2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.codebox .bar2 { color: var(--night-muted); border-color: var(--night-line); }
.bar2 .btn { min-height: 40px; padding: 6px 14px; background: transparent; border: 1px solid #777a84; color: var(--night-ink); }
.bar2 .btn:hover { background: #35373d; }
.codebox pre { margin: 0; padding: 24px; overflow-x: auto; line-height: 1.8; }
.ref-wrap { overflow-x: auto; }
.ref { border-collapse: collapse; width: 100%; font-size: 14px; }
.ref th, .ref td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 16px 12px 16px 0; }
.ref td { color: var(--muted); }
.ref td:first-child { width: 32%; overflow-wrap: anywhere; }
.reading-layout { display: grid; grid-template-columns: 210px minmax(0, 800px); gap: 72px; justify-content: space-between; }
.page-nav { align-self: start; position: sticky; top: 28px; padding-top: 8px; font-size: 14px; }
.page-nav > p { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 15px; text-transform: uppercase; }
.page-nav nav { display: flex; flex-direction: column; gap: 3px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.page-nav a { display: block; padding: 8px 12px; border-radius: 4px; text-decoration: none; color: var(--muted); }
.page-nav a:hover { background: var(--surface); color: var(--ink); }
.page-nav a:focus-visible { color: var(--brand-ink); background: var(--brand-soft); }
.page-nav .back-link { margin-top: 15px; padding-left: 0; color: var(--ink); }
.doc-content { min-width: 0; }
.page-label { color: var(--brand-ink); display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.doc .sub { font-size: 17px; line-height: 1.7; }
.doc h1 { font-size: 44px; }
.doc h2 { font-size: 24px; }
.doc h2 .section-number { color: var(--brand-ink); margin-right: 12px; font-size: 14px; vertical-align: middle; }
.guide-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-block: 17px; border-block: 1px solid var(--line); font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.guide-facts b { color: var(--ink); }
.next-step { margin-top: 36px; padding: 25px 0; border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.next-step p { margin: 0; font-size: 14px; }
.next-step .btn { text-decoration: none; }
@media (max-width: 1050px) { .reading-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 36px; } }
@media (max-width: 700px) { .reading-layout { grid-template-columns: 1fr; gap: 30px; } .page-nav { position: static; padding-top: 0; } .page-nav nav { flex-direction: row; flex-wrap: wrap; gap: 4px; padding-bottom: 16px; } .page-nav a { padding: 8px 10px; } .page-nav .back-link { display: none; } .page-nav > p { margin-bottom: 8px; } .guide-facts { gap: 8px 18px; } .next-step { flex-direction: column; align-items: flex-start; } }
@media (min-width: 1800px) { .wrap { width: min(1440px, calc(100% - 160px)); } }
@media (max-width: 1050px) { .wrap { width: calc(100% - 48px); } .header-link { display: none; } .site-header nav { gap: 20px; } .owner-layout, .receive-teaser, .faq { gap: 40px; } .site-grid { gap: 28px 18px; } }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .site-header .wrap { min-height: 0; padding-block: 22px 14px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-header nav { gap: 20px; width: 100%; justify-content: space-between; font-size: 14px; }
  .site-header nav a { padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 3px; }
  .brand { font-size: 26px; } .beta { font-size: 14px; }
  .intro { padding-block: 38px 36px; } .intro h1 { font-size: 43px; max-width: 390px; } .intro .sub { font-size: 16px; }
  .open { margin-top: 22px; } .field-prefix { display: none; } .open input { font-size: 16px; padding-left: 10px; }
  .open button { padding: 10px 13px; gap: 10px; font-size: 14px; }
  .browse-note { font-size: 14px; } .browse-note a { display: inline-block; margin-left: 0; margin-top: 7px; }
  .section-heading h2 { font-size: 26px; } .section-heading > .quiet { display: none; }
  .directory-toolbar { align-items: flex-start; } .directory-toolbar > .quiet { display: none; }
  .filters { gap: 4px; } .filters button { font-size: 14px; padding: 8px; min-height: 44px; }
  .site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; }
  .site-meta { gap: 3px; padding-top: 10px; } .site-meta h3 { font-size: 14px; } .site-meta p { font-size: 14px; } .visit { font-size: 17px; width: 18px; }
  .media-label { left: 7px; top: 7px; font-size: 12px; padding: 3px 5px; }
  .text-art > span { font-size: 20px; } .text-art small { font-size: 14px; }
  .owner-section { padding-block: 44px; } .owner-layout, .receive-teaser, .faq { grid-template-columns: 1fr; gap: 32px; }
  .owner-layout h2 { font-size: 34px; } .receive-teaser { padding-block: 44px; } .receive-teaser h2 { font-size: 30px; }
  .faq { padding-block: 44px; } .faq h2 { font-size: 30px; } .qa summary { font-size: 15px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .doc { padding-block: 36px 60px; } .doc h1 { font-size: 34px; } .doc .sub { font-size: 17px; } .doc h2 { font-size: 24px; }
  .codebox pre { padding: 16px; font-size: 14px; } .ref { font-size: 14px; }
}
@media (max-width: 360px) { .intro h1 { font-size: 38px; } .site-header nav { gap: 10px; } .filters button { font-size: 14px; padding-inline: 6px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== 2026-10 redesign: legacy pages (docs, Silent Receive) adopt the dark UI system (see ui.css). ===== */
:root {
  color-scheme: dark;
  --bg: #000000; --paper: #0e0e0e; --surface: #161616;
  --ink: #ffffff; --muted: #8c8c8c; --line: #262626;
  --accent: #ffffff; --accent-hover: #e6e6e6; --brand-display: #f7931a; --brand-ink: #d9d9d9; --brand-soft: #2b2008;
  --night: #0e0e0e; --night-ink: #ffffff; --night-muted: #8c8c8c; --night-line: #262626;
  --success: #2fd27a; --success-bg: #0f2a1b; --danger: #ff6a5f; --danger-bg: #2d1210; --warning: #ffb547; --warning-bg: #2b2008;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--body); --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
body { -webkit-font-smoothing: antialiased; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(0,0,0,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .wrap { min-height: 64px; }
.brand { font: 700 19px/1 var(--body); letter-spacing: -.01em; }
.brand span { color: inherit; font-weight: 700; }
.brand-mark { width: 22px !important; height: 22px !important; margin-right: 9px !important; }
.site-header nav a:hover, .site-header nav .active { color: var(--ink); }
.header-link { display: none; }
.open button, .btn, button:not(.text-button):not(.link):not([class*="chip"]) { border-radius: 999px; background: var(--ink); color: #000; border: 1px solid var(--ink); }
.open button:hover, .btn:hover { background: var(--accent-hover); }
.btn.secondary, button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
input, textarea, select { background: var(--surface); color: var(--ink); border-color: var(--line); border-radius: 10px; }
code, pre { background: var(--surface); color: var(--ink); }
.beta, .page-label { color: var(--brand-ink); }
a { text-underline-offset: 3px; }

.beta { background: var(--warning-bg); color: var(--warning); }
.section-number, .step-number { color: var(--muted); }
.tech-details summary { cursor: pointer; color: var(--muted); }

@font-face { font-family: "Bricolage Grotesque"; src: url('/fonts/BricolageGrotesque-300-800-normal.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
:root { --display: "Bricolage Grotesque", var(--body); --accent: #f7931a; --accent-hover: #ffa53d; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; }
.site-header { background: #0b0b10; backdrop-filter: none; -webkit-backdrop-filter: none; }
code { padding: .1em .45em; border-radius: 4px; }
pre code { padding: 0; }
.reading-layout .doc-content, .security-content { max-width: 66ch; }
.open button, .btn, button:not(.text-button):not(.link):not([class*="chip"]) { background: var(--accent); border-color: var(--accent); color: #0b0b10; }
.codehead { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; }
.codehead button { margin-left: auto; background: var(--ink); border-color: var(--ink); }
@media (max-width: 720px) { .page-nav nav, .toc { display: flex; flex-direction: column; gap: 8px; } }
