/* Public site: home, features, pricing, customers, why Adaab, help (design.md, "Public site").
 * Light or dark, following the theme cookie like the app. Colours, fonts and radii come from tokens.css; nothing here inlines a colour
 * that tokens.css already names. Motion is gentle and switches off with reduced motion. */

:root { --site-max: 75rem; --site-gutter: clamp(1rem, 4vw, 1.5rem); }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body.site { margin: 0; background: var(--color-surface); color: var(--color-ink); font: var(--text-md)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
.site h1, .site h2, .site h3 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; line-height: 1.06; font-weight: 700; overflow-wrap: anywhere; }
.site p { margin: 0; }
.site a { color: var(--color-accent-text); text-decoration: none; }
.site a:hover { color: var(--color-accent-hover); }
.site :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }
.site svg { flex: none; }
.site .skip { position: absolute; left: -999px; top: 8px; }
.site .skip:focus { left: 8px; z-index: 50; background: var(--color-surface); padding: 8px 12px; border-radius: var(--radius); }
.wrap { max-width: var(--site-max); margin: 0 auto; padding-inline: var(--site-gutter); }
.center { text-align: center; margin-inline: auto; }
.mark { background: linear-gradient(transparent 62%, var(--color-sun) 62%, var(--color-sun) 92%, transparent 92%); padding: 0 0.15em; }
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--color-accent-text); }
.kicker.ok { color: var(--color-ok); } .kicker.sun { color: var(--color-sun-ink); }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--color-ink-2); }
.h-hero { font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 1.02; }
.h-page { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; }
.h-sec { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h-feat { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.08; }
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section.tint { background: var(--color-paper); }
.sec-head { max-width: 45rem; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.sec-head.center { align-items: center; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color var(--dur-short), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short), border-color var(--dur-short); }
.site .s-btn.primary { background: var(--color-accent); color: var(--color-accent-ink); }
.site .s-btn.primary:hover { background: var(--color-accent-hover); color: var(--color-accent-ink); transform: translateY(-1px); box-shadow: 0 8px 20px -8px color-mix(in oklch, var(--color-accent) 60%, transparent); }
.site .s-btn.ghost { background: var(--color-surface); color: var(--color-ink); border-color: var(--color-rule-strong); }
.site .s-btn.ghost:hover { border-color: var(--color-ink); color: var(--color-ink); transform: translateY(-1px); }
.site .s-btn.white { background: #fff; color: #1b1d2a; }
.site .s-btn.white:hover { color: #1b1d2a; transform: translateY(-1px); }
.site .s-btn.outline-light { color: #fff; border-color: rgb(255 255 255 / 0.5); }
.site .s-btn.outline-light:hover { color: #fff; border-color: #fff; }
.site .s-btn.sun { background: var(--color-sun); color: #1b1d2a; }
.site .s-btn.sun:hover { color: #1b1d2a; transform: translateY(-1px); }
.s-btn.sm { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; border-radius: 10px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas.center { justify-content: center; }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.875rem; color: var(--color-ink-3); }
.ticks-inline span, .ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks-inline .icon, .ticks .icon { color: var(--color-ok); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks .icon { margin-top: 3px; }

/* Header */
.s-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--color-surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-rule); }
.s-nav { display: flex; align-items: center; gap: 6px; min-height: 64px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--color-ink) !important; font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.02em; margin-right: 24px; }
.s-logo .mark { flex: none; }
.s-logo .brand-img, .brand-img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.s-links { display: flex; gap: 2px; margin-right: auto; }
.s-link { color: var(--color-ink-2) !important; font-weight: 500; font-size: 0.9375rem; padding: 10px 12px; border-radius: 8px; transition: background-color var(--dur-short), color var(--dur-short); }
.s-link:hover { background: var(--color-paper-2); color: var(--color-ink) !important; }
.s-link[aria-current="page"] { background: var(--color-accent-soft); color: var(--color-accent-text) !important; }
.s-menu { display: none; position: relative; margin-left: auto; }
.s-menu > summary { list-style: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--color-rule); display: grid; place-items: center; cursor: pointer; }
.s-menu > summary::-webkit-details-marker { display: none; }
.s-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(18rem, 86vw); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 8px; display: flex; flex-direction: column; }
.s-menu-pop a { padding: 12px; border-radius: 8px; color: var(--color-ink) !important; font-weight: 500; }
.s-menu-pop a:hover { background: var(--color-paper-2); }
/* Actions sit on the right in one row: Log in, Start free (or Dashboard), and the phone menu button last. */
.s-logo { white-space: nowrap; min-width: 0; }
.s-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.s-actions .s-btn { white-space: nowrap; }
/* Light / dark: an icon button offering the other mode (same cookie as the app). */
.theme-toggle { margin: 0; display: contents; }
.s-theme { width: 42px; height: 42px; border-radius: 10px; border: 0; background: none; color: var(--color-ink-2); cursor: pointer; display: grid; place-items: center; }
.s-theme:hover { background: var(--color-paper-2); color: var(--color-ink); }
.s-theme .sb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: contents; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .theme-toggle .to-dark { display: none; }
  :root[data-theme="system"] .theme-toggle .to-light { display: contents; }
}
/* Phones: the toggle moves into the menu, labelled, to keep the header roomy. */
.s-menu-theme { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 0; border-radius: 8px; background: none; color: var(--color-ink); font: 500 1rem var(--font-body); cursor: pointer; text-align: left; }
.s-menu-theme:hover { background: var(--color-paper-2); }
.s-menu-theme :is(.to-dark, .to-light) { gap: 10px; }
@media (max-width: 54rem) {
  .s-actions > .theme-toggle { display: none; }
  .s-links { display: none; }
  .s-logo { margin-right: 8px; }
  .s-menu { display: block; margin-left: 2px; }
}
@media (max-width: 30rem) {
  .s-logo { margin-right: 4px; }
  .s-actions { gap: 4px; }
  .s-actions .s-login { padding-inline: 8px; }
  .s-actions .s-btn.sm { min-height: 40px; padding-inline: 14px; }
  .s-menu > summary { width: 40px; height: 40px; }
}
/* Below 380px the name and three controls don't fit: Log in stays in the menu. */
@media (max-width: 23.75rem) { .s-actions .s-login { display: none; } }

/* Footer */
.s-foot { border-top: 1px solid var(--color-rule); }
.s-foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: 2rem; padding-block: 3.5rem; font-size: 0.9375rem; }
.s-foot-grid > div { display: flex; flex-direction: column; gap: 10px; }
.s-foot-grid b { font-size: 0.875rem; }
.s-foot-grid a { color: var(--color-ink-2); }
.s-foot-grid a:hover { color: var(--color-ink); }
.s-foot-grid span { color: var(--color-ink-3); line-height: 1.5; }

/* Hero */
.hero { padding-top: clamp(3rem, 7vw, 4.5rem); }
.hero-copy { max-width: 54rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; animation: rise 0.8s var(--ease-out) both; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--color-rule); background: var(--color-surface); color: var(--color-ink-2) !important; font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-1); }
.pill-link b { padding: 3px 10px; border-radius: 999px; background: var(--color-ok-soft); color: var(--color-ok); font-size: 0.8125rem; }
.hero-copy .lede { max-width: 40rem; font-size: 1.25rem; }

