:root { --font: "Hanken Grotesk", sans-serif; --ink: #000; --navy: #1E384B; --line: #CBC4BC; --mute: #6E6259; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.45; color: var(--ink); background: #fff; }
.demo-top { padding: 16px 24px 8px; border-bottom: 1px solid var(--line); }
.demo-top .logo { height: 22px; width: auto; }
.promise { margin: 12px 0 14px; font-size: 17px; line-height: 1.35; color: var(--navy); }
.tabrow { display: flex; align-items: center; gap: 16px; }
.tabs { display: flex; flex: 1; gap: 0; }
.tabs button {
  flex: 1; font: inherit; font-size: 17px; min-height: 52px; padding: 0 10px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer; margin-left: -1px;
}
.tabs button:first-child { margin-left: 0; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; z-index: 1; }
.months { display: flex; gap: 6px; }
.months button {
  font: inherit; font-size: 13px; min-height: 32px; padding: 0 8px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer;
}
.months button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.demo-body { display: block; padding: 0 0 40px; }
.demo-main { min-width: 0; }
.panel { padding: 16px 24px 8px; }
.panel[hidden] { display: none; }
.sample-data { display: inline-block; font-size: 12px; letter-spacing: .04em; color: var(--navy); border: 1px solid var(--navy); padding: 2px 6px; margin: 0 0 8px; }
.inbox { background: #F3F3F3; display: flex; justify-content: center; padding: 20px 12px; }
.inbox iframe.mail {
  width: min(640px, 100%); height: 240px; border: 0; background: #fff; display: block;
}
.frame { width: 100%; height: 72vh; border: 1px solid var(--line); background: #fff; }
.pdf-actions { display: none; gap: 8px; margin-top: 8px; }
.pdf-actions a { color: var(--navy); }
.ask { padding: 8px 24px 16px; background: #F3F3F3; }
.ask h2 { font-size: 1.15rem; font-weight: 500; margin: 10px 0; }
.ask-qs { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-qs button { font: inherit; font-size: 15px; text-align: left; background: #fff; border: 1px solid var(--line); padding: 8px 10px; cursor: pointer; }
.ask-qs button[aria-expanded="true"] { border-color: var(--navy); }
.ask-a { margin: 8px 0 4px; max-width: 42rem; }
.connect { padding: 16px 24px 8px; min-width: 0; max-width: 100%; overflow: visible; white-space: normal; }
.connect h2 { font-size: 1.05rem; font-weight: 500; margin: 0 0 8px; }
.connect ol { margin: 0 0 12px; padding-left: 1.2rem; min-width: 0; max-width: 100%; }
.connect li { margin: 0 0 8px; font-size: 15px; min-width: 0; max-width: 100%; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.addr {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 6px 0;
  white-space: normal;
  overflow: visible;
}
.addr code {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  font-family: ui-monospace, "DejaVu Sans Mono", monospace;
  font-size: 13px;
  line-height: 1.4;
  background: #F3F3F3;
  border: 1px solid #CBC4BC;
  border-radius: 4px;
  padding: 6px 8px;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}
.copy-addr {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  min-height: 28px;
  padding: 0 10px;
  background: #fff;
  color: #000;
  border: 1px solid #CBC4BC;
  border-radius: 4px;
  cursor: pointer;
}
.copy-addr.is-copied { border-color: #1E384B; color: #1E384B; }
.cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500;
}
@media (min-width: 1024px) {
  .demo-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 8px 20px;
    padding-right: 20px;
  }
  .connect {
    position: sticky;
    top: 12px;
    padding: 16px 0 8px;
    width: 300px;
    max-width: 300px;
    min-width: 0;
  }
}
@media (max-width: 1023px) {
  .connect { padding-bottom: 28px; }
}
@media (max-width: 700px) {
  .tabrow { flex-direction: column; align-items: stretch; }
  .tabs button { font-size: 14px; min-height: 46px; padding: 0 4px; }
  .months { justify-content: flex-end; }
  .frame.pdf-frame { display: none; }
  .pdf-actions { display: flex; }
}
