/* onboard.getbarry.ai — page styles on top of the Barry design tokens (css/tokens) and the
   component CSS lifted from the design-system bundle (css/components.css). */
html, body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans, "DM Sans", sans-serif); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent-active); }
[hidden] { display: none !important; }
.dot { color: var(--accent); }
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

/* gate + sent */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, var(--accent-tint-2), transparent 70%); }
.gate-field { position: absolute; inset: auto 0 0 0; height: 46%; opacity: .7; pointer-events: none; display: grid; place-items: center; }
.notice-field { display: grid; grid-template-columns: repeat(26, 6px); grid-auto-rows: 6px; gap: 22px; }
.notice-field span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); opacity: .5; }
.notice-field span.signal { background: var(--accent); opacity: 1; animation: barry-notice 3.2s ease-in-out infinite; }
@keyframes barry-notice { 0%, 100% { opacity: .22 } 50% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .notice-field span.signal { animation: none; } }
.gate-col { position: relative; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 28px; }
.gate-col .wordmark { height: 30px; width: auto; align-self: flex-start; }
.gate-card { display: flex; flex-direction: column; gap: 18px; }
.gate-card h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.gate-card .lede { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.gate-card form { display: flex; flex-direction: column; gap: 14px; }
.gate-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: var(--muted); }
.gate-note svg { flex: none; margin-top: 2px; }
.gate-foot { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.sent-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--verified-tint); display: grid; place-items: center; }
.gate-card .small { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.gate-card .notice { margin: 0; font-size: 14px; line-height: 1.55; color: var(--error, #C5331F); background: var(--error-tint, #FBEAE7); border-radius: 10px; padding: 10px 12px; }
.barry-btn[data-block="true"] { width: 100%; }
.barry-btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* page */
.topbar { position: sticky; top: 0; z-index: 20; height: 60px; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.topbar .wordmark { height: 22px; width: auto; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar-who { font-size: 13.5px; color: var(--muted); }
.topbar-who a { color: var(--muted); text-decoration: underline; }
.layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 40px; padding: 0 24px 120px; }
.sidenav { position: sticky; top: 60px; align-self: start; max-height: calc(100vh - 60px); overflow-y: auto; padding: 32px 0; }
.sidenav .group { margin-bottom: 22px; }
.sidenav .group-title { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; padding-left: 10px; }
.sidenav .items { display: flex; flex-direction: column; gap: 1px; }
.sidenav a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--body); }
.sidenav a:hover { background: var(--surface); }
.sidenav a.on { color: var(--accent-deep); background: var(--accent-tint); font-weight: 600; }
main.bd-prose { min-width: 0; max-width: 760px; padding-top: 40px; }
/* Room between sections and before every sub-heading: a new topic should read as a new topic (Barry,
   2026-10-22: "quite tight"). The first section keeps a shorter gap below the hero's download box. */
main.bd-prose section[data-spy] { margin-top: 72px; padding-top: 8px; }
.hero + section[data-spy] { margin-top: 48px; }
.bd-prose h2 { font-weight: 600; color: var(--ink); margin: 0 0 18px; }
.bd-prose h3 { font-weight: 600; color: var(--ink); letter-spacing: -0.015em; margin: 36px 0 10px; }
.bd-prose h2 + h3, .bd-prose h2 + p + h3 { margin-top: 24px; }
.bd-prose p { margin: 0 0 16px; }
.bd-prose ul, .bd-prose ol { margin: 0 0 18px; }
.bd-prose li { margin-bottom: 6px; }
.bd-prose p, .bd-prose li { color: var(--body); text-wrap: pretty; }
.bd-prose code { color: var(--accent-ink); background: var(--surface-2); }
.hero-eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); }
.hero .lede { font-size: 18.5px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
section[data-spy] { scroll-margin-top: 84px; }
.beats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 26px; }
.beat { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--canvas); }
.beat .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.beat .t { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; color: var(--ink); }
.beat .d { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.callout { display: flex; gap: 12px; background: var(--verified-tint); border: 1px solid #C9E6D6; border-radius: 12px; padding: 16px 18px; margin: 0 0 20px; }
.callout svg { flex: none; margin-top: 2px; }
.callout div { font-size: 15.5px; line-height: 1.6; color: #1d6f49; }
blockquote.pull { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font-size: 17px; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.cert { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 22px 0; box-shadow: var(--shadow-soft, 0 1px 2px rgba(34,31,29,.06)); }
.cert-head { background: var(--ink); color: var(--surface); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.cert-head .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--surface); margin-bottom: 8px; }
.cert-head .t { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.cert-head .s { font-size: 13.5px; color: var(--muted-soft); margin-top: 4px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--canvas); }
.cert-grid > div { padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-grid > div:last-child { border-right: 0; }
.cert-grid .k { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.cert-grid .v { font-size: 15px; font-weight: 600; color: var(--ink); }
.cert-grid .s { font-size: 12.5px; color: var(--muted); }
.cert-foot { padding: 18px 20px; background: var(--surface); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cert-foot .n { font-size: 14px; line-height: 1.55; color: var(--body); max-width: 420px; }
.cert-foot .n strong { color: var(--ink); font-weight: 600; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tbl { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 18px; }
.tbl > div { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 4px 20px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--body); }
.tbl.wide > div { grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); }
.tbl > div.h { padding: 9px 16px; border-top: 0; background: var(--surface); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.tbl .b { font-weight: 600; color: var(--ink); }
.tbl .b .o { font-weight: 400; color: var(--muted); }
pre.code { background: var(--ink); color: var(--surface); border-radius: 10px; padding: 14px 16px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; overflow-x: auto; margin: 0 0 18px; white-space: pre; }
.steps { margin: 0 0 18px; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--body); }
/* Reports: one card per published report, the latest first and on the primary button. Same bones as
   .beat so the section reads like the rest of the page. */
.reports { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 22px 0 8px; }
.report { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--canvas); }
.report .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 4px; }
.report .t { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.report .d { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.report .barry-btn { align-self: flex-start; margin-top: 10px; }
/* Videos: one card per video, the player inside it (16:9, letterboxed on black like every player). */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 22px 0 8px; }
.video { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 20px; background: var(--canvas); }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; margin-bottom: 8px; }
.video .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); }
.video .t { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.video .d { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.video .barry-btn { align-self: flex-start; margin-top: 10px; }
.downloads { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 26px 0 8px; background: var(--surface); }
.downloads .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.downloads ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.downloads li { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.downloads .t { font-size: 15px; color: var(--ink); font-weight: 500; }
.downloads .m { font-size: 12.5px; color: var(--muted); }
.downloads .empty { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.downloads li.pinned { padding-bottom: 8px; }
.downloads li.pinned + li:not(.pinned) { border-top: 1px solid var(--line); padding-top: 10px; }

/* the "one brain" diagram (after How Barry works) */
.brain { margin: 28px 0 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.brain-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); margin: 0 0 22px; max-width: 24ch; }
.brain-row { display: grid; grid-template-columns: auto 1fr auto 1fr minmax(220px, 1.3fr); align-items: center; gap: 12px; }
.brain-grid { display: grid; grid-template-columns: repeat(4, 44px); gap: 14px 16px; }
.brain-grid svg { width: 44px; height: 33px; color: var(--ink); display: block; }
.brain-grid svg.dev { color: var(--accent); }
.brain-legend { margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.brain-legend .swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); display: inline-block; }
.brain-link { height: 0; border-top: 2px dashed var(--accent); opacity: .7; min-width: 24px; }
.brain-core { background: var(--ink); color: var(--surface); border-radius: 18px; padding: 26px 30px; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.brain-out { list-style: none; margin: 0; padding: 0; }
.brain-out li { padding: 10px 0 10px 14px; border-bottom: 1px solid var(--line); }
.brain-out li:last-child { border-bottom: 0; }
.brain-out .k { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }
.brain-out .v { font-size: 14.5px; color: var(--body); line-height: 1.45; }
@media (max-width: 760px) {
  .brain-row { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .brain-link { width: 0; height: 28px; min-width: 0; border-top: 0; border-left: 2px dashed var(--accent); }
  .brain-out { width: 100%; }
  .brain-out li { padding-left: 0; }
}
.still { margin-top: 72px; padding: 28px; border-radius: 16px; background: var(--ink); color: var(--surface); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.still .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--surface); margin-bottom: 8px; }
.still .t { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 16px 80px; }
  .sidenav { position: static; max-height: none; padding: 20px 0 0; display: flex; gap: 6px; overflow-x: auto; }
  .sidenav .group { margin: 0; display: flex; gap: 6px; }
  .sidenav .group-title { display: none; }
  .sidenav .items { flex-direction: row; gap: 6px; }
  .sidenav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .topbar { padding: 0 16px; }
  .topbar-who { display: none; }
  .gate { padding: 24px 16px; }
}

/* Styles that used to be inline `style="…"` attributes. The page's policy is style-src 'self', so an
   attribute is blocked (three console errors on every load, seen 2026-11-02) while a class is not. */
.sent-email { color: var(--ink); font-weight: 600; }
.svg-defs { position: absolute; }
.section-lede { font-size: 17px; color: var(--muted); }