/* The 3D product shot: tilted back, levels out as you move over it (site.js sets --rx/--ry) */
.stage { position: relative; max-width: 71rem; margin: 3.5rem auto 0; perspective: 2200px; }
.stage::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: -10px; top: 40%; background: var(--color-accent-soft); border-radius: 40px 40px 0 0; }
.stage-tilt { position: relative; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease-out); }
.shot { position: relative; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule-strong); box-shadow: 0 50px 100px -40px rgb(27 29 42 / 0.35), 0 20px 40px -20px rgb(27 29 42 / 0.15); overflow: hidden; display: grid; grid-template-columns: 13rem minmax(0, 1fr); min-height: 32rem; text-align: left; font-size: 0.875rem; }
.shot-side { background: var(--color-paper); border-right: 1px solid var(--color-rule); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; color: var(--color-ink-2); }
.shot-org { display: flex; align-items: center; gap: 8px; padding: 6px 8px 16px; font-weight: 600; color: var(--color-ink); }
.shot-org i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; background: var(--color-sun); font-size: 0.75rem; display: grid; place-items: center; }
.shot-side :is(span, button) { padding: 8px 10px; border-radius: 8px; display: flex; justify-content: space-between; }
.shot-side .on { background: var(--color-surface); color: var(--color-ink); font-weight: 600; box-shadow: 0 1px 2px rgb(27 29 42 / 0.08); }
.shot-side em { font-style: normal; font-size: 0.75rem; font-weight: 700; padding: 0 7px; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); }
.shot-main { padding: 24px 26px; display: flex; flex-direction: column; gap: 20px; }
.shot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shot-top b { font-family: var(--font-display); font-size: 1.25rem; display: block; }
.shot-top small { color: var(--color-ink-3); font-size: 0.8125rem; }
.shot-top > :is(span, button) { padding: 8px 14px; border-radius: 8px; background: var(--color-accent); color: var(--color-accent-ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.shot-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 12px; }
.shot-stat { padding: 14px; border-radius: 12px; border: 1px solid var(--color-rule); display: flex; flex-direction: column; gap: 6px; }
.shot-stat small { font-size: 0.75rem; color: var(--color-ink-3); }
.shot-stat b { font-size: 1.375rem; }
.shot-stat i { font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--color-ok); }
.shot-stat i.blue { color: var(--color-accent-text); }
.shot-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 12px; flex: 1; }
.shot-panel { padding: 16px; border-radius: 12px; border: 1px solid var(--color-rule); display: flex; flex-direction: column; gap: 10px; font-size: 0.8125rem; }
.shot-panel > b { font-size: 0.8125rem; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 10px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--color-accent) 25%, var(--color-surface)); transform-origin: bottom; animation: grow 1s var(--ease-out) both; }
.bars i:last-child { background: var(--color-accent); }
.who { display: flex; align-items: center; gap: 10px; }
.who > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.who small { color: var(--color-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 0.6875rem; display: grid; place-items: center; }
.av.coral { background: var(--color-bad-soft); color: var(--color-bad); }
.av.blue { background: var(--color-info-soft); color: var(--color-info); }
.av.sun { background: var(--color-warn-soft); color: var(--color-warn); }
.av.green { background: var(--color-ok-soft); color: var(--color-ok); }
.chiplet { font-size: 0.6875rem; padding: 2px 8px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.chiplet.green { background: var(--color-ok-soft); color: var(--color-ok); }
.chiplet.blue { background: var(--color-info-soft); color: var(--color-info); }
.chiplet.sun { background: var(--color-warn-soft); color: var(--color-warn); }
.chiplet.coral { background: var(--color-bad-soft); color: var(--color-bad); }
.floater { position: absolute; transform: translateZ(var(--z, 80px)); }
.floater > div { background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: 14px; box-shadow: 0 24px 50px -20px rgb(27 29 42 / 0.3); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: 0.8125rem; animation: float 6s ease-in-out infinite; }
.floater > div > span:last-child { display: flex; flex-direction: column; }
.floater small { color: var(--color-ink-3); }
.floater .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--color-ok-soft); color: var(--color-ok); }
.floater.one { left: -36px; top: 120px; --z: 80px; }
.floater.two { right: -30px; top: 290px; --z: 120px; }
.floater.two > div { animation-delay: -3s; flex-direction: column; align-items: stretch; width: 15.5rem; }
.meter { height: 8px; border-radius: 4px; background: var(--color-paper-2); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 4px; background: var(--color-ok); animation: meter 3s ease-in-out infinite alternate; }
@media (max-width: 54rem) {
  .shot { grid-template-columns: minmax(0, 1fr); }
  .shot-side, .floater { display: none; }
  .stage-tilt { transform: none; }
}

/* Logo strip */
.logos { padding-block: 4rem 1.5rem; }
.logos p { text-align: center; color: var(--color-ink-3); font-size: 0.9375rem; margin-bottom: 24px; }
.marquee { max-width: 62rem; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 64px; align-items: center; animation: marquee 32s linear infinite; font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--color-ink-3); letter-spacing: -0.02em; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.cards.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.cards.tight { gap: 16px; }
.card-s { padding: 28px; border-radius: 20px; background: var(--color-paper); color: var(--color-ink) !important; display: flex; flex-direction: column; gap: 12px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.card-s.line { background: var(--color-surface); border: 1px solid var(--color-rule); }
a.card-s:hover, .card-s.lift:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgb(27 29 42 / 0.28); }
.card-s h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.card-s b { font-size: 1.125rem; }
.card-s p, .card-s > span { color: var(--color-ink-2); line-height: 1.6; }
.card-s.blue { background: var(--color-info-soft); } .card-s.green { background: var(--color-ok-soft); } .card-s.sun { background: var(--color-warn-soft); } .card-s.coral { background: var(--color-bad-soft); }
.card-s.blue p, .card-s.green p, .card-s.sun p, .card-s.coral p { color: var(--color-ink-2); }
.ic-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.ic-box.sm { width: 42px; height: 42px; border-radius: 12px; }
.ic-box.blue { background: var(--color-info-soft); color: var(--color-info); }
.ic-box.green { background: var(--color-ok-soft); color: var(--color-ok); }
.ic-box.sun { background: var(--color-warn-soft); color: var(--color-warn); }
.ic-box.coral { background: var(--color-bad-soft); color: var(--color-bad); }
.num-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; display: grid; place-items: center; }
.num-dot.ok { background: var(--color-ok); }
.big-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; }

