/* Editorial website, sharing the Focus and Command semantic palette. */
@import url("./design-tokens.css");
:root { --font: "DM Sans", Arial, sans-serif; --serif: "Newsreader", Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; display: block; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.brand .stop { color: var(--accent); }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
@media (max-width: 760px) { nav.links { display: none; } header.top .btn { margin-left: auto; padding: 9px 14px; } }

/* Hero */
.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; margin: 18px 0 22px; max-width: 14ch; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .proof { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--faint); font-size: 14px; }
.hero .proof span::before { content: "✓ "; color: var(--accent); }

/* Sections */
section.band { padding: 88px 0; border-bottom: 1px solid var(--line); }
section.band.sunk { background: var(--sunk); }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.025em; font-weight: 500; margin: 12px 0 18px; max-width: 22ch; }
.intro { color: var(--muted); max-width: 56ch; margin: 0 0 44px; }
.grid { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }
.grid h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }
.num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 30px; line-height: 1; margin-bottom: 14px; display: block; }

/* Products */
.cat { margin-top: 36px; }
.cat:first-of-type { margin-top: 0; }
.cat > .label { display: block; margin-bottom: 12px; }
.product h3 { display: flex; align-items: center; gap: 8px; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--rule-strong); padding: 1px 7px; color: var(--muted); }
.tag.live { border-color: var(--accent); color: var(--accent); }

/* Pricing */
.tier { display: flex; flex-direction: column; gap: 10px; }
.tier .price { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); }
.tier ul { margin: 4px 0 8px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier.feature { background: var(--sel); }

/* Quote and FAQ */
blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.3; max-width: 30ch; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

/* Footer */
footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
footer a { color: var(--muted); }
footer .right { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.theme-pick { display: inline-flex; align-items: center; gap: 8px; }
.theme-pick select { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 0; padding: 4px 8px; min-height: 32px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* Legal pages */
.prose { padding: 72px 0; max-width: 72ch; }
.prose h1 { font-size: 44px; letter-spacing: -.03em; font-weight: 500; margin: 0 0 8px; }
.prose h2 { font-size: 24px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--muted); }

/* Cookie consent: analytics only loads after Accept (CLAUDE.md rule 14). */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin-left: auto; background: var(--bg); border: 1px solid var(--rule-strong); padding: 18px; display: grid; gap: 12px; }
.consent p { margin: 0; font-size: 15px; color: var(--muted); }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.push { margin-left: auto; }
/* Legal pages */
.legal { max-width: 78ch; overflow-wrap: anywhere; }
.legal .meta { color: var(--faint); font-size: 14px; margin: 0 0 28px; }
.legal h2 { scroll-margin-top: 80px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--ink); }
.legal table { table-layout: fixed; width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal th { color: var(--ink); font-weight: 600; border-bottom-color: var(--rule-strong); }
.legal .toc { border: 1px solid var(--line); padding: 14px 18px; margin: 0 0 28px; background: var(--sunk); }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal .callout { border-left: 3px solid var(--accent); padding: 10px 14px; background: var(--sel); color: var(--ink); }
.legal .facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0; }
.legal .facts dt { font-weight: 600; }
.legal .facts dd { margin: 0; color: var(--muted); }
@media (max-width: 620px) { .legal .toc ol { columns: 1; } .legal .facts { grid-template-columns: 1fr; } .legal table { font-size: 14px; } }

/* Blog (built by build-blog.mjs from the Content product) */
.blog { max-width: 720px; padding-top: 32px; padding-bottom: 64px; }
.blog h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 8px 0 16px; }
.blog h2 { font-size: 26px; margin: 36px 0 10px; }
.blog h3, .blog h4 { font-size: 20px; margin: 26px 0 8px; }
.blog p, .blog li { font-size: 18px; line-height: 1.65; }
.blog .lead { font-size: 20px; color: var(--muted); }
.blog .eyebrow, .blog .meta { font-size: 14px; color: var(--muted); }
.blog pre { overflow-x: auto; padding: 14px; border-radius: 0; background: var(--sunk); }
.blog code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; }
.blog blockquote { margin: 18px 0; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }
.blog .posts { list-style: none; padding: 0; display: grid; gap: 22px; }
.blog .cta { margin-top: 40px; padding: 20px; border: 1px solid var(--line); border-radius: 0; }

