/* bydda design tokens. Generated from tokens.json by build_tokens.py: edit the JSON, not this file. */
:root {
  color-scheme: light;

  /* color */
  --bd-color-paper: #FFFFFF;  /* the light bands (Meet bydda, the demo, questions, the footer) and cards on them */
  --bd-color-sand: #F6F5F2;  /* the warm off-grey: wells and cards on a white band, the contents box on a legal page */
  --bd-color-sand-2: #EFEDEA;  /* a step darker than sand: held-back states, pressed wells */
  --bd-color-line: #E5E2E6;  /* hairlines on light: the rules between questions, under the platforms strip and above the footer's small print. Boxes have no outline */
  --bd-color-line-strong: #D6D2D8;  /* field borders, dashed connectors, table heads */
  --bd-color-ink: #141216;  /* headlines and text on light, and the dark bands' ground. 18.6:1 on paper */
  --bd-color-ink-2: #5D5963;  /* secondary text. 6.8:1 on paper, 6.3:1 on sand */
  --bd-color-ink-3: #6B6671;  /* captions and labels. 5.6:1 on paper, 5.1:1 on sand */
  --bd-color-ai: #E5513E;  /* bydda's red: the bot, the lead dot of every icon and the eyebrow, the AI's graphics. 3.8:1, so never small text */
  --bd-color-ai-text: #C23B2A;  /* red for small text on light. 5.3:1 on paper, 4.6:1 on ai-soft */
  --bd-color-ai-soft: #FDECE8;  /* the tint behind bydda's tags on light */
  --bd-color-action: #D33A2E;  /* the call to action's red, for the one big step on a page (Get started, Book your free call). White text on it is 4.8:1 */
  --bd-color-action-hover: #BE3025;
  --bd-color-expert: #2F6BEA;  /* the expert, approvals, focus rings. 4.8:1 on paper */
  --bd-color-expert-text: #1F55CC;  /* blue for small text on light. 5.7:1 on expert-soft */
  --bd-color-expert-soft: #E9F0FE;  /* the tint behind the expert's tags on light */
  --bd-color-expert-wash: #F4F8FF;  /* a column or row that belongs to the expert */
  --bd-color-live: #16884F;  /* approved, live, savings: fills, toggles, big figures. White text on it is 4.5:1 */
  --bd-color-live-text: #0F6E3E;  /* green for small text on light. 5.6:1 on live-soft */
  --bd-color-live-soft: #E2F5EA;  /* the tint behind live tags on light */
  --bd-color-held: #5F5B66;  /* held back or declined. 5.7:1 on sand-2 */
  --bd-color-panel: #2257E6;  /* electric blue, from the earlier site. The homepage no longer has a blue band; keep it for a statement panel in the app */
  --bd-color-panel-2: #3467EF;  /* wells inside a blue panel */
  --bd-color-panel-line: #6A90F4;
  --bd-color-on-panel: #FFFFFF;
  --bd-color-on-panel-2: #D6E2FF;  /* secondary text on the blue panel. 4.5:1 */
  --bd-color-footer-text: #CFCBD3;  /* the nav's links on the dark hero and its glass. 11.7:1 on ink */
  --bd-color-footer-muted: #9A95A0;  /* on ink. 6.4:1 */
  --bd-color-visor: #141216;  /* the bot's visor */
  --bd-color-eye: #FFF2E4;
  --bd-color-spec-creative: #E8A33D;  /* the creative specialist's bot and marks (amber) */
  --bd-color-spec-shopping: #2FB39A;  /* the Shopping specialist's bot and marks (teal) */
  --bd-color-spec-pages: #8E6CF0;  /* the landing page specialist's bot and marks (violet) */  /* the bot's eyes, and the hero's 'checking' label */

  /* dark */
  --bd-dark-ground: #141216;  /* the dark bands (the hero, pricing, the close) and the scene tiles */
  --bd-dark-deep: #0B0A0D;  /* the deepest ground: the What's inside band, the bot's disc behind its small drawing, an avatar's ground */
  --bd-dark-card: #1A181D;  /* a quieter card on a dark band */
  --bd-dark-panel: #1C1A20;  /* the raised dark surfaces: the plan cards, the spend picker, the phone menu, the Why bydda cards on dark */
  --bd-dark-card-2: #201E24;  /* a raised well or a selected row */
  --bd-dark-card-hover: #18161B;  /* a scene tile under the pointer */
  --bd-dark-well: #252229;  /* wells and chips inside cards */
  --bd-dark-head: #FFFFFF;  /* headlines on dark */
  --bd-dark-text: #F4F2F6;  /* body text */
  --bd-dark-text-2: #A8A3AE;  /* secondary text, the lede */
  --bd-dark-text-3: #8A8490;  /* captions, labels, the plan's 'a month' */
  --bd-dark-hair: rgba(255, 255, 255, 0.08);  /* hairlines on dark: rules between rows. Boxes have no outline */
  --bd-dark-hair-2: rgba(255, 255, 255, 0.14);  /* field borders and dashed connectors */
  --bd-dark-ghost: rgba(255, 255, 255, 0.09);  /* the ghost button and the burger's fill */
  --bd-dark-ghost-hover: rgba(255, 255, 255, 0.14);
  --bd-dark-ai-text: #F06A55;  /* bydda's red for words on dark, and the hero's 'found' labels */
  --bd-dark-ai-soft: rgba(240, 106, 85, 0.14);  /* the tint behind bydda's tags on dark */
  --bd-dark-ai-wash: rgba(229, 81, 62, 0.12);  /* the coral wash down the top of the chosen plan card, fading to nothing at 42% */
  --bd-dark-expert-text: #7EA2FF;  /* the expert's blue for words on dark, and the hero's 'approved' label */
  --bd-dark-expert-soft: rgba(126, 162, 255, 0.14);  /* the tint behind the expert's tags on dark */
  --bd-dark-live-text: #5CD69A;  /* green for words and ticks on dark, and the hero's 'live' label */
  --bd-dark-live-soft: rgba(92, 214, 154, 0.14);  /* the tint behind live tags on dark */

  /* glass */
  --bd-glass-rest: rgba(255, 255, 255, 0.05);  /* the bar over the hero, before scrolling */
  --bd-glass-stuck: rgba(28, 26, 32, 0.86);  /* the bar once scrolled, blurred 16px and saturated 1.4 */
  --bd-glass-page: rgba(20, 18, 22, 0.92);  /* the bar on the inner pages, glass from the start */
  --bd-glass-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.55);  /* under the stuck bar. The only dark shadow besides the phone menu's */
  --bd-glass-menu-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);  /* under the phone menu that drops from the bar */
  --bd-glass-blur: blur(16px) saturate(1.4);

  /* font */
  --bd-font-display: "Mona Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;  /* headlines, prices, big numbers, the wordmark. Set at weight 500 and font-stretch 110% */
  --bd-font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;  /* everything else. No mono anywhere */
  --bd-font-display-stretch: 110%;

  /* text */
  --bd-text-display-xl: clamp(38px, 4.3vw, 62px);  /* the hero headline (h1), tracking track-hero */
  --bd-text-display-l: clamp(32px, 3.6vw, 50px);  /* section headlines (h2), balanced */
  --bd-text-display-m: clamp(26px, 2.4vw, 34px);  /* a claim's headline inside a section (Why bydda's three, a wide scene tile) */
  --bd-text-number: clamp(40px, 3.8vw, 50px);  /* a plan's price */
  --bd-text-title: 19px;  /* h3: card titles */
  --bd-text-lede: 18px;  /* the paragraph under a headline, at most 34em wide */
  --bd-text-body: 16.5px;  /* running text: a claim's paragraph, the legal pages */
  --bd-text-small: 15px;  /* card text, lists, a plan's lines */
  --bd-text-eyebrow: 14px;  /* the eyebrow over every section headline, with its dotted circle */
  --bd-text-caption: 13px;  /* small print, meta lines, the footer's last line. The smallest size people need to read */
  --bd-text-label: 12.5px;  /* tags only */
  --bd-text-kicker: 12px;  /* a tile's kicker, in capitals at 600 with track-kicker (GROWS WHAT'S WORKING) */
  --bd-text-track-hero: -0.035em;
  --bd-text-track-display: -0.032em;
  --bd-text-track-title: -0.015em;
  --bd-text-track-kicker: 0.07em;
  --bd-text-leading-display: 1.04;  /* h1; h2 is 1.06 */
  --bd-text-leading-body: 1.55;

  /* space */
  --bd-space-1: 4px;
  --bd-space-2: 8px;
  --bd-space-3: 12px;
  --bd-space-4: 16px;
  --bd-space-5: 20px;
  --bd-space-6: 24px;
  --bd-space-8: 32px;
  --bd-space-10: 40px;
  --bd-space-12: 48px;
  --bd-space-16: 64px;
  --bd-space-20: 80px;
  --bd-space-band: clamp(88px, 10vw, 136px);  /* top and bottom padding of every section band */
  --bd-space-head: clamp(40px, 5vw, 64px);  /* between a section's head (eyebrow, headline, lede) and what it shows */
  --bd-space-gutter: 20px;  /* the side gutter; 16px on phones */

  /* radius */
  --bd-radius-xs: 6px;  /* tags, focus rings */
  --bd-radius-s: 10px;  /* buttons, fields, the menu's rows, small cards inside cards */
  --bd-radius-m: 14px;  /* the nav bar, the phone menu, wells and chats inside cards */
  --bd-radius-l: 18px;  /* cards: the plan cards, the claim cards */
  --bd-radius-xl: 22px;  /* the scene tiles, the Why bydda cards and the demo's player */
  --bd-radius-panel: 28px;  /* statement panels in the app. The homepage has none */
  --bd-radius-pill: 999px;  /* dots, avatars, toggles, counts, and a tile's 'Learn more'. Buttons and tags have corners */

  /* shadow */
  --bd-shadow-lift: 0 1px 2px rgba(20,18,22,.05), 0 16px 40px -16px rgba(20,18,22,.25);  /* a card raised off a light band */
  --bd-shadow-lift-2: 0 2px 4px rgba(20,18,22,.06), 0 30px 70px -20px rgba(20,18,22,.35);  /* a dark card or the demo's player on a light band */
  --bd-shadow-field: 0 1px 2px rgba(20,18,22,.05), 0 18px 40px -22px rgba(20,18,22,.3);  /* a field on a light band */

  /* motion */
  --bd-motion-fast: 150ms;  /* hover, press */
  --bd-motion-base: 300ms;  /* state changes: a tag appearing, a card lighting */
  --bd-motion-nav: 350ms;  /* the nav's glass fading in */
  --bd-motion-slow: 600ms;  /* a line drawing itself, a headline's words lighting */
  --bd-motion-reveal: 700ms;  /* a block rising 18px into place as it arrives (.bd-rise), once */
  --bd-motion-ease: cubic-bezier(.2,.7,.2,1);

  /* layout */
  --bd-layout-max: 1240px;  /* content width */
  --bd-layout-measure: 34em;  /* the longest line of a lede; running text goes to 40em */
}