/* Feature rows: copy on one side, a tilted product panel on the other */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: 4rem; }
.feat-copy { display: flex; flex-direction: column; gap: 18px; }
.feat-copy .lede { font-size: 1.125rem; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; align-self: flex-start; }
.shelf { position: relative; padding: 24px; perspective: 1600px; }
.shelf::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: var(--shelf, var(--color-info-soft)); }
.shelf.green { --shelf: var(--color-ok-soft); } .shelf.sun { --shelf: var(--color-warn-soft); }
.panel3d { position: relative; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule-strong); box-shadow: 0 40px 70px -30px rgb(27 29 42 / 0.35); overflow: hidden; transform: rotateY(var(--turn, -8deg)) rotateX(4deg); transition: transform 0.6s var(--ease-out); }
.shelf.flip .panel3d { --turn: 8deg; }
.shelf:hover .panel3d { transform: rotateY(0) rotateX(0); }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--color-rule); font-size: 0.9375rem; }
.p-head .who { flex: 1; }
.p-thread { padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; line-height: 1.45; background: var(--color-paper); min-height: 12.5rem; }
.bub { max-width: 78%; padding: 10px 14px; animation: pop 6s infinite both; }
.bub.out { align-self: flex-end; background: var(--color-accent); color: var(--color-accent-ink); border-radius: 16px 16px 4px 16px; }
.bub.in { align-self: flex-start; background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: 16px 16px 16px 4px; animation-delay: 1.2s; }
.bub.typing { display: flex; gap: 4px; animation-delay: 2.4s; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink-3); animation: typing 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: 0.2s; } .bub.typing i:nth-child(3) { animation-delay: 0.4s; }
.p-compose { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--color-rule); font-size: 0.875rem; }
.p-compose span:first-child { flex: 1; padding: 10px 12px; border-radius: 10px; background: var(--color-paper); color: var(--color-ink-3); }
.p-compose span:last-child { padding: 9px 14px; border-radius: 10px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; }
.p-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.p-table th { text-align: left; padding: 10px 18px; font-weight: 500; color: var(--color-ink-3); font-size: 0.8125rem; }
.p-table td { padding: 12px 18px; border-top: 1px solid var(--color-rule); }
.p-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.p-note { padding: 12px 18px; background: var(--color-sun-soft); font-size: 0.8125rem; color: var(--color-sun-ink); }
.flow { padding: 22px; display: flex; flex-direction: column; align-items: center; }
.flow-step { width: 100%; max-width: 20rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--color-rule); display: flex; gap: 12px; align-items: center; font-size: 0.875rem; background: var(--color-surface); }
.flow-step > span:last-child { display: flex; flex-direction: column; }
.flow-step small { color: var(--color-ink-3); font-size: 0.75rem; }
.flow-step.ask { border-color: var(--color-sun-rule); background: var(--color-sun-soft); }
.flow-line { width: 2px; height: 22px; background: linear-gradient(var(--color-accent) 50%, transparent 50%) 0 0 / 2px 8px; animation: flow 1s linear infinite; }

