:root {
  color-scheme: dark;
  --forest: #a3bb99;
  --forest-2: #89b1b8;
  --ink: #f0f2e9;
  --muted: #b5c3b7;
  --paper: #101715;
  --white: #f0f2e9;
  --sage: #17211d;
  --moss: #789879;
  --ochre: #e3dfcc;
  --line: #35473b;
  --surface: #1d2923;
  --surface-raised: #26362d;
  --text-muted: #91a396;
  --stream: #89b1b8;
  --cream: #e3dfcc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #a26f2b; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
img { max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 99; padding: 10px; background: white; color: #111; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgb(18 63 59 / 12%); background: rgb(247 248 245 / 94%); backdrop-filter: blur(12px); }
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-size: 20px; letter-spacing: -.04em; }
.brand img { border-radius: 50%; object-fit: cover; }
.brand b { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 600; }
.site-nav a { text-decoration: none; text-underline-offset: 6px; }
.site-nav a:not(.nav-join):hover { color: var(--forest-2); text-decoration: underline; }
.site-nav .nav-join { padding: 10px 14px; border-radius: 3px; background: var(--forest); color: var(--white); }
.site-nav .nav-join:hover { background: var(--forest-2); color: white; }
.menu-toggle { display: none; }

.hero-shell { position: relative; overflow: hidden; background: #19372f; }
.hero { position: relative; display: flex; width: 100%; max-width: none; min-height: 600px; align-items: center; margin-inline: 0; padding: 72px max(24px, calc((100vw - var(--wrap)) / 2)); }
.hero-copy { position: relative; z-index: 2; max-width: 690px; padding: 22px 0 28px; }
.eyebrow { margin: 0 0 18px; color: #d5dfce; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dark { color: #637360; }
.eyebrow-mark { margin-right: 8px; color: var(--ochre); font-size: 11px; }
.hero h1, .page-hero h1 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(44px, 5vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; }
.hero h1 em, .page-hero h1 em, .welcome h2 em { color: #d5b775; font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.hero-lede { max-width: 520px; margin: 24px 0; color: #e0e6dd; font-size: 17px; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-light { background: #f4f1e7; color: var(--forest); }
.button-light:hover { background: white; color: var(--forest); }
.button-outline { border-color: rgb(255 255 255 / 46%); background: transparent; color: white; }
.button-outline:hover { background: rgb(255 255 255 / 10%); color: white; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-2); color: white; }
.hero-small { margin-top: 28px; color: #bdc9be; font-size: 11px; letter-spacing: .05em; }
.hero-image { position: absolute; z-index: 0; inset: 0; overflow: hidden; margin: 0; background: #849084; }
.hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18 43 36 / 94%) 0%, rgb(18 43 36 / 82%) 31%, rgb(18 43 36 / 24%) 68%, rgb(18 43 36 / 4%) 100%), linear-gradient(0deg, rgb(18 43 36 / 36%), transparent 28%); content: ''; }
.hero-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 54%; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 11px 18px; background: rgb(24 53 46 / 90%); color: var(--paper); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.welcome { border-block: 1px solid var(--line); background: var(--white); }
.section-pad { padding-block: 84px; }
.welcome-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; }
.welcome h2, .section-heading h2, .settings-band h2, .community-band h2, .postoffice-callout h2 { margin: 0; color: var(--forest); font-size: clamp(32px, 3.5vw, 46px); letter-spacing: -.04em; line-height: 1.13; }
.welcome h2 em { color: #788875; }
.prose { color: #48554d; }
.prose p { margin: 0 0 18px; }
.notice { padding: 16px 20px; border-left: 3px solid #718268; background: #e7ece3; color: #465148; font-size: 14px; }
.section-heading { max-width: 650px; margin-bottom: 38px; }
.section-heading h2 { font-size: 38px; }
.section-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.card-grid { display: grid; gap: 15px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { display: flex; min-height: 224px; flex-direction: column; align-items: flex-start; padding: 26px 27px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 30px rgb(18 63 59 / 4%); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.info-card:hover { transform: translateY(-3px); border-color: #a8c1b8; box-shadow: 0 14px 34px rgb(18 63 59 / 9%); }
.card-index { color: #7c876f; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.info-card h3, .info-card h2 { margin: 14px 0 8px; color: var(--forest); font-size: 21px; line-height: 1.25; }
.info-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.info-card a, .resource-callout a, .side-note a, .setup-steps a, .post-copy > a { margin-top: auto; color: #4c6954; font-size: 13px; font-weight: 700; }
.info-card a span { margin-left: 8px; }
.community-paths { column-gap: 38px; }
.community-paths .info-card { min-height: 240px; padding: 22px 12px 20px 0; border: 0; border-top: 2px solid #9aa58d; background: transparent; }
.community-paths .card-index { color: #816235; }
.community-paths .info-card h3 { margin-top: 20px; font: 600 25px/1.15 var(--serif); letter-spacing: -.02em; }
.community-paths .info-card p { max-width: 310px; }
.community-paths .info-card a { color: var(--forest); }

.settings-band { padding-block: 68px; background: var(--forest); color: #e4e8df; }
.settings-row { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 20px 64px; }
.settings-band .eyebrow { color: #bdc9be; }
.settings-band h2 { color: var(--white); font-size: 34px; }
.settings-band .settings-row > div:first-child p:last-child { color: #c6d0c4; }
.settings-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.settings-list div { padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / 19%); }
.settings-list dt { color: #bac9bd; font-size: 11px; }
.settings-list dd { margin: 3px 0 0; color: var(--white); font-size: 16px; font-weight: 700; }
.settings-row > .button { justify-self: start; }
.copy-status { min-height: 20px; color: #e6d5a9; font-size: 12px; }
.settings-caveat { grid-column: 1 / -1; margin: 0; color: #bfcbc0; font-size: 12px; }
.postoffice-callout { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 30px; }
.postoffice-callout h2 { font-size: 30px; }
.postoffice-callout p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.post-office-tag { color: #7b6033; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.community-band { padding: 60px 0; background: #28443a; color: #e9ece3; }
.community-row { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.community-band .eyebrow { color: #c9d2c5; }
.community-band h2 { color: white; font-size: 34px; }
.community-band p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; color: #d4ddd2; }

.site-footer { padding: 48px 0 32px; background: #172e28; color: #cbd3c8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; }
.footer-brand { color: white; }
.site-footer h2 { margin: 6px 0 12px; color: #aebcae; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a:not(.brand) { display: block; margin: 6px 0; font-size: 13px; text-decoration: none; }
.site-footer p { color: #aeb9af; font-size: 12px; }
.footer-note { grid-column: 1 / -1; max-width: 900px; margin: 0 !important; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 16%); }

.page-hero { padding-top: 78px; padding-bottom: 36px; }
.page-hero + .section-pad { padding-top: 52px; }
.page-hero h1 { max-width: 850px; color: var(--forest); }
.page-hero h1 em { color: #788875; }
.page-lede { max-width: 690px; margin: 18px 0 0; color: #59645c; font-size: 18px; }
.steps-layout { display: grid; grid-template-columns: 270px 1fr; align-items: start; gap: 64px; }
.side-note { position: sticky; top: 110px; padding: 24px; background: #e4e8df; }
.side-note h2 { margin: 0 0 12px; color: var(--forest); font: 600 21px/1.25 var(--serif); }
.side-note p { color: #526055; font-size: 13px; }
.setup-steps { margin: 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.setup-steps li > span { padding-top: 5px; color: #8a7955; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.setup-steps h2 { margin: 0 0 8px; color: var(--forest); font-size: 20px; line-height: 1.3; }
.setup-steps p { margin: 0 0 12px; color: #59645c; font-size: 14px; }
.setup-steps a { display: inline-block; margin: 0 18px 8px 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.compact-settings { max-width: 500px; margin: 18px 0; padding: 15px 19px; background: var(--white); }
.compact-settings div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; border-bottom: 1px solid #e4e4dc; font-size: 13px; }
.compact-settings div:last-child { border: 0; }
.compact-settings dt { color: var(--muted); }
.compact-settings dd { margin: 0; color: var(--forest); font-weight: 700; }
.text-button { padding: 3px 0; border: 0; background: transparent; color: #4c6954; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.page-notice { max-width: 960px; margin: 40px auto 0; }
.device-grid { margin-top: 26px; }
.device-card { min-height: 250px; }
.device-art { display: block; width: 100%; height: auto; margin-bottom: 20px; }
.device-check { width: 100%; padding: 9px 12px; background: #eef0e9; font-size: 12px !important; }
.resource-callout { margin-top: 36px; padding: 27px 30px; background: #e4e8df; }
.resource-callout h2 { margin: 0; color: var(--forest); font: 600 22px var(--serif); }
.resource-callout p { color: var(--muted); font-size: 14px; }
.fine-print { margin-top: 20px; color: #737d73; font-size: 12px; }
.repeater-grid { display: grid; grid-template-columns: 1.4fr .7fr; align-items: start; gap: 75px; }
.prose h2 { margin: 34px 0 10px; color: var(--forest); font: 600 25px/1.3 var(--serif); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin: 7px 0; }
.host-card { padding: 27px; background: #e3e8df; }
.host-card h2 { margin: 15px 0 9px; color: var(--forest); font: 600 25px/1.2 var(--serif); }
.host-card p { margin-bottom: 18px; color: #58645a; font-size: 14px; }
.host-card .button { margin: 8px 0 15px; }
.post-copy { max-width: 820px; margin: auto; }
.post-copy > .notice { margin-bottom: 32px; }
.command-list { margin: 24px 0; border: 1px solid var(--line); background: var(--white); }
.command-list div { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 20px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.command-list div:last-child { border: 0; }
.command-list code { color: var(--forest); font: 600 14px ui-monospace, monospace; }
.command-list span { color: var(--muted); font-size: 13px; }
.directory-section { max-width: 900px; }
.search-form { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.search-form label { display: block; margin-bottom: 9px; color: var(--forest); font-size: 13px; font-weight: 700; }
.search-field { display: flex; gap: 10px; }
.search-field input { min-width: 0; flex: 1; padding: 12px 14px; border: 1px solid #aeb7aa; border-radius: 2px; background: white; color: var(--ink); }
.directory-status { min-height: 28px; margin: 20px 0; color: #5a685c; font-size: 14px; }
.directory-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.directory-card { padding: 20px; border: 1px solid var(--line); background: var(--white); }
.directory-card h2 { margin: 0; color: var(--forest); font: 600 21px var(--serif); }
.directory-username { margin: 4px 0 0; color: #6a796c; font-size: 13px; }
.privacy-note { display: flex; gap: 15px; margin-top: 34px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.privacy-note span { color: #687a62; font-size: 26px; }
.privacy-note p { margin: 0; }
.resource-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.subhead { margin: 0 0 18px; color: var(--forest); font: 600 24px var(--serif); }
.resource-list a { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.resource-list a span:first-child { color: var(--forest); font-weight: 600; }
.resource-list a span:last-child { color: #72806d; }
.faq-list details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding-right: 22px; color: var(--forest); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 0; right: 0; color: #75846e; content: '+'; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 10px 0 0; color: #5d685f; font-size: 13px; }
.resource-list a:hover span:first-child, .faq-list summary:hover { color: #94733e; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #c6913b; outline-offset: 3px; }

/* Guided setup and member discovery */
.page-actions { align-items: center; margin-top: 24px; }
.text-link { color: var(--forest-2); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.onboarding { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.5fr); align-items: start; gap: clamp(28px, 6vw, 78px); }
.onboarding .side-note { position: sticky; top: 110px; border: 1px solid #d4e2dc; border-radius: 14px; background: linear-gradient(150deg, #e6f0ec, #f1f4ef); }
.side-note ul { padding-left: 20px; color: #465a55; font-size: 14px; }
.side-note li { margin-block: 9px; }
.onboarding-main .setup-steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 19px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid #dce3df; }
.onboarding-main .setup-steps li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #b9d2c8; border-radius: 50%; background: white; color: var(--forest); font-size: 13px; }
.onboarding-main .setup-steps h2 { font-size: 22px; letter-spacing: -.025em; }
.onboarding-main .setup-steps p, .onboarding-main .setup-steps li > div > ul { max-width: 680px; font-size: 15px; line-height: 1.7; }
.help-disclosure { margin-top: 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.help-disclosure summary { color: var(--forest); font-size: 14px; font-weight: 700; cursor: pointer; }
.help-disclosure p { margin: 10px 0 0 !important; }
.troubleshooting { border-block: 1px solid var(--line); background: #eef3ef; }
.troubleshooting .section-heading { margin-bottom: 12px; }
.role-section { overflow: hidden; border-block: 1px solid #d9e4df; background: linear-gradient(110deg, #e8f0ec, #f6f8f5 62%, #e4efeb); }
.role-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 55px; }
.role-grid h2 { margin: 0 0 14px; color: var(--forest); font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.role-grid h2 em { color: #397f73; font-family: var(--serif); font-weight: 500; }
.role-grid > div:first-child p:not(.eyebrow) { max-width: 450px; color: #50615c; }
.role-visual { position: relative; display: flex; min-height: 205px; align-items: center; justify-content: center; gap: clamp(7px, 2vw, 24px); padding: 24px; border: 1px solid rgb(18 63 59 / 10%); border-radius: 18px; background: rgb(255 255 255 / 72%); box-shadow: 0 16px 50px rgb(18 63 59 / 7%); }
.role-node { display: flex; min-width: 100px; flex-direction: column; align-items: center; text-align: center; }
.role-node > span { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid #b5d0c6; border-radius: 18px; background: #edf5f1; color: var(--forest); font-size: 25px; }
.role-node b { margin-top: 9px; color: var(--forest); font-size: 13px; }
.role-node small { color: var(--muted); font-size: 11px; }
.role-repeater > span { border-radius: 50%; background: var(--forest); color: white; }
.role-link { display: flex; flex: 1; justify-content: space-evenly; border-top: 2px dashed #69a398; }
.role-link i { width: 7px; height: 7px; margin-top: -5px; border-radius: 50%; background: #348e80; }
.role-caption { position: absolute; align-self: flex-end; margin: 0 0 -14px; color: #64736d; font-size: 10px; }
.network-illustration { margin: 0 auto 54px; overflow: hidden; border: 1px solid #d4e2dc; border-radius: 18px; background: #f8f7ee; }
.network-scene { display: block; width: 100%; height: auto; }
.network-illustration figcaption { padding: 10px 16px; border-top: 1px solid #d4e2dc; color: var(--muted); font-size: 12px; }
.directory-section { max-width: 1000px; }
.search-form { border-color: #cbdad4; border-radius: 14px; box-shadow: 0 10px 36px rgb(18 63 59 / 5%); }
.search-form label { font-size: 15px; }
.search-field input { min-height: 50px; border-color: #aebfb8; border-radius: 8px; font-size: 16px; }
.search-field input:focus { border-color: var(--forest-2); }
.search-hint { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.directory-status { min-height: 28px; }
.directory-card { border-color: #d7e1dc; border-radius: 12px; box-shadow: 0 5px 20px rgb(18 63 59 / 4%); }
.directory-card h2 { font: 650 20px/1.3 var(--sans); }
.directory-card .directory-username { margin: 9px 0 12px; color: var(--forest); font-size: 18px; }
.directory-card .directory-username code { padding: 4px 7px; border-radius: 5px; background: #edf3ef; font-size: inherit; }
.copy-username { min-height: 42px; padding: 8px 12px; border: 1px solid #9ab8ad; border-radius: 7px; background: white; color: var(--forest); font-size: 13px; font-weight: 700; cursor: pointer; }
.copy-username:hover { background: #edf5f1; }
.directory-join { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 58px; padding: clamp(22px, 4vw, 38px); border-radius: 16px; background: #eaf1ed; }
.directory-join h2 { margin: 0; color: var(--forest); font-size: 28px; letter-spacing: -.03em; }
.directory-join p { max-width: 600px; color: #4e625b; }
.privacy-card { align-self: center; padding: 22px; border: 1px solid #d0dfd8; border-radius: 12px; background: rgb(255 255 255 / 78%); }
.privacy-card > span { color: var(--forest-2); font-size: 26px; }
.privacy-card p { margin: 6px 0 14px; font-size: 14px; }
.privacy-card a { color: var(--forest); font-size: 13px; font-weight: 700; }
.privacy-note { display: block; }
.privacy-note p { margin: 0; }
.directory-retry { min-height: 42px; }
.advanced-commands { margin-top: 36px; padding: 17px 20px; border: 1px solid #d4e2dc; border-radius: 12px; background: #f4f7f4; }
.advanced-commands > summary { color: var(--forest); font-weight: 700; cursor: pointer; }
.advanced-commands > summary span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.advanced-commands[open] > summary { margin-bottom: 20px; }
.host-card { border-radius: 14px; background: linear-gradient(145deg, #e7f0eb, #f3f2e9); }
.device-card { border-radius: 14px; }
.resource-callout { border-radius: 14px; }
.notice { border-radius: 0 10px 10px 0; }
.copy-status { display: inline-block; }

@media (max-width: 800px) {
  .onboarding { grid-template-columns: 1fr; gap: 30px; }
  .onboarding .side-note { position: static; }
  .onboarding-main .setup-steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .role-grid { grid-template-columns: 1fr; gap: 27px; }
  .role-visual { min-height: 190px; padding: 18px 10px 30px; gap: 4px; }
  .role-node { min-width: 78px; }
  .role-node > span { width: 48px; height: 48px; }
  .role-caption { margin-bottom: -20px; text-align: center; }
  .directory-join { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .role-visual { gap: 0; }
  .role-node { min-width: 68px; }
  .role-node small { max-width: 78px; }
  .role-link { min-width: 12px; }
  .onboarding-main .setup-steps h2 { font-size: 19px; }
  .page-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .hero { min-height: 580px; padding-block: 48px; }
  .hero-copy { padding: 14px 0; }
  .welcome-grid { gap: 38px; }
  .settings-row { gap: 24px; }
  .postoffice-callout { grid-template-columns: 1fr 2fr; }
  .postoffice-callout .button { grid-column: 2; }
  .steps-layout { gap: 35px; }
  .resource-layout { gap: 35px; }
}

@media (max-width: 800px) {
  .wrap { width: min(calc(100% - 34px), var(--wrap)); }
  .header-row { min-height: 68px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--forest); font-size: 12px; font-weight: 700; }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 14px 18px 19px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 16px rgb(24 45 40 / 12%); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 11px 6px; font-size: 14px; }
  .site-nav .nav-join { margin-top: 8px; text-align: center; }
  .hero { width: 100%; min-height: min(630px, calc(100svh - 68px)); padding: 40px 17px; }
  .hero h1, .page-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-lede { margin: 17px 0; font-size: 16px; }
  .hero-image img { object-position: 59% center; }
  .hero-image::after { background: linear-gradient(90deg, rgb(18 43 36 / 92%) 0%, rgb(18 43 36 / 73%) 62%, rgb(18 43 36 / 34%) 100%), linear-gradient(0deg, rgb(18 43 36 / 42%), transparent 45%); }
  .hero-image figcaption { font-size: 9px; }
  .section-pad { padding-block: 58px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 24px; }
  .welcome h2 { font-size: 36px; }
  .section-heading h2 { font-size: 31px; }
  .three, .two { grid-template-columns: 1fr; }
  .info-card { min-height: 0; padding: 23px; }
  .community-paths { gap: 6px; }
  .community-paths .info-card { min-height: 0; padding: 23px 0 20px; }
  .settings-row { grid-template-columns: 1fr; gap: 18px; }
  .settings-band { padding-block: 50px; }
  .settings-band h2 { font-size: 30px; }
  .settings-list { gap: 0 17px; }
  .settings-list dd { font-size: 14px; }
  .settings-caveat { grid-column: auto; }
  .postoffice-callout { grid-template-columns: 1fr; gap: 13px; padding-block: 50px; }
  .postoffice-callout h2 { font-size: 28px; }
  .postoffice-callout .button { grid-column: auto; justify-self: start; }
  .community-row { align-items: flex-start; flex-direction: column; }
  .community-band { padding: 48px 0; }
  .community-band h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .footer-grid > div:first-child, .footer-note { grid-column: 1 / -1; }
  .page-hero { padding-top: 53px; padding-bottom: 34px; }
  .page-lede { font-size: 16px; }
  .steps-layout { grid-template-columns: 1fr; gap: 25px; }
  .side-note { position: static; }
  .setup-steps li { grid-template-columns: 33px 1fr; gap: 11px; margin-bottom: 20px; padding-bottom: 20px; }
  .setup-steps h2 { font-size: 18px; }
  .repeater-grid { grid-template-columns: 1fr; gap: 28px; }
  .command-list div { grid-template-columns: 1fr; gap: 4px; }
  .search-form { padding: 16px; }
  .search-field { align-items: stretch; flex-direction: column; }
  .search-field .button { align-self: flex-start; }
  .directory-results { grid-template-columns: 1fr; }
  .resource-layout { grid-template-columns: 1fr; gap: 48px; }
  .resource-list a { font-size: 12px; }
  .faq-list summary { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Dark, logo-aware theme */
body { background: var(--paper); color: var(--ink); }
a:hover { color: var(--stream); }
.skip-link { background: var(--surface-raised); color: var(--ink); }
.site-header { border-color: var(--line); background: rgb(16 23 21 / 94%); }
.hero-image::after { background: linear-gradient(90deg, rgb(16 23 21 / 92%) 0%, rgb(16 23 21 / 78%) 45%, rgb(16 23 21 / 58%) 100%), linear-gradient(0deg, rgb(16 23 21 / 28%), transparent 52%); }
.brand { color: var(--ink); }
.brand img { border: 1px solid rgb(227 223 204 / 50%); }
.site-nav a:not(.nav-join) { color: var(--ink); }
.site-nav a:not(.nav-join):hover { color: var(--stream); }
.site-nav .nav-join, .button-dark { background: var(--forest); color: var(--paper); }
.site-nav .nav-join:hover, .button-dark:hover { background: var(--forest-2); color: var(--paper); }
.menu-toggle { border-color: var(--line); color: var(--ink); }
.eyebrow-dark { color: var(--forest); }
.hero h1, .page-hero h1 { color: var(--ink); }
.hero h1 em, .page-hero h1 em, .welcome h2 em { color: var(--cream, #e3dfcc); }
.page-hero h1 em, .welcome h2 em { color: var(--forest); }
.hero-lede, .page-lede { color: var(--muted); }
.button-light { background: var(--cream, #e3dfcc); color: var(--paper); }
.button-light:hover { background: var(--ink); color: var(--paper); }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--forest); background: rgb(163 187 153 / 9%); color: var(--ink); }
.text-link, .info-card a, .resource-callout a, .side-note a, .setup-steps a, .post-copy > a,
.community-paths .info-card a, .text-button, .resource-list a span:first-child,
.privacy-card a { color: var(--stream); }
.text-link:hover, .info-card a:hover, .resource-callout a:hover, .side-note a:hover,
.setup-steps a:hover, .post-copy > a:hover, .community-paths .info-card a:hover,
.text-button:hover, .resource-list a:hover span:first-child, .privacy-card a:hover { color: var(--forest); }
.welcome, .info-card, .compact-settings, .command-list, .search-form, .directory-card,
.onboarding-main .setup-steps li > span, .help-disclosure, .role-visual, .privacy-card,
.copy-username { background: var(--surface); }
.welcome { border-color: var(--line); }
.welcome h2, .section-heading h2, .postoffice-callout h2, .settings-band h2,
.community-band h2, .page-hero h1, .role-grid h2 { color: var(--ink); }
.welcome h2 em, .role-grid h2 em { color: var(--forest); }
.prose, .prose p, .info-card p, .postoffice-callout p, .resource-callout p,
.host-card p, .directory-join p, .role-grid > div:first-child p:not(.eyebrow),
.setup-steps p, .side-note p, .faq-list p, .search-hint { color: var(--muted); }
.notice, .device-check { border-color: var(--forest); background: var(--surface-raised); color: var(--ink); }
.info-card { border-color: var(--line); box-shadow: 0 8px 28px rgb(0 0 0 / 12%); }
.info-card:hover { border-color: var(--moss); box-shadow: 0 12px 28px rgb(0 0 0 / 20%); }
.info-card h2, .info-card h3, .side-note h2, .setup-steps h2, .resource-callout h2,
.prose h2, .prose h3, .host-card h2, .subhead, .directory-card h2,
.directory-join h2, .role-node b { color: var(--ink); }
.card-index, .community-paths .card-index, .post-office-tag, .setup-steps li > span,
.resource-list a span:last-child, .directory-username, .fine-print { color: var(--text-muted); }
.settings-band { background: var(--surface-raised); color: var(--ink); }
.settings-band .eyebrow, .settings-band .settings-row > div:first-child p:last-child,
.settings-list dt, .settings-caveat { color: var(--muted); }
.settings-list div, .footer-note { border-color: var(--line); }
.settings-list dd, .footer-brand { color: var(--ink); }
.copy-status { color: var(--forest); }
.postoffice-callout { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.community-band { background: var(--surface-raised); color: var(--ink); }
.community-band .eyebrow, .community-band p:not(.eyebrow) { color: var(--muted); }
.community-band h2 { color: var(--ink); }
.site-footer { background: #0b100e; color: var(--muted); }
.site-footer h2 { color: var(--forest); }
.site-footer p { color: var(--muted); }
.page-hero h1 { color: var(--ink); }
.page-lede { color: var(--muted); }
.side-note, .resource-callout, .host-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.setup-steps li, .onboarding-main .setup-steps li { border-color: var(--line); }
.onboarding .side-note { border-color: var(--line); background: var(--surface); }
.side-note ul { color: var(--muted); }
.onboarding-main .setup-steps li > span { border-color: var(--line); color: var(--forest); }
.compact-settings div { border-color: var(--line); }
.compact-settings dd, .command-list code { color: var(--forest); }
.help-disclosure { border-color: var(--line); }
.help-disclosure summary, .faq-list summary, .advanced-commands > summary { color: var(--ink); }
.troubleshooting, .role-section { border-color: var(--line); background: var(--sage); }
.role-grid h2 em { color: var(--forest); }
.role-visual { border-color: var(--line); box-shadow: none; }
.role-node > span { border-color: var(--line); background: var(--surface-raised); color: var(--forest); }
.role-repeater > span { background: var(--forest); color: var(--paper); }
.role-link { border-color: var(--stream); }
.role-link i { background: var(--stream); }
.role-caption { color: var(--text-muted); }
.network-illustration { border-color: var(--line); background: var(--surface); }
.network-illustration figcaption { border-color: var(--line); color: var(--text-muted); }
.search-form, .directory-card { border-color: var(--line); box-shadow: none; }
.search-form label, .directory-status { color: var(--ink); }
.search-field input { border-color: var(--line); background: var(--surface-raised); color: var(--ink); }
.search-field input::placeholder { color: var(--text-muted); }
.search-field input:focus { border-color: var(--stream); }
.directory-card .directory-username { color: var(--stream); }
.directory-card .directory-username code { background: var(--surface-raised); }
.copy-username { border-color: var(--line); color: var(--ink); }
.copy-username:hover { background: var(--surface-raised); }
.directory-join { border: 1px solid var(--line); background: var(--surface); }
.privacy-card { border-color: var(--line); }
.privacy-card > span, .privacy-note span { color: var(--forest); }
.privacy-note { border-color: var(--line); }
.advanced-commands { border-color: var(--line); background: var(--surface); }
.resource-list a { border-color: var(--line); }
.resource-list a span:last-child, .faq-list summary::after { color: var(--text-muted); }
.faq-list details { border-color: var(--line); }
.resource-list a:hover span:first-child, .faq-list summary:hover { color: var(--stream); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline-color: var(--stream); }

/* Coverage maps */
.network-intro { border-block: 1px solid var(--line); background: var(--surface); }
.network-intro-grid { max-width: 800px; }
.network-intro h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.04em; line-height: 1.13; }
.network-intro h2 em { color: var(--forest); font-family: var(--serif); font-weight: 500; }
.network-intro p:not(.eyebrow) { max-width: 570px; color: var(--muted); }
.coverage-section { background: var(--paper); }
.coverage-heading { max-width: 760px; }
.coverage-heading h2 { margin: 0; color: var(--ink); font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.coverage-heading > p:last-child { max-width: 620px; color: var(--muted); }
.coverage-map-list { display: grid; gap: 30px; }
.coverage-map-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.coverage-map-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 24px 18px; }
.coverage-map-copy h3 { margin: 0 0 5px; color: var(--ink); font-size: 22px; }
.coverage-map-copy p { margin: 0; color: var(--muted); }
.map-scale-label { flex: none; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-muted); font-size: 12px; }
.map-launch { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-top: 1px solid var(--line); background: #e9eadb; text-align: left; cursor: zoom-in; }
.map-launch img { display: block; width: 100%; height: auto; }
.map-launch-label { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border: 1px solid rgb(240 242 233 / 24%); border-radius: 999px; background: rgb(16 23 21 / 93%); color: var(--ink); font-size: 12px; font-weight: 700; transition: background .18s ease, color .18s ease; }
.map-launch-label span { margin-left: 4px; color: var(--stream); }
.map-launch:hover .map-launch-label { background: var(--surface-raised); color: var(--ink); }
.coverage-legend-section { margin-top: 34px; }
.coverage-legend-section h3 { margin: 0 0 16px; color: var(--ink); font-size: 21px; }
.coverage-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.coverage-legend li { display: flex; align-items: flex-start; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legend-swatch { width: 17px; height: 17px; flex: none; margin-top: 3px; border-radius: 50%; box-shadow: 0 0 0 4px rgb(240 242 233 / 5%); }
.legend-green { background: #78a874; }
.legend-yellow { background: #ddc46e; }
.legend-red { background: #d98276; }
.coverage-legend strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.4; }
.coverage-legend p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.coverage-caveats { display: grid; grid-template-columns: 1.4fr .8fr; gap: 14px; margin-top: 18px; }
.coverage-callout { padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--stream); border-radius: 12px; background: var(--surface-raised); }
.coverage-callout h3 { margin: 0 0 9px; color: var(--ink); font-size: 18px; }
.coverage-callout p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.coverage-callout p:last-child { margin-bottom: 0; }
.coverage-no-shade { border-left-color: var(--forest); }
.coverage-privacy-note { max-width: 900px; margin: 16px auto 0; color: var(--text-muted); font-size: 13px; }
.coverage-privacy-note strong { color: var(--muted); }
.technical-details { margin-top: 18px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.technical-details summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.technical-details summary::marker { color: var(--forest); }
.technical-copy { max-width: 850px; padding-top: 14px; }
.technical-copy h3 { margin: 18px 0 5px; color: var(--forest); font-size: 15px; }
.technical-copy h3:first-child { margin-top: 0; }
.technical-copy p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.network-next-step { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 42px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.network-next-step h2 { margin: 0; color: var(--ink); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.network-next-step p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.network-next-step .button-row { justify-content: flex-end; }
.host-section { border-top: 1px solid var(--line); background: var(--surface); }
.host-section .prose > h2:first-of-type { margin-top: 0; font-size: clamp(30px, 3.5vw, 42px); }
.host-section .prose h3 { margin: 26px 0 8px; font-size: 19px; }
.host-section .prose a { color: var(--stream); }
.host-card .button { color: var(--paper); }
.host-card .fine-print { color: var(--text-muted); }
.page-notice { border: 1px solid var(--line); border-left: 3px solid var(--forest); border-radius: 12px; background: var(--surface-raised); color: var(--muted); }

/* Full-resolution map viewer */
.map-viewer { width: min(96vw, 1500px); max-width: none; max-height: 96dvh; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); }
.map-viewer::backdrop { background: rgb(5 9 7 / 88%); }
.map-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.map-viewer-header h2 { margin: 0; color: var(--ink); font-size: 18px; }
.map-viewer-close, .map-viewer-toolbar button { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-raised); color: var(--ink); font-weight: 700; cursor: pointer; }
.map-viewer-close { gap: 8px; }
.map-viewer-close span { color: var(--stream); font-size: 20px; line-height: 1; }
.map-viewer-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.map-viewer-toolbar button:disabled { opacity: .45; cursor: default; }
.map-viewer-toolbar [data-map-zoom-status] { min-width: 96px; color: var(--muted); font-size: 12px; text-align: center; }
.map-viewer-toolbar .map-viewer-fit { min-width: 82px; }
.map-viewer-help { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.map-viewport { display: flex; width: 100%; height: min(72dvh, 850px); align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #0b100e; touch-action: none; }
.map-zoom-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; flex: none; transform-origin: center; cursor: grab; user-select: none; -webkit-user-drag: none; }
.map-viewport.is-panning .map-zoom-image { cursor: grabbing; }

@media (max-width: 800px) {
  .site-nav { border-color: var(--line); background: var(--surface); box-shadow: 0 14px 28px rgb(0 0 0 / 32%); }
  .site-nav a:not(.nav-join) { color: var(--ink); }
  .site-nav .nav-join { color: var(--paper); }
  .coverage-legend { grid-template-columns: 1fr; }
  .coverage-caveats { grid-template-columns: 1fr; }
  .network-next-step { align-items: flex-start; flex-direction: column; }
  .network-next-step .button-row { justify-content: flex-start; }
  .map-viewer { width: 100vw; height: 100dvh; max-height: 100dvh; padding: 12px; border: 0; border-radius: 0; }
  .map-viewer-header h2 { font-size: 15px; }
  .map-viewer-toolbar { flex-wrap: wrap; }
  .map-viewer-help { width: 100%; margin: 0; }
  .map-viewport { height: calc(100dvh - 150px); }
}

@media (max-width: 520px) {
  .coverage-map-copy { flex-direction: column; gap: 10px; padding: 18px 17px 14px; }
  .coverage-map-copy h3 { font-size: 19px; }
  .map-launch-label { right: 8px; bottom: 8px; padding: 7px 9px; font-size: 11px; }
  .coverage-legend li { padding: 15px; }
  .network-next-step .button-row { align-items: stretch; flex-direction: column; width: 100%; }
  .network-next-step .button { width: 100%; }
  .map-viewer-header { align-items: flex-start; }
  .map-viewer-close { min-width: 44px; padding-inline: 9px; }
}
