/* Full-bleed shells; only prose and controls are individually constrained. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
.band { width: 100%; padding-inline: var(--gutter); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-width: 0; min-height: 78px; padding: 17px var(--gutter); display: flex; align-items: center; gap: var(--gap); justify-content: space-between; }
.brand { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; color: var(--ink); gap: 12px; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.brand img { flex-shrink: 0; width: 40px; height: 40px; }
.brand small { display: block; font-size: .69em; color: var(--muted); font-weight: 500; margin-top: 3px; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(12px, 1.65vw, 42px); }
.site-nav a { text-decoration: none; color: var(--muted); font-size: .92em; font-weight: 550; }
.site-nav a[aria-current="page"] { color: var(--violet-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; }
.crumb { display: flex; gap: 10px; align-items: center; padding-top: 17px; padding-bottom: 8px; font-size: .85em; color: var(--muted); }
.hero { display: grid; align-items: center; gap: var(--gap); padding-top: clamp(38px, 4.5vw, 120px); padding-bottom: clamp(32px, 3.8vw, 100px); }
.hero.with-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero h1 { max-width: 23ch; }
.hero.no-art h1 { max-width: 28ch; }
.hero .lead { margin-bottom: 1.4em; }
.hero-copy, .story-split > *, .tiles > *, .feature-list > *, .pricing-grid > * { min-width: 0; }
.hero .art { width: 100%; }
.section { padding-top: var(--section); padding-bottom: var(--section); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(22px, 2.7vw, 68px); }
.section-head h2 { max-width: 35ch; }
.section-head > p:last-child { max-width: 78ch; }
.story-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--gap); padding-block: var(--section); border-top: 1px solid var(--line); }
.story-split > div { padding: clamp(0px, 1vw, 28px); }
.story-split p:not(.eyebrow) { max-width: 68ch; }
.story-split.reverse .art { grid-column: 2; grid-row: 1; }
.story-split.reverse > div { grid-column: 1; grid-row: 1; }
.tiles, .feature-list { display: grid; gap: var(--gap); align-items: stretch; }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 22px var(--gutter) 30px; background: #fff; border-block: 1px solid var(--line); }
.facts div { border-left: 3px solid #c6bff8; padding: 8px 16px; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: 1.2em; }
.facts span { color: var(--muted); font-size: .94em; }
.cta { background: var(--navy); color: #fff; padding-block: clamp(34px, 4vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }
.cta h2, .cta .eyebrow { color: #fff; }
.cta p { color: #d6dcef; max-width: 68ch; }
.cta .button { background: #7460ed; flex-shrink: 0; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap); padding-bottom: 30px; }
.footer-grid h2 { font-size: 1em; margin-bottom: 17px; letter-spacing: -.01em; }
.footer-grid > div > a:not(.brand) { display: block; color: var(--muted); font-size: .9em; text-decoration: none; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-brand p { margin-block: 16px; max-width: 42ch; font-size: .9em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: .82em; }
.legal-layout { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); gap: var(--gap); align-items: start; padding-block: 34px var(--section); }
@media (min-width: 110rem) {
  .legal-layout { grid-template-columns: minmax(16rem, 34ch) minmax(0, 1fr); }
}
.legal-nav { background: white; border: 1px solid var(--line); padding: 20px; border-radius: var(--radius); }
.legal-nav h2 { font-size: 1.15em; }
.legal-nav a { display: block; font-size: .88em; margin: 8px 0; }
.prose { max-width: 76ch; }
.prose-section { padding-block: 24px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.prose-section h2 { font-size: clamp(1.25rem, 1.6vw, 2.3rem); }
.prose-section ul { color: var(--muted); padding-inline-start: 1.4em; }
.prose-section li { margin-bottom: .7em; }
.error-page { padding-block: 85px; }
@media (max-width: 1120px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
}
@media (max-width: 760px) {
  :root { --gutter: 17px; --gap: 18px; --section: 34px; }
  .header-inner { min-height: 64px; padding-block: 12px; }
  .brand { gap: 8px; font-size: .93rem; }
  .brand img { width: 32px; height: 32px; }
  .workspace-button { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 5px; background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 8px 10px; border-radius: 8px; }
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-nav a { display: block; padding: 10px 8px; }
  .js .site-nav:not(.open) { display: none; }
  .hero.with-art, .story-split, .columns-3, .columns-2, .feature-list, .legal-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 30px; }
  .hero h1 { font-size: clamp(2.25rem, 8.3vw, 3.5rem); max-width: 25ch; }
  .hero .lead { font-size: 1.05rem; }
  .hero .art { display: none; }
  .story-split .art { order: 2; }
  .story-split.reverse .art, .story-split.reverse > div { grid-column: auto; grid-row: auto; }
  .story-split > div { padding: 0; }
  .facts { grid-template-columns: 1fr; gap: 7px; padding-block: 16px; }
  .facts div { padding: 5px 11px; }
  .facts strong { font-size: 1.02em; }
  .facts span { font-size: .86em; }
  .section-head { margin-bottom: 18px; }
  .cta { display: block; }
  .cta .button { margin-top: 15px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-brand { grid-column: 1/-1; }
  .legal-nav { padding: 16px; }
  .legal-nav a { display: inline-block; margin-right: 12px; }
}
@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .workspace-button { width: 100%; margin: 0; order: 2; }
  .menu-toggle { margin-left: auto; }
  .footer-grid { gap: 14px; }
}