/* Quote */
.quote { max-width: 54rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.quote figcaption { display: flex; align-items: center; gap: 12px; text-align: left; }
.quote figcaption > span:first-child { width: 48px; height: 48px; border-radius: 50%; background: var(--color-sun); }
.quote figcaption span:last-child { display: flex; flex-direction: column; }
.quote figcaption small { color: var(--color-ink-3); font-size: 0.9375rem; }

/* Call to action band */
.band { color-scheme: light; position: relative; overflow: hidden; border-radius: 28px; background: var(--color-accent); color: var(--color-accent-ink); padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2rem; align-items: center; }
.band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--color-sun); }
.band::after { content: ""; position: absolute; right: 140px; bottom: -80px; width: 160px; height: 160px; border-radius: 40px; background: #4a64f0; transform: rotate(20deg); }
.band > * { position: relative; z-index: 1; }
.band h2 { font-size: clamp(2rem, 4.2vw, 3.125rem); }
.band p { color: color-mix(in srgb, var(--color-accent) 12%, #fff); font-size: 1.125rem; margin-top: 16px; }
.band.sunny { background: var(--color-warn-soft); color: var(--color-ink); display: flex; flex-wrap: wrap; justify-content: space-between; }
.band.sunny::before, .band.sunny::after { display: none; }
.band.sunny h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); max-width: 40rem; }

/* Page hero (inner pages) */
.p-hero { padding-block: 4.5rem 1.5rem; }
.p-hero .wrap { max-width: 57rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.p-hero .lede { max-width: 40rem; }
.p-hero.tint { background: var(--color-accent-soft); padding-bottom: 3.5rem; }

/* Tabs (features) */
.tabbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.tabbar button { min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; background: var(--color-surface); color: var(--color-ink-2); border: 1px solid var(--color-rule-strong); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tabbar button:hover { border-color: var(--color-accent); }
.tabbar button[aria-selected="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-surface); box-shadow: 0 8px 20px -10px rgb(27 29 42 / 0.6); }
.tabstage { border-radius: 28px; background: var(--color-paper); padding: clamp(1.5rem, 4vw, 3.5rem); min-height: 31rem; }
.tabpanel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 3rem; align-items: center; animation: rise 0.5s var(--ease-out) both; }
.tabpanel[hidden] { display: none; }
.tabpanel .panel3d { --turn: -10deg; }
.tabpanel h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini { padding: 18px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule); display: flex; flex-direction: column; gap: 8px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.mini:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgb(27 29 42 / 0.28); }
.mini small { color: var(--color-ink-3); font-size: 0.8125rem; }
.prog { padding: 16px 18px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-rule); box-shadow: 0 20px 40px -24px rgb(27 29 42 / 0.3); display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.prog > span { display: flex; justify-content: space-between; }

/* Integrations wall */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; transform: rotateX(28deg) rotateZ(-8deg); transform-style: preserve-3d; }
.wall-wrap { perspective: 1400px; }
.wall span { padding: 22px 10px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule); text-align: center; font-weight: 600; box-shadow: 0 6px 12px -8px rgb(27 29 42 / 0.2); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.wall span:hover { transform: translateZ(30px) translateY(-4px); box-shadow: 0 18px 30px -16px rgb(27 29 42 / 0.35); }
.wall .green { background: var(--color-ok-soft); color: var(--color-ok); border-color: color-mix(in srgb, var(--color-ok) 25%, transparent); }
.wall .blue { background: var(--color-info-soft); color: var(--color-info); border-color: color-mix(in srgb, var(--color-info) 25%, transparent); }
.wall .sun { background: var(--color-warn-soft); color: var(--color-warn); border-color: var(--color-sun-rule); }

/* Pricing */
.billing { display: inline-flex; align-items: center; padding: 5px; border-radius: 999px; background: var(--color-paper-2); gap: 4px; margin-top: 8px; }
.billing button { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--color-ink-2); transition: background-color 0.2s, box-shadow 0.2s; }
.billing button[aria-pressed="true"] { background: var(--color-surface); color: var(--color-ink); box-shadow: 0 1px 3px rgb(27 29 42 / 0.15); }
.billing .save { padding: 0 12px 0 6px; font-size: 0.875rem; font-weight: 600; color: var(--color-ok); }
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); perspective: 1400px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 22px; border: 1px solid var(--color-rule); background: var(--color-surface); transition: transform 0.4s var(--ease-out), box-shadow 0.3s; }
.tier:hover { transform: translateY(-8px) rotateX(3deg); box-shadow: 0 34px 60px -30px rgb(27 29 42 / 0.35); }
.tier.best { border: 2px solid var(--color-accent); box-shadow: 0 30px 60px -36px color-mix(in oklch, var(--color-accent) 70%, transparent); }
.tier.dark { color-scheme: light; background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.tier .flag { position: absolute; top: -14px; left: 26px; font-size: 0.8125rem; padding: 5px 12px; border-radius: 999px; background: var(--color-sun); color: #1b1d2a; font-weight: 700; }
.tier h3 { font-size: 1.375rem; }
.tier .for { color: var(--color-ink-2); font-size: 0.9375rem; line-height: 1.5; }
.tier.dark .for { color: #c3c6d1; }
.price { display: flex; align-items: baseline; gap: 6px; min-height: 3.75rem; }
.price b { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price b.flip { animation: flip 0.45s var(--ease-out) both; }
.price span { color: var(--color-ink-3); }
.billed { font-size: 0.8125rem; color: var(--color-ink-3); margin-top: -14px; min-height: 1.25rem; }
.tier.dark .billed { color: #c3c6d1; }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 0.9375rem; color: var(--color-ink-2); }
.tier.dark ul { color: #e4e6ec; }
.tier li { display: flex; gap: 10px; }
.tier li .icon { color: var(--color-ok); margin-top: 3px; }
.tier.dark li .icon { color: var(--color-sun); }
.tier li.plus { color: var(--color-ink-3); font-size: 0.875rem; font-weight: 600; }
.tier.dark li.plus { color: #a9adba; }
.tier .s-btn { width: 100%; }
.fine { text-align: center; font-size: 0.875rem; color: var(--color-ink-3); margin-top: 22px; }
.compare { overflow-x: auto; border-radius: 18px; border: 1px solid var(--color-rule); }
.compare table { width: 100%; min-width: 45rem; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--color-rule); }
.compare thead th { background: var(--color-paper); border-top: 0; font-weight: 600; }
.compare tbody th { font-weight: 500; }
.compare .hl { background: color-mix(in srgb, var(--color-accent) 4%, var(--color-surface)); }
.compare thead .hl { color: var(--color-accent-text); background: var(--color-accent-soft); }
.compare .yes { color: var(--color-ok); font-weight: 600; }
.compare .no { color: var(--color-ink-3); }
.faq { max-width: 51rem; margin: 0 auto; border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { list-style: none; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 1.125rem; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; font-weight: 500; background: var(--color-paper-2); transition: transform 0.3s, background-color 0.3s, color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--color-accent); color: var(--color-accent-ink); }
.faq details > div { padding: 0 4px 22px; color: var(--color-ink-2); line-height: 1.65; animation: rise 0.3s ease-out both; }
.faq details > div p + p, .faq details > div p + ol, .faq details > div ol + p { margin-top: 10px; }
.faq ol { margin: 10px 0 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; }

/* Customers: a 3D carousel of stories */
.carousel { position: relative; height: 29rem; perspective: 1800px; }
.ring { position: absolute; left: 50%; top: 10px; width: min(37.5rem, 88vw); height: 26.875rem; transform: translateX(-50%) translateZ(-420px) rotateY(var(--angle, 0deg)); transform-style: preserve-3d; transition: transform 0.9s var(--ease-out); }
.story { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 24px; background: var(--color-surface); border: 1px solid var(--color-rule); box-shadow: 0 40px 80px -40px rgb(27 29 42 / 0.35); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.story { transform: rotateY(calc(var(--i, 0) * var(--step, 120deg))) translateZ(420px); }
.story header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.story h3 { font-size: 1.625rem; letter-spacing: -0.02em; }
.story p { color: var(--color-ink-2); line-height: 1.65; }
.story .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.story .facts div { padding: 14px; border-radius: 14px; background: var(--color-paper); display: flex; flex-direction: column; gap: 2px; }
.story .facts b { font-family: var(--font-display); font-size: 1.625rem; }
.story .facts span { font-size: 0.8125rem; color: var(--color-ink-2); }
.story blockquote { margin: auto 0 0; padding: 16px; border-radius: 14px; background: var(--color-sun-soft); color: var(--color-sun-ink); font-size: 0.9375rem; }
.story blockquote p { margin: 0 0 6px; }
.story blockquote footer { font-size: 0.8125rem; font-weight: 600; }
.story.cta { color-scheme: light; background: var(--color-accent); color: var(--color-accent-ink); border: 0; justify-content: center; align-items: flex-start; overflow: hidden; }
.story.cta::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--color-sun); }
.story.cta > * { position: relative; }
.story.cta h3 { font-size: 2.125rem; line-height: 1.1; }
.story.cta p { color: color-mix(in srgb, var(--color-accent) 12%, #fff); max-width: 25rem; }
.car-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; }
.car-ctrl .round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-rule-strong); background: var(--color-surface); color: var(--color-ink); cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s; }
.car-ctrl .round-btn:hover { background: var(--color-paper-2); border-color: var(--color-ink); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--color-rule-strong); cursor: pointer; transition: width 0.3s, background-color 0.3s; }
.dots button[aria-current="true"] { width: 28px; background: var(--color-accent); }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 14px; }
.logo-wall li { height: 110px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3125rem; font-weight: 700; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.logo-wall li:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgb(27 29 42 / 0.28); }
@media (max-width: 40rem) { .story { padding: 24px; } .story .facts div { padding: 10px; } .story .facts b { font-size: 1.25rem; } .carousel { height: 36rem; } .ring { height: 34rem; } }

/* Why Adaab */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; animation: rise 0.5s var(--ease-out) both; }
.week[hidden] { display: none; }
.day { padding: 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 8px; }
.day b { font-size: 1.125rem; }
.day span { color: var(--color-ink-2); line-height: 1.55; }
.day strong { font-size: 0.875rem; }
.week.before .day { background: var(--color-bad-soft); border: 1px solid color-mix(in srgb, var(--color-bad) 25%, transparent); }
.week.before .day:nth-child(1) { transform: rotate(-1.5deg); } .week.before .day:nth-child(2) { transform: rotate(1deg); } .week.before .day:nth-child(3) { transform: rotate(-0.5deg); }
.week.before strong { color: var(--color-bad); }
.week.after .day { background: var(--color-ok-soft); border: 1px solid color-mix(in srgb, var(--color-ok) 25%, transparent); }
.week.after strong { color: var(--color-ok); }
.stack-wrap { position: relative; height: 28.75rem; perspective: 1600px; display: grid; place-items: center; }
.stack { position: relative; width: 280px; height: 280px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.layer { position: absolute; inset: 0; border-radius: 22px; display: flex; align-items: flex-end; padding: 20px; font-weight: 700; font-size: 1.0625rem; transition: transform 0.5s var(--ease-out); }
.layer.l1 { color-scheme: light; background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 30px 50px -20px rgb(27 29 42 / 0.4); transform: translateZ(0); }
.layer.l2 { background: color-mix(in srgb, var(--color-ok-soft) 92%, transparent); border: 1px solid color-mix(in srgb, var(--color-ok) 35%, transparent); color: var(--color-ok); transform: translateZ(40px); }
.layer.l3 { background: color-mix(in srgb, var(--color-warn-soft) 92%, transparent); border: 1px solid var(--color-sun-rule); color: var(--color-warn); transform: translateZ(80px); }
.layer.l4 { background: color-mix(in srgb, var(--color-surface) 92%, transparent); border: 1px solid var(--color-rule-strong); color: var(--color-ink); transform: translateZ(120px); }
.stack-wrap:hover .l2, .stack-wrap:focus-within .l2 { transform: translateZ(90px); }
.stack-wrap:hover .l3, .stack-wrap:focus-within .l3 { transform: translateZ(180px); }
.stack-wrap:hover .l4, .stack-wrap:focus-within .l4 { transform: translateZ(270px); }

/* Help */
.search-hero { padding-block: 4rem 3.5rem; background: var(--color-accent-soft); }
.search-hero .wrap { max-width: 47.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.searchbox { width: 100%; display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-rule-strong); box-shadow: 0 20px 40px -24px color-mix(in oklch, var(--color-accent) 50%, transparent); }
.searchbox .icon { color: var(--color-ink-3); }
.searchbox input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: none; font: inherit; font-size: 1.0625rem; color: var(--color-ink); background: transparent; }
.searchbox:focus-within { border-color: var(--color-accent); outline: 2px solid var(--color-focus); outline-offset: -1px; }
/* The box shows focus, so the input inside doesn't draw a second ring. */
.site .searchbox input:focus-visible { outline: none; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 0.875rem; align-items: center; }
.quick button { min-height: 34px; padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-accent) 25%, var(--color-surface)); background: var(--color-surface); color: var(--color-accent-text); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.quick button:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.topic-grid .card-s { flex-direction: row; align-items: flex-start; gap: 16px; }
.topic-grid .card-s > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.topic-grid small { color: var(--color-ink-3); font-size: 0.875rem; }
.help-group { margin-bottom: 2.5rem; }
.help-group h2 { font-size: 1.5rem; margin-bottom: 8px; scroll-margin-top: 90px; }
.help-group[hidden] { display: none; }
.no-hits { text-align: center; color: var(--color-ink-2); padding: 2rem 0; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
@keyframes typing { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes pop { 0%, 12% { opacity: 0; transform: translateY(8px); } 22%, 100% { opacity: 1; transform: none; } }
@keyframes meter { from { width: 12%; } to { width: 78%; } }
@keyframes flow { from { background-position: 0 0; } to { background-position: 0 24px; } }
@keyframes flip { from { opacity: 0; transform: rotateX(-80deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stage-tilt, .panel3d, .wall, .stack { transform: none !important; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Money and counts use Figtree: Bricolage's pound sign reads too much like an ampersand. */
.price b, .story .facts b, .shot-stat b, .big-num { font-family: var(--font-body); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
/* Stories size to what they hold: a quote, when there is one, makes the card taller. */
.carousel { height: 24rem; }
.story { bottom: auto; min-height: 17rem; }
.story.cta { justify-content: center; }
@media (max-width: 40rem) { .carousel { height: 34rem; } }
.marquee-track img { height: 36px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: 0.75; display: block; }
.logo-wall img { max-height: 56px; max-width: 70%; object-fit: contain; }
/* Parts switched off under Platform > Site pages. */
.feat.no-pic { grid-template-columns: minmax(0, 1fr); max-width: 52rem; text-align: left; }
.hero-img { display: block; width: 100%; max-width: 72rem; margin-inline: auto; border-radius: 20px; box-shadow: 0 40px 80px -40px rgb(27 29 42 / 0.35); }

/* API documentation */
.docs { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; padding-block: 1rem 5rem; align-items: start; }
.docs-nav { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; }
.docs-nav b { margin: 14px 0 4px; font-size: 0.8125rem; color: var(--color-ink-3); }
.docs-nav b:first-child { margin-top: 0; }
.site .docs-nav a { color: var(--color-ink-2); padding: 4px 8px; border-radius: 8px; display: flex; gap: 8px; align-items: center; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.8125rem; }
.site .docs-nav a:hover { background: var(--color-paper); color: var(--color-ink); }
.docs-body { display: flex; flex-direction: column; gap: 2.5rem; min-width: 0; }
.docs-sec, .docs-op { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.docs-sec h2, .docs-group { font-size: 1.75rem; }
.docs-group { padding-top: 1.5rem; border-top: 1px solid var(--color-rule); }
.docs-op h3 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; letter-spacing: 0; }
.docs-op h3 code { font-size: 1.0625rem; }
.verb { display: inline-block; min-width: 3.4em; text-align: center; padding: 2px 6px; border-radius: 6px; font: 700 0.6875rem/1.5 var(--font-body); letter-spacing: 0.04em; }
.v-get { background: var(--color-ok-soft); color: var(--color-ok); }
.v-post { background: var(--color-accent-soft); color: var(--color-accent-text); }
.v-patch { background: var(--color-sun-soft); color: var(--color-sun-ink); }
.v-delete { background: var(--color-bad-soft); color: var(--color-bad); }
.site code { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.875em; }
.code { margin: 0; background: #14162a; color: #e8eaf6; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 0.8125rem; line-height: 1.6; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.docs-table th { text-align: left; font-weight: 600; color: var(--color-ink-3); border-bottom: 1px solid var(--color-rule-strong); padding: 8px 10px; }
.docs-table td { border-bottom: 1px solid var(--color-rule); padding: 10px; vertical-align: top; }
.docs-table .type { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.8125rem; color: var(--color-ink-2); }
.docs-table .req { font-size: 0.75rem; color: var(--color-sun-ink); font-weight: 600; }
.docs-table .where { display: block; font-size: 0.75rem; color: var(--color-ink-3); }
.docs-meta, .small-p { font-size: 0.875rem; color: var(--color-ink-3); }
.docs-events { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.docs-events li { background: var(--color-paper); border-radius: 8px; padding: 4px 10px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs-nav { position: static; max-height: 16rem; } }

/* ---- Design parity pass (boards Main, Features, Pricing, Customers, WhyUs, Docs, ApiDocs) ---- */

/* Footer: inner pages use one short line (the front page keeps the full grid) */
.s-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 2.5rem; font-size: 0.9375rem; color: var(--color-ink-3); }
.s-foot-name { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-logo.sm { font-size: 1rem; gap: 8px; margin-right: 0; }
.s-foot-links { display: flex; flex-wrap: wrap; gap: 2px; }
.s-foot-links .s-link { color: var(--color-ink-2) !important; }

/* Features: the inbox picture shows the conversation list beside the open thread */
.inbox3d { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); min-height: 20rem; --turn: -10deg; }
.inbox3d-list { border-right: 1px solid var(--color-rule); background: var(--color-paper); font-size: 0.8125rem; display: flex; flex-direction: column; }
.inbox3d-list > :is(span, button) { padding: 12px 14px; display: flex; flex-direction: column; border-top: 1px solid var(--color-paper-2); }
.inbox3d-list > :first-child { border-top: 0; }
.inbox3d-list > .on { background: var(--color-accent-soft); box-shadow: inset 3px 0 0 var(--color-accent); }
.inbox3d-list small { color: var(--color-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox3d-thread { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; line-height: 1.45; }
.inbox3d-thread .bub { max-width: 85%; padding: 10px 12px; }
.inbox3d-thread .bub.out { border-radius: 14px 14px 4px 14px; }
.inbox3d-thread .bub.in { background: var(--color-paper-2); border: 0; border-radius: 14px 14px 14px 4px; }
.inbox3d-reply { margin-top: auto; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--color-rule); color: var(--color-ink-3); }
.more-grid .card-s { padding: 22px; gap: 8px; border-radius: 16px; }
.more-grid .card-s b { font-size: 1.0625rem; }
.more-grid .card-s > span:last-child { font-size: 0.9375rem; }
.more-grid .ic-box.sm { width: 36px; height: 36px; border-radius: 10px; }
@media (max-width: 40rem) { .inbox3d { grid-template-columns: minmax(0, 1fr); } .inbox3d-list { display: none; } }

/* Pricing: the most popular plan's whole column is tinted; its heading is blue text, not a block */
.compare thead .hl { background: var(--color-paper); }
.fine { margin-top: 28px; }

/* Customers: logos keep a steady size however many there are; programme titles are smaller */
.logo-wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.prog-cards .card-s { padding: 26px; gap: 10px; }
.prog-cards .card-s h3 { font-size: 1.3125rem; }

/* Why Adaab: reasons are plain white cards on the tinted band */
.reasons { gap: 18px; }
.reasons .card-s.line { border-color: transparent; }

/* Help: topic heading, the Start here card beside the guides, and guides as a list card */
.help-h2 { font-size: clamp(1.625rem, 2.6vw, 2rem); margin-bottom: 24px !important; }
.topic-grid .card-s { padding: 24px; border-radius: 16px; }
.topic-grid .card-s b { font-size: 1.1875rem; }
.help-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.help-split.solo { grid-template-columns: minmax(0, 1fr); }
.start-card { position: sticky; top: 88px; padding: 30px; border-radius: 22px; background: var(--color-paper); display: flex; flex-direction: column; gap: 14px; }
.start-flag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--color-sun); color: var(--color-ink); font-size: 0.8125rem; font-weight: 700; }
.start-card h2 { font-size: 1.75rem; letter-spacing: -0.02em; }
.start-card p { color: var(--color-ink-2); line-height: 1.65; }
.start-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.start-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--color-surface); }
.start-steps li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.start-steps small { color: var(--color-ink-3); font-size: 0.875rem; }
.step-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; background: var(--color-paper-2); color: var(--color-ink-2); }
.start-steps li.done .step-dot { background: var(--color-ok); color: var(--color-accent-ink); }
.start-steps li.now .step-dot { background: var(--color-accent); color: var(--color-accent-ink); }
.help-split .help-group { margin-bottom: 2rem; }
.help-split .help-group h2 { font-size: 1.5rem; margin-bottom: 14px; }
.guide-list { border: 1px solid var(--color-rule); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.guide-list details + details { border-top: 1px solid var(--color-rule); }
.guide-list details[hidden] { display: none; }
.guide-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; cursor: pointer; transition: background-color var(--dur-short); }
.guide-list summary::-webkit-details-marker { display: none; }
.guide-list summary:hover { background: var(--color-paper); }
.guide-list summary > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guide-list summary b { font-size: 1.0625rem; }
.guide-meta::after { content: attr(data-meta); color: var(--color-ink-3); font-size: 0.875rem; }
.guide-list summary .icon { color: var(--color-ink-3); transition: transform var(--dur-short) var(--ease-out); }
.guide-list details[open] summary .icon { transform: rotate(90deg); }
.guide-list details > div { padding: 0 20px 20px; color: var(--color-ink-2); line-height: 1.65; animation: rise 0.3s ease-out both; }
.guide-list details > div p + p, .guide-list details > div p + ol, .guide-list details > div ol + p, .guide-list details > div p + ul { margin-top: 10px; }
.guide-list ol, .guide-list ul { margin: 10px 0 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; }
.contact-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.contact-cards .card-s { padding: 28px; border-radius: 18px; }
.contact-cards .card-s b { font-size: 1.25rem; }
@media (max-width: 60rem) { .help-split { grid-template-columns: minmax(0, 1fr); } .start-card { position: static; } }

/* API documentation: left-aligned hero, the menu in a card, each endpoint a card */
.p-hero.left .wrap { align-items: flex-start; text-align: left; max-width: var(--site-max); }
.p-hero.left .lede { max-width: 45rem; }
.docs { grid-template-columns: 16.25rem minmax(0, 1fr); gap: 2.5rem; padding-top: 1.5rem; }
.docs-nav { padding: 12px; border-radius: 14px; border: 1px solid var(--color-rule); background: var(--color-paper); gap: 1px; }
.docs-nav b { margin: 14px 10px 4px; font-size: 0.75rem; font-weight: 700; color: var(--color-ink); }
.docs-nav b:first-child { margin-top: 0; }
.site .docs-nav a { padding: 6px 10px; font-family: var(--font-mono); font-size: 0.75rem; }
.site .docs-nav a:not(:has(.verb)) { font-family: var(--font-body); font-size: 0.8125rem; }
.site .docs-nav a:hover { background: var(--color-surface); }
.docs-nav .verb { min-width: 36px; font: 600 0.625rem/1.6 var(--font-mono); padding: 1px 4px; border-radius: 5px; }
.verb { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0; }
.v-get { background: var(--color-accent-soft); color: var(--color-accent-text); }
.v-post { background: var(--color-ok-soft); color: var(--color-ok); }
.docs-sec h2, .docs-group { font-size: 1.625rem; letter-spacing: -0.02em; }
.docs-sec p:not(.small-p) { color: var(--color-ink-2); line-height: 1.7; }
.docs-op { padding: 20px; border-radius: 16px; border: 1px solid var(--color-rule); background: var(--color-surface); }
.docs-op h3 { font-size: 1.125rem; }
.docs-op h3 .verb { min-width: 48px; font-size: 0.75rem; padding: 2px 8px; border-radius: 5px; }
.docs-op h3 code { font-size: 0.9375rem; font-weight: 500; }
.docs-op > p:not(.docs-meta) { color: var(--color-ink-2); font-size: 0.9375rem; }
.docs-body { gap: 2rem; }
.docs-table-wrap { overflow-x: auto; border: 1px solid var(--color-rule); border-radius: 12px; }
.docs-table-wrap .docs-table th { background: var(--color-paper); border-bottom: 0; color: var(--color-ink-2); padding: 10px 14px; font-size: 0.8125rem; }
.docs-table-wrap .docs-table td { border-bottom: 0; border-top: 1px solid var(--color-paper-2); padding: 10px 14px; }
.docs-table td code, .docs-meta code, .small-p code, .docs-events code { font-size: 0.8125rem; padding: 1px 6px; border-radius: 6px; background: var(--color-paper-2); color: var(--color-ink); }
.docs-events li { background: none; padding: 0; }
.docs-meta { font-size: 0.8125rem; color: var(--color-ink-2); }

/* Home: step numbers stay white inside the step cards */
.card-s > .num-dot { color: var(--color-accent-ink); width: 32px; height: 32px; font-size: 0.875rem; }

/* API documentation: worked examples in small tabs, field examples, per-operation errors. */
.tabbar.sm { justify-content: flex-start; gap: 6px; margin-bottom: 8px; }
.tabbar.sm button { min-height: 32px; padding: 0 12px; font-size: 0.8125rem; box-shadow: none; }
.ex-pane { position: relative; }
.ex-copy { position: absolute; top: 8px; right: 8px; min-height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid rgb(255 255 255 / 0.2); background: transparent; color: #e8eaf6; font: 600 0.75rem var(--font-body); cursor: pointer; }
.ex-copy:hover { border-color: rgb(255 255 255 / 0.5); }
.docs-table .eg { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--color-ink-3); }
.docs-errors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; color: var(--color-ink-2); }
.docs-errors code { font-size: 0.8125rem; padding: 1px 6px; border-radius: 6px; background: var(--color-paper-2); color: var(--color-ink); margin-right: 6px; }
.docs-response summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--color-accent-text); margin-bottom: 8px; }
.docs-sec .start-steps li { background: var(--color-paper); align-items: flex-start; }
.docs-sec .start-steps .step-dot { background: var(--color-accent); color: var(--color-accent-ink); }
.docs-sec .start-steps small { color: var(--color-ink-2); line-height: 1.5; margin-top: 2px; }

/* Interactive previews (client/site-demos.ts): the mocks' own parts, now real buttons and inputs.
   :where keeps the reset at zero specificity, so every mock class above still decides the look. */
:where(.shot, .panel3d, .mini-grid, [data-demo]) :where(button, input) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: inherit; cursor: pointer; }
:where(.shot, .panel3d) input { cursor: text; }
.shot-side button { width: 100%; text-align: left; align-items: center; }
.shot-side button:hover { color: var(--color-ink); }
.shot-stat { text-align: left; transition: border-color 0.2s, background 0.2s; }
.shot-stat:hover { border-color: var(--color-rule-strong); }
.shot-stat.on { border-color: var(--color-accent); background: var(--color-accent-soft); }
.bars i { transition: height 0.45s var(--ease-out); }
.shot-main .who, .shot-list .who { width: 100%; text-align: left; padding: 6px; margin: -6px; border-radius: 8px; }
.shot-main button.who:hover, .shot-main .who.on { background: var(--color-paper); }
.shot-split { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 12px; flex: 1; }
.shot-list { display: flex; flex-direction: column; gap: 14px; }
.shot-task { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.shot-task input { width: 16px; height: 16px; accent-color: var(--color-accent); }
.shot-task input:checked + span { text-decoration: line-through; color: var(--color-ink-3); }
.shot-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shot-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--color-paper-2); }
.shot-seg button { padding: 4px 10px; border-radius: 6px; font-weight: 600; color: var(--color-ink-3); }
.shot-seg button[aria-pressed="true"] { background: var(--color-surface); color: var(--color-ink); box-shadow: var(--shadow-1); }
.shot-hbar { display: flex; flex-direction: column; gap: 5px; }
.shot-hbar .meter > i { animation: none; transition: width 0.45s var(--ease-out); background: var(--color-accent); }
.shot-main .p-note { border-radius: 10px; }
@media (max-width: 40rem) { .shot-split { grid-template-columns: minmax(0, 1fr); } }
[data-chat] .bub { animation: bub-in 0.35s var(--ease-out) both; }
[data-chat] [data-thread] { max-height: 19rem; overflow-y: auto; }
@keyframes bub-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; border-top: 1px solid var(--color-rule); }
.p-quick .chiplet { font-size: 0.75rem; padding: 6px 10px; }
.p-quick .chiplet:hover { background: var(--color-accent-soft); color: var(--color-accent-text); }
.p-quick + .p-compose { border-top: 0; }
.p-compose input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--color-paper); color: var(--color-ink); }
.p-compose input::placeholder, .inbox3d-reply input::placeholder { color: var(--color-ink-3); }
.p-compose button { padding: 9px 14px; border-radius: 10px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; }
.inbox3d-list > button { width: 100%; text-align: left; }
.inbox3d-list > button:hover { background: var(--color-surface); }
.inbox3d-msgs { display: flex; flex-direction: column; gap: 10px; }
.inbox3d-thread .p-quick { padding: 0; border: 0; margin-top: auto; }
.inbox3d-reply { display: flex; gap: 8px; align-items: center; margin-top: 0; padding: 6px 6px 6px 12px; }
.inbox3d-reply input { flex: 1; min-width: 0; color: var(--color-ink); }
.inbox3d-reply button { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); }
.p-note button { text-decoration: underline; text-underline-offset: 2px; }
[data-switch] { cursor: pointer; }
[data-switch][aria-pressed="false"] { background: var(--color-paper-2); color: var(--color-ink-3); }
.flow.off .flow-step { opacity: 0.55; }
.flow.off .flow-line { animation: none; }
.flow-step { transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s; }
button.flow-step { text-align: left; }
.flow-step.ask[aria-pressed="true"] { border-color: var(--color-ok); background: var(--color-ok-soft); }
.flow-step.live { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.flow-run { margin-top: 18px; }
.give3d { width: min(100%, 24rem); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.give-title { font-family: var(--font-display); font-size: 1.375rem; }
.give-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 10px; background: var(--color-paper-2); font-size: 0.875rem; font-weight: 600; }
.give-seg button { padding: 9px; border-radius: 8px; text-align: center; }
.give-seg button[aria-pressed="true"] { background: var(--color-surface); box-shadow: var(--shadow-1); }
.give-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-weight: 700; }
.give-amts button { padding: 14px; border-radius: 10px; border: 1px solid var(--color-rule); text-align: center; }
.give-amts button[aria-pressed="true"] { padding: 13px; border: 2px solid var(--color-accent); background: var(--color-accent-soft); color: var(--color-accent); }
.give-aid { display: flex; gap: 10px; font-size: 0.8125rem; color: var(--color-ink-2); line-height: 1.45; text-align: left; }
.give-box { flex: none; width: 18px; height: 18px; border-radius: 5px; background: var(--color-ok); color: var(--color-surface); display: grid; place-items: center; font-size: 12px; }
.give-aid[aria-pressed="false"] .give-box { background: var(--color-surface); border: 1px solid var(--color-rule-strong); color: transparent; }
.give-cta { padding: 14px; border-radius: 12px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; text-align: center; }
.give-done { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--color-ok); }
button.mini { width: 100%; text-align: left; cursor: pointer; }
button.mini[aria-pressed="true"] { border-color: var(--color-ok); }
.mini .chiplet { align-self: flex-start; }
.filter-chip { font-size: 0.8125rem; padding: 6px 10px; }
.filter-chip[aria-pressed="true"]::after { content: " ×"; }
.filter-chip[aria-pressed="false"] { background: none; border: 1px dashed var(--color-rule-strong); color: var(--color-ink-3); padding: 5px 9px; }
.filter-add { padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--color-rule-strong); color: var(--color-ink-3); }
[data-rows] tr[data-empty] td { color: var(--color-ink-3); }
.prog-nudge { align-self: flex-start; font-size: 0.8125rem; font-weight: 600; color: var(--color-accent-text); }
.prog-nudge:disabled { color: var(--color-ink-3); cursor: default; }
.prog .meter > i { transition: width 0.6s var(--ease-out); }