/* Editorial: type-led storytelling with the same product identity as Focus. */
.wrap { width: min(1240px, 100% - 48px); }
.hero { background: var(--bg); padding: 88px 0; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 12ch; font-size: clamp(44px, 5.8vw, 80px); letter-spacing: -.055em; }
.hero p.lead { font-size: 1.125rem; line-height: 1.7; }
.hero .proof { margin-top: 32px; font-size: .8125rem; gap: 12px; }
.hero .proof span { flex-basis: 100%; }
.btn { border-radius: 0; }
.hero-visual { padding: 28px; border-radius: 0; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.visual-title { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; font-size: 1rem; border-bottom: 1px solid var(--line); }
.workspace-map { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px 0; }
.workspace-map > div { display: flex; gap: 10px; align-items: center; padding: 18px 12px; background: var(--sunk); border-radius: 0; font-size: .875rem; }
.workspace-map > .map-core { grid-column: 1 / -1; padding: 24px; justify-content: center; background: var(--sel); color: var(--accent); font-size: 1.25rem; }
.visual-providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .75rem; color: var(--muted); }
.product-symbol { width: 24px; height: 24px; flex: none; display: inline-block; background: var(--accent); mask: var(--symbol) center / contain no-repeat; -webkit-mask: var(--symbol) center / contain no-repeat; }
.product h3 { flex-wrap: wrap; font-size: 1.0625rem; }
.product h3 .product-symbol { display: block; flex-basis: 100%; mask-position: left; -webkit-mask-position: left; margin-bottom: 12px; }
.grid { border: 0; gap: 16px; }
.grid > * { border: 1px solid var(--line); border-radius: 0; padding: 28px; background: var(--panel); }
.grid p { line-height: 1.7; }
.num { font-size: 2.25rem; margin-bottom: 20px; }
.cat { margin-top: 48px; }
.cat > .label { margin-bottom: 18px; }
.label { font-size: .8125rem; letter-spacing: .08em; }
section.band { padding: 88px 0; }
h2 { letter-spacing: -.04em; max-width: 25ch; }
.faq details { border-radius: 0; }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; gap: 40px; } .hero h1 { max-width: 15ch; } .hero-visual { max-width: 620px; } }
@media (max-width: 620px) { .wrap { width: calc(100% - 32px); } .hero { padding: 48px 0; } section.band { padding: 56px 0; } .hero-visual { padding: 20px; } .workspace-map { gap: 8px; } .workspace-map > div { padding: 14px 8px; font-size: .8125rem; } .cta .btn { flex: 1 1 160px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.symbol-analytics { --symbol: url("./icons/analytics.svg"); }
.symbol-assistant { --symbol: url("./icons/assistant.svg"); }
.symbol-automations { --symbol: url("./icons/automations.svg"); }
.symbol-calendar { --symbol: url("./icons/calendar.svg"); }
.symbol-chat { --symbol: url("./icons/chat.svg"); }
.symbol-crm { --symbol: url("./icons/crm.svg"); }
.symbol-docs { --symbol: url("./icons/docs.svg"); }
.symbol-email { --symbol: url("./icons/email.svg"); }
.symbol-external { --symbol: url("./icons/external.svg"); }
.symbol-files { --symbol: url("./icons/files.svg"); }
.symbol-meetings { --symbol: url("./icons/meetings.svg"); }
.symbol-messages { --symbol: url("./icons/messages.svg"); }
.symbol-office { --symbol: url("./icons/office.svg"); }
.symbol-send { --symbol: url("./icons/send.svg"); }
.symbol-sheets { --symbol: url("./icons/sheets.svg"); }
.symbol-slides { --symbol: url("./icons/slides.svg"); }
.symbol-sparkle { --symbol: url("./icons/sparkle.svg"); }
.symbol-support { --symbol: url("./icons/support.svg"); }
.symbol-tasks { --symbol: url("./icons/tasks.svg"); }
.symbol-whatsapp { --symbol: url("./icons/whatsapp.svg"); }
.symbol-whiteboard { --symbol: url("./icons/whiteboard.svg"); }
.symbol-wiki { --symbol: url("./icons/wiki.svg"); }
.symbol-menu { --symbol: url("./icons/menu.svg"); }
.symbol-close { --symbol: url("./icons/close.svg"); }

/* Header actions and the phone menu. The toggle is a disclosure: aria-expanded on the button, Escape closes. */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ui-icon { width: 16px; height: 16px; flex: none; display: inline-block; background: currentColor; mask: var(--symbol) center / contain no-repeat; -webkit-mask: var(--symbol) center / contain no-repeat; }
nav.links { align-items: center; }
nav.links a { padding: 8px 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: 10px; }
nav.links .nav-actions .btn { color: var(--accent-ink); padding: 9px 16px; min-height: 40px; }
nav.links .nav-actions .btn:hover { color: var(--accent-ink); }
.menu-toggle { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink); font: 500 15px var(--font); cursor: pointer; }
.menu-toggle .ui-icon { width: 20px; height: 20px; }
.menu-toggle[aria-expanded="true"] { background: var(--sel); border-color: var(--sel); color: var(--accent); }
.menu-toggle[aria-expanded="true"] .ui-icon { --symbol: url("./icons/close.svg"); }
@media (max-width: 940px) {
  header.top .wrap { gap: 12px; }
  .menu-toggle { display: inline-flex; }
  nav.links { display: flex; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); margin: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-top: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
  .menu-open nav.links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  nav.links > a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.375rem; letter-spacing: -.02em; }
  nav.links > a::after { content: ""; width: 18px; height: 18px; flex: none; background: var(--faint); mask: url("./icons/chevron-right.svg") center / contain no-repeat; -webkit-mask: url("./icons/chevron-right.svg") center / contain no-repeat; }
  nav.links > a:hover, nav.links > a:active { color: var(--accent); }
  .nav-actions { margin: auto 0 0; padding-top: 24px; flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .nav-actions a { justify-content: center; min-height: 52px; font-size: 1.0625rem; }
  nav.links .nav-actions .btn { min-height: 52px; font-size: 1.0625rem; margin: 0; padding: 11px 20px; }
  .nav-actions .signin { display: flex; align-items: center; }
  html.menu-open { overflow: hidden; }
}

/* Hero: copy above, the app itself below. */
.hero { padding: 72px 0 64px; }
.hero-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
.hero h1 { max-width: 13ch; }
.hero .proof { margin: 0 0 8px; padding: 20px 0 0 24px; border-left: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.demo { margin-top: 56px; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.demo-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: 500 .9375rem var(--font); cursor: pointer; }
.demo-tabs button:hover { border-color: var(--rule-strong); color: var(--ink); }
.demo-tabs button[aria-selected="true"] { background: var(--sel); border-color: var(--sel); color: var(--accent); font-weight: 600; }
.demo-tabs button:focus-visible, .menu-toggle:focus-visible { outline-offset: 2px; }
.demo-note { margin: 12px 0 0; font-size: .8125rem; color: var(--faint); }
.hero-visual { padding: 0; max-width: none; }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; gap: 28px; } .hero .proof { padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; } .hero-visual { max-width: none; } .demo { margin-top: 40px; } }
@media (max-width: 620px) { .hero { padding: 40px 0 48px; } .hero-visual { padding: 0; } .hero .proof { grid-template-columns: 1fr; } .demo-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .demo-tabs::-webkit-scrollbar { display: none; } .demo-tabs button { flex: none; } }

