:root {
  --bg: #12110e;
  --bg-2: #1c1a16;
  --ink: #f3ead3;
  --muted: #b7aa8e;
  --line: #3a3428;
  --lock: #c47b2d;
  --allow: #6f9e4a;
  --block: #c45c3a;
  --accent: #e2c17a;
  --tap: 3rem;
  --radius: 0.55rem;
}
* { box-sizing: border-box; }
html {
  margin: 0;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}
code, pre, input, textarea, button, .who, .addr, .state {
  font-family: "IBM Plex Mono", "ui-monospace", Menlo, Consolas, monospace;
}
a { color: var(--accent); }
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  padding-top: calc(0.85rem + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}
.sub { color: var(--muted); font-size: 0.8rem; }
.mast-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.who {
  color: var(--muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}
main {
  padding: 1rem;
  max-width: 40rem;
  margin: 0 auto;
}
.banner {
  border: 1px solid var(--lock);
  color: var(--accent);
  padding: 0.85rem 1rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
}
.banner.wall-banner {
  padding: 0.4rem 0.7rem;
  margin: 0.2rem 0 0.45rem;
  font-size: 0.86rem;
}
.quota { max-width: 28rem; margin: 0.6rem 0 0.8rem; }
.quota-track {
  height: 8px;
  background: var(--bg-2);
  border-radius: 99px;
  overflow: hidden;
}
.quota-fill {
  display: block;
  height: 100%;
  background: var(--accent);
}
.flash {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.flash.bad { border-left-color: var(--block); }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--lock);
  font-family: "IBM Plex Mono", monospace;
}
.lede { color: var(--muted); max-width: 36rem; }
.login-card, .token-reveal, .mailboxes, .feeds, .kindle, .dev, .zone, .onboarding, .hook-card, .pair-iphone, .trusted-sources {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.15rem;
  margin: 1rem 0;
  border-radius: var(--radius);
}
.token-reveal pre {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: pre-wrap;
  background: #0c0b09;
  padding: 0.85rem;
  border: 1px dashed var(--lock);
  user-select: all;
  -webkit-user-select: all;
  font-size: 0.85rem;
}
.mailboxes ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.mailboxes li, .feeds li {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  margin: 0.65rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.feeds ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.kindle-box {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.kindle-box .kicker { margin-bottom: 0; }
.feed-meta {
  display: flex;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}
.check {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
}
.check input {
  width: 1.35rem;
  height: 1.35rem;
  min-height: 1.35rem;
  padding: 0;
  flex: 0 0 1.35rem;
}
select {
  font-size: 1rem;
  line-height: 1.3;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: #0c0b09;
  color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
  min-height: var(--tap);
}
.mailboxes li code { overflow-wrap: anywhere; }
.inline { display: block; }
.stack, form.stack, .login-card form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}
.row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
label { color: var(--muted); font-size: 0.9rem; }
input, textarea, button {
  font-size: 1rem;
  line-height: 1.3;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: #0c0b09;
  color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
}
textarea { min-height: 10rem; resize: vertical; }
button, .tap {
  cursor: pointer;
  background: var(--accent);
  color: #1a1408;
  border-color: var(--accent);
  min-height: var(--tap);
  min-width: var(--tap);
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  font-weight: 600;
}
button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
button.allow, .tap-allow {
  background: var(--allow);
  border-color: var(--allow);
  color: #0d1608;
}
button.block, .tap-block {
  background: transparent;
  color: var(--block);
  border-color: var(--block);
}
.zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.zone.locked { border-color: var(--lock); }
.zone.open { border-color: var(--allow); }
.zone header { display: flex; flex-direction: column; gap: 0.25rem; }
.zone header h2 { margin: 0; }
.zone header p { margin: 0 0 0.35rem; color: var(--muted); }
.count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.item { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.item h3 { margin: 0.45rem 0 0.35rem; overflow-wrap: anywhere; }
.meta {
  display: flex;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}
.state { text-transform: uppercase; letter-spacing: 0.08em; }
.state-pending, .state-unknown { color: var(--lock); }
.state-blocked { color: var(--block); }
.state-allowed { color: var(--allow); }
.state-demo { color: var(--accent); }
.state-rss { color: var(--accent); }
.state-ios { color: var(--accent); }
.pair-iphone ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.pair-iphone li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.65rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.pair-qr {
  background: #fff;
  display: inline-block;
  padding: 0.6rem;
  border-radius: var(--radius);
  line-height: 0;
}
.pair-qr svg { width: 220px; height: 220px; }
.empty-tip { margin: 0; }
.empty-tip .empty { margin: 0 0 0.55rem; }
.addr-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}
.addr-list li { margin: 0.35rem 0; overflow-wrap: anywhere; }
.from { margin: 0 0 0.65rem; overflow-wrap: anywhere; }
.body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #0c0b09;
  padding: 0.85rem;
  max-height: 12rem;
  overflow: auto;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.actions.single { grid-template-columns: 1fr; }
.actions.with-delete form.delete { grid-column: 1 / -1; }
.actions form { margin: 0; }
.actions button { width: 100%; white-space: normal; overflow-wrap: anywhere; }
.source-more { margin-top: 0.85rem; }
.source-more > summary, .full-copy > summary {
  cursor: pointer;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  color: var(--accent);
}
.full-copy > summary { color: var(--muted); min-height: 2.5rem; }
.source-item {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0 0.2rem;
}
.source-item h3 { font-size: 1.05rem; }
.trusted-sources ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.trusted-sources li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.trusted-sources form { margin: 0; }
.folders { display: flex; flex-direction: column; gap: 0.4rem; margin: 0.15rem 0 1rem; }
.folder, .subfolder, .folder-row {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: 0;
}
.subfolder, .folder-row {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.folder-pending { border-color: var(--lock); }
.folder-allowed { border-color: var(--allow); }
.folder-blocked { border-color: var(--block); }
.folder > summary,
.subfolder > summary,
.folder-row > summary {
  list-style: none;
  cursor: pointer;
}
.folder > summary::-webkit-details-marker,
.subfolder > summary::-webkit-details-marker,
.folder-row > summary::-webkit-details-marker { display: none; }
.folder-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.3rem 0.75rem;
}
.folder-title {
  flex: 1;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.folder-count, .row-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--accent);
  background: #0c0b09;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 1.5rem;
  text-align: center;
  padding: 0.12rem 0.45rem;
  flex: 0 0 auto;
}
.folder-pending > .folder-head .folder-count { color: var(--lock); border-color: var(--lock); }
.folder-allowed > .folder-head .folder-count { color: var(--allow); border-color: var(--allow); }
.folder-blocked > .folder-head .folder-count { color: var(--block); border-color: var(--block); }
.chev {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  flex: 0 0 auto;
}
details[open] > summary .chev { transform: rotate(45deg); }
.folder-body, .sub-body, .row-body { padding: 0.15rem 0.75rem 0.7rem; }
.folder-note { color: var(--muted); font-size: 0.85rem; margin: 0.35rem 0 0.45rem; }
.folder .mailboxes,
.folder .feeds,
.folder .kindle,
.folder .dev,
.folder .pair-iphone,
.folder .token-reveal {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.src-summary {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr) auto;
  grid-template-areas:
    "chev main count"
    "actions actions actions";
  gap: 0.2rem 0.55rem;
  align-items: center;
  padding: 0.55rem 0.15rem 0.65rem;
}
.src-summary .chev { grid-area: chev; }
.src-summary .row-main { grid-area: main; min-width: 0; }
.src-summary .row-count { grid-area: count; }
.src-summary .row-actions { grid-area: actions; }
.item-summary { grid-template-areas: "chev main count"; padding-bottom: 0.55rem; }
.row-main strong { display: inline; overflow-wrap: anywhere; }
.row-sub {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.row-actions.acts-3 { grid-template-columns: 1fr 1fr 1fr; }
.paste-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.4rem 0 0.8rem;
}
.paste-row pre {
  flex: 1 1 16rem;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.token-quiet {
  max-height: 4.5rem;
  overflow: auto;
  color: var(--muted);
  font-size: 0.78rem;
}
.code-plain {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
}
.row-actions form { margin: 0; }
.row-actions button {
  min-height: 2.75rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
}
.msg {
  border-top: 1px solid var(--line);
  padding: 0.65rem 0 0.15rem;
}
.msg h3 { margin: 0.15rem 0 0.25rem; font-size: 1rem; overflow-wrap: anywhere; }
.msg-single { border-top: 0; }
.rule-list { list-style: none; padding: 0; margin: 0.2rem 0 0; }
.rule-list li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}
.rule-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: baseline;
}
.rule-list form { margin: 0; }
.rule-list button { width: auto; min-width: 6rem; }
.empty, .muted, .hint { color: var(--muted); }
.hint { overflow-wrap: anywhere; }
.onboarding ol { padding-left: 1.2rem; color: var(--muted); }
.onboarding li { margin: 0.4rem 0; }
.hook-card h1 { margin: 0.35rem 0 0.75rem; overflow-wrap: anywhere; }
.hook-card .lede { margin-bottom: 1.25rem; }
.hook-card .confirm-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem;
  background: #0c0b09;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.done { margin-top: 1.25rem; }