/* ---- Phones: buttons the same size, footer lined up with the page edge ---- */
.tier.best { padding: 27px; } /* its 2px border keeps the button as wide as the other cards' */
@media (max-width: 40rem) {
  .ctas > .s-btn { flex: 1 1 12rem; }
  .s-foot-row { flex-direction: column; align-items: flex-start; }
  .s-foot-name { flex-direction: column; align-items: flex-start; gap: 6px; }
  .s-foot-dot { display: none; }
  .s-foot-links { margin-inline: -12px; }
}

/* API docs on phones and tablets: one column, a compact contents box, and wide tables or code scroll inside their own box. */
.docs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.docs-body pre, .docs-body .code { max-width: 100%; overflow-x: auto; }
.docs-body code { overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .docs-nav { position: static; max-height: 18rem; overflow: auto; }
  .docs-table { min-width: 34rem; }
}
@media (max-width: 600px) {
  .docs-sec h2, .docs-group { font-size: 1.5rem; }
  .docs-op h3 code { font-size: 0.9375rem; overflow-wrap: anywhere; }
  .docs-nav { max-height: 14rem; }
}
@media (max-width: 600px) {
  .docs-table { min-width: 0; }
  .docs-table thead { display: none; }
  .docs-table, .docs-table tbody, .docs-table tr, .docs-table th, .docs-table td { display: block; width: auto; }
  .docs-table tr { padding: 10px 14px; border-top: 1px solid var(--color-paper-2); }
  .docs-table tr:first-child { border-top: 0; }
  .docs-table-wrap .docs-table :is(th, td), .docs-table :is(th, td) { padding: 2px 0; border: 0; background: none; }
  .docs-table-wrap .docs-table tbody th, .docs-table tbody td:first-child { font-weight: 600; color: var(--color-ink); }
}