/* Closing call to action */
.closing { text-align: center; }
.closing h2, .closing .intro { margin-left: auto; margin-right: auto; }
.closing .intro { margin-bottom: 28px; }
.closing .cta { justify-content: center; }

/* Inner pages: products, integrations, security, pricing and FAQ. */
nav.links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; margin: 16px 0 20px; max-width: 18ch; }
.page-hero .lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 28px; }
.stats > div { border: 1px solid var(--line); background: var(--panel); padding: 20px; display: grid; gap: 4px; }
.stats b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.stats span { font-size: .875rem; color: var(--muted); }
.jump, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jump a, .chips li { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: .9375rem; text-decoration: none; }
.chips li { min-height: 36px; color: var(--muted); }
.jump a:hover { border-color: var(--rule-strong); color: var(--accent); }
.more-link { margin-top: 28px; }
.subhead { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; margin: 48px 0 8px; }
.subhead + .intro { margin-bottom: 20px; }
.grid + .grid { margin-top: 16px; }
.grid ol, .grid ul.ticks { margin: 0; padding-left: 20px; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.grid li + li { margin-top: 6px; }
.product .more { margin-top: 10px; font-size: .875rem; }
.product .more b { color: var(--ink); font-weight: 600; }
.callout { border-left: 3px solid var(--accent); background: var(--sel); color: var(--ink); padding: 14px 18px; margin: 28px 0 0; max-width: 80ch; font-size: .9375rem; }
.filter { display: grid; gap: 8px; max-width: 520px; margin-bottom: 8px; }
.filter label { font-weight: 600; font-size: .9375rem; }
.filter input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong); background: var(--panel); color: var(--ink); font: 1rem var(--font); border-radius: 0; }
.filter input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter .demo-note { margin: 0; }
.intlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.intlist li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: start; border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; min-width: 0; }
.intlist strong { font-weight: 600; overflow-wrap: anywhere; }
.intlist .tag { white-space: nowrap; }
.intlist .what { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.empty-note { color: var(--muted); padding: 24px 0; }
.tier h3 { font-size: 1.25rem; }
.tier p { margin: 0; }
.tier ul { margin: 4px 0 16px; }
.faq { max-width: 860px; }
@media (max-width: 980px) { .intlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .page-hero { padding: 40px 0; } .intlist { grid-template-columns: 1fr; } .stats b { font-size: 2rem; } .more-link .btn { flex: 1 1 100%; justify-content: center; } .jump a { flex: 1 1 auto; justify-content: center; } }

/* Product pages */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--accent); }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a:hover, .product h3 a:focus-visible { color: var(--accent); text-decoration: underline; }
.page-hero + .band .demo { margin-top: 28px; }
.grid .num + p { font-size: 1rem; color: var(--ink); }