.login-card h1 {
  font-size: clamp(1.7rem, 7vw, 2.15rem);
  line-height: 1.15;
  margin: 0.3rem 0 0.75rem;
  overflow-wrap: anywhere;
}
.login-card .lede { margin: 0 0 0.85rem; }
.code-input {
  font-size: 1.55rem;
  letter-spacing: 0.32em;
  text-align: center;
  font-weight: 700;
  padding-left: 0.32em;
}
.login-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin-top: 0.85rem;
}
.login-links form { margin: 0; width: 100%; }
.login-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
button.linkish {
  background: transparent;
  color: var(--accent);
  border: none;
  box-shadow: none;
  width: auto;
  min-height: 2.75rem;
  padding: 0.35rem 0;
  font-weight: 500;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
button.linkish:disabled {
  opacity: 0.55;
  cursor: default;
  text-decoration: none;
}
.discreet {
  margin: 1.35rem 0 0;
  font-size: 0.72rem;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
.discreet a {
  color: var(--muted);
  text-decoration: none;
  opacity: 0.72;
}
@media (max-width: 800px) {
  .row-actions.acts-3 { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .actions { grid-template-columns: 1fr; }
  .row-actions { grid-template-columns: 1fr 1fr; }
  .row-actions.acts-3 { grid-template-columns: 1fr; }
  .mast { flex-direction: column; align-items: stretch; }
  .mast-actions { justify-content: stretch; }
  .mast-actions form, .mast-actions button, .mast-actions a { width: 100%; }
  .who { max-width: none; }
}
@media (min-width: 720px) {
  .src-summary {
    grid-template-columns: 0.7rem minmax(0, 1fr) auto minmax(16rem, 22rem);
    grid-template-areas: "chev main count actions";
    align-items: center;
  }
  .item-summary {
    grid-template-columns: 0.7rem minmax(0, 1fr) auto;
    grid-template-areas: "chev main count";
  }
}
@media (min-width: 900px) {
  main { max-width: 44rem; padding: 1.5rem; }
  body.wall main { max-width: 52rem; }
  .mast { padding: 1.1rem 1.5rem; }
}
@media (hover: hover) and (pointer: fine) {
  /* Desktop is secondary. Actions stay visible — never hover-only. */
  button:hover, a.tap-link:hover { filter: brightness(1.08); }
}
a.tap-link {
  display: grid;
  place-items: center;
  text-decoration: none;
  text-align: center;
  width: 100%;
}
a.ghost.tap-link {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}
.hero { margin: 0.35rem 0 1.25rem; }
.hero h1 {
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.85rem;
  overflow-wrap: anywhere;
}
.hero .lede { margin: 0 0 0.75rem; }
.support { color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.cta-block, .closing {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.15rem;
  margin: 1rem 0;
  border-radius: var(--radius);
}
.cta-block .kicker { margin-top: 0; }
.copy-line {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  background: #0c0b09;
  padding: 0.85rem;
  border: 1px dashed var(--accent);
  user-select: all;
  -webkit-user-select: all;
  font-size: 1rem;
  margin: 0.5rem 0 0.75rem;
}
.closing p { margin: 0.35rem 0; }
.closing h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
}
.how {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.how h2 { margin: 0.25rem 0 0.85rem; }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps h3 { margin: 0 0 0.35rem; }
.steps p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.step-n {
  flex: 0 0 2.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}
.landing-cta { margin: 1.25rem 0 0.75rem; }
.landing-foot { margin: 0 0 1.5rem; }
.brand-kicker {
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--lock);
  font-family: "IBM Plex Mono", monospace;
  margin: 0 0 0.35rem;
}
.mkt .hero { margin: 0.15rem 0 1rem; }
.mkt .hero .tagline {
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.mkt .hero .support { margin: 0 0 0.85rem; }
.mkt .truth {
  margin: 0 0 0.85rem;
}
.mkt .cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
}
.mkt .cta-block .copy-line { margin: 0; }
.mkt .cta-block .tap-link { width: 100%; }
.sec-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  color: var(--muted);
}
.sec-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0;
}
#how-it-works, #intent, #use-cases, #tuesday, #benefits, #is-isnt, #close, #for-agents, #start, #trust-wall, #deeper {
  scroll-margin-top: 0.75rem;
}
.prose { margin: 0 0 1.5rem; }
.prose h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.2;
}
.prose h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.prose p, .card p {
  color: var(--muted);
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.prose p:last-child, .card p:last-child { margin-bottom: 0; }
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: var(--radius);
}
.card h2 { margin-top: 0; }
.closing-note {
  color: var(--muted);
  margin: 0.85rem 0 0;
}
.is-card { border-color: var(--allow); }
.isnt-card { border-color: var(--line); }
.they-win { border-color: var(--line); }
.mail-wins { border-color: var(--allow); }
.fair-line { border-color: var(--accent); }
.honest-gap { border-color: var(--lock); }
.dont-claim { border-color: var(--line); }
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.compare-list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--tap);
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.compare-list a strong {
  color: var(--accent);
  font-weight: 600;
}
.compare-list a span {
  color: var(--muted);
  font-size: 0.95rem;
}
.mkt .closing .copy-line { margin: 0.65rem 0; }
.mkt-foot {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}
.mkt-foot a { color: var(--accent); }
.guide-prelude p {
  color: var(--muted);
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}
.guide-prelude p:last-child { margin-bottom: 0; }
.mkt .guide-prelude .tagline {
  color: var(--ink);
  font-size: 1.05rem;
}
.guide-body ul, .guide-body ol {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  color: var(--muted);
}
.guide-body li {
  margin: 0.4rem 0;
  overflow-wrap: anywhere;
}
.guide-body .copy-line { margin: 0.65rem 0 0.85rem; }
.honesty {
  border-color: var(--lock);
  margin: 0 0 1.5rem;
}
.honesty h2 {
  color: var(--accent);
}
.honesty p { color: var(--muted); }
.guide-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 28rem;
}
.guide-table th, .guide-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  color: var(--muted);
}
.guide-table th {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.guide-table tr:last-child td { border-bottom: 0; }
.guide .closing .sec-nav { margin-top: 0.5rem; }
.guide .closing h2 { margin-top: 0; }
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: 1fr 1fr; }
}