/* Phone menu: fades and lifts in, fades out (closing is timed in client/popups.ts). */
@keyframes s-pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes s-pop-out { to { opacity: 0; transform: translateY(-4px) scale(.98); } }
.s-menu[open] > .s-menu-pop { transform-origin: top right; animation: s-pop-in 180ms var(--ease-out); }
.s-menu.is-closing > .s-menu-pop { animation: s-pop-out 140ms ease-in forwards; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .s-menu-pop { animation: none !important; } }

/* Cookie banner: floats bottom-left until the visitor chooses. */
.s-cookies { position: fixed; z-index: 50; inset: auto 16px 16px; max-width: 30rem; padding: 20px; display: grid; gap: 16px;
  background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -12px color-mix(in oklch, var(--color-ink) 35%, transparent); font-size: 0.9375rem; line-height: 1.5; }
.s-cookies p { margin: 0; color: var(--color-ink-2); }
.s-cookies-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 30rem) { .s-cookies-actions .s-btn { flex: 1; } }

/* Pricing: the add-ons table */
.compare .addon-blurb { font-size: 0.875rem; color: var(--color-ink-2); font-weight: 400; }
.compare .addon-cost { white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare .addon-table { min-width: 0; }
.compare .addon-for { display: none; }
@media (max-width: 40rem) {
  .compare .addon-table th, .compare .addon-table td { padding: 12px 14px; }
  .compare .addon-plans { display: none; }
  .compare .addon-for { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--color-ink-3); font-weight: 400; }
}