/* Brand artwork keeps its own colours on a neutral brand surface in both themes. */
.intlist .integration-logo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; width: 112px; height: 56px; padding: 8px; margin-bottom: 8px; background: var(--brand-surface); }
.intlist .integration-logo img { display: block; width: 96px; height: 40px; object-fit: contain; }

/* Approved Yield Y identity: outlined wordmark, explicit theme rather than device default. */
.brand img.brand-lockup { width: 210px; height: 42px; object-fit: contain; }
.brand img.brand-dark { display: none; }
:root[data-theme="dark"] .brand img.brand-light { display: none; }
:root[data-theme="dark"] .brand img.brand-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .brand img.brand-light { display: none; }
  :root[data-theme="system"] .brand img.brand-dark { display: block; }
}

/* Home: the hero shows the tools flowing into one workspace. The app itself is shown on the Products page. */
.hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; }
.hero .proof { margin: 32px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.logo-plate { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 8px; background: var(--brand-surface); }
.logo-plate img { width: 100%; max-width: 96px; height: 100%; max-height: 40px; object-fit: contain; }
.hub { margin: 0; padding: 24px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.hub-label { display: block; text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hub-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.hub-logos .logo-plate { height: 52px; border: 1px solid var(--line); }
.hub-wires { display: block; width: 100%; height: 48px; }
.hub-wires path { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 6; animation: hub-flow 1.2s linear infinite; }
@keyframes hub-flow { to { stroke-dashoffset: -18; } }
.hub-core { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 18px 12px; background: var(--accent); color: var(--accent-ink); }
.hub-core b { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.hub-core small { font-size: .875rem; }
.hub-outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.hub-outs .out { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px; background: var(--sel); font-size: .9375rem; font-weight: 500; }
.hub-outs .product-symbol { width: 20px; height: 20px; }

/* Home: pick the tools you use and see what they bring into one workspace. */
.connect { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.connect-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.connect-tools button { display: flex; align-items: center; gap: 12px; min-height: 64px; min-width: 0; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); font: 500 .9375rem/1.3 var(--font); text-align: left; cursor: pointer; }
.connect-tools button:hover { border-color: var(--rule-strong); }
.connect-tools button:focus-visible { outline-offset: 2px; }
.connect-tools .logo-plate { width: 88px; height: 44px; flex: none; border: 1px solid var(--line); }
.connect-tools button::after { content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; border: 1.5px solid var(--rule-strong); }
.connect-tools button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--sel); }
.connect-tools button[aria-pressed="true"]::after { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--sel); }
.connect-result { border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.connect-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.connect-head b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.connect-head span { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.connect-rows { list-style: none; margin: 0; padding: 0; }
.connect-rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.connect-rows li:last-child { border-bottom: 0; }
.connect-rows .product-symbol { margin-top: 2px; background: var(--rule-strong); }
.connect-rows li.on .product-symbol { background: var(--accent); }
.connect-rows b { font-weight: 600; color: var(--muted); }
.connect-rows li.on b { color: var(--ink); }
.connect-rows .what { display: block; font-size: .875rem; color: var(--muted); }
.connect-rows .srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.connect-rows .src { padding: 2px 8px; background: var(--accent-soft); color: var(--accent); font-size: .8125rem; font-weight: 500; }
.connect-rows .hint { font-size: .8125rem; color: var(--muted); }

/* Home: a wall of the brands people look for first. */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-wall li { display: grid; gap: 8px; justify-items: center; align-content: start; min-width: 0; padding: 14px 8px; border: 1px solid var(--line); background: var(--panel); font-size: .8125rem; color: var(--muted); text-align: center; }
.logo-wall .logo-plate { width: 100%; max-width: 112px; height: 56px; }
.after-wall { margin-top: 16px; }

/* Products page: the app window, its captions, and the catalogue filter. */
.demo-caps { margin-top: 12px; }
.demo-cap { margin: 0; max-width: 80ch; font-size: .9375rem; color: var(--muted); }
.demo-cap strong { color: var(--ink); }
.demo-cap a { white-space: nowrap; }
.page-hero + .band .demo, #demo .demo { margin-top: 0; }
.demo-note .linkbtn { color: var(--accent); min-height: 24px; }
#product-catalogue { margin-top: 28px; }
.product[hidden] + .product { margin-top: 0; }

@media (max-width: 980px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .hero-layout { grid-template-columns: 1fr; gap: 40px; } .hub { max-width: 620px; } }
@media (max-width: 860px) { .connect { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 620px) {
  .hero .proof { grid-template-columns: 1fr; }
  .hub { padding: 16px; }
  .hub-logos .logo-plate { height: 44px; padding: 6px; }
  .hub-outs .out { padding: 10px 8px; gap: 6px; font-size: .8125rem; }
  .hub-core b { font-size: 1.25rem; }
  .connect-tools button { gap: 8px; padding: 6px 8px 6px 6px; font-size: .875rem; }
  .connect-tools .logo-plate { width: 48px; height: 36px; padding: 5px; }
  .connect-tools button::after { width: 16px; height: 16px; }
  .connect-head, .connect-rows li { padding-left: 16px; padding-right: 16px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Home switchers: the steps, the Assistant questions and the product groups. A pressed button shows its panel. */
.switch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.switch-tabs button, .ask-list button, .steps-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--muted); font: 500 .9375rem var(--font); text-align: left; cursor: pointer; }
.switch-tabs button:hover, .ask-list button:hover, .steps-tabs button:hover { border-color: var(--rule-strong); color: var(--ink); }
.switch-tabs button[aria-pressed="true"], .ask-list button[aria-pressed="true"], .steps-tabs button[aria-pressed="true"] { background: var(--sel); border-color: var(--accent); color: var(--accent); }
.switch-tabs button:focus-visible, .ask-list button:focus-visible, .steps-tabs button:focus-visible { outline-offset: 2px; }
.switch-tabs .count { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.ask { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.ask-list { display: grid; gap: 8px; }
.ask-list button { min-height: 56px; padding: 12px 16px; font-size: 1rem; color: var(--ink); }
.ask-list button > span { display: grid; gap: 2px; }
.ask-list b { font-weight: 600; }
.ask-list small { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.steps-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps-tabs button { align-items: baseline; gap: 14px; padding: 20px 24px; font-size: 1.125rem; color: var(--ink); }
.steps-tabs .num { display: inline; margin: 0; font-size: 2rem; }
.steps-tabs b { font-weight: 600; letter-spacing: -.01em; }
.steps-panel { margin-top: 16px; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.steps-panel h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.steps-panel p { margin: 0 0 16px; max-width: 70ch; color: var(--muted); }
.steps-panel .ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: .9375rem; }
.steps-panel .ticks li { padding-top: 12px; border-top: 2px solid var(--accent); }
@media (max-width: 860px) { .ask { grid-template-columns: 1fr; gap: 20px; } .steps-tabs { grid-template-columns: 1fr; gap: 8px; } .steps-tabs button { padding: 12px 16px; } .steps-panel { padding: 20px 16px; } .steps-panel .ticks { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .switch-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .switch-tabs::-webkit-scrollbar { display: none; } .switch-tabs button { flex: none; } }

/* Footer: brand and the phone app note, three link columns, then the small print. */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--sunk); }
footer .wrap { display: block; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: 48px; }
.foot-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot-brand p { margin: 0; max-width: 38ch; font-size: .9375rem; color: var(--muted); }
.foot-brand .foot-apps { padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--panel); color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols > div { display: grid; gap: 2px; align-content: start; justify-items: start; }
.foot-cols .label { margin-bottom: 8px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 36px; font-size: .9375rem; color: var(--ink); text-decoration: none; }
.foot-cols a:hover { color: var(--accent); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; }
.foot-bottom .theme-pick { margin-left: auto; }
.foot-bottom .linkbtn { min-height: 32px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-cols a { min-height: 44px; } .foot-bottom .theme-pick { margin-left: 0; } }

/* The closing call to action sits on the white panel so it stands out from the page. */
section.band.closing { background: var(--panel); }

/* Academy: course outline and lesson pages. Lessons reuse the .blog reading column. */
.lessons { list-style: none; margin: 0; padding: 0; max-width: 860px; border-top: 1px solid var(--line); counter-reset: lesson; }
.lessons li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: lesson; }
.lessons li::before { content: counter(lesson); flex: none; width: 1.6em; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.lessons a, .lessons .soon-title { flex: 1 1 18ch; font-weight: 600; }
.lessons a { min-height: 44px; display: inline-flex; align-items: center; }
.lessons .soon-title, .lessons .meta { color: var(--muted); }
.lessons .meta { font-size: .875rem; }
.lesson .crumbs { flex-wrap: wrap; margin-bottom: 8px; }
.lesson pre { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
.lesson .copy { margin: 8px 0 18px; padding: 6px 14px; font-size: .875rem; }
.lesson-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.lesson > .meta { margin-top: 32px; }
@media (max-width: 620px) { .lesson-nav .btn { flex: 1 1 100%; justify-content: center; } }

/* Header (founder request, 26 November 2026): the page links sit in the centre, and Sign in is an outlined box in the
   accent colour beside the filled Start free button. */
.nav-actions .signin { border: 1px solid var(--accent); color: var(--accent); font-weight: 700; }
.nav-actions .signin:hover { border-color: var(--accent-hover); color: var(--accent-hover); background: var(--sel); }
@media (min-width: 941px) {
  nav.links { flex: 1; margin-left: 0; }
  nav.links > a:first-of-type { margin-left: auto; }
  .nav-actions { margin-left: auto; gap: 10px; }
  .nav-actions .signin { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 16px; }
}
/* With room to spare, the actions take the same width as the logo so the links are centred on the page itself. */
@media (min-width: 1101px) { .nav-actions { min-width: 210px; justify-content: flex-end; } }

/* Academy is a footer destination with a decorative graduation cap. */
.foot-cols a:has(svg) { display:flex; align-items:center; gap:8px; }