html:has(body.visual-home),
body.visual-home {
  --vh-bg: #f6f5f2;
  --vh-ink: #1c1b18;
  --vh-muted: #6d6a64;
  --vh-line: #e6e2da;
  --vh-panel: #ffffff;
  --vh-allow: #2f6fed;
  --vh-cta: #1c1b18;
  background: var(--vh-bg);
  color: var(--vh-ink);
}
body.visual-home {
  font-family: "Helvetica Neue", Helvetica, ui-sans-serif, Arial, sans-serif;
}
body.visual-home a { color: var(--vh-ink); }
body.visual-home .mast {
  background: var(--vh-bg);
  border-bottom-color: var(--vh-line);
}
body.visual-home .mark {
  border-color: var(--vh-ink);
  color: var(--vh-ink);
}
body.visual-home .sub,
body.visual-home .brand-kicker,
body.visual-home .hint,
body.visual-home .sec-nav {
  color: var(--vh-muted);
}
body.visual-home a.ghost.tap-link {
  color: var(--vh-muted);
  border-color: var(--vh-line);
  background: transparent;
}
body.visual-home .tap {
  background: var(--vh-cta);
  color: #f6f5f2;
  border-color: var(--vh-cta);
}
body.visual-home .copy-line {
  background: #fff;
  color: var(--vh-ink);
  border-color: #c9c4b8;
}
body.visual-home .banner.truth {
  border-color: var(--vh-line);
  color: var(--vh-ink);
  background: var(--vh-panel);
}
body.visual-home .cta-block,
body.visual-home .closing,
body.visual-home .card {
  background: var(--vh-panel);
  border-color: var(--vh-line);
}
body.visual-home .prose h2,
body.visual-home .closing h2,
body.visual-home .hero h1,
body.visual-home .feature-copy h2,
body.visual-home .concept-panels h3 {
  font-family: "Helvetica Neue", Helvetica, ui-sans-serif, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.visual-home .prose p,
body.visual-home .card p,
body.visual-home .control-line,
body.visual-home .hero .tagline {
  color: var(--vh-muted);
}
body.visual-home .hero .tagline { color: var(--vh-ink); }
body.visual-home .control-line {
  font-size: 1.12rem;
  margin: 0 0 1.75rem;
  color: var(--vh-ink);
}
.visual-home .hero {
  margin: 2.5rem auto 4rem;
  max-width: 36rem;
  text-align: center;
}
.visual-home .hero h1 {
  font-size: clamp(1.9rem, 6vw, 2.75rem);
  line-height: 1.12;
  margin: 0.5rem 0 0.9rem;
  color: var(--vh-ink);
}
.visual-home .hero .tagline { margin-bottom: 0.7rem; }
.visual-home .cta-block {
  gap: 0.85rem;
  padding: 1.4rem;
  margin: 0;
  text-align: left;
}
.visual-home .cta-block .truth { margin: 0; }
.visual-home main { max-width: 40rem; }
.feature-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 0 4.5rem;
}
.feature-copy { position: relative; padding-top: 0.35rem; }
.num-badge {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--vh-line);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vh-ink);
}
.feature-copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  line-height: 1.15;
  color: var(--vh-ink);
}
.diagram-caption {
  margin: 0;
  color: var(--vh-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 28rem;
}
.allowlist-mock {
  margin: 0 auto;
  width: 100%;
  max-width: 22.5rem;
  background: var(--vh-panel);
  border: 1px solid var(--vh-line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(28, 27, 24, 0.08);
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--vh-line);
  color: var(--vh-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}
.mock-dots { display: flex; gap: 0.35rem; }
.mock-dots i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ddd9d1;
}
.mock-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.mock-list {
  list-style: none;
  padding: 0.4rem 0 0.75rem;
  margin: 0;
}
.mock-label {
  margin: 0.55rem 1.15rem 0.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vh-muted);
  font-weight: 700;
}
.mock-row {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.62rem 1.15rem;
}
.mock-row strong {
  font-size: 0.98rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mock-row .state { font-size: 0.7rem; }
.tick { width: 1.15rem; height: 1.15rem; }
.tick svg { width: 100%; height: 100%; display: block; }
.tick.on { color: var(--vh-allow); }
.tick.off { color: #c8c4bc; }
.mock-row.pale { color: var(--vh-muted); }
.mock-row.pale strong { font-weight: 400; color: #9a968e; }
.mock-row.pale .state { opacity: 0.7; }
.mock-row.on strong { color: var(--vh-ink); }
.mock-row.on .state-allowed { color: var(--vh-allow); }
.diagram { margin: 0 0 4.5rem; }
.concept-panels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.concept-panels li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--vh-line);
  background: transparent;
  min-height: 0;
}
.concept-panels li:last-child { border-bottom: 1px solid var(--vh-line); }
.concept-panels .step-n {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid var(--vh-line);
  color: var(--vh-ink);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--vh-panel);
}
.concept-panels h3 {
  margin: 0.1rem 0 0.45rem;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--vh-ink);
}
.concept-panels p {
  margin: 0;
  color: var(--vh-muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 28rem;
}
.concept-panels code { overflow-wrap: anywhere; }
.diagram .diagram-caption { margin-top: 1.35rem; }
.two-by-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
body.visual-home a.card-link {
  color: inherit;
}
a.card-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--tap);
  padding: 1.2rem;
  text-decoration: none;
}
a.card-link h3 {
  margin: 0;
  color: var(--vh-ink);
}
a.card-link p { margin: 0; color: var(--vh-muted); }
.go-deeper { margin: 0; }
body.visual-home .mkt-foot { color: var(--vh-muted); }
.visual-home .for-agents {
  margin: 2.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--vh-line);
}
.visual-home .for-agents .brand-kicker { margin-bottom: 0.2rem; }
.visual-home .for-agents p {
  margin: 0;
  color: var(--vh-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.visual-home .for-agents code {
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
@media (min-width: 720px) {
  .visual-home main { max-width: 62rem; padding: 2.25rem 2rem 4rem; }
  .visual-home .hero { margin: 3.25rem auto 5rem; }
  .feature-split {
    display: grid;
    grid-template-columns: minmax(16rem, 0.95fr) minmax(16rem, 1.05fr);
    gap: 4.5rem;
    align-items: center;
  }
  .feature-copy { padding-left: 0.5rem; }
  .concept-panels {
    flex-direction: row;
    gap: 3rem;
    border-top: 1px solid var(--vh-line);
    border-bottom: 1px solid var(--vh-line);
  }
  .concept-panels li {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 2.35rem 0 2.1rem;
    border-top: 0;
    min-height: 0;
  }
  .concept-panels li:last-child { border-bottom: 0; }
  .two-by-two { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .go-deeper { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Owner wall app shell. The critical copy is inlined from
   templates/wall_critical.html so a cached app.css cannot undo it.
   Keep the layout selectors in sync with that file. */
body.wall {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.wall main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
.app-shell {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
  align-items: stretch;
}
.app-nav {
  flex: 0 0 16.5rem;
  width: 16.5rem;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.nav-scroll { overflow: auto; padding: 0.4rem 0 1rem; }
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.app-nav details.nav-group { margin: 0; padding: 0; border: 0; background: transparent; }
.nav-group-toggle, .nav-leaf, .app-nav a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  font-weight: 600;
}
.nav-group-toggle { color: var(--accent); }
.nav-label { flex: 1; min-width: 0; }
.nav-sub a {
  padding-left: 1.85rem;
  font-weight: 500;
  color: var(--muted);
}
.app-nav a[aria-current="page"] {
  background: #0c0b09;
  color: var(--accent);
}
.nav-count {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 1.4rem;
  text-align: center;
  padding: 0.05rem 0.35rem;
}
.app-nav details[open] > summary .chev { transform: rotate(45deg); }
body.wall .app-nav details.nav-group:not([open]) > .nav-sub { display: none !important; }
.nav-group-toggle::-webkit-details-marker { display: none; }
.nav-group-toggle { list-style: none; cursor: pointer; }
.view-pane {
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 0.55rem 0.9rem 1.5rem;
}
.view-bar { display: flex; align-items: center; margin: 0 0 0.35rem; }
label.nav-toggle {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
.plan-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--bg-2);
}
.plan-card h2 { margin: 0.2rem 0 0.6rem; font-size: 2rem; }
.plan-card h2 .sub { font-size: 1rem; color: var(--muted); }
@media (min-width: 720px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
}
body.wall section.view { display: none !important; }
html[data-route="inbox/waiting"] body.wall section.view[data-route="inbox/waiting"],
html[data-route="inbox/allowed"] body.wall section.view[data-route="inbox/allowed"],
html[data-route="inbox/blocked"] body.wall section.view[data-route="inbox/blocked"],
html[data-route="inbox/threads"] body.wall section.view[data-route="inbox/threads"],
html[data-route="outbound/waiting"] body.wall section.view[data-route="outbound/waiting"],
html[data-route="outbound/sent"] body.wall section.view[data-route="outbound/sent"],
html[data-route="outbound/allowlist"] body.wall section.view[data-route="outbound/allowlist"],
html[data-route="sources/trusted"] body.wall section.view[data-route="sources/trusted"],
html[data-route="sources/blocked"] body.wall section.view[data-route="sources/blocked"],
html[data-route="sources/feeds"] body.wall section.view[data-route="sources/feeds"],
html[data-route="sources/kindle"] body.wall section.view[data-route="sources/kindle"],
html[data-route="devices/pair"] body.wall section.view[data-route="devices/pair"],
html[data-route="devices/paired"] body.wall section.view[data-route="devices/paired"],
html[data-route="agents/connect"] body.wall section.view[data-route="agents/connect"],
html[data-route="agents/setup"] body.wall section.view[data-route="agents/setup"],
html[data-route="agents/keys"] body.wall section.view[data-route="agents/keys"],
html[data-route="agents/dev"] body.wall section.view[data-route="agents/dev"],
html[data-route="account"] body.wall section.view[data-route="account"],
html:not([data-route]) body.wall section.view.is-current { display: block !important; }
.view-title {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0.15rem 0 0.45rem;
}
.view .folder { margin: 0.55rem 0; }
ul.mailboxes, ul.feeds, ul.pair-iphone {
  list-style: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0.4rem 0 0.8rem;
}
ul.mailboxes li, ul.feeds li, ul.pair-iphone li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.45rem 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  padding: 0;
  z-index: 25;
}
@media (min-width: 801px) {
  body.wall .nav-backdrop { display: none !important; }
  body.wall .app-shell:has(#nav-check:checked) .app-nav { display: none; }
}
@media (max-width: 800px) {
  body.wall .app-nav {
    display: none;
    position: fixed;
    z-index: 30;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(18rem, 88vw);
    flex-basis: auto;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.35);
    padding-top: env(safe-area-inset-top);
  }
  body.wall .app-shell:has(#nav-check:checked) .app-nav { display: flex; }
  body.wall .app-shell:has(#nav-check:checked) .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(0, 0, 0, 0.45);
  }
  .view-pane { padding-left: 0.75rem; padding-right: 0.75rem; }
}