/* Pricing: the income band picker under the billing switch */
.income-pick { margin-top: 14px; }
.income-pick label { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 0.9375rem; color: var(--color-ink-2); }
.income-pick select { min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--color-rule); background: var(--color-surface); color: var(--color-ink); font: inherit; }

/* Home: the interest form (waitlist while sign-up is closed) */
.interest { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.interest-copy { display: flex; flex-direction: column; gap: 1rem; }
.interest-card { display: grid; gap: 16px; padding: clamp(20px, 4vw, 32px); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-xl); }
.interest-card label { display: grid; gap: 6px; font-size: 0.9375rem; font-weight: 600; }
.interest-card input, .interest-card select, .interest-card textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--color-rule-strong);
  background: var(--color-surface); color: var(--color-ink); font: 400 1rem/1.4 var(--font-body); transition: border-color var(--dur-short); }
.interest-card textarea { resize: vertical; }
.interest-card :is(input, select, textarea):focus-visible { border-color: var(--color-accent); outline-offset: 1px; }
.interest-card [aria-invalid="true"] { border-color: var(--color-bad); }
.interest-card .field-error { color: var(--color-bad); font-weight: 500; font-size: 0.875rem; }
.interest-card .s-btn { justify-self: start; }
.interest-small { font-size: 0.875rem; color: var(--color-ink-3); }
.interest-done { justify-items: start; }
.interest-done h3 { font-size: 1.5rem; }
.interest-done p { color: var(--color-ink-2); }
@media (max-width: 30rem) { .interest-card .s-btn { justify-self: stretch; } }
